Share via


MoveResources Interface

public interface MoveResources

Resource collection API of MoveResources.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new MoveResource resource.

abstract OperationStatus delete(String resourceGroupName, String moveCollectionName, String moveResourceName)

Deletes a Move Resource from the move collection.

abstract OperationStatus delete(String resourceGroupName, String moveCollectionName, String moveResourceName, Context context)

Deletes a Move Resource from the move collection.

abstract OperationStatus deleteById(String id)

Deletes a Move Resource from the move collection.

abstract OperationStatus deleteByIdWithResponse(String id, Context context)

Deletes a Move Resource from the move collection.

abstract MoveResource get(String resourceGroupName, String moveCollectionName, String moveResourceName)

Gets the Move Resource.

abstract MoveResource getById(String id)

Gets the Move Resource.

abstract Response<MoveResource> getByIdWithResponse(String id, Context context)

Gets the Move Resource.

abstract Response<MoveResource> getWithResponse(String resourceGroupName, String moveCollectionName, String moveResourceName, Context context)

Gets the Move Resource.

abstract PagedIterable<MoveResource> list(String resourceGroupName, String moveCollectionName)

Lists the Move Resources in the move collection.

abstract PagedIterable<MoveResource> list(String resourceGroupName, String moveCollectionName, String filter, Context context)

Lists the Move Resources in the move collection.

Method Details

define

public abstract MoveResource.DefinitionStages.Blank define(String name)

Begins definition for a new MoveResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new MoveResource definition.

delete

public abstract OperationStatus delete(String resourceGroupName, String moveCollectionName, String moveResourceName)

Deletes a Move Resource from the move collection.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
moveResourceName - The Move Resource Name.

Returns:

operation status REST resource.

delete

public abstract OperationStatus delete(String resourceGroupName, String moveCollectionName, String moveResourceName, Context context)

Deletes a Move Resource from the move collection.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
moveResourceName - The Move Resource Name.
context - The context to associate with this operation.

Returns:

operation status REST resource.

deleteById

public abstract OperationStatus deleteById(String id)

Deletes a Move Resource from the move collection.

Parameters:

id - the resource ID.

Returns:

operation status REST resource.

deleteByIdWithResponse

public abstract OperationStatus deleteByIdWithResponse(String id, Context context)

Deletes a Move Resource from the move collection.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

operation status REST resource.

get

public abstract MoveResource get(String resourceGroupName, String moveCollectionName, String moveResourceName)

Gets the Move Resource.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
moveResourceName - The Move Resource Name.

Returns:

the Move Resource.

getById

public abstract MoveResource getById(String id)

Gets the Move Resource.

Parameters:

id - the resource ID.

Returns:

the Move Resource along with Response<T>.

getByIdWithResponse

public abstract Response<MoveResource> getByIdWithResponse(String id, Context context)

Gets the Move Resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the Move Resource along with Response<T>.

getWithResponse

public abstract Response<MoveResource> getWithResponse(String resourceGroupName, String moveCollectionName, String moveResourceName, Context context)

Gets the Move Resource.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
moveResourceName - The Move Resource Name.
context - The context to associate with this operation.

Returns:

the Move Resource along with Response<T>.

list

public abstract PagedIterable<MoveResource> list(String resourceGroupName, String moveCollectionName)

Lists the Move Resources in the move collection.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.

Returns:

defines the collection of move resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<MoveResource> list(String resourceGroupName, String moveCollectionName, String filter, Context context)

Lists the Move Resources in the move collection.

Parameters:

resourceGroupName - The Resource Group Name.
moveCollectionName - The Move Collection Name.
filter - The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'.
context - The context to associate with this operation.

Returns:

defines the collection of move resources as paginated response with PagedIterable<T>.

Applies to