ManagedDatabaseResource.StartMoveAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts a managed database move operation.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/startMove
- Operation Id: ManagedDatabases_StartMove
- Default Api Version: 2022-08-01-preview
- Resource: ManagedDatabaseResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> StartMoveAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.Models.ManagedDatabaseStartMoveDefinition managedDatabaseStartMoveDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member StartMoveAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseStartMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.StartMoveAsync : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.ManagedDatabaseStartMoveDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function StartMoveAsync (waitUntil As WaitUntil, managedDatabaseStartMoveDefinition As ManagedDatabaseStartMoveDefinition, 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.
- managedDatabaseStartMoveDefinition
- ManagedDatabaseStartMoveDefinition
Parameters of the start managed database move operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
managedDatabaseStartMoveDefinition
is null.