Share via


MoveResourcesOperationsExtensions.DeleteAsync Method

Definition

Deletes a Move Resource from the move collection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus> DeleteAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.OperationStatus>
<Extension()>
Public Function DeleteAsync (operations As IMoveResourcesOperations, resourceGroupName As String, moveCollectionName As String, moveResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)

Parameters

operations
IMoveResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name.

moveCollectionName
String

The Move Collection Name.

moveResourceName
String

The Move Resource Name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to