你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

取消标记。

返回

注解

在资源组之间移动资源的说明。

适用于