@azure/arm-compute-bulkactions package

Classes

ComputeClient

Interfaces

AcknowledgeBulkOperationErrorsRequest

The request to acknowledge bulk operation errors

AcknowledgeBulkOperationErrorsResponse

The response from acknowledging bulk operation errors

AdditionalCapabilities

Enables or disables a capability on the virtual machine or virtual machine scale set.

AdditionalUnattendContent

Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

AllInstancesDown

Specifies if Scheduled Events should be auto-approved when all instances are down.

ApiEntityReference

The API entity reference.

ApiError

ApiError for Fleet

ApiErrorBase

API error base.

ApplicationProfile

Contains the list of gallery applications that should be made available to the VM

BootDiagnostics

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.

BulkActionVmExtensionProperties

Describes the properties of a Virtual Machine Extension.

BulkCreateCustomCancelOptionalParams

Optional parameters.

BulkCreateCustomCreateOrUpdateOptionalParams

Optional parameters.

BulkCreateCustomDeleteOptionalParams

Optional parameters.

BulkCreateCustomGetAsyncOperationStatusOptionalParams

Optional parameters.

BulkCreateCustomGetOptionalParams

Optional parameters.

BulkCreateCustomListByResourceGroupOptionalParams

Optional parameters.

BulkCreateCustomListBySubscriptionOptionalParams

Optional parameters.

BulkCreateCustomOperations

Interface representing a BulkCreateCustom operations.

BulkCreateCustomOverride

A single per-VM override. Extends the shared override fields with a per-VM name.

BulkCreateCustomOverrideBase

Override fields shared by per-VM and per-VM-size overrides. Each set field takes precedence over the operation-level value. VM size, zone, priority, eviction policy, and billing are owned by the service and cannot be set here.

BulkCreateCustomOverridesProfile

Groups the per-VM overrides with the name prefix that names any override that does not supply its own VM name.

BulkCreateCustomPriorityProfile

Configuration options for Regular or Spot instances in BulkCreateCustom.

BulkCreateCustomProperties

Details of the BulkCreateCustom.

BulkCreateCustomVmSizeProfile

A VM size profile entry that may additionally carry an optional per-VM-size profile override. Every VM that the service assigns to this size inherits the override, layered on top of the operation-level base profile and beneath any per-VM override. Present only on the bulkCreateCustom endpoint; the uniform endpoint rejects a non-null override.

BulkCreateCustomZoneAllocationPolicy

The zone allocation policy for distributing VMs across availability zones in BulkCreateCustom.

BulkInstancesInnerError

Inner error details.

BulkactionVMExtension

Defines a virtual machine extension.

BulkactionVMProperties

Describes the properties of a Virtual Machine for bulk create.

CancelOccurrenceRequest

The request to cancel an occurrence.

CancelOperationsContent

This is the request to cancel running operations in scheduled actions using the operation ids

CancelOperationsResponse

This is the response from a cancel operations request

CapacityReservationProfile

The parameters of a capacity reservation Profile.

ComputeClientOptionalParams

Optional parameters for the client.

ComputeProfile

Compute Profile to configure the Virtual Machines.

CreateResourceOperationResponse

The response from a create request

DataDisk

Describes a data disk.

DeallocateResourceOperationResponse

The response from a deallocate request

DelayRequest

Request to ask for a delay in an occurrence, delay should be set to client local time eg (PST) 2025-05-30T06:35:00-07:00

DeleteResourceOperationResponse

The response from a delete request

DiagnosticsProfile

Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15.

DiffDiskSettings

Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk.

DiskEncryptionSetParametersContent

Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. Note: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.

DiskEncryptionSettings

Describes a Encryption Settings for a Disk

EncryptionIdentity

Specifies the Managed Identity used by ADE to get access token for keyvault operations.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations.

EventGridAndResourceGraph

Specifies eventGridAndResourceGraph related Scheduled Event related configurations.

ExecuteCreateContent

The ExecuteCreateRequest request for create operations

ExecuteDeallocateContent

The ExecuteDeallocateRequest request for executeDeallocate operations

ExecuteDeleteContent

The ExecuteDeleteRequest for delete VM operation

ExecuteHibernateContent

The ExecuteHibernateRequest request for executeHibernate operations

ExecuteReimageRequest

The ExecuteReimageRequest request for reimage operations

ExecuteStartContent

The ExecuteStartRequest request for executeStart operations

ExecuteVdiCreateRequest

The VdiCreateRequest request for create operations

ExecutionParameters

Extra details needed to run the user's request

ExtensionResource

The base extension resource.

FallbackOperationInfo

Describes the fallback operation that was performed

FlexProperties

The flex properties for flexible VM creation

GetOperationStatusContent

This is the request to get operation status using operationids

GetOperationStatusResponse

This is the response from a get operations status request

HardwareProfile

Specifies the hardware profile for the virtual machine.

HibernateResourceOperationResponse

The response from a Hibernate request

HostEndpointSettings

Specifies particular host endpoint settings.

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. NOTE: Image reference publisher and offer can only be set when you create the scale set.

KeyVaultKeyReference

Describes a reference to Key Vault Key

KeyVaultSecretReference

Describes a reference to Key Vault Secret

LaunchBulkInstancesOperationCancelOptionalParams

Optional parameters.

LaunchBulkInstancesOperationCreateOrUpdateOptionalParams

Optional parameters.

LaunchBulkInstancesOperationDeleteOptionalParams

Optional parameters.

LaunchBulkInstancesOperationGetOperationStatusOptionalParams

Optional parameters.

LaunchBulkInstancesOperationGetOptionalParams

Optional parameters.

LaunchBulkInstancesOperationListByResourceGroupOptionalParams

Optional parameters.

LaunchBulkInstancesOperationListBySubscriptionOptionalParams

Optional parameters.

LaunchBulkInstancesOperationListVirtualMachinesOptionalParams

Optional parameters.

LaunchBulkInstancesOperationOperations

Interface representing a LaunchBulkInstancesOperation operations.

LaunchBulkInstancesOperationProperties

Details of the LaunchBulkInstancesOperation.

LinuxConfiguration

Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.

LinuxPatchSettings

Specifies settings related to VM Guest Patching on Linux.

LinuxVMGuestPatchAutomaticByPlatformSettings

Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.

LocationBasedBulkCreateCustom

Location based BulkCreateCustom resource. The location is part of the resource path.

LocationBasedLaunchBulkInstancesOperation

Location based LaunchBulkInstancesOperation resource. The location is part of the resource path.

ManagedDiskParametersContent

The parameters of a managed disk.

ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities)

NetworkInterfaceReference

Describes a network interface reference.

NetworkInterfaceReferenceProperties

Describes a network interface reference properties.

NetworkProfile

Specifies the network interfaces or the networking configuration of the virtual machine.

NotificationProperties

The information about notifications to be send to about upcoming operations.

OSDisk

Specifies information about the operating system disk used by the virtual machine. For more information about disks, see About disks and VHDs for Azure virtual machines.

OSImageNotificationProfile

Profile for the OS Image Scheduled event.

OSProfile

Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.

OSProfileProvisioningData

Additional parameters for Reimaging Non-Ephemeral Virtual Machine.

Occurrence

Concrete proxy resource types can be created by aliasing this type using a specific property type.

OccurrenceExtensionListOccurrenceByVmsOptionalParams

Optional parameters.

OccurrenceExtensionOperations

Interface representing a OccurrenceExtension operations.

OccurrenceExtensionProperties

The properties of the occurrence extension

OccurrenceExtensionResource

The scheduled action extension

OccurrenceProperties

Properties for an occurrence

OccurrenceResource

Represents an scheduled action resource metadata.

OccurrenceResultSummary

The summarized provisioning result of an occurrence

OccurrencesCancelOptionalParams

Optional parameters.

OccurrencesDelayOptionalParams

Optional parameters.

OccurrencesGetOptionalParams

Optional parameters.

OccurrencesListByScheduledActionOptionalParams

Optional parameters.

OccurrencesListResourcesOptionalParams

Optional parameters.

OccurrencesOperations

Interface representing a Occurrences operations.

Operation

Details of a REST API operation, returned from the Resource Provider Operations API

OperationDisplay

Localized display information for an operation.

OperationStatusResult

The current status of an async operation.

OperationsListOptionalParams

Optional parameters.

OperationsOperations

Interface representing a Operations operations.

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

PatchSettings

Specifies settings related to VM Guest Patching on Windows.

Plan

Plan for the resource.

PriorityProfile

The priority profile for flex VM creation

ProxyAgentSettings

Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01.

ProxyResource

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

PublicIPAddressSku

Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.

RecurringScheduledActionsExecutionParameters

The execution parameters the scheduled action is supposed to follow

RecurringScheduledActionsRetryPolicy

Retry policy the scheduled action can pass

ReimagePayload

Reimage payload with common profile and per-resource overrides

ReimageResourceOperationResponse

The response from a reimage request

ReimageResourceOverride

Per-resource override entry for reimage requests

Resource

Common fields that are returned in the response for all Azure Resource Manager resources

ResourceAttachRequest

Request model to attach a list of scheduled action resources.

ResourceDetachRequest

Request model to detach a list of scheduled action resources.

ResourceNotificationDetails

Resource notification details containing notification metadata like the resource context

ResourceOperation

High level response from an operation on a resource

ResourceOperationDetails

The details of a response from an operation on a resource

ResourceOperationError

These describe errors that occur at the resource level

ResourceOperationResponse

The response from scheduled action resource requests, which contains the status of each resource

ResourcePatchRequest

Request model perform a resource operation in a list of resources

ResourceProvisionPayload

Resource creation data model

ResourceProvisionVdiPayload

Resource creation data model with Flex properties for VDI scenarios

ResourceResultSummary

The status of the resources

ResourceStatus

The status of a resource after a resource level operation was performed

ResourceWithContext

The resources needed for the user request with the resourceContext

Resources

The resources needed for the user request

ResourcesWithContext

The resources needed for the user request with the context for tracking purposes

RestorePollerOptions
RetryPolicy

The retry policy for the user request

ScheduledAction

The scheduled action resource

ScheduledActionExtensionListByVmsOptionalParams

Optional parameters.

ScheduledActionExtensionOperations

Interface representing a ScheduledActionExtension operations.

ScheduledActionOperationStatusGetOptionalParams

Optional parameters.

ScheduledActionOperationStatusOperations

Interface representing a ScheduledActionOperationStatus operations.

ScheduledActionProperties

Scheduled action properties

ScheduledActionResource

Represents an scheduled action resource metadata.

ScheduledActionResourceInput

Represents the writable fields of a scheduled action resource used in attach and patch requests.

ScheduledActionResources

The scheduled action extension

ScheduledActionUpdate

The type used for update operations of the ScheduledAction.

ScheduledActionUpdateProperties

The updatable properties of the ScheduledAction.

ScheduledActionsAttachResourcesOptionalParams

Optional parameters.

ScheduledActionsCancelNextOccurrenceOptionalParams

Optional parameters.

ScheduledActionsCreateOrUpdateOptionalParams

Optional parameters.

ScheduledActionsDeleteOptionalParams

Optional parameters.

ScheduledActionsDetachResourcesOptionalParams

Optional parameters.

ScheduledActionsDisableOptionalParams

Optional parameters.

ScheduledActionsEnableOptionalParams

Optional parameters.

ScheduledActionsExtensionProperties

Scheduled action extension properties

ScheduledActionsGetOptionalParams

Optional parameters.

ScheduledActionsListByResourceGroupOptionalParams

Optional parameters.

ScheduledActionsListBySubscriptionOptionalParams

Optional parameters.

ScheduledActionsListResourcesOptionalParams

Optional parameters.

ScheduledActionsOperations

Interface representing a ScheduledActions operations.

ScheduledActionsPatchResourcesOptionalParams

Optional parameters.

ScheduledActionsSchedule

Specify the schedule in which the scheduled action is supposed to follow

ScheduledActionsScheduleUpdate

Schedule properties for update (PATCH). All properties are optional so individual fields can be patched (merge semantics); omitting a property preserves the current value.

ScheduledActionsTriggerManualOccurrenceOptionalParams

Optional parameters.

ScheduledActionsUpdateOptionalParams

Optional parameters.

ScheduledEventsAdditionalPublishingTargets

Specifies additional publishing targets for scheduled events.

ScheduledEventsPolicy

Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.

ScheduledEventsProfile

Profile for the scheduled events.

SecurityProfile

Specifies the Security profile settings for the virtual machine or virtual machine scale set.

SshConfiguration

SSH configuration for Linux based VMs running on Azure

SshPublicKey

Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

StartResourceOperationResponse

The response from a start request

StorageProfile

Specifies the storage settings for the virtual machine disks.

SubResource

Describes a reference to a sub-resource.

SystemData

Metadata pertaining to creation and last modification of the resource.

TerminateNotificationProfile

Profile properties for the Terminate Scheduled event.

TrackedResource

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

UefiSettings

Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.

UserAssignedIdentitiesValue

model interface UserAssignedIdentitiesValue

UserAssignedIdentity

User assigned identity properties

UserInitiatedReboot

Specifies Reboot related Scheduled Event related configurations.

UserInitiatedRedeploy

Specifies Redeploy related Scheduled Event related configurations.

VMAttributeMinMaxDouble

VMAttributes using double values.

VMAttributeMinMaxInteger

While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes.

VMAttributes

VMAttributes that will be used to filter VMSizes which will be used to launch instances.

VMDiskSecurityProfile

Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs.

VMGalleryApplication

Specifies the required information to reference a compute gallery application version

VaultCertificate

Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

VaultSecretGroup

Describes a set of certificates which are all in the same Key Vault.

VirtualHardDisk

Describes the uri of a disk.

VirtualMachine

A virtual machine launched by a LaunchBulkInstancesOperation.

VirtualMachineBulkOperationsBulkAcknowledgeOperationErrorsOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkCancelOperationsOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkCreateOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkDeallocateOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkDeleteOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkGetOperationsStatusOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkHibernateOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkListOperationErrorsOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkReimageOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkStartOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsBulkVdiFlexCreateOperationOptionalParams

Optional parameters.

VirtualMachineBulkOperationsOperations

Interface representing a VirtualMachineBulkOperations operations.

VirtualMachineIdentity

Identity for the virtual machine.

VirtualMachineInfo

Information about a virtual machine.

VirtualMachineIpTag

Contains the IP tag associated with the public IP address.

VirtualMachineNetworkInterfaceConfiguration

Describes a virtual machine network interface configurations.

VirtualMachineNetworkInterfaceConfigurationProperties

Describes a virtual machine network profile's IP configuration.

VirtualMachineNetworkInterfaceDnsSettingsConfiguration

Describes a virtual machines network configuration's DNS settings.

VirtualMachineNetworkInterfaceIPConfiguration

Describes a virtual machine network profile's IP configuration.

VirtualMachineNetworkInterfaceIPConfigurationProperties

Describes a virtual machine network interface IP configuration properties.

VirtualMachinePublicIPAddressConfiguration

Describes a virtual machines IP Configuration's PublicIPAddress configuration

VirtualMachinePublicIPAddressConfigurationProperties

Describes a virtual machines IP Configuration's PublicIPAddress configuration

VirtualMachinePublicIPAddressDnsSettingsConfiguration

Describes a virtual machines network configuration's DNS settings.

VirtualMachineReimageParameters

Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged

VmSizeProfile

A VM size profile with a name and rank for flex VM creation

VmSizeProperties

Specifies VM Size Property settings on the virtual machine.

WinRMConfiguration

Describes Windows Remote Management configuration of the VM

WinRMListener

Describes Protocol and thumbprint of Windows Remote Management listener

WindowsConfiguration

Specifies Windows operating system settings on the virtual machine.

WindowsVMGuestPatchAutomaticByPlatformSettings

Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.

ZoneAllocationPolicy

The zone allocation policy for distributing VMs across availability zones

ZonePreference

A zone preference with a zone identifier and rank

Type Aliases

AcceleratorManufacturer

Accelerator manufacturers supported by Azure VMs.
KnownAcceleratorManufacturer can be used interchangeably with AcceleratorManufacturer, this enum contains the known values that the service supports.

Known values supported by the service

AMD: AMD GpuType
Nvidia: Nvidia GpuType
Xilinx: Xilinx GpuType

AcceleratorType

Accelerator types supported by Azure VMs.
KnownAcceleratorType can be used interchangeably with AcceleratorType, this enum contains the known values that the service supports.

Known values supported by the service

GPU: GPU Accelerator
FPGA: FPGA Accelerator

ActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
KnownActionType can be used interchangeably with ActionType, this enum contains the known values that the service supports.

Known values supported by the service

Internal: Actions are for internal-only APIs.

AllocationStrategy

The allocation strategy for VM size selection
KnownAllocationStrategy can be used interchangeably with AllocationStrategy, this enum contains the known values that the service supports.

Known values supported by the service

LowestPrice: Platform prioritizes VM sizes with the lowest hourly cost
Prioritized: Customer specifies a rank for each VM size, platform uses VM sizes in rank order
CapacityOptimized: Platform prioritizes VM sizes with the highest available capacity first

ArchitectureType

Architecture types supported by Azure VMs.
KnownArchitectureType can be used interchangeably with ArchitectureType, this enum contains the known values that the service supports.

Known values supported by the service

ARM64: ARM64 Architecture
X64: X64 Architecture

AzureSupportedClouds

The supported values for cloud setting as a string literal type

BulkCreateCustomAllocationStrategy

The allocation strategy for VM size selection in BulkCreateCustom.
KnownBulkCreateCustomAllocationStrategy can be used interchangeably with BulkCreateCustomAllocationStrategy, this enum contains the known values that the service supports.

Known values supported by the service

LowestPrice: Platform prioritizes VM sizes with the lowest hourly cost
Prioritized: Customer specifies a rank for each VM size, platform uses VM sizes in rank order

BulkCreateCustomDistributionStrategy

The distribution strategy for zone allocation in BulkCreateCustom.
KnownBulkCreateCustomDistributionStrategy can be used interchangeably with BulkCreateCustomDistributionStrategy, this enum contains the known values that the service supports.

Known values supported by the service

BestEffortSingleZone: Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed
Prioritized: Platform uses customer-provided zone rankings to allocate VMs
BestEffortBalanced: Platform attempts to evenly distribute VMs across all available zones with best effort

CachingTypes

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage
KnownCachingTypes can be used interchangeably with CachingTypes, this enum contains the known values that the service supports.

Known values supported by the service

None: Caching type:None
ReadOnly: Caching type:ReadOnly
ReadWrite: Caching type:ReadWrite

CapacityType

Capacity types for LaunchBulkInstancesOperation.
KnownCapacityType can be used interchangeably with CapacityType, this enum contains the known values that the service supports.

Known values supported by the service

VM: Default. VM is the default capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VMs.
VCpu: VCpu is the capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VCpus. If VCpu capacity is not exactly divisible by VCpu count in VMSizes, capacity in VCpus will be overprovisioned by default.

ContinuablePage

An interface that describes a page of results.

CpuManufacturer

Cpu Manufacturers supported by Azure VMs.
KnownCpuManufacturer can be used interchangeably with CpuManufacturer, this enum contains the known values that the service supports.

Known values supported by the service

Intel: Intel CPU.
AMD: AMD CPU.
Microsoft: Microsoft CPU.
Ampere: Ampere CPU.

CreatedByType

The kind of entity that created the resource.
KnownCreatedByType can be used interchangeably with CreatedByType, this enum contains the known values that the service supports.

Known values supported by the service

User: The entity was created by a user.
Application: The entity was created by an application.
ManagedIdentity: The entity was created by a managed identity.
Key: The entity was created by a key.

DeadlineType

The types of deadlines supported by Bulkactions
KnownDeadlineType can be used interchangeably with DeadlineType, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: Default value of Unknown.
InitiateAt: Initiate the operation at the given deadline.
CompleteBy: Complete the operation by the given deadline.

DeleteOptions

Specify what happens to the network interface when the VM is deleted
KnownDeleteOptions can be used interchangeably with DeleteOptions, this enum contains the known values that the service supports.

Known values supported by the service

Delete: Delete network interface when the VM is deleted
Detach: Detach network interface when the VM is deleted

DiffDiskOptions

Specifies the ephemeral disk option for operating system disk.
KnownDiffDiskOptions can be used interchangeably with DiffDiskOptions, this enum contains the known values that the service supports.

Known values supported by the service

Local: Local Ephemeral disk option: Local

DiffDiskPlacement

Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.
KnownDiffDiskPlacement can be used interchangeably with DiffDiskPlacement, this enum contains the known values that the service supports.

Known values supported by the service

CacheDisk: CacheDisk disk placement
ResourceDisk: ResourceDisk disk placement
NvmeDisk: NvmeDisk disk placement

DiskControllerTypes

Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.
KnownDiskControllerTypes can be used interchangeably with DiskControllerTypes, this enum contains the known values that the service supports.

Known values supported by the service

SCSI: SCSI disk controller type
NVMe: NVMe disk controller type

DiskCreateOptionTypes

Specifies how the virtual machine disk 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. Empty: This value is used when creating an empty data disk. Copy: This value is used to create a data disk from a snapshot or another disk. Restore: This value is used to create a data disk from a disk restore point.
KnownDiskCreateOptionTypes can be used interchangeably with DiskCreateOptionTypes, this enum contains the known values that the service supports.

Known values supported by the service

FromImage: Create disk FromImage
Empty: Empty value
Attach: Create disk by Attach
Copy: Create disk by Copy
Restore: Create disk by Restore

DiskDeleteOptionTypes

Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: Delete. If this value is used, the managed disk is deleted when VM gets deleted. Detach. If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.
KnownDiskDeleteOptionTypes can be used interchangeably with DiskDeleteOptionTypes, this enum contains the known values that the service supports.

Known values supported by the service

Delete: Delete the disk upon VM deletion
Detach: Detach the disk upon VM deletion

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 are: 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. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.
KnownDiskDetachOptionTypes can be used interchangeably with DiskDetachOptionTypes, this enum contains the known values that the service supports.

Known values supported by the service

ForceDetach: ForceDetach the disk

DistributionStrategy

The distribution strategy for zone allocation
KnownDistributionStrategy can be used interchangeably with DistributionStrategy, this enum contains the known values that the service supports.

Known values supported by the service

BestEffortSingleZone: Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed
Prioritized: Platform uses customer-provided zone rankings to allocate VMs
BestEffortBalanced: Platform attempts to evenly distribute VMs across all available zones with best effort
StrictBalanced: Platform must evenly distribute VMs across zones, request is rejected if exact balance cannot be achieved

DomainNameLabelScopeTypes

The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created
KnownDomainNameLabelScopeTypes can be used interchangeably with DomainNameLabelScopeTypes, this enum contains the known values that the service supports.

Known values supported by the service

TenantReuse: TenantReuse scope type
SubscriptionReuse: SubscriptionReuse scope type
ResourceGroupReuse: ResourceGroupReuse scope type
NoReuse: NoReuse scope type

EvictionPolicy

Different kind of eviction policies
KnownEvictionPolicy can be used interchangeably with EvictionPolicy, this enum contains the known values that the service supports.

Known values supported by the service

Delete: When evicted, the Spot VM will be deleted and the corresponding capacity will be updated to reflect this.
Deallocate: When evicted, the Spot VM will be deallocated/stopped

HyperVGeneration

HyperVGenerations supported by Azure VMs.
KnownHyperVGeneration can be used interchangeably with HyperVGeneration, this enum contains the known values that the service supports.

Known values supported by the service

Gen1: Gen1 hyperV.
Gen2: Gen2 hyperV.

IPVersions

Available from compute 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'.
KnownIPVersions can be used interchangeably with IPVersions, this enum contains the known values that the service supports.

Known values supported by the service

IPv4: IPv4 version
IPv6: IPv6 version

Language

The notification languages currently supported
KnownLanguage can be used interchangeably with Language, this enum contains the known values that the service supports.

Known values supported by the service

en-us: American english language

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.
KnownLinuxPatchAssessmentMode can be used interchangeably with LinuxPatchAssessmentMode, this enum contains the known values that the service supports.

Known values supported by the service

ImageDefault: ImageDefault mode
AutomaticByPlatform: AutomaticByPlatform mode

LinuxVMGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting can be used interchangeably with LinuxVMGuestPatchAutomaticByPlatformRebootSetting, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: Unknown reboot setting
IfRequired: Reboot if required
Never: Never reboot
Always: Always reboot

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
KnownLinuxVMGuestPatchMode can be used interchangeably with LinuxVMGuestPatchMode, this enum contains the known values that the service supports.

Known values supported by the service

ImageDefault: ImageDefault linux VM guest patch mode
AutomaticByPlatform: AutomaticByPlatform linux VM guest patch mode

LocalStorageDiskType

Local storage disk types supported by Azure VMs.
KnownLocalStorageDiskType can be used interchangeably with LocalStorageDiskType, this enum contains the known values that the service supports.

Known values supported by the service

HDD: HDD DiskType.
SSD: SSD DiskType.

ManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
KnownManagedServiceIdentityType can be used interchangeably with ManagedServiceIdentityType, this enum contains the known values that the service supports.

Known values supported by the service

None: No managed identity.
SystemAssigned: System assigned managed identity.
UserAssigned: User assigned managed identity.
SystemAssigned,UserAssigned: System and user assigned managed identity.

Mode

Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode.
KnownMode can be used interchangeably with Mode, this enum contains the known values that the service supports.

Known values supported by the service

Audit: Audit mode
Enforce: Enforce mode

Modes

Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.
KnownModes can be used interchangeably with Modes, this enum contains the known values that the service supports.

Known values supported by the service

Audit: Audit mode
Enforce: Enforce mode
Disabled: Disabled mode

Month

Representation of the months available selection in a gregorian calendar
KnownMonth can be used interchangeably with Month, this enum contains the known values that the service supports.

Known values supported by the service

January: The January month.
February: The February month.
March: The March month.
April: The April month.
May: The May month.
June: The June month.
July: The July month.
August: The August month.
September: The September month.
October: The October month.
November: The November month.
December: The December month.
All: All months

NetworkApiVersion

Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations
KnownNetworkApiVersion can be used interchangeably with NetworkApiVersion, this enum contains the known values that the service supports.

Known values supported by the service

2020-11-01: 2020-11-01 version
2022-11-01: 2022-11-01 version

NetworkInterfaceAuxiliaryMode

Specifies whether the Auxiliary mode is enabled for the Network Interface resource.
KnownNetworkInterfaceAuxiliaryMode can be used interchangeably with NetworkInterfaceAuxiliaryMode, this enum contains the known values that the service supports.

Known values supported by the service

None: None mode
AcceleratedConnections: AcceleratedConnections mode
Floating: Floating mode

NetworkInterfaceAuxiliarySku

Specifies whether the Auxiliary sku is enabled for the Network Interface resource.
KnownNetworkInterfaceAuxiliarySku can be used interchangeably with NetworkInterfaceAuxiliarySku, this enum contains the known values that the service supports.

Known values supported by the service

None: None: None sku
A1: A1 sku
A2: A2 sku
A4: A4 sku
A8: A8 sku

NotificationType

The type of notification supported
KnownNotificationType can be used interchangeably with NotificationType, this enum contains the known values that the service supports.

Known values supported by the service

Email: Notify through e-mail

OccurrenceState

The state the occurrence is at a given time
KnownOccurrenceState can be used interchangeably with OccurrenceState, this enum contains the known values that the service supports.

Known values supported by the service

Created: The occurrence was created
Rescheduling: The occurrence is being rescheduled
Scheduled: The occurrence has been scheduled
Succeeded: The occurrence has successfully ran
Failed: The occurrence has failed during its scheduling
Cancelling: The occurrence is going through cancellation
Canceled: The occurrence has been canceled

OperatingSystemTypes

This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows, Linux.
KnownOperatingSystemTypes can be used interchangeably with OperatingSystemTypes, this enum contains the known values that the service supports.

Known values supported by the service

Windows: Windows OS
Linux: Linux OS

OperationState

Values that define the states of operations in Bulkactions
KnownOperationState can be used interchangeably with OperationState, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: The default value for the operation state enum
PendingScheduling: Operations that are pending scheduling
Scheduled: Operations that have been scheduled
PendingExecution: Operations that are waiting to be executed
Executing: Operations that are in the process of being executed
Succeeded: Operations that succeeded
Failed: Operations that have failed
Cancelled: Operations that have been Cancelled by the user
Blocked: Operations that are blocked

OptimizationPreference

The preferences customers can select to optimize their requests to ScheduledActions
KnownOptimizationPreference can be used interchangeably with OptimizationPreference, this enum contains the known values that the service supports.

Known values supported by the service

Cost: Optimize while considering cost savings
Availability: Optimize while considering availability of resources
CostAvailabilityBalanced: Optimize while considering a balance of cost and availability

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
KnownOrigin can be used interchangeably with Origin, this enum contains the known values that the service supports.

Known values supported by the service

user: Indicates the operation is initiated by a user.
system: Indicates the operation is initiated by a system.
user,system: Indicates the operation is initiated by a user or system.

OsType

The supported operating system types for flex VM creation
KnownOsType can be used interchangeably with OsType, this enum contains the known values that the service supports.

Known values supported by the service

Windows: Windows operating system
Linux: Linux operating system

PriorityType

The priority type for VM allocation
KnownPriorityType can be used interchangeably with PriorityType, this enum contains the known values that the service supports.

Known values supported by the service

Regular: Regular priority VMs
Spot: Spot priority VMs

ProtocolTypes

Specifies the protocol of WinRM listener. Possible values are: http, https.
KnownProtocolTypes can be used interchangeably with ProtocolTypes, this enum contains the known values that the service supports.

Known values supported by the service

Http: Http protocol
Https: Https protocol

ProvisioningState

The status of the LaunchBulkInstancesOperation.
KnownProvisioningState can be used interchangeably with ProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Creating: Initial creation in progress.
Succeeded: The operation has completed successfully.
Failed: The operation has failed.
Deleting: Deletion in progress.
Canceled: The operation has been canceled.

PublicIPAddressSkuName

Specify public IP sku name
KnownPublicIPAddressSkuName can be used interchangeably with PublicIPAddressSkuName, this enum contains the known values that the service supports.

Known values supported by the service

Basic: Basic IP sku name
Standard: Standard IP sku name

PublicIPAddressSkuTier

Specify public IP sku tier
KnownPublicIPAddressSkuTier can be used interchangeably with PublicIPAddressSkuTier, this enum contains the known values that the service supports.

Known values supported by the service

Regional: Regional IP address sku tier
Global: Global IP address sku tier

PublicIPAllocationMethod

Specify the public IP allocation type
KnownPublicIPAllocationMethod can be used interchangeably with PublicIPAllocationMethod, this enum contains the known values that the service supports.

Known values supported by the service

Dynamic: Dynamic IP allocation
Static: Static IP allocation

RecurringScheduledActionsDeadlineType

The type of deadline the scheduled action follows for its schedule.
KnownRecurringScheduledActionsDeadlineType can be used interchangeably with RecurringScheduledActionsDeadlineType, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: Default value of Unknown.
InitiateAt: Initiate the operation at the given deadline.
CompleteBy: Complete the operation by the given deadline.

RecurringScheduledActionsProvisioningState

Provisioning state of the scheduled action resource.
KnownRecurringScheduledActionsProvisioningState can be used interchangeably with RecurringScheduledActionsProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.
Deleting: Resource is being deleted.

RecurringScheduledActionsResourceOperationType

The resource operation to take on a scheduled-action failure.
KnownRecurringScheduledActionsResourceOperationType can be used interchangeably with RecurringScheduledActionsResourceOperationType, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: The default value for this enum type
Start: Start operations on the resources
Deallocate: Deallocate operations on the resources
Hibernate: Hibernate operations on the resources
Create: Create operations on the resources
Delete: Delete operations on the resources

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.

ResourceOperationStatus

The state the resource is on after the resource operation is applied
KnownResourceOperationStatus can be used interchangeably with ResourceOperationStatus, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: The resource operation was successful
Failed: The resource operation has failed.

ResourceOperationType

The kind of bulk operation that can be performed on resources using Bulkactions API
KnownResourceOperationType can be used interchangeably with ResourceOperationType, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: The default value for this enum type
Start: Start operations on the resources
Deallocate: Deallocate operations on the resources
Hibernate: Hibernate operations on the resources
Create: Create operations on the resources
Delete: Delete operations on the resources
GetInstanceView: Post-Start VM agent health-check sub-operation; surfaced when the customer opts into verifyVmAgentHealth on a Start request

ResourceProvisioningState

The provisioning state of a resource type.
KnownResourceProvisioningState can be used interchangeably with ResourceProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.

ResourceType

The type of resource being targeted
KnownResourceType can be used interchangeably with ResourceType, this enum contains the known values that the service supports.

Known values supported by the service

VirtualMachine: Resources defined are Virtual Machines
VirtualMachineScaleSet: Resources defined are Virtual Machines Scale Sets

ScheduledActionType

Specify which action user wants to be performed on the resources
KnownScheduledActionType can be used interchangeably with ScheduledActionType, this enum contains the known values that the service supports.

Known values supported by the service

Start: Perform a start action on the specified resources
Deallocate: Perform a deallocate action on the specified resources
Hibernate: Perform hibernate and deallocate on the specified resources

SecurityEncryptionTypes

Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. Note: It can be set for only Confidential VMs.
KnownSecurityEncryptionTypes can be used interchangeably with SecurityEncryptionTypes, this enum contains the known values that the service supports.

Known values supported by the service

VMGuestStateOnly: VMGuestStateOnly encryption
DiskWithVMGuestState: DiskWithVMGuestState encryption
NonPersistedTPM: NonPersistedTPM encryption

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.
KnownSecurityTypes can be used interchangeably with SecurityTypes, this enum contains the known values that the service supports.

Known values supported by the service

TrustedLaunch: TrustedLaunch security type
ConfidentialVM: ConfidentialVM security type

SettingNames

Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
KnownSettingNames can be used interchangeably with SettingNames, this enum contains the known values that the service supports.

Known values supported by the service

AutoLogon: AutoLogon mode
FirstLogonCommands: FirstLogonCommands mode

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. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types
KnownStorageAccountTypes can be used interchangeably with StorageAccountTypes, this enum contains the known values that the service supports.

Known values supported by the service

Standard_LRS: Standard_LRS storage account type
Premium_LRS: Premium_LRS storage account type
StandardSSD_LRS: StandardSSD_LRS storage account type
UltraSSD_LRS: UltraSSD_LRS storage account type
Premium_ZRS: Premium_ZRS storage account type
StandardSSD_ZRS: StandardSSD_ZRS storage account type
PremiumV2_LRS: PremiumV2_LRS storage account type

VMAttributeSupport

VMSizes supported by Azure VMs. Included is a union of Excluded and Required.
KnownVMAttributeSupport can be used interchangeably with VMAttributeSupport, this enum contains the known values that the service supports.

Known values supported by the service

Excluded: All VMSizes having the feature support will be excluded.
Included: VMSizes that have the feature support and that do not have the feature support will be used. Included is a union of Excluded and Required.
Required: Only the VMSizes having the feature support will be used.

VMCategory

VMCategories defined for Azure VMs.
KnownVMCategory can be used interchangeably with VMCategory, this enum contains the known values that the service supports.

Known values supported by the service

GeneralPurpose: General purpose VM sizes provide balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.
ComputeOptimized: Compute optimized VM sizes have a high CPU-to-memory ratio. These sizes are good for medium traffic web servers, network appliances, batch processes, and application servers.
MemoryOptimized: Memory optimized VM sizes offer a high memory-to-CPU ratio that is great for relational database servers, medium to large caches, and in-memory analytics.
StorageOptimized: Storage optimized virtual machine (VM) sizes offer high disk throughput and IO, and are ideal for Big Data, SQL, NoSQL databases, data warehousing, and large transactional databases.
GpuAccelerated: GPU optimized VM sizes are specialized virtual machines available with single, multiple, or fractional GPUs.
FpgaAccelerated: FPGA optimized VM sizes are specialized virtual machines available with single or multiple FPGA.
HighPerformanceCompute: Azure High Performance Compute VMs are optimized for various HPC workloads such as CFD, FEA, EDA, rendering, molecular dynamics, weather simulation, and financial risk analysis.

VMOperationStatus

Virtual Machine operation status values.
KnownVMOperationStatus can be used interchangeably with VMOperationStatus, this enum contains the known values that the service supports.

Known values supported by the service

Creating: Indicates that the virtual machine is either in the process of being created or is scheduled to be created.
Canceled: Indicates that the cancellation request was successful because the virtual machine had not been created yet.
CancelFailedStatusUnknown: Indicates that the cancellation request could not be applied because the virtual machine had already been created.
Failed: Indicates that the virtual machine operation failed.
Succeeded: Indicates that the virtual machine operation completed successfully.
Deleting: Indicates that the virtual machine is being deleted.
Cancelling: Indicates that the virtual machine operation is being cancelled.

WeekDay

Representation of the possible selection of days in a week in a gregorian calendar
KnownWeekDay can be used interchangeably with WeekDay, this enum contains the known values that the service supports.

Known values supported by the service

Monday: Monday weekday.
Tuesday: Tuesday weekday.
Wednesday: Wednesday weekday.
Thursday: Thursday weekday.
Friday: Friday weekday.
Saturday: Saturday weekday.
Sunday: Sunday weekday.
All: All week days

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.
KnownWindowsPatchAssessmentMode can be used interchangeably with WindowsPatchAssessmentMode, this enum contains the known values that the service supports.

Known values supported by the service

ImageDefault: ImageDefault patch assessment mode
AutomaticByPlatform: AutomaticByPlatform patch assessment mode

WindowsVMGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting can be used interchangeably with WindowsVMGuestPatchAutomaticByPlatformRebootSetting, this enum contains the known values that the service supports.

Known values supported by the service

Unknown: Reboot setting for Unknown
IfRequired: Reboot setting for IfRequired
Never: Reboot setting for Never
Always: Reboot setting for Always

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
KnownWindowsVMGuestPatchMode can be used interchangeably with WindowsVMGuestPatchMode, this enum contains the known values that the service supports.

Known values supported by the service

Manual: Manual VM guest patch mode
AutomaticByOS: AutomaticByOS VM guest patch mode
AutomaticByPlatform: AutomaticByPlatform VM guest patch mode

Enums

AzureClouds

An enum to describe Azure Cloud environments.

KnownAcceleratorManufacturer

Accelerator manufacturers supported by Azure VMs.

KnownAcceleratorType

Accelerator types supported by Azure VMs.

KnownActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

KnownAllocationStrategy

The allocation strategy for VM size selection

KnownArchitectureType

Architecture types supported by Azure VMs.

KnownBulkCreateCustomAllocationStrategy

The allocation strategy for VM size selection in BulkCreateCustom.

KnownBulkCreateCustomDistributionStrategy

The distribution strategy for zone allocation in BulkCreateCustom.

KnownCachingTypes

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

KnownCapacityType

Capacity types for LaunchBulkInstancesOperation.

KnownCpuManufacturer

Cpu Manufacturers supported by Azure VMs.

KnownCreatedByType

The kind of entity that created the resource.

KnownDeadlineType

The types of deadlines supported by Bulkactions

KnownDeleteOptions

Specify what happens to the network interface when the VM is deleted

KnownDiffDiskOptions

Specifies the ephemeral disk option for operating system disk.

KnownDiffDiskPlacement

Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.

KnownDiskControllerTypes

Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.

KnownDiskCreateOptionTypes

Specifies how the virtual machine disk 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. Empty: This value is used when creating an empty data disk. Copy: This value is used to create a data disk from a snapshot or another disk. Restore: This value is used to create a data disk from a disk restore point.

KnownDiskDeleteOptionTypes

Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: Delete. If this value is used, the managed disk is deleted when VM gets deleted. Detach. If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.

KnownDiskDetachOptionTypes

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 are: 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. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.

KnownDistributionStrategy

The distribution strategy for zone allocation

KnownDomainNameLabelScopeTypes

The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created

KnownEvictionPolicy

Different kind of eviction policies

KnownHyperVGeneration

HyperVGenerations supported by Azure VMs.

KnownIPVersions

Available from compute 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'.

KnownLanguage

The notification languages currently supported

KnownLinuxPatchAssessmentMode

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.

KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

KnownLinuxVMGuestPatchMode

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

KnownLocalStorageDiskType

Local storage disk types supported by Azure VMs.

KnownManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

KnownMode

Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode.

KnownModes

Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.

KnownMonth

Representation of the months available selection in a gregorian calendar

KnownNetworkApiVersion

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

KnownNetworkInterfaceAuxiliaryMode

Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

KnownNetworkInterfaceAuxiliarySku

Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

KnownNotificationType

The type of notification supported

KnownOccurrenceState

The state the occurrence is at a given time

KnownOperatingSystemTypes

This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows, Linux.

KnownOperationState

Values that define the states of operations in Bulkactions

KnownOptimizationPreference

The preferences customers can select to optimize their requests to ScheduledActions

KnownOrigin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

KnownOsType

The supported operating system types for flex VM creation

KnownPriorityType

The priority type for VM allocation

KnownProtocolTypes

Specifies the protocol of WinRM listener. Possible values are: http, https.

KnownProvisioningState

The status of the LaunchBulkInstancesOperation.

KnownPublicIPAddressSkuName

Specify public IP sku name

KnownPublicIPAddressSkuTier

Specify public IP sku tier

KnownPublicIPAllocationMethod

Specify the public IP allocation type

KnownRecurringScheduledActionsDeadlineType

The type of deadline the scheduled action follows for its schedule.

KnownRecurringScheduledActionsProvisioningState

Provisioning state of the scheduled action resource.

KnownRecurringScheduledActionsResourceOperationType

The resource operation to take on a scheduled-action failure.

KnownResourceOperationStatus

The state the resource is on after the resource operation is applied

KnownResourceOperationType

The kind of bulk operation that can be performed on resources using Bulkactions API

KnownResourceProvisioningState

The provisioning state of a resource type.

KnownResourceType

The type of resource being targeted

KnownScheduledActionType

Specify which action user wants to be performed on the resources

KnownSecurityEncryptionTypes

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

KnownSecurityTypes

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.

KnownSettingNames

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

KnownStorageAccountTypes

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. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types

KnownVMAttributeSupport

VMSizes supported by Azure VMs. Included is a union of Excluded and Required.

KnownVMCategory

VMCategories defined for Azure VMs.

KnownVMOperationStatus

Virtual Machine operation status values.

KnownVersions

ComputeSchedule API versions

KnownWeekDay

Representation of the possible selection of days in a week in a gregorian calendar

KnownWindowsPatchAssessmentMode

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.

KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

KnownWindowsVMGuestPatchMode

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

Functions

isRestError(unknown)

Typeguard for RestError

restorePoller<TResponse, TResult>(ComputeClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Variables

RestError

A custom error type for failed pipeline requests.

Function Details

isRestError(unknown)

Typeguard for RestError

function isRestError(e: unknown): e

Parameters

e

unknown

Something caught by a catch clause.

Returns

e

restorePoller<TResponse, TResult>(ComputeClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: ComputeClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

client
ComputeClient
serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>

Variable Details

RestError

A custom error type for failed pipeline requests.

RestError: RestErrorConstructor

Type