Compartilhar via


VirtualMachineResource.SimulateEvictionAsync(CancellationToken) Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction
  • IdVirtualMachines_SimulateEviction de operação
public virtual System.Threading.Tasks.Task<Azure.Response> SimulateEvictionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member SimulateEvictionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SimulateEvictionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SimulateEvictionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a