Share via


SynapseSqlPoolResource.CreateSqlPoolRestorePointAsync Method

Definition

Creates a restore point for a data warehouse.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints
  • Operation Id: SqlPoolRestorePoints_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseRestorePointResource>> CreateSqlPoolRestorePointAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.Models.SqlPoolCreateRestorePointContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateSqlPoolRestorePointAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SqlPoolCreateRestorePointContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseRestorePointResource>>
override this.CreateSqlPoolRestorePointAsync : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SqlPoolCreateRestorePointContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseRestorePointResource>>
Public Overridable Function CreateSqlPoolRestorePointAsync (waitUntil As WaitUntil, content As SqlPoolCreateRestorePointContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SynapseRestorePointResource))

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.

content
SqlPoolCreateRestorePointContent

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to