Partilhar via


MoveResources interface

Interface representing a MoveResources.

Methods

beginCreate(string, string, string, MoveResourcesCreateOptionalParams)

Creates or updates a Move Resource in the move collection.

beginCreateAndWait(string, string, string, MoveResourcesCreateOptionalParams)

Creates or updates a Move Resource in the move collection.

beginDelete(string, string, string, MoveResourcesDeleteOptionalParams)

Deletes a Move Resource from the move collection.

beginDeleteAndWait(string, string, string, MoveResourcesDeleteOptionalParams)

Deletes a Move Resource from the move collection.

get(string, string, string, MoveResourcesGetOptionalParams)

Gets the Move Resource.

list(string, string, MoveResourcesListOptionalParams)

Lists the Move Resources in the move collection.

Method Details

beginCreate(string, string, string, MoveResourcesCreateOptionalParams)

Creates or updates a Move Resource in the move collection.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

moveResourceName

string

The Move Resource Name.

options
MoveResourcesCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, MoveResourcesCreateOptionalParams)

Creates or updates a Move Resource in the move collection.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

moveResourceName

string

The Move Resource Name.

options
MoveResourcesCreateOptionalParams

The options parameters.

Returns

Promise<MoveResource>

beginDelete(string, string, string, MoveResourcesDeleteOptionalParams)

Deletes a Move Resource from the move collection.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

moveResourceName

string

The Move Resource Name.

options
MoveResourcesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, MoveResourcesDeleteOptionalParams)

Deletes a Move Resource from the move collection.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

moveResourceName

string

The Move Resource Name.

options
MoveResourcesDeleteOptionalParams

The options parameters.

Returns

Promise<OperationStatus>

get(string, string, string, MoveResourcesGetOptionalParams)

Gets the Move Resource.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

moveResourceName

string

The Move Resource Name.

options
MoveResourcesGetOptionalParams

The options parameters.

Returns

Promise<MoveResource>

list(string, string, MoveResourcesListOptionalParams)

Lists the Move Resources in the move collection.

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

Parameters

resourceGroupName

string

The Resource Group Name.

moveCollectionName

string

The Move Collection Name.

options
MoveResourcesListOptionalParams

The options parameters.

Returns