Freigeben über


VirtualMachineResource.SimulateEviction(CancellationToken) Methode

Definition

Der Vorgang zum Simulieren der Entfernung von Spot-VMs.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/simulateEviction
  • Vorgangs-IdVirtualMachines_SimulateEviction
public virtual Azure.Response SimulateEviction (System.Threading.CancellationToken cancellationToken = default);
abstract member SimulateEviction : System.Threading.CancellationToken -> Azure.Response
override this.SimulateEviction : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function SimulateEviction (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: