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

MoveResources interface

表示 MoveResources 的接口。

方法详细信息

beginCreate(string, string, string, MoveResourcesCreateOptionalParams)

在移动集合中创建或更新移动资源。

function beginCreate(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<SimplePollerLike<OperationState<MoveResource>, MoveResource>>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

moveResourceName

string

移动资源名称。

options
MoveResourcesCreateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<MoveResource>, MoveResource>>

beginCreateAndWait(string, string, string, MoveResourcesCreateOptionalParams)

在移动集合中创建或更新移动资源。

function beginCreateAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<MoveResource>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

moveResourceName

string

移动资源名称。

options
MoveResourcesCreateOptionalParams

选项参数。

返回

Promise<MoveResource>

beginDelete(string, string, string, MoveResourcesDeleteOptionalParams)

从移动集合中删除移动资源。

function beginDelete(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

moveResourceName

string

移动资源名称。

options
MoveResourcesDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>

beginDeleteAndWait(string, string, string, MoveResourcesDeleteOptionalParams)

从移动集合中删除移动资源。

function beginDeleteAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<OperationStatus>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

moveResourceName

string

移动资源名称。

options
MoveResourcesDeleteOptionalParams

选项参数。

返回

Promise<OperationStatus>

get(string, string, string, MoveResourcesGetOptionalParams)

获取移动资源。

function get(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesGetOptionalParams): Promise<MoveResource>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

moveResourceName

string

移动资源名称。

options
MoveResourcesGetOptionalParams

选项参数。

返回

Promise<MoveResource>

list(string, string, MoveResourcesListOptionalParams)

列出移动集合中的移动资源。

function list(resourceGroupName: string, moveCollectionName: string, options?: MoveResourcesListOptionalParams): PagedAsyncIterableIterator<MoveResource, MoveResource[], PageSettings>

参数

resourceGroupName

string

资源组名称。

moveCollectionName

string

移动集合名称。

options
MoveResourcesListOptionalParams

选项参数。

返回