IDatabaseBackupOperations.CreateOrUpdateGeoBackupPolicyAsync Method

Definition

Updates a Azure SQL Database Geo Backup Policy.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyCreateOrUpdateResponse> CreateOrUpdateGeoBackupPolicyAsync (string resourceGroupName, string serverName, string databaseName, string geoBackupPolicyName, Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateGeoBackupPolicyAsync : string * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.GeoBackupPolicyCreateOrUpdateResponse>
Public Function CreateOrUpdateGeoBackupPolicyAsync (resourceGroupName As String, serverName As String, databaseName As String, geoBackupPolicyName As String, parameters As GeoBackupPolicyCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of GeoBackupPolicyCreateOrUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server to retrieve geo backup policies for.

databaseName
String

The name of the Azure SQL Database to retrieve geo backup policies for.

geoBackupPolicyName
String

The name of the Azure SQL Database Geo Backup Policy to retrieve geo backup policies for.

parameters
GeoBackupPolicyCreateOrUpdateParameters

The required parameters for creating or updating a SQL Database Geo Backup Policy.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for Azure Sql Database Geo Backup Policy operations.

Applies to