Package-level declarations

Types

Link copied to clipboard
enum CachingTypes : Enum<CachingTypes> , ConvertibleToJava<CachingTypes>

Specifies the caching requirements.

Possible values are:

None

ReadOnly

ReadWrite

Default: None for Standard storage. ReadOnly for Premium storage.

Link copied to clipboard
enum CloudServiceUpgradeMode : Enum<CloudServiceUpgradeMode> , ConvertibleToJava<CloudServiceUpgradeMode>

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.

Link copied to clipboard
enum ComponentNames : Enum<ComponentNames> , ConvertibleToJava<ComponentNames>

The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.

Link copied to clipboard
enum DedicatedHostLicenseTypes : Enum<DedicatedHostLicenseTypes> , ConvertibleToJava<DedicatedHostLicenseTypes>

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

Link copied to clipboard
enum DeleteOptions : Enum<DeleteOptions> , ConvertibleToJava<DeleteOptions>

Specify what happens to the public IP when the VM is deleted

Link copied to clipboard
enum DiffDiskOptions : Enum<DiffDiskOptions> , ConvertibleToJava<DiffDiskOptions>

Specifies the ephemeral disk settings for operating system disk.

Link copied to clipboard
enum DiffDiskPlacement : Enum<DiffDiskPlacement> , ConvertibleToJava<DiffDiskPlacement>

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.

Link copied to clipboard
enum DiskCreateOption : Enum<DiskCreateOption> , ConvertibleToJava<DiskCreateOption>

This enumerates the possible sources of a disk's creation.

Link copied to clipboard
enum DiskCreateOptionTypes : Enum<DiskCreateOptionTypes> , ConvertibleToJava<DiskCreateOptionTypes>

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.

Link copied to clipboard
enum DiskDeleteOptionTypes : Enum<DiskDeleteOptionTypes> , ConvertibleToJava<DiskDeleteOptionTypes>

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.

Link copied to clipboard
enum DiskDetachOptionTypes : Enum<DiskDetachOptionTypes> , ConvertibleToJava<DiskDetachOptionTypes>

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'.

Link copied to clipboard
enum DiskEncryptionSetIdentityType : Enum<DiskEncryptionSetIdentityType> , ConvertibleToJava<DiskEncryptionSetIdentityType>

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.

Link copied to clipboard
enum DiskEncryptionSetType : Enum<DiskEncryptionSetType> , ConvertibleToJava<DiskEncryptionSetType>

The type of key used to encrypt the data of the disk.

Link copied to clipboard
enum DiskSecurityTypes : Enum<DiskSecurityTypes> , ConvertibleToJava<DiskSecurityTypes>

Specifies the SecurityType of the VM. Applicable for OS disks only.

Link copied to clipboard
enum DiskStorageAccountTypes : Enum<DiskStorageAccountTypes> , ConvertibleToJava<DiskStorageAccountTypes>

The sku name.

Link copied to clipboard
enum EncryptionType : Enum<EncryptionType> , ConvertibleToJava<EncryptionType>

The type of key used to encrypt the data of the disk.

Link copied to clipboard
enum ExtendedLocationTypes : Enum<ExtendedLocationTypes> , ConvertibleToJava<ExtendedLocationTypes>

The type of the extended location.

Link copied to clipboard
enum GallerySharingPermissionTypes : Enum<GallerySharingPermissionTypes> , ConvertibleToJava<GallerySharingPermissionTypes>

This property allows you to specify the permission of sharing gallery.

Possible values are:

Private

Groups

Link copied to clipboard
enum HostCaching : Enum<HostCaching> , ConvertibleToJava<HostCaching>

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Link copied to clipboard
enum HyperVGeneration : Enum<HyperVGeneration> , ConvertibleToJava<HyperVGeneration>

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Link copied to clipboard
enum HyperVGenerationTypes : Enum<HyperVGenerationTypes> , ConvertibleToJava<HyperVGenerationTypes>

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.

Link copied to clipboard
enum IntervalInMins : Enum<IntervalInMins> , ConvertibleToJava<IntervalInMins>

Interval value in minutes used to create LogAnalytics call rate logs.

Link copied to clipboard
enum IPVersion : Enum<IPVersion> , ConvertibleToJava<IPVersion>

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'.

Link copied to clipboard
enum IPVersions : Enum<IPVersions> , ConvertibleToJava<IPVersions>

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'.

Link copied to clipboard
enum LinuxPatchAssessmentMode : Enum<LinuxPatchAssessmentMode> , ConvertibleToJava<LinuxPatchAssessmentMode>

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.

Link copied to clipboard
enum LinuxVMGuestPatchMode : Enum<LinuxVMGuestPatchMode> , ConvertibleToJava<LinuxVMGuestPatchMode>

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

Link copied to clipboard
enum NetworkAccessPolicy : Enum<NetworkAccessPolicy> , ConvertibleToJava<NetworkAccessPolicy>

Policy for accessing the disk via network.

Link copied to clipboard
enum NetworkApiVersion : Enum<NetworkApiVersion> , ConvertibleToJava<NetworkApiVersion>

specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations

Link copied to clipboard
enum OperatingSystemStateTypes : Enum<OperatingSystemStateTypes> , ConvertibleToJava<OperatingSystemStateTypes>

The OS State.

Link copied to clipboard
enum OperatingSystemTypes : Enum<OperatingSystemTypes> , ConvertibleToJava<OperatingSystemTypes>

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

Link copied to clipboard
enum OrchestrationMode : Enum<OrchestrationMode> , ConvertibleToJava<OrchestrationMode>

Specifies the orchestration mode for the virtual machine scale set.

Link copied to clipboard
enum PassNames : Enum<PassNames> , ConvertibleToJava<PassNames>

The pass name. Currently, the only allowable value is OobeSystem.

Link copied to clipboard
enum PrivateEndpointServiceConnectionStatus : Enum<PrivateEndpointServiceConnectionStatus> , ConvertibleToJava<PrivateEndpointServiceConnectionStatus>

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

Link copied to clipboard
enum ProtocolTypes : Enum<ProtocolTypes> , ConvertibleToJava<ProtocolTypes>

Specifies the protocol of WinRM listener.

Possible values are:
http

https

Link copied to clipboard
enum ProximityPlacementGroupType : Enum<ProximityPlacementGroupType> , ConvertibleToJava<ProximityPlacementGroupType>

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.

Link copied to clipboard
enum PublicIPAddressSkuName : Enum<PublicIPAddressSkuName> , ConvertibleToJava<PublicIPAddressSkuName>

Specify public IP sku name

Link copied to clipboard
enum PublicIPAddressSkuTier : Enum<PublicIPAddressSkuTier> , ConvertibleToJava<PublicIPAddressSkuTier>

Specify public IP sku tier

Link copied to clipboard
enum PublicIPAllocationMethod : Enum<PublicIPAllocationMethod> , ConvertibleToJava<PublicIPAllocationMethod>

Specify the public IP allocation type

Link copied to clipboard
enum ResourceIdentityType : Enum<ResourceIdentityType> , ConvertibleToJava<ResourceIdentityType>

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.

Link copied to clipboard
enum SecurityTypes : Enum<SecurityTypes> , ConvertibleToJava<SecurityTypes>

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.

Link copied to clipboard
enum SettingNames : Enum<SettingNames> , ConvertibleToJava<SettingNames>

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.

Link copied to clipboard
enum SnapshotStorageAccountTypes : Enum<SnapshotStorageAccountTypes> , ConvertibleToJava<SnapshotStorageAccountTypes>

The sku name.

Link copied to clipboard
enum StatusLevelTypes : Enum<StatusLevelTypes> , ConvertibleToJava<StatusLevelTypes>

The level code.

Link copied to clipboard
enum StorageAccountType : Enum<StorageAccountType> , ConvertibleToJava<StorageAccountType>

Specifies the storage account type to be used to store the image. This property is not updatable.

Link copied to clipboard
enum StorageAccountTypes : Enum<StorageAccountTypes> , ConvertibleToJava<StorageAccountTypes>

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.

Link copied to clipboard
enum UpgradeMode : Enum<UpgradeMode> , ConvertibleToJava<UpgradeMode>

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.

Link copied to clipboard
enum VirtualMachineEvictionPolicyTypes : Enum<VirtualMachineEvictionPolicyTypes> , ConvertibleToJava<VirtualMachineEvictionPolicyTypes>

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.

Link copied to clipboard
enum VirtualMachinePriorityTypes : Enum<VirtualMachinePriorityTypes> , ConvertibleToJava<VirtualMachinePriorityTypes>

Specifies the priority for the virtual machines in the scale set.

Minimum api-version: 2017-10-30-preview

Link copied to clipboard
enum VirtualMachineScaleSetScaleInRules : Enum<VirtualMachineScaleSetScaleInRules> , ConvertibleToJava<VirtualMachineScaleSetScaleInRules>
Link copied to clipboard
enum VirtualMachineSizeTypes : Enum<VirtualMachineSizeTypes> , ConvertibleToJava<VirtualMachineSizeTypes>

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.

Link copied to clipboard
enum WindowsPatchAssessmentMode : Enum<WindowsPatchAssessmentMode> , ConvertibleToJava<WindowsPatchAssessmentMode>

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.

Link copied to clipboard
enum WindowsVMGuestPatchMode : Enum<WindowsVMGuestPatchMode> , ConvertibleToJava<WindowsVMGuestPatchMode>

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