@azure/arm-computeschedule package

Interfaces

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.

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.

BulkActionVMExtension

Defines a virtual machine extension.

BulkActionVMProperties

Describes the properties of a Virtual Machine for create.

BulkActionVmExtensionProperties

Describes the properties of a Virtual Machine Extension.

BulkVMConfiguration

Specifies the configuration for a virtual machine operation

CancelOccurrenceRequest

The request to cancel an occurrence.

CancelOperationsRequest

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.

ComputeScheduleClientOptionalParams

Optional parameters for the client.

CreateFlexResourceOperationResponse

The response from a create flex request

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 (ACST) 2025-05-30T22:03:00+09:30, (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.

DiskEncryptionSetParameters

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.

ExecuteCreateFlexRequest

The ExecuteCreateFlexRequest request for executeCreateFlex operations

ExecuteCreateRequest

The ExecuteCreateRequest request for create operations

ExecuteDeallocateRequest

The ExecuteDeallocateRequest request for executeDeallocate operations

ExecuteDeleteRequest

The ExecuteDeleteRequest for delete VM operation

ExecuteHibernateRequest

The ExecuteHibernateRequest request for executeHibernate operations

ExecuteStartRequest

The ExecuteStartRequest request for executeStart operations

ExecutionParameters

Extra details needed to run the user's request

ExtendedLocation

The complex type of the extended location.

ExtensionResource

The base extension resource.

FallbackOperationInfo

Describes the fallback operation that was performed

FlexProperties

The flex properties for flexible VM creation

GetOperationErrorsRequest

This is the request to get errors per vm operations

GetOperationErrorsResponse

This is the response from a get operations errors request

GetOperationStatusRequest

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

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.

ManagedDiskParameters

The parameters of a managed disk.

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.

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.

OperationErrorDetails

This defines a list of operation errors associated with a unique operationId

OperationErrorsResult

This is the first level of operation errors from the request when clients get errors per vm 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.

Placement

Describes the user-defined constraints for resource hardware placement.

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.

RecurringActionsResourceOperationResult

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

Resource

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

ResourceAttachRequestInput

Request model to attach a list of scheduled action resources.

ResourceDetachRequest

Request model to detach a list of scheduled action resources.

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

ResourcePatchRequestInput

Request model perform a resource operation in a list of resources

ResourceProvisionFlexPayload

Resource creation data model for flex VM provisioning

ResourceProvisionPayload

Resource creation data model

ResourceResultSummary

The status of the resources

ResourceStatus

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

Resources

The resources needed for the user request

RestorePollerOptions
RetryPolicy

The retry policy for the user request

Schedule

The schedule details for the user request

ScheduledAction

The scheduled action resource

ScheduledActionExtensionListByVmsOptionalParams

Optional parameters.

ScheduledActionExtensionOperations

Interface representing a ScheduledActionExtension operations.

ScheduledActionProperties

Scheduled action properties

ScheduledActionResource

Represents an scheduled action resource metadata.

ScheduledActionResourceInput

Represents a scheduled action resource input for write operations.

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

ScheduledActionsTriggerManualOccurrenceOptionalParams

Optional parameters.

ScheduledActionsUpdateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesCancelOperationsOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteCreateFlexOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteCreateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteDeallocateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteDeleteOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteHibernateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesExecuteStartOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesGetOperationErrorsOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesGetOperationStatusOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesSubmitDeallocateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesSubmitHibernateOptionalParams

Optional parameters.

ScheduledActionsVirtualMachinesSubmitStartOptionalParams

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.

SubmitDeallocateRequest

The deallocate request for resources

SubmitHibernateRequest

This is the request for hibernate

SubmitStartRequest

This is the request for start

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

UserInitiatedReboot

Specifies Reboot related Scheduled Event related configurations.

UserInitiatedRedeploy

Specifies Redeploy related Scheduled Event related configurations.

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.

VirtualMachineIdentity

Identity for the 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.

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

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

AzureSupportedClouds

The supported values for cloud setting as a string literal type

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

ContinuablePage

An interface that describes a page of results.

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 ScheduledActions
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

ExtendedLocationType

The supported ExtendedLocation types.
KnownExtendedLocationType can be used interchangeably with ExtendedLocationType, this enum contains the known values that the service supports.

Known values supported by the service

EdgeZone: Azure Edge Zones location type
CustomLocation: Azure Custom Locations type

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

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 Scheduled Actions
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 suceeded
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

Provisioning state
KnownProvisioningState can be used interchangeably with ProvisioningState, 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.

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

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 operation types that can be performed on resources using ScheduledActions
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

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

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

ZonePlacementPolicyType

Specifies the policy for resource's placement in availability zone. Possible values are: Any (used for Virtual Machines), Auto (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation.
KnownZonePlacementPolicyType can be used interchangeably with ZonePlacementPolicyType, this enum contains the known values that the service supports.

Known values supported by the service

Any
Auto: The platform automatically selects an availability zone based on the request.

Enums

AzureClouds

An enum to describe Azure Cloud environments.

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

KnownCachingTypes

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

KnownCreatedByType

The kind of entity that created the resource.

KnownDeadlineType

The types of deadlines supported by ScheduledActions

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

KnownExtendedLocationType

The supported ExtendedLocation types.

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

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 Scheduled Actions

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

Provisioning state

KnownPublicIPAddressSkuName

Specify public IP sku name

KnownPublicIPAddressSkuTier

Specify public IP sku tier

KnownPublicIPAllocationMethod

Specify the public IP allocation type

KnownResourceOperationStatus

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

KnownResourceOperationType

The kind of operation types that can be performed on resources using ScheduledActions

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

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

KnownZonePlacementPolicyType

Specifies the policy for resource's placement in availability zone. Possible values are: Any (used for Virtual Machines), Auto (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation.

Functions

restorePoller<TResponse, TResult>(ComputeScheduleClient, 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 Details

restorePoller<TResponse, TResult>(ComputeScheduleClient, 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: ComputeScheduleClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

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

Returns

PollerLike<OperationState<TResult>, TResult>