ServerDisasterRecoveryConfigurationOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new or updates an existing Azure SQL Server disaster recovery configuration.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerDisasterRecoveryConfigurationOperations operations, string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IServerDisasterRecoveryConfigurationOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IServerDisasterRecoveryConfigurationOperations, resourceGroupName As String, serverName As String, serverDisasterRecoveryConfigurationName As String, parameters As ServerDisasterRecoveryConfigurationCreateOrUpdateParameters) As Task(Of ServerDisasterRecoveryConfigurationCreateOrUpdateResponse)
Parameters
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).
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.