DatabaseBackupOperationsExtensions.CreateOrUpdateGeoBackupPolicyAsync Method

Definition

Updates a Azure SQL Database Geo Backup Policy.

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

Parameters

operations
IDatabaseBackupOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations.

resourceGroupName
String

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

serverName
String

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

databaseName
String

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

geoBackupPolicyName
String

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

parameters
GeoBackupPolicyCreateOrUpdateParameters

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

Returns

Response for Azure Sql Database Geo Backup Policy operations.

Applies to