Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct { // azure cloud Cloud string `json:"cloud,omitempty" mapstructure:"cloud,omitempty"` // azure resource location Location string `json:"location,omitempty" mapstructure:"location,omitempty"` // subscription ID SubscriptionID string `json:"subscriptionID,omitempty" mapstructure:"subscriptionID,omitempty"` // tenant ID TenantID string `json:"tenantID,omitempty" mapstructure:"tenantID,omitempty"` // use managed identity to access Azure ARM APIs UseManagedIdentityExtension bool `json:"useManagedIdentityExtension,omitempty" mapstructure:"useManagedIdentityExtension,omitempty"` // UserAssignedIdentityID contains the Client ID of the user assigned MSI which is assigned to the underlying VMs. If empty the user assigned identity is not used. // For the user assigned identity specified here to be used, the UseManagedIdentityExtension has to be set to true. UserAssignedIdentityID string `json:"userAssignedIdentityID,omitempty" mapstructure:"userAssignedIdentityID,omitempty"` // aad client ID AADClientID string `json:"aadClientID,omitempty" mapstructure:"aadClientID,omitempty"` // aad client secret AADClientSecret string `json:"aadClientSecret,omitempty" mapstructure:"aadClientSecret,omitempty"` // user agent for Azure customer usage attribution UserAgent string `json:"userAgent,omitempty" mapstructure:"userAgent,omitempty"` // default resource group where the gateway nodes are deployed ResourceGroup string `json:"resourceGroup,omitempty" mapstructure:"resourceGroup,omitempty"` // name of the gateway ILB LoadBalancerName string `json:"gatewayLoadBalancerName,omitempty" mapstructure:"gatewayLoadBalancerName,omitempty"` // resource group where the gateway ILB belongs LoadBalancerResourceGroup string `json:"loadBalancerResourceGroup,omitempty" mapstructure:"loadBalancerResourceGroup,omitempty"` // name of the virtual network where the gateway ILB is deployed VnetName string `json:"vnetName,omitempty" mapstructure:"vnetName,omitempty"` // name of the resource group where the virtual network is deployed VnetResourceGroup string `json:"vnetResourceGroup,omitempty" mapstructure:"vnetResourceGroup,omitempty"` // name of the subnet in the vnet where the gateway ILB is deployed SubnetName string `json:"subnetName,omitempty" mapstructure:"subnetName,omitempty"` }
func (*CloudConfig) TrimSpace ¶
func (cfg *CloudConfig) TrimSpace()
func (*CloudConfig) Validate ¶
func (cfg *CloudConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.