共用方式為


IWebSiteManagementClient.ValidateMoveWithHttpMessagesAsync 方法

定義

驗證是否可以移動資源。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> ValidateMoveWithHttpMessagesAsync (string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope moveResourceEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateMoveWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmMoveResourceEnvelope * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function ValidateMoveWithHttpMessagesAsync (resourceGroupName As String, moveResourceEnvelope As CsmMoveResourceEnvelope, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

參數

resourceGroupName
String

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

moveResourceEnvelope
CsmMoveResourceEnvelope

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

customHeaders
Dictionary<String,List<String>>

將新增至要求的標頭。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

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

適用於