azsubscription

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskLocationAndSave

func AskLocationAndSave(ctx context.Context, config *azconfig.AZConfig, location string)

AskLocationAndSave asks the user for the Azure Location and saves it in the config.

func AskSubscriptionAndSave

func AskSubscriptionAndSave(ctx context.Context, config *azconfig.AZConfig, subscriptionID string)

AskSubscriptionAndSave asks the user for the subscription ID and saves it in the config.

func ListLocations

func ListLocations(ctx context.Context, subscriptionID string) []subscriptions.Location

ListLocations returns the Azure locations available to this subscription.

func ListSubscriptions added in v0.6.5

func ListSubscriptions(ctx context.Context) []subscriptions.Subscription

ListSubscriptions returns a list of subscription IDs.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL