Package version:

Interface VirtualMachinesDeleteOptionalParams

Optional parameters.

interface VirtualMachinesDeleteOptionalParams {
    forceDeletion?: boolean;
    resumeFrom?: string;
    updateIntervalInMs?: number;
}

Hierarchy

  • unknown
    • VirtualMachinesDeleteOptionalParams

Properties

forceDeletion?: boolean

Optional parameter to force delete virtual machines. NOTE: As of api-version 2024-11-01, we are rolling out a feature where if the forceDeletion parameter is unspecified OR not explicitly set to false, AND all of the VM's attached disks including the OS disk are marked with the delete option, then the VM will be force deleted. For more details on how to configure delete options for a VM's resources, see Delete a VM and attached resources. To avoid defaulting to force delete, ensure that the forceDeletion parameter is explicitly set to false. This feature is expected to rollout by end of March 2025.

resumeFrom?: string

A serialized poller which can be used to resume an existing paused Long-Running-Operation.

updateIntervalInMs?: number

Delay to wait until next poll, in milliseconds.