共用方式為


WebSiteManagementClientExtensions.ValidateMoveAsync 方法

定義

驗證是否可以移動資源。

public static System.Threading.Tasks.Task ValidateMoveAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope moveResourceEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member ValidateMoveAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.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

參數

operations
IWebSiteManagementClient

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

moveResourceEnvelope
CsmMoveResourceEnvelope

物件,表示要移動的資源。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

驗證資源是否可以移動的描述。

適用於