@azure/arm-computeschedule package
Classes
| ComputeScheduleClient |
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. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AllocationStrategy |
The allocation strategy for VM size selection Known values supported by the serviceLowestPrice: Platform prioritizes VM sizes with the lowest hourly cost |
| 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 Known values supported by the serviceNone: Caching type:None |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DeadlineType |
The types of deadlines supported by ScheduledActions Known values supported by the serviceUnknown: Default value of Unknown. |
| DeleteOptions |
Specify what happens to the network interface when the VM is deleted Known values supported by the serviceDelete: Delete network interface when the VM is deleted |
| DiffDiskOptions |
Specifies the ephemeral disk option for operating system disk. Known values supported by the serviceLocal: 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. Known values supported by the serviceCacheDisk: CacheDisk 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. Known values supported by the serviceSCSI: SCSI 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. Known values supported by the serviceFromImage: Create disk FromImage |
| 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. Known values supported by the serviceDelete: Delete 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'. Known values supported by the serviceForceDetach: ForceDetach the disk |
| DistributionStrategy |
The distribution strategy for zone allocation Known values supported by the serviceBestEffortSingleZone: Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed |
| 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 Known values supported by the serviceTenantReuse: TenantReuse scope type |
| ExtendedLocationType |
The supported ExtendedLocation types. Known values supported by the serviceEdgeZone: Azure Edge Zones location 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'. Known values supported by the serviceIPv4: IPv4 version |
| Language |
The notification languages currently supported Known values supported by the serviceen-us: American english language |
| LinuxPatchAssessmentMode |
Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Known values supported by the serviceImageDefault: ImageDefault mode |
| LinuxVMGuestPatchAutomaticByPlatformRebootSetting |
Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Known values supported by the serviceUnknown: Unknown reboot setting |
| 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. Known values supported by the serviceImageDefault: ImageDefault 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. Known values supported by the serviceAudit: Audit 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. Known values supported by the serviceAudit: Audit mode |
| Month |
Representation of the months available selection in a gregorian calendar Known values supported by the serviceJanuary: The January month. |
| NetworkApiVersion |
Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations Known values supported by the service2020-11-01: 2020-11-01 version |
| NetworkInterfaceAuxiliaryMode |
Specifies whether the Auxiliary mode is enabled for the Network Interface resource. Known values supported by the serviceNone: None mode |
| NetworkInterfaceAuxiliarySku |
Specifies whether the Auxiliary sku is enabled for the Network Interface resource. Known values supported by the serviceNone: None: None sku |
| NotificationType |
The type of notification supported Known values supported by the serviceEmail: Notify through e-mail |
| OccurrenceState |
The state the occurrence is at a given time Known values supported by the serviceCreated: The occurrence was created |
| OperatingSystemTypes |
This property allows you to specify the supported type of the OS that application is built for. Possible values are: Windows, Linux. Known values supported by the serviceWindows: Windows OS |
| OperationState |
Values that define the states of operations in Scheduled Actions Known values supported by the serviceUnknown: The default value for the operation state enum |
| OptimizationPreference |
The preferences customers can select to optimize their requests to ScheduledActions Known values supported by the serviceCost: Optimize while considering cost savings |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| OsType |
The supported operating system types for flex VM creation Known values supported by the serviceWindows: Windows operating system |
| PriorityType |
The priority type for VM allocation Known values supported by the serviceRegular: Regular priority VMs |
| ProtocolTypes |
Specifies the protocol of WinRM listener. Possible values are: http, https. Known values supported by the serviceHttp: Http protocol |
| ProvisioningState |
Provisioning state Known values supported by the serviceSucceeded: Resource has been created. |
| PublicIPAddressSkuName |
Specify public IP sku name Known values supported by the serviceBasic: Basic IP sku name |
| PublicIPAddressSkuTier |
Specify public IP sku tier Known values supported by the serviceRegional: Regional IP address sku tier |
| PublicIPAllocationMethod |
Specify the public IP allocation type Known values supported by the serviceDynamic: Dynamic 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 Known values supported by the serviceSucceeded: The resource operation was successful |
| ResourceOperationType |
The kind of operation types that can be performed on resources using ScheduledActions Known values supported by the serviceUnknown: The default value for this enum type |
| ResourceProvisioningState |
The provisioning state of a resource type. Known values supported by the serviceSucceeded: Resource has been created. |
| ResourceType |
The type of resource being targeted Known values supported by the serviceVirtualMachine: Resources defined are Virtual Machines |
| ScheduledActionType |
Specify which action user wants to be performed on the resources Known values supported by the serviceStart: Perform a start action 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. Known values supported by the serviceVMGuestStateOnly: VMGuestStateOnly 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. Known values supported by the serviceTrustedLaunch: TrustedLaunch security type |
| SettingNames |
Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values supported by the serviceAutoLogon: AutoLogon 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 Known values supported by the serviceStandard_LRS: Standard_LRS storage account type |
| WeekDay |
Representation of the possible selection of days in a week in a gregorian calendar Known values supported by the serviceMonday: Monday weekday. |
| WindowsPatchAssessmentMode |
Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Known values supported by the serviceImageDefault: ImageDefault patch assessment mode |
| WindowsVMGuestPatchAutomaticByPlatformRebootSetting |
Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Known values supported by the serviceUnknown: Reboot setting for Unknown |
| 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. Known values supported by the serviceManual: Manual 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. Known values supported by the serviceAny |
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. |
| 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. |
| 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. |
| 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. |
| 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
| restore |
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
- client
- ComputeScheduleClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>