共用方式為


IWebSiteManagementClient.MoveWithHttpMessagesAsync 方法

定義

在資源群組之間移動資源。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> MoveWithHttpMessagesAsync (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 MoveWithHttpMessagesAsync : 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 MoveWithHttpMessagesAsync (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

取消語彙基元。

傳回

備註

在資源群組之間移動資源的描述。

適用於