SqlPoolGeoBackupPoliciesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Updates a SQL Pool geo backup policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.GeoBackupPolicy> CreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.ISqlPoolGeoBackupPoliciesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, Microsoft.Azure.Management.Synapse.Models.GeoBackupPolicy parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.ISqlPoolGeoBackupPoliciesOperations * string * string * string * Microsoft.Azure.Management.Synapse.Models.GeoBackupPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.GeoBackupPolicy>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISqlPoolGeoBackupPoliciesOperations, resourceGroupName As String, workspaceName As String, sqlPoolName As String, parameters As GeoBackupPolicy, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GeoBackupPolicy)

Parameters

operations
ISqlPoolGeoBackupPoliciesOperations

The operations group for this extension method.

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
GeoBackupPolicy

The required parameters for creating or updating the geo backup policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to