ServerDisasterRecoveryConfigurationOperationsExtensions.BeginCreateOrUpdateAsync 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.
Begins creating a new or updating an existing Azure SQL Server disaster recovery configuration. To determine the status of the operation call GetServerDisasterRecoveryConfigurationOperationStatus.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerDisasterRecoveryConfigurationOperations operations, string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters parameters);
static member BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (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 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.