WebSiteManagementClientExtensions.MoveAsync 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 = default);
static member MoveAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * Microsoft.Azure.Management.WebSites.Models.CsmMoveResourceEnvelope * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function MoveAsync (operations As IWebSiteManagementClient, resourceGroupName As String, moveResourceEnvelope As CsmMoveResourceEnvelope, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

moveResourceEnvelope
CsmMoveResourceEnvelope

Object that represents the resource to move.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Move resources between resource groups.

Applies to