Compartir a través de


WebSiteManagementClient.MoveWithHttpMessagesAsync Método

Definición

Mover recursos entre grupos de recursos.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> MoveWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.WebSites.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.WebSites.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.WebSites.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)

Parámetros

resourceGroupName
String

Nombre del grupo de recursos al que pertenece el recurso.

moveResourceEnvelope
CsmMoveResourceEnvelope

Objeto que representa el recurso que se va a mover.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Comentarios

Descripción para Mover recursos entre grupos de recursos.

Se aplica a