Compartilhar via


VirtualMachinesOperationsExtensions.SimulateEvictionAsync Método

Definição

A operação para simular a remoção da máquina virtual spot.

public static System.Threading.Tasks.Task SimulateEvictionAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, System.Threading.CancellationToken cancellationToken = default);
static member SimulateEvictionAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachinesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SimulateEvictionAsync (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IVirtualMachinesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

vmName
String

O nome da máquina virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a