Partager via


ICloudServicesOperations.ReimageWithHttpMessagesAsync Méthode

Définition

L’opération asynchrone de réimagement réinstalle le système d’exploitation sur des instances de rôles web ou de rôles de travail.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> ReimageWithHttpMessagesAsync (string resourceGroupName, string cloudServiceName, System.Collections.Generic.IList<string> roleInstancesProperty, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ReimageWithHttpMessagesAsync : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function ReimageWithHttpMessagesAsync (resourceGroupName As String, cloudServiceName As String, roleInstancesProperty As IList(Of String), Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

cloudServiceName
String

Nom du service cloud.

roleInstancesProperty
IList<String>

Liste des noms de rôle de service cloud instance. La valeur « * » signifie toutes les instances de rôle du service cloud.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à