Freigeben über


CloudServicesOperationsExtensions.RebuildAsync Methode

Definition

Neuerstellen von Rolleninstanzen installiert das Betriebssystem auf Instanzen von Webrollen oder Workerrollen neu und initialisiert die von ihnen verwendeten Speicherressourcen. Wenn Sie keine Speicherressourcen initialisieren möchten, können Sie Rolleninstanzen von Reimage verwenden.

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