Share via


ISqlPoolRestorePointsOperations.CreateWithHttpMessagesAsync Method

Definition

Creates a restore point for a data warehouse.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.RestorePoint>> CreateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, string sqlPoolName, Microsoft.Azure.Management.Synapse.Models.CreateSqlPoolRestorePointDefinition parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Synapse.Models.CreateSqlPoolRestorePointDefinition * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.RestorePoint>>
Public Function CreateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, sqlPoolName As String, parameters As CreateSqlPoolRestorePointDefinition, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of RestorePoint))

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

sqlPoolName
String

SQL pool name

parameters
CreateSqlPoolRestorePointDefinition

The definition for creating the restore point of this Sql pool.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to