# Functions
LoadProfile reads a file from the given path, decodes it into a Profile representation and returns the result, or an error if the file could not be read or decoded.
LoadSubscriptionsFromAzure retrieves a list of subscriptions from Azure and returns them in a SubscriptionResult struct.
LoadSubscriptionsFromProfile() reads the profile from a file, filters out the enabled subscriptions and returns a SubscriptionResult object containing the enabled subscriptions and the default subscription.
NewClient returns a new Client.
NewMockClient creates a new mock instance.
ProfilePath() checks for the presence of a config directory and returns the path to the azureProfileJSON file in that directory, or if the config directory is not present, it returns the path to the azureProfileJSON file in the user's home directory.
# Constants
No description provided by the author
No description provided by the author
ProviderDisplayName is the text used in display for Azure.
# Structs
MockClient is a mock of Client interface.
MockClientCheckResourceGroupExistenceCall wrap *gomock.Call.
MockClientCreateOrUpdateResourceGroupCall wrap *gomock.Call.
MockClientLocationsCall wrap *gomock.Call.
MockClientMockRecorder is the mock recorder for MockClient.
MockClientResourceGroupsCall wrap *gomock.Call.
MockClientSubscriptionsCall wrap *gomock.Call.
Profile represents a Profile from the Azure CLI.
Provider specifies the properties required to configure Azure provider for cloud resources.
ServicePrincipal specifies the properties of an Azure service principal.
Subscription represents a Subscription from the Azure CLI.
SubscriptionResult is the result of loading Azure subscriptions for the user.
User represents a User from the Azure CLI.
WorkloadIdentityCredential specifies the properties of an Azure service principal.
# Interfaces
Client is an interface that abstracts `rad init`'s interactions with Azure.
# Type aliases
AzureCredentialKind - Azure credential kinds supported.