IManagedDatabasesOperations.BeginCompleteRestoreWithHttpMessagesAsync(String, Guid, CompleteDatabaseRestoreDefinition, Dictionary<String,List<String>>, CancellationToken) IManagedDatabasesOperations.BeginCompleteRestoreWithHttpMessagesAsync(String, Guid, CompleteDatabaseRestoreDefinition, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Completes the restore operation on a managed database.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginCompleteRestoreWithHttpMessagesAsync (string locationName, Guid operationId, Microsoft.Azure.Management.Sql.Models.CompleteDatabaseRestoreDefinition parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member BeginCompleteRestoreWithHttpMessagesAsync : string * Guid * Microsoft.Azure.Management.Sql.Models.CompleteDatabaseRestoreDefinition * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>

Parameters

locationName
String String

The name of the region where the resource is located.

operationId
Guid Guid

Management operation id that this request tries to complete.

parameters
CompleteDatabaseRestoreDefinition CompleteDatabaseRestoreDefinition

The definition for completing the restore of this managed database.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.AzureOperationResponse>

Exceptions

Microsoft.Rest.Azure.CloudException Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.ValidationException Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Applies to