Condividi tramite


WebSiteManagementClient.ValidateMoveWithHttpMessagesAsync Metodo

Definizione

Verificare se una risorsa può essere spostata.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> ValidateMoveWithHttpMessagesAsync (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 ValidateMoveWithHttpMessagesAsync : 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.ValidateMoveWithHttpMessagesAsync : 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 ValidateMoveWithHttpMessagesAsync (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 Verificare se una risorsa può essere spostata.

Si applica a