Freigeben über


VirtualMachineResource.SimulateEvictionAsync(CancellationToken) Methode

Definition

Der Vorgang zum Simulieren der Entfernung des virtuellen Spotcomputers.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction
  • Vorgang IdVirtualMachines_SimulateEviction
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)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: