Share via


GeoBackupPoliciesOperationsExtensions.CreateOrUpdate Method

Definition

Updates a database geo backup policy.

public static Microsoft.Azure.Management.Sql.Models.GeoBackupPolicy CreateOrUpdate (this Microsoft.Azure.Management.Sql.IGeoBackupPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.GeoBackupPolicy parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.IGeoBackupPoliciesOperations * string * string * string * Microsoft.Azure.Management.Sql.Models.GeoBackupPolicy -> Microsoft.Azure.Management.Sql.Models.GeoBackupPolicy
<Extension()>
Public Function CreateOrUpdate (operations As IGeoBackupPoliciesOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As GeoBackupPolicy) As GeoBackupPolicy

Parameters

operations
IGeoBackupPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

databaseName
String

The name of the database.

parameters
GeoBackupPolicy

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

Returns

Applies to