Package-level declarations

Types

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

This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.

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

CPU architecture supported by an OS disk.

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

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage.

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

Slot type for the cloud service. Possible values are

Production

Staging

If not specified, the default value is Production.

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 ConfidentialVMEncryptionType : Enum<ConfidentialVMEncryptionType> , ConvertibleToJava<ConfidentialVMEncryptionType>

confidential VM encryption types

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

ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.

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

Indicates the error code if the background copy of a resource created via the CopyStart operation fails.

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

Additional authentication requirements when exporting or uploading to a disk or snapshot.

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. The default value is: 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. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the 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 DiskControllerTypes : Enum<DiskControllerTypes> , ConvertibleToJava<DiskControllerTypes>

Specifies the disk controller type configured for the VM. Note: This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.

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. This value is used when you are using a specialized disk to create the virtual machine. FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should 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 are: 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. The user cannot change the delete option for an 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 EdgeZoneStorageAccountType : Enum<EdgeZoneStorageAccountType> , ConvertibleToJava<EdgeZoneStorageAccountType>

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

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 EndpointAccess : Enum<EndpointAccess> , ConvertibleToJava<EndpointAccess>

This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.

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

This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'

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

The type of the extended location.

enum GalleryApplicationCustomActionParameterType : Enum<GalleryApplicationCustomActionParameterType> , ConvertibleToJava<GalleryApplicationCustomActionParameterType>

Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob

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

It is 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

Community

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.

enum LinuxVMGuestPatchAutomaticByPlatformRebootSetting : Enum<LinuxVMGuestPatchAutomaticByPlatformRebootSetting> , ConvertibleToJava<LinuxVMGuestPatchAutomaticByPlatformRebootSetting>

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

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. For managed images, use Generalized.

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 PublicNetworkAccess : Enum<PublicNetworkAccess> , ConvertibleToJava<PublicNetworkAccess>

Policy for controlling export on the disk.

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

Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.

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

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

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

The type of identity used for the virtual machine. 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.

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

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

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

Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.

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

Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.

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

enum WindowsVMGuestPatchAutomaticByPlatformRebootSetting : Enum<WindowsVMGuestPatchAutomaticByPlatformRebootSetting> , ConvertibleToJava<WindowsVMGuestPatchAutomaticByPlatformRebootSetting>

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

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