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

ResourceOperationsExtensions.BeginMovingAsync 方法

定义

开始移动资源。若要确定操作是否已处理完请求,请调用 GetLongRunningOperationStatus。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse> BeginMovingAsync (this Microsoft.Azure.Management.Resources.IResourceOperations operations, string sourceResourceGroupName, Microsoft.Azure.Management.Resources.Models.ResourcesMoveInfo parameters);
static member BeginMovingAsync : Microsoft.Azure.Management.Resources.IResourceOperations * string * Microsoft.Azure.Management.Resources.Models.ResourcesMoveInfo -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
<Extension()>
Public Function BeginMovingAsync (operations As IResourceOperations, sourceResourceGroupName As String, parameters As ResourcesMoveInfo) As Task(Of LongRunningOperationResponse)

参数

operations
IResourceOperations

对 Microsoft.Azure.Management.Resources.IResourceOperations 的引用。

sourceResourceGroupName
String

必需。 源资源组名称。

parameters
ResourcesMoveInfo

必需。 移动资源的参数。

返回

长时间运行操作的标准服务响应。

适用于