ServerDisasterRecoveryConfigurationOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new or updates an existing Azure SQL Server disaster recovery configuration.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse CreateOrUpdate (this Microsoft.Azure.Management.Sql.LegacySdk.IServerDisasterRecoveryConfigurationOperations operations, string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.LegacySdk.IServerDisasterRecoveryConfigurationOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IServerDisasterRecoveryConfigurationOperations, resourceGroupName As String, serverName As String, serverDisasterRecoveryConfigurationName As String, parameters As ServerDisasterRecoveryConfigurationCreateOrUpdateParameters) As ServerDisasterRecoveryConfigurationCreateOrUpdateResponse

Parameters

operations
IServerDisasterRecoveryConfigurationOperations

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

resourceGroupName
String

Required. The name of the Resource Group to which the Azure SQL Database Server belongs.

serverName
String

Required. The name of the Azure SQL Server.

serverDisasterRecoveryConfigurationName
String

Required. The name of the Azure SQL Server disaster recovery configuration to be operated on (Updated or created).

parameters
ServerDisasterRecoveryConfigurationCreateOrUpdateParameters

Required. The required parameters for creating or updating a Server disaster recovery configuration.

Returns

Response for long running Azure Sql server disaster recovery configuration operation.

Applies to