WebSiteManagementClientExtensions.MoveAsync(IWebSiteManagementClient, String, CsmMoveResourceEnvelope, CancellationToken) Method

Definition

Move resources between resource groups.

public static System.Threading.Tasks.Task MoveAsync (this Microsoft.Azure.Management.WebSites.IWebSiteManagementClient operations, string resourceGroupName, Microsoft.Azure.Management.WebSites.Models.CsmMoveResourceEnvelope moveResourceEnvelope, System.Threading.CancellationToken cancellationToken = null);
static member MoveAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * Microsoft.Azure.Management.WebSites.Models.CsmMoveResourceEnvelope * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

moveResourceEnvelope
CsmMoveResourceEnvelope

Object that represents the resource to move.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Move resources between resource groups.

Applies to