types

package
v1.60.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImagePlan added in v1.60.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 ImageReference added in v1.60.0

type ImageReference struct {
	Publisher string `json:"publisher,omitempty"`
	Offer     string `json:"offer,omitempty"`
	Sku       string `json:"sku,omitempty"`
	Version   string `json:"version,omitempty"`
}

ImageReference specifies information about the image to use.

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"`
	VNetResourceGroup           providerconfigtypes.ConfigVarString `json:"vnetResourceGroup"`
	VMSize                      providerconfigtypes.ConfigVarString `json:"vmSize"`
	VNetName                    providerconfigtypes.ConfigVarString `json:"vnetName"`
	SubnetName                  providerconfigtypes.ConfigVarString `json:"subnetName"`
	LoadBalancerSku             providerconfigtypes.ConfigVarString `json:"loadBalancerSku"`
	RouteTableName              providerconfigtypes.ConfigVarString `json:"routeTableName"`
	AvailabilitySet             providerconfigtypes.ConfigVarString `json:"availabilitySet"`
	AssignAvailabilitySet       *bool                               `json:"assignAvailabilitySet"`
	SecurityGroupName           providerconfigtypes.ConfigVarString `json:"securityGroupName"`
	Zones                       []string                            `json:"zones"`
	ImagePlan                   *ImagePlan                          `json:"imagePlan,omitempty"`
	ImageReference              *ImageReference                     `json:"imageReference,omitempty"`
	EnableAcceleratedNetworking *bool                               `json:"enableAcceleratedNetworking"`
	EnableBootDiagnostics       *bool                               `json:"enableBootDiagnostics,omitempty"`

	ImageID        providerconfigtypes.ConfigVarString `json:"imageID"`
	OSDiskSize     int32                               `json:"osDiskSize"`
	OSDiskSKU      *string                             `json:"osDiskSKU,omitempty"`
	DataDiskSize   int32                               `json:"dataDiskSize"`
	DataDiskSKU    *string                             `json:"dataDiskSKU,omitempty"`
	AssignPublicIP providerconfigtypes.ConfigVarBool   `json:"assignPublicIP"`
	PublicIPSKU    *string                             `json:"publicIPSKU,omitempty"`
	Tags           map[string]string                   `json:"tags,omitempty"`
}

RawConfig is a direct representation of an Azure machine object's configuration.

func GetConfig added in v1.60.0

func GetConfig(pconfig providerconfigtypes.Config) (*RawConfig, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL