DatabaseOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Begins creating a new Azure SQL Database or updating an existing Azure SQL Database. To determine the status of the operation call GetDatabaseOperationStatus.

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

Parameters

operations
IDatabaseOperations

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

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 Database Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database to be operated on (Updated or created).

parameters
DatabaseCreateOrUpdateParameters

Required. The required parameters for creating or updating a database.

Returns

Response for long running Azure Sql Database operations.

Applies to