共用方式為


ManagedDatabaseResource.CompleteRestore Method

Definition

Completes the restore operation on a managed database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore
  • Operation Id: ManagedDatabases_CompleteRestore
  • Default Api Version: 2022-08-01-preview
  • Resource: ManagedDatabaseResource
public virtual Azure.ResourceManager.ArmOperation CompleteRestore (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.Models.CompleteDatabaseRestoreDefinition completeDatabaseRestoreDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteRestore : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.CompleteDatabaseRestoreDefinition * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.CompleteRestore : Azure.WaitUntil * Azure.ResourceManager.Sql.Models.CompleteDatabaseRestoreDefinition * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function CompleteRestore (waitUntil As WaitUntil, completeDatabaseRestoreDefinition As CompleteDatabaseRestoreDefinition, 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.

completeDatabaseRestoreDefinition
CompleteDatabaseRestoreDefinition

The definition for completing the restore of this managed database.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

completeDatabaseRestoreDefinition is null.

Applies to