Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func ResponseWasNotFound ¶
ResponseWasNotFound returns true if the response code from the Azure API was a 404.
Types ¶
type AzureClientSet ¶
type AzureClientSet struct { ApplicationsClient *graphrbac.ApplicationsClient // DeploymentsClient manages deployments of ARM templates. DeploymentsClient *resources.DeploymentsClient // GroupsClient manages ARM resource groups. GroupsClient *resources.GroupsClient // LoadBalancersClient manages Load Balancer resources. LoadBalancersClient *network.LoadBalancersClient // UsageClient is used to work with limits and quotas. UsageClient *compute.UsageClient // VirtualNetworkGatewayConnectionsClient manages virtual network gateway connections. VirtualNetworkGatewayConnectionsClient *network.VirtualNetworkGatewayConnectionsClient // VirtualMachineScaleSetVMsClient manages virtual machine scale set VMs. VirtualMachineScaleSetVMsClient *compute.VirtualMachineScaleSetVMsClient }
AzureClientSet is the collection of Azure API clients.
func NewAzureClientSet ¶
func NewAzureClientSet(config AzureClientSetConfig) (*AzureClientSet, error)
NewAzureClientSet returns the Azure API clients.
type AzureClientSetConfig ¶
type AzureClientSetConfig struct { Authorizer autorest.Authorizer ClientID string ClientSecret string SubscriptionID string PartnerID string TenantID string GSTenantID string }
func NewAzureClientSetConfig ¶
func NewAzureClientSetConfig(authorizer autorest.Authorizer, clientid, clientsecret, subscriptionID, partnerID, tenantID, gsTenantID string) (AzureClientSetConfig, error)
NewAzureClientSetConfig creates a new azure client set config and applies defaults.
Click to show internal directories.
Click to hide internal directories.