Freigeben über


CloudServicesOperationsExtensions.ReimageAsync Methode

Definition

Beim asynchronen Vorgang "Reimage" wird das Betriebssystem auf Instanzen von Webrollen oder Workerrollen neu installiert.

public static System.Threading.Tasks.Task ReimageAsync (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, System.Collections.Generic.IList<string> roleInstancesProperty, System.Threading.CancellationToken cancellationToken = default);
static member ReimageAsync : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ReimageAsync (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, roleInstancesProperty As IList(Of 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.

roleInstancesProperty
IList<String>

Liste der Namen der Clouddienstrolle instance. Der Wert "*" bedeutet alle Rolleninstanzen des Clouddiensts.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: