Documentation ¶
Index ¶
- func GetCloudVirtualMachineSizeFromCloudSdkVirtualMachineSize(size VirtualMachineSizeTypes) cloudcompute.VirtualMachineSizeType
- func GetVirtualMachineSizes() (vmsizes *[]VirtualMachineSizeTypes)
- type APIEntityReference
- type BaseClient
- type BootDiagnostics
- type CachingTypes
- type DataDisk
- type DiagnosticsProfile
- type Disallowed
- type DiskCreateOptionTypes
- type GalleryImage
- type GalleryImageIdentifier
- type GalleryImageProperties
- type HardwareProfile
- type IPVersion
- type ImagePurchasePlan
- type ImageReference
- type LinuxConfiguration
- type NetworkInterfaceReference
- type NetworkInterfaceReferenceProperties
- type NetworkProfile
- type OSDisk
- type OSProfile
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type Plan
- type ProvisioningState2
- type RecommendedMachineConfiguration
- type ResourceIdentityType
- type ResourceRange
- type SSHConfiguration
- type SSHPublicKey
- type SecurityProfile
- type Sku
- type StorageAccountTypes
- type StorageProfile
- type SubResource
- type VMType
- type VaultCertificate
- type VaultSecretGroup
- type VirtualHardDisk
- type VirtualMachine
- type VirtualMachineEvictionPolicyTypes
- type VirtualMachineImage
- type VirtualMachineImageDataDisk
- type VirtualMachineImageOSDisk
- type VirtualMachineImageProperties
- type VirtualMachineImageStorageProfile
- type VirtualMachinePriorityTypes
- type VirtualMachineProperties
- type VirtualMachineScaleSet
- type VirtualMachineScaleSetDataDisk
- type VirtualMachineScaleSetHardwareProfile
- type VirtualMachineScaleSetIPConfiguration
- type VirtualMachineScaleSetIPConfigurationProperties
- type VirtualMachineScaleSetIPTag
- type VirtualMachineScaleSetIdentity
- type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue
- type VirtualMachineScaleSetNetworkConfiguration
- type VirtualMachineScaleSetNetworkConfigurationDNSSettings
- type VirtualMachineScaleSetNetworkConfigurationProperties
- type VirtualMachineScaleSetNetworkProfile
- type VirtualMachineScaleSetOSDisk
- type VirtualMachineScaleSetOSProfile
- type VirtualMachineScaleSetProperties
- type VirtualMachineScaleSetPublicIPAddressConfiguration
- type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
- type VirtualMachineScaleSetPublicIPAddressConfigurationProperties
- type VirtualMachineScaleSetStorageProfile
- type VirtualMachineScaleSetVMProfile
- type VirtualMachineSizeTypes
- type WindowsConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudVirtualMachineSizeFromCloudSdkVirtualMachineSize ¶
func GetCloudVirtualMachineSizeFromCloudSdkVirtualMachineSize(size VirtualMachineSizeTypes) cloudcompute.VirtualMachineSizeType
func GetVirtualMachineSizes ¶
func GetVirtualMachineSizes() (vmsizes *[]VirtualMachineSizeTypes)
Types ¶
type APIEntityReference ¶
type APIEntityReference struct { // ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... ID *string `json:"id,omitempty"` }
APIEntityReference the API entity reference.
type BootDiagnostics ¶
type BootDiagnostics struct { // Enabled - Whether boot diagnostics should be enabled on the Virtual Machine. Enabled *bool `json:"enabled,omitempty"` // StorageURI - Uri of the storage account to use for placing the console output and screenshot. StorageURI *string `json:"storageUri,omitempty"` }
BootDiagnostics boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
type CachingTypes ¶
type CachingTypes string
CachingTypes enumerates the values for caching types.
const ( // CachingTypesNone ... CachingTypesNone CachingTypes = "None" // CachingTypesReadOnly ... CachingTypesReadOnly CachingTypes = "ReadOnly" // CachingTypesReadWrite ... CachingTypesReadWrite CachingTypes = "ReadWrite" )
type DataDisk ¶
type DataDisk struct { // Name Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // ImageReference ImageReference *ImageReference `json:"imageReference,omitempty"` }
type DiagnosticsProfile ¶
type DiagnosticsProfile struct { // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"` }
type Disallowed ¶
type Disallowed struct { // DiskTypes - A list of disk types. DiskTypes *[]string `json:"diskTypes,omitempty"` }
Disallowed describes the disallowed disk types.
type DiskCreateOptionTypes ¶
type DiskCreateOptionTypes string
DiskCreateOptionTypes enumerates the values for disk create option types.
const ( // DiskCreateOptionTypesAttach ... DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach" // DiskCreateOptionTypesEmpty ... DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty" // DiskCreateOptionTypesFromImage ... DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage" )
type GalleryImage ¶
type GalleryImage struct { autorest.Response `json:"-"` *GalleryImageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Version Version *string `json:"version,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
GalleryImage specifies information about the gallery Image Definition that you want to create or update.
type GalleryImageIdentifier ¶
type GalleryImageIdentifier struct { // Publisher - The name of the gallery Image Definition publisher. Publisher *string `json:"publisher,omitempty"` // Offer - The name of the gallery Image Definition offer. Offer *string `json:"offer,omitempty"` // Sku - The name of the gallery Image Definition SKU. Sku *string `json:"sku,omitempty"` }
GalleryImageIdentifier this is the gallery Image Definition identifier.
type GalleryImageProperties ¶
type GalleryImageProperties struct { // Description - The description of this gallery Image Definition resource. This property is updatable. Description *string `json:"description,omitempty"` // Eula - The Eula agreement for the gallery Image Definition. Eula *string `json:"eula,omitempty"` // PrivacyStatementURI - The privacy statement uri. PrivacyStatementURI *string `json:"privacyStatementUri,omitempty"` // ReleaseNoteURI - The release note uri. ReleaseNoteURI *string `json:"releaseNoteUri,omitempty"` // OsType - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // OsState - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized' OsState OperatingSystemStateTypes `json:"osState,omitempty"` // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2' // HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"` // EndOfLifeDate - The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable. EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"` Identifier *GalleryImageIdentifier `json:"identifier,omitempty"` Recommended *RecommendedMachineConfiguration `json:"recommended,omitempty"` Disallowed *Disallowed `json:"disallowed,omitempty"` PurchasePlan *ImagePurchasePlan `json:"purchasePlan,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState2Creating', 'ProvisioningState2Updating', 'ProvisioningState2Failed', 'ProvisioningState2Succeeded', 'ProvisioningState2Deleting', 'ProvisioningState2Migrating' ProvisioningState ProvisioningState2 `json:"provisioningState,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` // Container name ContainerName *string `json:"containername,omitempty"` }
GalleryImageProperties describes the properties of a gallery Image Definition.
type HardwareProfile ¶
type HardwareProfile struct {
VMSize VirtualMachineSizeTypes `json:"vmsize,omitempty"`
}
type ImagePurchasePlan ¶
type ImagePurchasePlan struct { // Name - The plan ID. Name *string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Product - The product ID. Product *string `json:"product,omitempty"` }
ImagePurchasePlan describes the gallery Image Definition purchase plan. This is used by marketplace images.
type ImageReference ¶
type ImageReference struct { // Publisher - The image publisher. Publisher *string `json:"publisher,omitempty"` // Offer - Specifies the offer of the platform image or marketplace image used to create the virtual machine. Offer *string `json:"offer,omitempty"` // Sku - The image SKU. Sku *string `json:"sku,omitempty"` // Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Version *string `json:"version,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Name of the image Name *string `json:"name,omitempty"` }
ImageReference specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
type LinuxConfiguration ¶
type LinuxConfiguration struct { // SSH SSH *SSHConfiguration `json:"ssh,omitempty"` // DisablePasswordAuthentication DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"` }
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct { *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
type NetworkInterfaceReferenceProperties ¶
type NetworkInterfaceReferenceProperties struct { // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` }
NetworkInterfaceReferenceProperties describes a network interface reference properties.
type NetworkProfile ¶
type NetworkProfile struct { // NetworkInterfaces NetworkInterfaces *[]NetworkInterfaceReference `json:"networkinterfaces,omitempty"` }
type OSDisk ¶
type OSDisk struct { // Name Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. Image *VirtualHardDisk `json:"image,omitempty"` }
type OSProfile ¶
type OSProfile struct { // ComputerName ComputerName *string `json:"computername,omitempty"` // AdminUsername AdminUsername *string `json:"adminusername,omitempty"` // AdminPassword AdminPassword *string `json:"adminpassword,omitempty"` // CustomData Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customdata,omitempty"` // OsType OsType OperatingSystemTypes `json:"osType,omitempty"` // WindowsConfiguration WindowsConfiguration *WindowsConfiguration `json:"windowsconfiguration,omitempty"` // LinuxConfiguration LinuxConfiguration *LinuxConfiguration `json:"linuxconfiguration,omitempty"` }
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
OperatingSystemStateTypes enumerates the values for operating system state types.
const ( // Generalized ... Generalized OperatingSystemStateTypes = "Generalized" // Specialized ... Specialized OperatingSystemStateTypes = "Specialized" )
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( // Linux Linux OperatingSystemTypes = "Linux" // Windows Windows OperatingSystemTypes = "Windows" )
type Plan ¶
type Plan struct { // Name - The plan ID. Name *string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Product *string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` }
Plan specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
type ProvisioningState2 ¶
type ProvisioningState2 string
ProvisioningState2 enumerates the values for provisioning state 2.
const ( // ProvisioningState2Creating ... ProvisioningState2Creating ProvisioningState2 = "Creating" // ProvisioningState2Deleting ... ProvisioningState2Deleting ProvisioningState2 = "Deleting" // ProvisioningState2Failed ... ProvisioningState2Failed ProvisioningState2 = "Failed" // ProvisioningState2Migrating ... ProvisioningState2Migrating ProvisioningState2 = "Migrating" // ProvisioningState2Succeeded ... ProvisioningState2Succeeded ProvisioningState2 = "Succeeded" // ProvisioningState2Updating ... ProvisioningState2Updating ProvisioningState2 = "Updating" )
type RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { VCPUs *ResourceRange `json:"vCPUs,omitempty"` Memory *ResourceRange `json:"memory,omitempty"` }
RecommendedMachineConfiguration the properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // ResourceIdentityTypeNone ... ResourceIdentityTypeNone ResourceIdentityType = "None" // ResourceIdentityTypeSystemAssigned ... ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" // ResourceIdentityTypeSystemAssignedUserAssigned ... ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" // ResourceIdentityTypeUserAssigned ... ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" )
type ResourceRange ¶
type ResourceRange struct { // Min - The minimum number of the resource. Min *int32 `json:"min,omitempty"` // Max - The maximum number of the resource. Max *int32 `json:"max,omitempty"` }
ResourceRange describes the resource range.
type SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
type SSHPublicKey ¶
type SSHPublicKey struct { // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys Path *string `json:"path,omitempty"` // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Li nux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). KeyData *string `json:"keyData,omitempty"` }
type SecurityProfile ¶
type SecurityProfile struct {
EnableTPM *bool `json:"enableTPM,omitempty"`
}
type StorageAccountTypes ¶
type StorageAccountTypes string
StorageAccountTypes enumerates the values for storage account types.
const ( // StorageAccountTypesPremiumLRS ... StorageAccountTypesPremiumLRS StorageAccountTypes = "Premium_LRS" // StorageAccountTypesStandardLRS ... StorageAccountTypesStandardLRS StorageAccountTypes = "Standard_LRS" // StorageAccountTypesStandardSSDLRS ... StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS" // StorageAccountTypesUltraSSDLRS ... StorageAccountTypesUltraSSDLRS StorageAccountTypes = "UltraSSD_LRS" )
type StorageProfile ¶
type StorageProfile struct { // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. ImageReference *ImageReference `json:"imagereference,omitempty"` // OSDisk OsDisk *OSDisk `json:"osdisk,omitempty"` // DataDisks DataDisks *[]DataDisk `json:"datadisks,omitempty"` // VMConfigContainerName - Name of the storage container that hosts the VM configuration file VmConfigContainerName *string `json:"vmConfigContainerName,omitempty"` }
type SubResource ¶
type SubResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
SubResource ...
type VaultCertificate ¶
type VaultCertificate struct { // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} CertificateURL *string `json:"certificateUrl,omitempty"` // CertificateStore - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. CertificateStore *string `json:"certificateStore,omitempty"` }
VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
type VaultSecretGroup ¶
type VaultSecretGroup struct { // SourceVault - The relative URL of the Key Vault containing all of the certificates in VaultCertificates. SourceVault *SubResource `json:"sourceVault,omitempty"` // VaultCertificates - The list of key vault references in SourceVault which contain certificates. VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"` }
VaultSecretGroup describes a set of certificates which are all in the same Key Vault.
type VirtualHardDisk ¶
type VirtualHardDisk struct { // URI - Specifies the virtual hard disk's uri. URI *string `json:"uri,omitempty"` }
VirtualHardDisk describes the uri of a disk.
type VirtualMachine ¶
type VirtualMachine struct { // ID ID *string `json:"ID,omitempty"` // Name Name *string `json:"name,omitempty"` // Type Type *string `json:"type,omitempty"` // Tags - Custom resource tags Tags map[string]*string `json:"tags"` // Zones - The virtual machine scale set zones. Zones *[]string `json:"zones,omitempty"` // Version Version *string `json:"version,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Plan Plan *Plan `json:"plan,omitempty"` // Properties *VirtualMachineProperties `json:"virtualmachineproperties,omitempty"` }
type VirtualMachineEvictionPolicyTypes ¶
type VirtualMachineEvictionPolicyTypes string
VirtualMachineEvictionPolicyTypes enumerates the values for virtual machine eviction policy types.
const ( Deallocate VirtualMachineEvictionPolicyTypes = "Deallocate" Delete VirtualMachineEvictionPolicyTypes = "Delete" )
type VirtualMachineImage ¶
type VirtualMachineImage struct { autorest.Response `json:"-"` *VirtualMachineImageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Version Version *string `json:"version,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Image the source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
type VirtualMachineImageDataDisk ¶
type VirtualMachineImageDataDisk struct { // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Snapshot - The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // ManagedDisk - The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // BlobURI - The Virtual Hard Disk. BlobURI *string `json:"blobUri,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
VirtualMachineImageDataDisk describes a data disk.
type VirtualMachineImageOSDisk ¶
type VirtualMachineImageOSDisk struct { // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // OsState - The OS State. Possible values include: 'Generalized', 'Specialized' OsState OperatingSystemStateTypes `json:"osState,omitempty"` // Snapshot - The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // ManagedDisk - The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // BlobURI - The Virtual Hard Disk. BlobURI *string `json:"blobUri,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // StorageAccountType - Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
VirtualMachineImageOSDisk describes an Operating System disk.
type VirtualMachineImageProperties ¶
type VirtualMachineImageProperties struct { // SourceVirtualMachine - The source virtual machine from which Image is created. SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *VirtualMachineImageStorageProfile `json:"storageProfile,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // HyperVGeneration - Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2' // HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
VirtualMachineImageProperties describes the properties of an Image.
type VirtualMachineImageStorageProfile ¶
type VirtualMachineImageStorageProfile struct { // OsDisk - Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). OsDisk *VirtualMachineImageOSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). DataDisks *[]VirtualMachineImageDataDisk `json:"dataDisks,omitempty"` // ZoneResilient - Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). ZoneResilient *bool `json:"zoneResilient,omitempty"` }
VirtualMachineImageStorageProfile describes a storage profile.
type VirtualMachinePriorityTypes ¶
type VirtualMachinePriorityTypes string
VirtualMachinePriorityTypes enumerates the values for virtual machine priority types.
const ( Low VirtualMachinePriorityTypes = "Low" Regular VirtualMachinePriorityTypes = "Regular" )
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { // StorageProfile StorageProfile *StorageProfile `json:"storageprofile,omitempty"` // OsProfile OsProfile *OSProfile `json:"osprofile,omitempty"` // NetworkProfile NetworkProfile *NetworkProfile `json:"networkprofile,omitempty"` // HardwareProfile - Specifies the hardware settings for the virtual machine. HardwareProfile *HardwareProfile `json:"hardwareprofile,omitempty"` // SecurityProfile - Specifies the security settings for the virtual machine. SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // Host - Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01. Host *SubResource `json:"host,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // VMID - READ-ONLY; Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. VMID *string `json:"vmId,omitempty"` // VmType - The type of the VM. Can be either tenant or loadbalancer vm VmType VMType `json:"vmType,omitempty"` // Disable High Availability DisableHighAvailability *bool `json:"disableHighAvailability,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
VirtualMachineProperties describes the properties of a Virtual Machine.
type VirtualMachineScaleSet ¶
type VirtualMachineScaleSet struct { autorest.Response `json:"-"` // ID ID *string `json:"ID,omitempty"` // Name Name *string `json:"name,omitempty"` // Type Type *string `json:"type,omitempty"` // Tags - Custom resource tags Tags map[string]*string `json:"tags"` // Zones - The virtual machine scale set zones. Zones *[]string `json:"zones,omitempty"` // Version Version *string `json:"version,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. Plan *Plan `json:"plan,omitempty"` *VirtualMachineScaleSetProperties `json:"properties,omitempty"` // Sku Sku *Sku `json:"sku,omitempty"` // Identity - The identity of the virtual machine scale set, if configured. Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` }
VirtualMachineScaleSet
type VirtualMachineScaleSetDataDisk ¶
type VirtualMachineScaleSetDataDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // CreateOption - The create option. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // Image - Specifies information about the unmanaged user image to base the scale set on. Image *VirtualHardDisk `json:"image,omitempty"` }
VirtualMachineScaleSetDataDisk describes a virtual machine scale set data disk.
type VirtualMachineScaleSetHardwareProfile ¶
type VirtualMachineScaleSetHardwareProfile struct { // VMSize - Specifies the size of the virtual machine. VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"` }
VirtualMachineScaleSetHardwareProfile describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetIPConfiguration ¶
type VirtualMachineScaleSetIPConfiguration struct { // Name - The IP configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetIPConfiguration describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetIPConfigurationProperties ¶
type VirtualMachineScaleSetIPConfigurationProperties struct { // Subnet - Specifies the identifier of the subnet. Subnet *APIEntityReference `json:"subnet,omitempty"` // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // PublicIPAddressConfiguration - The publicIPAddressConfiguration. PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` // ApplicationGatewayBackendAddressPools - Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway. ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` // ApplicationSecurityGroups - Specifies an array of references to application security group. ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"` // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer. LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` // LoadBalancerInboundNatPools - Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"` }
VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetIPTag ¶
type VirtualMachineScaleSetIPTag struct { // IPTagType - IP tag type. Example: FirstPartyUsage. IPTagType *string `json:"ipTagType,omitempty"` // Tag - IP tag associated with the public IP. Example: SQL, Storage etc. Tag *string `json:"tag,omitempty"` }
VirtualMachineScaleSetIPTag contains the IP tag associated with the public IP address.
type VirtualMachineScaleSetIdentity ¶
type VirtualMachineScaleSetIdentity struct { // PrincipalID - READ-ONLY; The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone' Type ResourceIdentityType `json:"type,omitempty"` // UserAssignedIdentities - The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` }
VirtualMachineScaleSetIdentity identity for the virtual machine scale set.
type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ¶
type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ...
type VirtualMachineScaleSetNetworkConfiguration ¶
type VirtualMachineScaleSetNetworkConfiguration struct { // Name - The network configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's network configurations.
type VirtualMachineScaleSetNetworkConfigurationDNSSettings ¶
type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct { // DNSServers - List of DNS servers IP addresses DNSServers *[]string `json:"dnsServers,omitempty"` }
VirtualMachineScaleSetNetworkConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetNetworkConfigurationProperties ¶
type VirtualMachineScaleSetNetworkConfigurationProperties struct { // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // NetworkSecurityGroup - The network security group. NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` // DNSSettings - The dns settings to be applied on the network interfaces. DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPConfigurations - Specifies the IP configurations of the network interface. IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"` // EnableIPForwarding - Whether IP forwarding enabled on this NIC. EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` }
VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetNetworkProfile ¶
type VirtualMachineScaleSetNetworkProfile struct { // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. HealthProbe *APIEntityReference `json:"healthProbe,omitempty"` // NetworkInterfaceConfigurations NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
type VirtualMachineScaleSetOSDisk ¶
type VirtualMachineScaleSetOSDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // CreateOption - Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // Image - Specifies information about the unmanaged user image to base the scale set on. Image *VirtualHardDisk `json:"image,omitempty"` // VhdContainers - Specifies the container urls that are used to store operating system disks for the scale set. VhdContainers *[]string `json:"vhdContainers,omitempty"` }
VirtualMachineScaleSetOSDisk describes a virtual machine scale set operating system disk.
type VirtualMachineScaleSetOSProfile ¶
type VirtualMachineScaleSetOSProfile struct { // ComputerNamePrefix - Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. ComputerNamePrefix *string `json:"computerNamePrefix,omitempty"` // AdminUsername - Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) AdminPassword *string `json:"adminPassword,omitempty"` // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine. WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - Specifies set of certificates that should be installed onto the virtual machines in the scale set. Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
VirtualMachineScaleSetOSProfile describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetProperties ¶
type VirtualMachineScaleSetProperties struct { // VirtualMachineProfile - The virtual machine profile. VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
VirtualMachineScaleSetProperties describes the properties of a Virtual Machine Scale Set.
type VirtualMachineScaleSetPublicIPAddressConfiguration ¶
type VirtualMachineScaleSetPublicIPAddressConfiguration struct { // Name - The publicIP address configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct { // DomainNameLabel - The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created DomainNameLabel *string `json:"domainNameLabel,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct { // IdleTimeoutInMinutes - The idle timeout of the public IP address. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // DNSSettings - The dns settings to be applied on the publicIP addresses . DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPTags - The list of IP tags associated with the public IP address. IPTags *[]VirtualMachineScaleSetIPTag `json:"ipTags,omitempty"` // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses. PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfigurationProperties describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetStorageProfile ¶
type VirtualMachineScaleSetStorageProfile struct { // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - Specifies information about the operating system disk used by the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` // VMConfigContainerName - Name of the storage container that hosts the VM configuration file VmConfigContainerName *string `json:"vmConfigContainerName,omitempty"` }
VirtualMachineScaleSetStorageProfile describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetVMProfile ¶
type VirtualMachineScaleSetVMProfile struct { // StorageProfile StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"` // HardwareProfile HardwareProfile *VirtualMachineScaleSetHardwareProfile `json:"hardwareProfile,omitempty"` // SecurityProfile - Specifies the security settings for the virtual machine. SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // OsProfile OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"` // NetworkProfile NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"` // DiagnosticsProfile - Specifies the boot diagnostic settings state DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // Priority - Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low' Priority VirtualMachinePriorityTypes `json:"priority,omitempty"` // EvictionPolicy - Specifies the eviction policy for virtual machines in a low priority scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete' EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"` // Disable High Availability DisableHighAvailability *bool `json:"disableHighAvailability,omitempty"` }
VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.
type VirtualMachineSizeTypes ¶
type VirtualMachineSizeTypes string
VirtualMachineSizeTypes enumerates the values for virtual machine size types.
const ( // VirtualMachineSizeTypesDefault ... VirtualMachineSizeTypesDefault VirtualMachineSizeTypes = "Default" // VirtualMachineSizeTypesStandardK8SV1 ... VirtualMachineSizeTypesStandardK8SV1 VirtualMachineSizeTypes = "Standard_K8S_v1" // VirtualMachineSizeTypesStandardK8S2V1 ... VirtualMachineSizeTypesStandardK8S2V1 VirtualMachineSizeTypes = "Standard_K8S2_v1" // VirtualMachineSizeTypesStandardK8S3V1 ... VirtualMachineSizeTypesStandardK8S3V1 VirtualMachineSizeTypes = "Standard_K8S3_v1" // VirtualMachineSizeTypesStandardK8S4V1 ... VirtualMachineSizeTypesStandardK8S4V1 VirtualMachineSizeTypes = "Standard_K8S4_v1" // VirtualMachineSizeTypesBasicA0 ... VirtualMachineSizeTypesBasicA0 VirtualMachineSizeTypes = "Basic_A0" // VirtualMachineSizeTypesBasicA1 ... VirtualMachineSizeTypesBasicA1 VirtualMachineSizeTypes = "Basic_A1" // VirtualMachineSizeTypesBasicA2 ... VirtualMachineSizeTypesBasicA2 VirtualMachineSizeTypes = "Basic_A2" // VirtualMachineSizeTypesBasicA3 ... VirtualMachineSizeTypesBasicA3 VirtualMachineSizeTypes = "Basic_A3" // VirtualMachineSizeTypesBasicA4 ... VirtualMachineSizeTypesBasicA4 VirtualMachineSizeTypes = "Basic_A4" // VirtualMachineSizeTypesStandardA0 ... VirtualMachineSizeTypesStandardA0 VirtualMachineSizeTypes = "Standard_A0" // VirtualMachineSizeTypesStandardA1 ... VirtualMachineSizeTypesStandardA1 VirtualMachineSizeTypes = "Standard_A1" // VirtualMachineSizeTypesStandardA10 ... VirtualMachineSizeTypesStandardA10 VirtualMachineSizeTypes = "Standard_A10" // VirtualMachineSizeTypesStandardA11 ... VirtualMachineSizeTypesStandardA11 VirtualMachineSizeTypes = "Standard_A11" // VirtualMachineSizeTypesStandardA1V2 ... VirtualMachineSizeTypesStandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2" // VirtualMachineSizeTypesStandardA2 ... VirtualMachineSizeTypesStandardA2 VirtualMachineSizeTypes = "Standard_A2" // VirtualMachineSizeTypesStandardA2mV2 ... VirtualMachineSizeTypesStandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2" // VirtualMachineSizeTypesStandardA2V2 ... VirtualMachineSizeTypesStandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2" // VirtualMachineSizeTypesStandardA3 ... VirtualMachineSizeTypesStandardA3 VirtualMachineSizeTypes = "Standard_A3" // VirtualMachineSizeTypesStandardA4 ... VirtualMachineSizeTypesStandardA4 VirtualMachineSizeTypes = "Standard_A4" // VirtualMachineSizeTypesStandardA4mV2 ... VirtualMachineSizeTypesStandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2" // VirtualMachineSizeTypesStandardA4V2 ... VirtualMachineSizeTypesStandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2" // VirtualMachineSizeTypesStandardA5 ... VirtualMachineSizeTypesStandardA5 VirtualMachineSizeTypes = "Standard_A5" // VirtualMachineSizeTypesStandardA6 ... VirtualMachineSizeTypesStandardA6 VirtualMachineSizeTypes = "Standard_A6" // VirtualMachineSizeTypesStandardA7 ... VirtualMachineSizeTypesStandardA7 VirtualMachineSizeTypes = "Standard_A7" // VirtualMachineSizeTypesStandardA8 ... VirtualMachineSizeTypesStandardA8 VirtualMachineSizeTypes = "Standard_A8" // VirtualMachineSizeTypesStandardA8mV2 ... VirtualMachineSizeTypesStandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2" // VirtualMachineSizeTypesStandardA8V2 ... VirtualMachineSizeTypesStandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2" // VirtualMachineSizeTypesStandardA9 ... VirtualMachineSizeTypesStandardA9 VirtualMachineSizeTypes = "Standard_A9" // VirtualMachineSizeTypesStandardB1ms ... VirtualMachineSizeTypesStandardB1ms VirtualMachineSizeTypes = "Standard_B1ms" // VirtualMachineSizeTypesStandardB1s ... VirtualMachineSizeTypesStandardB1s VirtualMachineSizeTypes = "Standard_B1s" // VirtualMachineSizeTypesStandardB2ms ... VirtualMachineSizeTypesStandardB2ms VirtualMachineSizeTypes = "Standard_B2ms" // VirtualMachineSizeTypesStandardB2s ... VirtualMachineSizeTypesStandardB2s VirtualMachineSizeTypes = "Standard_B2s" // VirtualMachineSizeTypesStandardB4ms ... VirtualMachineSizeTypesStandardB4ms VirtualMachineSizeTypes = "Standard_B4ms" // VirtualMachineSizeTypesStandardB8ms ... VirtualMachineSizeTypesStandardB8ms VirtualMachineSizeTypes = "Standard_B8ms" // VirtualMachineSizeTypesStandardDV2 ... VirtualMachineSizeTypesStandardDV2 VirtualMachineSizeTypes = "Standard_D_v2" // VirtualMachineSizeTypesStandardDV3 ... VirtualMachineSizeTypesStandardDV3 VirtualMachineSizeTypes = "Standard_D_v3" // VirtualMachineSizeTypesStandardD1 ... VirtualMachineSizeTypesStandardD1 VirtualMachineSizeTypes = "Standard_D1" // VirtualMachineSizeTypesStandardD11 ... VirtualMachineSizeTypesStandardD11 VirtualMachineSizeTypes = "Standard_D11" // VirtualMachineSizeTypesStandardD11V2 ... VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2" // VirtualMachineSizeTypesStandardD12 ... VirtualMachineSizeTypesStandardD12 VirtualMachineSizeTypes = "Standard_D12" // VirtualMachineSizeTypesStandardD12V2 ... VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2" // VirtualMachineSizeTypesStandardD13 ... VirtualMachineSizeTypesStandardD13 VirtualMachineSizeTypes = "Standard_D13" // VirtualMachineSizeTypesStandardD13V2 ... VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2" // VirtualMachineSizeTypesStandardD14 ... VirtualMachineSizeTypesStandardD14 VirtualMachineSizeTypes = "Standard_D14" // VirtualMachineSizeTypesStandardD14V2 ... VirtualMachineSizeTypesStandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2" // VirtualMachineSizeTypesStandardD15V2 ... VirtualMachineSizeTypesStandardD15V2 VirtualMachineSizeTypes = "Standard_D15_v2" // VirtualMachineSizeTypesStandardD16sV3 ... VirtualMachineSizeTypesStandardD16sV3 VirtualMachineSizeTypes = "Standard_D16s_v3" // VirtualMachineSizeTypesStandardD16V3 ... VirtualMachineSizeTypesStandardD16V3 VirtualMachineSizeTypes = "Standard_D16_v3" // VirtualMachineSizeTypesStandardD1V2 ... VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2" // VirtualMachineSizeTypesStandardD2 ... VirtualMachineSizeTypesStandardD2 VirtualMachineSizeTypes = "Standard_D2" // VirtualMachineSizeTypesStandardD2sV3 ... VirtualMachineSizeTypesStandardD2sV3 VirtualMachineSizeTypes = "Standard_D2s_v3" // VirtualMachineSizeTypesStandardD2V2 ... VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2" // VirtualMachineSizeTypesStandardD2V3 ... VirtualMachineSizeTypesStandardD2V3 VirtualMachineSizeTypes = "Standard_D2_v3" // VirtualMachineSizeTypesStandardD3 ... VirtualMachineSizeTypesStandardD3 VirtualMachineSizeTypes = "Standard_D3" // VirtualMachineSizeTypesStandardD32sV3 ... VirtualMachineSizeTypesStandardD32sV3 VirtualMachineSizeTypes = "Standard_D32s_v3" // VirtualMachineSizeTypesStandardD32V3 ... VirtualMachineSizeTypesStandardD32V3 VirtualMachineSizeTypes = "Standard_D32_v3" // VirtualMachineSizeTypesStandardD3V2 ... VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2" // VirtualMachineSizeTypesStandardD4 ... VirtualMachineSizeTypesStandardD4 VirtualMachineSizeTypes = "Standard_D4" // VirtualMachineSizeTypesStandardD4sV3 ... VirtualMachineSizeTypesStandardD4sV3 VirtualMachineSizeTypes = "Standard_D4s_v3" // VirtualMachineSizeTypesStandardD4V2 ... VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2" // VirtualMachineSizeTypesStandardD4V3 ... VirtualMachineSizeTypesStandardD4V3 VirtualMachineSizeTypes = "Standard_D4_v3" // VirtualMachineSizeTypesStandardD5V2 ... VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2" // VirtualMachineSizeTypesStandardD64sV3 ... VirtualMachineSizeTypesStandardD64sV3 VirtualMachineSizeTypes = "Standard_D64s_v3" // VirtualMachineSizeTypesStandardD64V3 ... VirtualMachineSizeTypesStandardD64V3 VirtualMachineSizeTypes = "Standard_D64_v3" // VirtualMachineSizeTypesStandardD8sV3 ... VirtualMachineSizeTypesStandardD8sV3 VirtualMachineSizeTypes = "Standard_D8s_v3" // VirtualMachineSizeTypesStandardD8V3 ... VirtualMachineSizeTypesStandardD8V3 VirtualMachineSizeTypes = "Standard_D8_v3" // VirtualMachineSizeTypesStandardDS1 ... VirtualMachineSizeTypesStandardDS1 VirtualMachineSizeTypes = "Standard_DS1" // VirtualMachineSizeTypesStandardDS11 ... VirtualMachineSizeTypesStandardDS11 VirtualMachineSizeTypes = "Standard_DS11" // VirtualMachineSizeTypesStandardDS11V2 ... VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2" // VirtualMachineSizeTypesStandardDS12 ... VirtualMachineSizeTypesStandardDS12 VirtualMachineSizeTypes = "Standard_DS12" // VirtualMachineSizeTypesStandardDS12V2 ... VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2" // VirtualMachineSizeTypesStandardDS13 ... VirtualMachineSizeTypesStandardDS13 VirtualMachineSizeTypes = "Standard_DS13" // VirtualMachineSizeTypesStandardDS132V2 ... VirtualMachineSizeTypesStandardDS132V2 VirtualMachineSizeTypes = "Standard_DS13-2_v2" // VirtualMachineSizeTypesStandardDS134V2 ... VirtualMachineSizeTypesStandardDS134V2 VirtualMachineSizeTypes = "Standard_DS13-4_v2" // VirtualMachineSizeTypesStandardDS13V2 ... VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2" // VirtualMachineSizeTypesStandardDS14 ... VirtualMachineSizeTypesStandardDS14 VirtualMachineSizeTypes = "Standard_DS14" // VirtualMachineSizeTypesStandardDS144V2 ... VirtualMachineSizeTypesStandardDS144V2 VirtualMachineSizeTypes = "Standard_DS14-4_v2" // VirtualMachineSizeTypesStandardDS148V2 ... VirtualMachineSizeTypesStandardDS148V2 VirtualMachineSizeTypes = "Standard_DS14-8_v2" // VirtualMachineSizeTypesStandardDS14V2 ... VirtualMachineSizeTypesStandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2" // VirtualMachineSizeTypesStandardDS15V2 ... VirtualMachineSizeTypesStandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2" // VirtualMachineSizeTypesStandardDS1V2 ... VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2" // VirtualMachineSizeTypesStandardDS2 ... VirtualMachineSizeTypesStandardDS2 VirtualMachineSizeTypes = "Standard_DS2" // VirtualMachineSizeTypesStandardDS2V2 ... VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2" // VirtualMachineSizeTypesStandardDS3 ... VirtualMachineSizeTypesStandardDS3 VirtualMachineSizeTypes = "Standard_DS3" // VirtualMachineSizeTypesStandardDS3V2 ... VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2" // VirtualMachineSizeTypesStandardDS4 ... VirtualMachineSizeTypesStandardDS4 VirtualMachineSizeTypes = "Standard_DS4" // VirtualMachineSizeTypesStandardDS4V2 ... VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2" // VirtualMachineSizeTypesStandardDS5V2 ... VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2" // VirtualMachineSizeTypesStandardE16sV3 ... VirtualMachineSizeTypesStandardE16sV3 VirtualMachineSizeTypes = "Standard_E16s_v3" // VirtualMachineSizeTypesStandardE16V3 ... VirtualMachineSizeTypesStandardE16V3 VirtualMachineSizeTypes = "Standard_E16_v3" // VirtualMachineSizeTypesStandardE2sV3 ... VirtualMachineSizeTypesStandardE2sV3 VirtualMachineSizeTypes = "Standard_E2s_v3" // VirtualMachineSizeTypesStandardE2V3 ... VirtualMachineSizeTypesStandardE2V3 VirtualMachineSizeTypes = "Standard_E2_v3" // VirtualMachineSizeTypesStandardE3216V3 ... VirtualMachineSizeTypesStandardE3216V3 VirtualMachineSizeTypes = "Standard_E32-16_v3" // VirtualMachineSizeTypesStandardE328sV3 ... VirtualMachineSizeTypesStandardE328sV3 VirtualMachineSizeTypes = "Standard_E32-8s_v3" // VirtualMachineSizeTypesStandardE32sV3 ... VirtualMachineSizeTypesStandardE32sV3 VirtualMachineSizeTypes = "Standard_E32s_v3" // VirtualMachineSizeTypesStandardE32V3 ... VirtualMachineSizeTypesStandardE32V3 VirtualMachineSizeTypes = "Standard_E32_v3" // VirtualMachineSizeTypesStandardE4sV3 ... VirtualMachineSizeTypesStandardE4sV3 VirtualMachineSizeTypes = "Standard_E4s_v3" // VirtualMachineSizeTypesStandardE4V3 ... VirtualMachineSizeTypesStandardE4V3 VirtualMachineSizeTypes = "Standard_E4_v3" // VirtualMachineSizeTypesStandardE6416sV3 ... VirtualMachineSizeTypesStandardE6416sV3 VirtualMachineSizeTypes = "Standard_E64-16s_v3" // VirtualMachineSizeTypesStandardE6432sV3 ... VirtualMachineSizeTypesStandardE6432sV3 VirtualMachineSizeTypes = "Standard_E64-32s_v3" // VirtualMachineSizeTypesStandardE64sV3 ... VirtualMachineSizeTypesStandardE64sV3 VirtualMachineSizeTypes = "Standard_E64s_v3" // VirtualMachineSizeTypesStandardE64V3 ... VirtualMachineSizeTypesStandardE64V3 VirtualMachineSizeTypes = "Standard_E64_v3" // VirtualMachineSizeTypesStandardE8sV3 ... VirtualMachineSizeTypesStandardE8sV3 VirtualMachineSizeTypes = "Standard_E8s_v3" // VirtualMachineSizeTypesStandardE8V3 ... VirtualMachineSizeTypesStandardE8V3 VirtualMachineSizeTypes = "Standard_E8_v3" // VirtualMachineSizeTypesStandardF1 ... VirtualMachineSizeTypesStandardF1 VirtualMachineSizeTypes = "Standard_F1" // VirtualMachineSizeTypesStandardF16 ... VirtualMachineSizeTypesStandardF16 VirtualMachineSizeTypes = "Standard_F16" // VirtualMachineSizeTypesStandardF16s ... VirtualMachineSizeTypesStandardF16s VirtualMachineSizeTypes = "Standard_F16s" // VirtualMachineSizeTypesStandardF16sV2 ... VirtualMachineSizeTypesStandardF16sV2 VirtualMachineSizeTypes = "Standard_F16s_v2" // VirtualMachineSizeTypesStandardF1s ... VirtualMachineSizeTypesStandardF1s VirtualMachineSizeTypes = "Standard_F1s" // VirtualMachineSizeTypesStandardF2 ... VirtualMachineSizeTypesStandardF2 VirtualMachineSizeTypes = "Standard_F2" // VirtualMachineSizeTypesStandardF2s ... VirtualMachineSizeTypesStandardF2s VirtualMachineSizeTypes = "Standard_F2s" // VirtualMachineSizeTypesStandardF2sV2 ... VirtualMachineSizeTypesStandardF2sV2 VirtualMachineSizeTypes = "Standard_F2s_v2" // VirtualMachineSizeTypesStandardF32sV2 ... VirtualMachineSizeTypesStandardF32sV2 VirtualMachineSizeTypes = "Standard_F32s_v2" // VirtualMachineSizeTypesStandardF4 ... VirtualMachineSizeTypesStandardF4 VirtualMachineSizeTypes = "Standard_F4" // VirtualMachineSizeTypesStandardF4s ... VirtualMachineSizeTypesStandardF4s VirtualMachineSizeTypes = "Standard_F4s" // VirtualMachineSizeTypesStandardF4sV2 ... VirtualMachineSizeTypesStandardF4sV2 VirtualMachineSizeTypes = "Standard_F4s_v2" // VirtualMachineSizeTypesStandardF64sV2 ... VirtualMachineSizeTypesStandardF64sV2 VirtualMachineSizeTypes = "Standard_F64s_v2" // VirtualMachineSizeTypesStandardF72sV2 ... VirtualMachineSizeTypesStandardF72sV2 VirtualMachineSizeTypes = "Standard_F72s_v2" // VirtualMachineSizeTypesStandardF8 ... VirtualMachineSizeTypesStandardF8 VirtualMachineSizeTypes = "Standard_F8" // VirtualMachineSizeTypesStandardF8s ... VirtualMachineSizeTypesStandardF8s VirtualMachineSizeTypes = "Standard_F8s" // VirtualMachineSizeTypesStandardF8sV2 ... VirtualMachineSizeTypesStandardF8sV2 VirtualMachineSizeTypes = "Standard_F8s_v2" // VirtualMachineSizeTypesStandardG1 ... VirtualMachineSizeTypesStandardG1 VirtualMachineSizeTypes = "Standard_G1" // VirtualMachineSizeTypesStandardG2 ... VirtualMachineSizeTypesStandardG2 VirtualMachineSizeTypes = "Standard_G2" // VirtualMachineSizeTypesStandardG3 ... VirtualMachineSizeTypesStandardG3 VirtualMachineSizeTypes = "Standard_G3" // VirtualMachineSizeTypesStandardG4 ... VirtualMachineSizeTypesStandardG4 VirtualMachineSizeTypes = "Standard_G4" // VirtualMachineSizeTypesStandardG5 ... VirtualMachineSizeTypesStandardG5 VirtualMachineSizeTypes = "Standard_G5" // VirtualMachineSizeTypesStandardGS1 ... VirtualMachineSizeTypesStandardGS1 VirtualMachineSizeTypes = "Standard_GS1" // VirtualMachineSizeTypesStandardGS2 ... VirtualMachineSizeTypesStandardGS2 VirtualMachineSizeTypes = "Standard_GS2" // VirtualMachineSizeTypesStandardGS3 ... VirtualMachineSizeTypesStandardGS3 VirtualMachineSizeTypes = "Standard_GS3" // VirtualMachineSizeTypesStandardGS4 ... VirtualMachineSizeTypesStandardGS4 VirtualMachineSizeTypes = "Standard_GS4" // VirtualMachineSizeTypesStandardGS44 ... VirtualMachineSizeTypesStandardGS44 VirtualMachineSizeTypes = "Standard_GS4-4" // VirtualMachineSizeTypesStandardGS48 ... VirtualMachineSizeTypesStandardGS48 VirtualMachineSizeTypes = "Standard_GS4-8" // VirtualMachineSizeTypesStandardGS5 ... VirtualMachineSizeTypesStandardGS5 VirtualMachineSizeTypes = "Standard_GS5" // VirtualMachineSizeTypesStandardGS516 ... VirtualMachineSizeTypesStandardGS516 VirtualMachineSizeTypes = "Standard_GS5-16" // VirtualMachineSizeTypesStandardGS58 ... VirtualMachineSizeTypesStandardGS58 VirtualMachineSizeTypes = "Standard_GS5-8" // VirtualMachineSizeTypesStandardH16 ... VirtualMachineSizeTypesStandardH16 VirtualMachineSizeTypes = "Standard_H16" // VirtualMachineSizeTypesStandardH16m ... VirtualMachineSizeTypesStandardH16m VirtualMachineSizeTypes = "Standard_H16m" // VirtualMachineSizeTypesStandardH16mr ... VirtualMachineSizeTypesStandardH16mr VirtualMachineSizeTypes = "Standard_H16mr" // VirtualMachineSizeTypesStandardH16r ... VirtualMachineSizeTypesStandardH16r VirtualMachineSizeTypes = "Standard_H16r" // VirtualMachineSizeTypesStandardH8 ... VirtualMachineSizeTypesStandardH8 VirtualMachineSizeTypes = "Standard_H8" // VirtualMachineSizeTypesStandardH8m ... VirtualMachineSizeTypesStandardH8m VirtualMachineSizeTypes = "Standard_H8m" // VirtualMachineSizeTypesStandardL16s ... VirtualMachineSizeTypesStandardL16s VirtualMachineSizeTypes = "Standard_L16s" // VirtualMachineSizeTypesStandardL32s ... VirtualMachineSizeTypesStandardL32s VirtualMachineSizeTypes = "Standard_L32s" // VirtualMachineSizeTypesStandardL4s ... VirtualMachineSizeTypesStandardL4s VirtualMachineSizeTypes = "Standard_L4s" // VirtualMachineSizeTypesStandardL8s ... VirtualMachineSizeTypesStandardL8s VirtualMachineSizeTypes = "Standard_L8s" // VirtualMachineSizeTypesStandardM12832ms ... VirtualMachineSizeTypesStandardM12832ms VirtualMachineSizeTypes = "Standard_M128-32ms" // VirtualMachineSizeTypesStandardM12864ms ... VirtualMachineSizeTypesStandardM12864ms VirtualMachineSizeTypes = "Standard_M128-64ms" // VirtualMachineSizeTypesStandardM128ms ... VirtualMachineSizeTypesStandardM128ms VirtualMachineSizeTypes = "Standard_M128ms" // VirtualMachineSizeTypesStandardM128s ... VirtualMachineSizeTypesStandardM128s VirtualMachineSizeTypes = "Standard_M128s" // VirtualMachineSizeTypesStandardM6416ms ... VirtualMachineSizeTypesStandardM6416ms VirtualMachineSizeTypes = "Standard_M64-16ms" // VirtualMachineSizeTypesStandardM6432ms ... VirtualMachineSizeTypesStandardM6432ms VirtualMachineSizeTypes = "Standard_M64-32ms" // VirtualMachineSizeTypesStandardM64ms ... VirtualMachineSizeTypesStandardM64ms VirtualMachineSizeTypes = "Standard_M64ms" // VirtualMachineSizeTypesStandardM64s ... VirtualMachineSizeTypesStandardM64s VirtualMachineSizeTypes = "Standard_M64s" // VirtualMachineSizeTypesStandardNC12 ... VirtualMachineSizeTypesStandardNC12 VirtualMachineSizeTypes = "Standard_NC12" // VirtualMachineSizeTypesStandardNC12sV2 ... VirtualMachineSizeTypesStandardNC12sV2 VirtualMachineSizeTypes = "Standard_NC12s_v2" // VirtualMachineSizeTypesStandardNC12sV3 ... VirtualMachineSizeTypesStandardNC12sV3 VirtualMachineSizeTypes = "Standard_NC12s_v3" // VirtualMachineSizeTypesStandardNC24 ... VirtualMachineSizeTypesStandardNC24 VirtualMachineSizeTypes = "Standard_NC24" // VirtualMachineSizeTypesStandardNC24r ... VirtualMachineSizeTypesStandardNC24r VirtualMachineSizeTypes = "Standard_NC24r" // VirtualMachineSizeTypesStandardNC24rsV2 ... VirtualMachineSizeTypesStandardNC24rsV2 VirtualMachineSizeTypes = "Standard_NC24rs_v2" // VirtualMachineSizeTypesStandardNC24rsV3 ... VirtualMachineSizeTypesStandardNC24rsV3 VirtualMachineSizeTypes = "Standard_NC24rs_v3" // VirtualMachineSizeTypesStandardNC24sV2 ... VirtualMachineSizeTypesStandardNC24sV2 VirtualMachineSizeTypes = "Standard_NC24s_v2" // VirtualMachineSizeTypesStandardNC24sV3 ... VirtualMachineSizeTypesStandardNC24sV3 VirtualMachineSizeTypes = "Standard_NC24s_v3" // VirtualMachineSizeTypesStandardNC6 ... VirtualMachineSizeTypesStandardNC6 VirtualMachineSizeTypes = "Standard_NC6" // VirtualMachineSizeTypesStandardNC6sV2 ... VirtualMachineSizeTypesStandardNC6sV2 VirtualMachineSizeTypes = "Standard_NC6s_v2" // VirtualMachineSizeTypesStandardNC6sV3 ... VirtualMachineSizeTypesStandardNC6sV3 VirtualMachineSizeTypes = "Standard_NC6s_v3" // VirtualMachineSizeTypesStandardND12s ... VirtualMachineSizeTypesStandardND12s VirtualMachineSizeTypes = "Standard_ND12s" // VirtualMachineSizeTypesStandardND24rs ... VirtualMachineSizeTypesStandardND24rs VirtualMachineSizeTypes = "Standard_ND24rs" // VirtualMachineSizeTypesStandardND24s ... VirtualMachineSizeTypesStandardND24s VirtualMachineSizeTypes = "Standard_ND24s" // VirtualMachineSizeTypesStandardND6s ... VirtualMachineSizeTypesStandardND6s VirtualMachineSizeTypes = "Standard_ND6s" // VirtualMachineSizeTypesStandardNV12 ... VirtualMachineSizeTypesStandardNV12 VirtualMachineSizeTypes = "Standard_NV12" // VirtualMachineSizeTypesStandardNV24 ... VirtualMachineSizeTypesStandardNV24 VirtualMachineSizeTypes = "Standard_NV24" // VirtualMachineSizeTypesStandardNV6 ... VirtualMachineSizeTypesStandardNV6 VirtualMachineSizeTypes = "Standard_NV6" // VirtualMachineSizeTypesStandardNK6 ... VirtualMachineSizeTypesStandardNK6 VirtualMachineSizeTypes = "Standard_NK6" // VirtualMachineSizeTypesStandardNK12 ... VirtualMachineSizeTypesStandardNK12 VirtualMachineSizeTypes = "Standard_NK12" )
func GetCloudSdkVirtualMachineSizeFromCloudVirtualMachineSize ¶
func GetCloudSdkVirtualMachineSizeFromCloudVirtualMachineSize(size cloudcompute.VirtualMachineSizeType) VirtualMachineSizeTypes
type WindowsConfiguration ¶
type WindowsConfiguration struct { // EnableAutomaticUpdates EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` // TimeZone TimeZone *string `json:"timeZone,omitempty"` // AdditionalUnattendContent // AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"` // SSH SSH *SSHConfiguration `json:"ssh,omitempty"` }