共用方式為


WebSiteManagementClientExtensions.MoveAsync 方法

定義

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

public static System.Threading.Tasks.Task MoveAsync (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 MoveAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.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

參數

operations
IWebSiteManagementClient

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

resourceGroupName
String

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

moveResourceEnvelope
CsmMoveResourceEnvelope

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

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

適用於