Azure.ResourceManager.ComputeSchedule.Models Namespace

Classes

Name Description
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.

ArmComputeScheduleModelFactory

A factory class for creating instances of the models for mocking.

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.

BulkActionVirtualMachineExtensionProperties

Describes the properties of a Virtual Machine Extension.

BulkActionVirtualMachineProperties

Describes the properties of a Virtual Machine for create.

BulkActionVmExtension

Defines a virtual machine extension.

BulkVmConfiguration

Specifies the configuration for a virtual machine operation.

CancelOperationsContent

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

CancelOperationsResult

This is the response from a cancel operations request.

ComputeScheduleDiskEncryptionSetConfig

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.

ComputeScheduleFlexProperties

The flex properties for flexible VM creation.

ComputeScheduleManagedDiskConfig

The parameters of a managed disk.

ComputeSchedulePriorityProfile

The priority profile for flex VM creation.

ComputeScheduleVmSizeProfile

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

ComputeScheduleZoneAllocationPolicy

The zone allocation policy for distributing VMs across availability zones.

ComputeScheduleZonePreference

A zone preference with a zone identifier and rank.

CreateResourceOperationResult

The response from a create request.

DeallocateResourceOperationResult

The response from a deallocate request.

DeleteResourceOperationResult

The response from a delete request.

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.

DiskEncryptionSettings

Describes a Encryption Settings for a Disk.

EventGridAndResourceGraph

Specifies eventGridAndResourceGraph related Scheduled Event related configurations.

ExecuteCreateContent

The ExecuteCreateRequest request for create operations.

ExecuteCreateFlexContent

The ExecuteCreateFlexRequest request for executeCreateFlex operations.

ExecuteDeallocateContent

The ExecuteDeallocateRequest request for executeDeallocate operations.

ExecuteDeleteContent

The ExecuteDeleteRequest for delete VM operation.

ExecuteHibernateContent

The ExecuteHibernateRequest request for executeHibernate operations.

ExecuteStartContent

The ExecuteStartRequest request for executeStart operations.

GetOperationErrorsContent

This is the request to get errors per vm operations.

GetOperationErrorsResult

This is the response from a get operations errors request.

GetOperationStatusContent

This is the request to get operation status using operationids.

GetOperationStatusResult

This is the response from a get operations status request.

HibernateResourceOperationResult

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.

NotificationSettings

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

OccurrenceCancelContent

The request to cancel an occurrence.

OccurrenceDelayContent

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.

OccurrenceDetails

Represents an scheduled action resource metadata.

OccurrenceExtensionData

The scheduled action extension.

OccurrenceResultSummary

The summarized provisioning result of an occurrence.

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.

OSImageNotificationProfile

Profile for the OS Image Scheduled event.

PatchSettings

Specifies settings related to VM Guest Patching on Windows.

Placement

Describes the user-defined constraints for resource hardware placement.

ProxyAgentSettings

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

PublicIPAddressSku

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

ResourceOperationDetails

The details of a response from an operation on a resource.

ResourceOperationError

These describe errors that occur at the resource level.

ResourceOperationResult

High level response from an operation on a resource.

ResourceProvisionFlexPayload

Resource creation data model for flex VM provisioning.

ResourceProvisionPayload

Resource creation data model.

ResourceResultSummary

The status of the resources.

ScheduledActionCreateFlexResult

The response from a create flex request.

ScheduledActionExecutionParameterDetail

Extra details needed to run the user's request.

ScheduledActionFallbackInfo

Describes the fallback operation that was performed.

ScheduledActionOccurrenceExtensionProperties

The properties of the occurrence extension.

ScheduledActionOccurrenceProperties

Properties for an occurrence.

ScheduledActionPatch

The type used for update operations of the ScheduledAction.

ScheduledActionPatchProperties

The updatable properties of the ScheduledAction.

ScheduledActionProperties

Scheduled action properties.

ScheduledActionResourceAttachContent

Request model to attach a list of scheduled action resources.

ScheduledActionResourceDetachContent

Request model to detach a list of scheduled action resources.

ScheduledActionResourceDetails

Represents an scheduled action resource metadata.

ScheduledActionResourceOperationResult

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

ScheduledActionResourcePatch

Request model perform a resource operation in a list of resources.

ScheduledActionResources

The scheduled action extension.

ScheduledActionResourceStatus

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

ScheduledActionsExtensionProperties

Scheduled action extension properties.

ScheduledActionsSchedule

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

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.

SshPublicKeyConfiguration

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

StartResourceOperationResult

The response from a start request.

SubmitDeallocateContent

The deallocate request for resources.

SubmitHibernateContent

This is the request for hibernate.

SubmitStartContent

This is the request for start.

SubResource

Describes a reference to a sub-resource.

TerminateNotificationProfile

Profile properties for the Terminate Scheduled event.

UefiSettings

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

UserRequestResources

The resources needed for the user request.

UserRequestRetryPolicy

The retry policy for the user request.

UserRequestSchedule

The schedule details for the user request.

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.

VirtualMachineDataDisk

Describes a data disk.

VirtualMachineDiskSecurityProfile

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

VirtualMachineHardwareProfile

Specifies the hardware profile 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.

VirtualMachineNetworkInterfaceIPConfiguration

Describes a virtual machine network profile's IP configuration.

VirtualMachineNetworkInterfaceIPConfigurationProperties

Describes a virtual machine network interface IP configuration properties.

VirtualMachineNetworkInterfaceReference

Describes a network interface reference.

VirtualMachineNetworkInterfaceReferenceProperties

Describes a network interface reference properties.

VirtualMachineNetworkProfile

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

VirtualMachineOSDisk

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.

VirtualMachineOSProfile

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

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.

VirtualMachineSizeProperties

Specifies VM Size Property settings on the virtual machine.

VirtualMachineStorageProfile

Specifies the storage settings for the virtual machine disks.

VmGalleryApplication

Specifies the required information to reference a compute gallery application version.

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.

WinRMListener

Describes Protocol and thumbprint of Windows Remote Management listener.

Structs

Name Description
AdditionalUnattendContentComponentName
AdditionalUnattendContentPassName
CachingType

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

ComputeScheduleAllocationStrategy

The allocation strategy for VM size selection.

ComputeScheduleDistributionStrategy

The distribution strategy for zone allocation.

ComputeScheduleOSType

The supported operating system types for flex VM creation.

ComputeSchedulePriorityType

The priority type for VM allocation.

DeleteOptions

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

DiffDiskOptions

Specifies the ephemeral disk option for operating system disk.

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.

DiskControllerType

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.

DiskCreateOptionType

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.

DiskDeleteOptionType

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.

DiskDetachOptionType

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

DomainNameLabelScopeType

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.

HostEndpointSettingsMode

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.

IPVersion

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

LinuxPatchAssessmentMode

Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> ImageDefault - You control the timing of patch assessments on a virtual machine. <br /><br /> AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.

LinuxVmGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

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.<br /><br /> Possible values are:<br /><br /> ImageDefault - The virtual machine's default patching configuration is used. <br /><br /> AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true.

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.

NetworkApiVersion

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

NetworkInterfaceAuxiliaryMode

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

NetworkInterfaceAuxiliarySku

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

NotificationLanguage

The notification languages currently supported.

NotificationType

The type of notification supported.

OccurrenceResourceProvisioningState

The provisioning state of a resource type.

OperatingSystemType

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

PublicIPAddressSkuName

Specify public IP sku name.

PublicIPAddressSkuTier

Specify public IP sku tier.

PublicIPAllocationMethod

Specify the public IP allocation type.

ResourceOperationType

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

ScheduledActionDeadlineType

The types of deadlines supported by ScheduledActions.

ScheduledActionOccurrenceState

The state the occurrence is at a given time.

ScheduledActionOperationState

Values that define the states of operations in Scheduled Actions.

ScheduledActionOptimizationPreference

The preferences customers can select to optimize their requests to ScheduledActions.

ScheduledActionResourceOperationStatus

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

ScheduledActionResourceProvisioningState

Provisioning state.

ScheduledActionResourceType

The type of resource being targeted.

ScheduledActionsScheduleMonth

Representation of the months available selection in a gregorian calendar.

ScheduledActionsScheduleWeekDay

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

ScheduledActionType

Specify which action user wants to be performed on the resources.

SecurityEncryptionType

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.

SecurityType

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.

SettingName

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

StorageAccountType

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.

WindowsPatchAssessmentMode

Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> ImageDefault - You control the timing of patch assessments on a virtual machine.<br /><br /> AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.

WindowsVmGuestPatchAutomaticByPlatformRebootSetting

Specifies the reboot setting for all AutomaticByPlatform patch installation operations.

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.<br /><br /> Possible values are:<br /><br /> 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<br /><br /> AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true.

WinRMListenerProtocolType

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

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.