WebSiteManagementClient.MoveWithHttpMessagesAsync(String, CsmMoveResourceEnvelopeInner, Dictionary<String,List<String>>, CancellationToken) Method
Definition
Move resources between resource groups.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> MoveWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelopeInner moveResourceEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member MoveWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelopeInner * 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.CsmMoveResourceEnvelopeInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Parameters
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- moveResourceEnvelope
- CsmMoveResourceEnvelopeInner
Object that represents the resource to move.
- customHeaders
- Dictionary<String,List<String>>
Headers that will be added to request.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
- Task<Microsoft.Rest.Azure.AzureOperationResponse>
Implements
Exceptions
Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
Microsoft.Rest.ValidationException
Thrown when a required parameter is null
Thrown when a required parameter is null
Remarks
Move resources between resource groups.