Package-level declarations
Types
Specifies the caching requirements.
Possible values are:
None
ReadOnly
ReadWrite
Default: None for Standard storage. ReadOnly for Premium storage.
Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are
Auto
Manual
Simultaneous
If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
None
Windows_Server_Hybrid
Windows_Server_Perpetual
Default: None
Specify what happens to the public IP when the VM is deleted
Specifies the ephemeral disk settings for operating system disk.
Specifies the ephemeral disk placement for operating system disk.
Possible values are:
CacheDisk
ResourceDisk
Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used.
Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
This enumerates the possible sources of a disk's creation.
Specifies how the virtual machine should be created.
Possible values are:
Attach \u2013 This value is used when you are using a specialized disk to create the virtual machine.
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.
Specifies whether OS Disk should be deleted or detached upon VM deletion.
Possible values:
Delete If this value is used, the OS disk is deleted when VM is deleted.
Detach If this value is used, the os disk is retained after VM is deleted.
The default value is set to detach. For an ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for ephemeral OS Disk.
Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: ForceDetach.
detachOption: ForceDetach is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.
This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.
The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.
The type of key used to encrypt the data of the disk.
Specifies the SecurityType of the VM. Applicable for OS disks only.
The sku name.
The type of key used to encrypt the data of the disk.
The type of the extended location.
This property allows you to specify the permission of sharing gallery.
Possible values are:
Private
Groups
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.
Interval value in minutes used to create LogAnalytics call rate logs.
Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
Possible values are:
ImageDefault - You control the timing of patch assessments on a virtual machine.
AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
ImageDefault - The virtual machine's default patching configuration is used.
AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
Policy for accessing the disk via network.
specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations
The OS State.
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.
Possible values are:
Windows
Linux
Specifies the orchestration mode for the virtual machine scale set.
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
Specifies the protocol of WinRM listener.
Possible values are:
http
https
Specifies the type of the proximity placement group.
Possible values are:
Standard : Co-locate resources within an Azure region or Availability Zone.
Ultra : For future use.
Specify public IP sku name
Specify public IP sku tier
Specify the public IP allocation 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.
Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
The sku name.
The level code.
Specifies the storage account type to be used to store the image. This property is not updatable.
Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
Automatic - All virtual machines in the scale set are automatically updated at the same time.
Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.
For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.
For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview
Specifies the size of the virtual machine.
The enum data type is currently deprecated and will be removed by December 23rd 2023.
Recommended way to get the list of available sizes is using these APIs:
List all available virtual machine sizes in an availability set
List all available virtual machine sizes in a region
List all available virtual machine sizes for resizing. For more information about virtual machine sizes, see Sizes for virtual machines.
The available VM sizes depend on region and availability set.
Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
Possible values are:
ImageDefault - You control the timing of patch assessments on a virtual machine.
AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.
Possible values are:
Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false
AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.
AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true