Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudConfigToString ¶
func CloudConfigToString(c *CloudConfig) (string, error)
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,omitempty"` UseInstanceMetadata bool `json:"useInstanceMetadata"` }
type ImagePlan ¶ added in v1.15.0
type ImagePlan struct { Name string `json:"name,omitempty"` Publisher string `json:"publisher,omitempty"` Product string `json:"product,omitempty"` }
ImagePlan contains azure OS Plan fields for the marketplace images
type RawConfig ¶
type RawConfig struct { SubscriptionID providerconfigtypes.ConfigVarString `json:"subscriptionID,omitempty"` TenantID providerconfigtypes.ConfigVarString `json:"tenantID,omitempty"` ClientID providerconfigtypes.ConfigVarString `json:"clientID,omitempty"` ClientSecret providerconfigtypes.ConfigVarString `json:"clientSecret,omitempty"` Location providerconfigtypes.ConfigVarString `json:"location"` ResourceGroup providerconfigtypes.ConfigVarString `json:"resourceGroup"` VMSize providerconfigtypes.ConfigVarString `json:"vmSize"` VNetName providerconfigtypes.ConfigVarString `json:"vnetName"` SubnetName providerconfigtypes.ConfigVarString `json:"subnetName"` RouteTableName providerconfigtypes.ConfigVarString `json:"routeTableName"` AvailabilitySet providerconfigtypes.ConfigVarString `json:"availabilitySet"` SecurityGroupName providerconfigtypes.ConfigVarString `json:"securityGroupName"` Zones []string `json:"zones"` ImagePlan *ImagePlan `json:"imagePlan"` ImageID providerconfigtypes.ConfigVarString `json:"imageID"` OSDiskSize int32 `json:"osDiskSize"` DataDiskSize int32 `json:"dataDiskSize"` AssignPublicIP providerconfigtypes.ConfigVarBool `json:"assignPublicIP"` Tags map[string]string `json:"tags,omitempty"` }
RawConfig is a direct representation of an Azure machine object's configuration
Click to show internal directories.
Click to hide internal directories.