Condividi tramite


WebSiteManagementClient.MoveWithHttpMessagesAsync Metodo

Definizione

Spostare le risorse tra gruppi di risorse.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> MoveWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope moveResourceEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
override this.MoveWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function MoveWithHttpMessagesAsync (resourceGroupName As String, moveResourceEnvelope As CsmMoveResourceEnvelope, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parametri

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

moveResourceEnvelope
CsmMoveResourceEnvelope

Oggetto che rappresenta la risorsa da spostare.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Implementazioni

Eccezioni

Generata quando l'operazione ha restituito un codice di stato non valido

Generata quando l'operazione ha restituito un codice di stato non valido

Generata quando un parametro obbligatorio è Null

Generata quando un parametro obbligatorio è Null

Commenti

Descrizione per Spostare le risorse tra gruppi di risorse.

Si applica a