Documentation ¶
Index ¶
- func AskLocationAndSave(ctx context.Context, config *azconfig.AZConfig, location string)
- func AskSubscriptionAndSave(ctx context.Context, config *azconfig.AZConfig, subscriptionID string)
- func ListLocations(ctx context.Context, subscriptionID string) []subscriptions.Location
- func ListSubscriptions(ctx context.Context) []subscriptions.Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskLocationAndSave ¶
AskLocationAndSave asks the user for the Azure Location and saves it in the config.
func AskSubscriptionAndSave ¶
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.
Click to show internal directories.
Click to hide internal directories.