Share via


WebSiteManagementClientExtensions.ValidateMoveAsync Method

Definition

Validate whether a resource can be moved.

public static System.Threading.Tasks.Task ValidateMoveAsync (this Microsoft.Azure.Management.WebSites.IWebSiteManagementClient operations, string resourceGroupName, Microsoft.Azure.Management.WebSites.Models.CsmMoveResourceEnvelope moveResourceEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member ValidateMoveAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * Microsoft.Azure.Management.WebSites.Models.CsmMoveResourceEnvelope * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ValidateMoveAsync (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 Validate whether a resource can be moved.

Applies to