Documentation ¶
Index ¶
Constants ¶
const (
PolicyAssignmentManagementGroup string = "AZURE_POLICY_ASSIGNMENT_MANAGEMENT_GROUP"
)
Variables ¶
This section is empty.
Functions ¶
func ClientID ¶
func ClientID() string
ClientID returns the client (typically a service principal) that must be authorized for performing operations within the azure tenant, configured by the user and may be set by the environment variable AZURE_CLIENT_ID.
func ClientSecret ¶
func ClientSecret() string
ClientSecret returns the client secret to allow client authetication and authorization, configured by the user and may be set by the environment variable AZURE_CLIENT_SECRET.
func ManagementGroup ¶
func ManagementGroup() string
ManagementGroup returns an Azure Management Group which may be used for policy assignment, configured by the user and may be set by the environment variable AZURE_MANAGEMENT_GROUP.
func ResourceGroup ¶
func ResourceGroup() string
ResourceGroup returns the Probr user's azure resource group in which resurces should be created fpr testing, configured by the user and may be set by the environment variable AZURE_RESOURCE_GROUP.
func ResourceLocation ¶
func ResourceLocation() string
ResourceLocation returns the default location in which azure resources should be created, configured by the user and may be set by the environment variable AZURE_LOCATION.
func SubscriptionID ¶
func SubscriptionID() string
SubscriptionID returns the azure Subscription in which the tests should be executed, configured by the user and may be set by the environment variable AZURE_SUBSCRIPTION_ID.
Types ¶
This section is empty.