DatabaseOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a new Azure SQL Database or updates an existing Azure SQL Database.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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 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