Documentation ¶
Index ¶
Constants ¶
View Source
const AzureCloudProvider = "AZUREPUBLICCLOUD"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct { Cloud string `json:"cloud"` TenantID string `json:"tenantId"` SubscriptionID string `json:"subscriptionId"` AADClientID string `json:"aadClientId"` AADClientSecret string `json:"aadClientSecret"` ResourceGroup string `json:"resourceGroup"` Location string `json:"location"` VNetName string `json:"vnetName"` SubnetName string `json:"subnetName"` RouteTableName string `json:"routeTableName"` SecurityGroupName string `json:"securityGroupName" yaml:"securityGroupName"` PrimaryAvailabilitySetName string `json:"primaryAvailabilitySetName"` VnetResourceGroup string `json:"vnetResourceGroup"` UseInstanceMetadata bool `json:"useInstanceMetadata"` LoadBalancerSku string `json:"loadBalancerSku"` }
func (*CloudConfig) ToString ¶
func (cc *CloudConfig) ToString() (string, error)
ToString renders the cloud configuration as string.
type RawConfig ¶
type RawConfig struct { SubscriptionID types.ConfigVarString `json:"subscriptionID,omitempty"` TenantID types.ConfigVarString `json:"tenantID,omitempty"` ClientID types.ConfigVarString `json:"clientID,omitempty"` ClientSecret types.ConfigVarString `json:"clientSecret,omitempty"` Location types.ConfigVarString `json:"location"` ResourceGroup types.ConfigVarString `json:"resourceGroup"` VNetResourceGroup types.ConfigVarString `json:"vnetResourceGroup"` VNetName types.ConfigVarString `json:"vnetName"` SubnetName types.ConfigVarString `json:"subnetName"` LoadBalancerSku types.ConfigVarString `json:"loadBalancerSku"` RouteTableName types.ConfigVarString `json:"routeTableName"` AvailabilitySet types.ConfigVarString `json:"availabilitySet"` AssignAvailabilitySet *bool `json:"assignAvailabilitySet"` SecurityGroupName types.ConfigVarString `json:"securityGroupName"` }
RawConfig is a direct representation of an Azure machine object's configuration
Click to show internal directories.
Click to hide internal directories.