Freigeben über


CloudServicesOperationsExtensions.PowerOffAsync Methode

Definition

Schalten Sie den Clouddienst aus. Beachten Sie, dass weiterhin Ressourcen angefügt sind und Ihnen die Ressourcen in Rechnung gestellt werden.

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

Parameter

operations
ICloudServicesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: