Share via


ManagedDatabaseResource.CancelMove 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 Azure.ResourceManager.ArmOperation CancelMove (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition managedDatabaseMoveDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelMove : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.CancelMove : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseMoveDefinition * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function CancelMove (waitUntil As WaitUntil, managedDatabaseMoveDefinition As ManagedDatabaseMoveDefinition, Optional cancellationToken As CancellationToken = Nothing) As 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