Condividi tramite


ManagedDatabaseResource.CancelMoveAsync Method

Definition

Cancels a managed database move operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/cancelMove
  • Operation Id: ManagedDatabases_CancelMove
  • Default Api Version: 2022-08-01-preview
  • Resource: ManagedDatabaseResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CancelMoveAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition managedDatabaseMoveDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelMoveAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CancelMoveAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CancelMoveAsync (waitUntil As WaitUntil, managedDatabaseMoveDefinition As ManagedDatabaseMoveDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

managedDatabaseMoveDefinition
ManagedDatabaseMoveDefinition

Parameters of the cancel managed database move operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedDatabaseMoveDefinition is null.

Applies to