IDatabaseOperations.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 Azure SQL Database or updating an existing Azure SQL Database. To determine the status of the operation call GetDatabaseOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse> BeginCreateOrUpdateAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateAsync (resourceGroupName As String, serverName As String, databaseName As String, parameters As DatabaseCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of DatabaseCreateOrUpdateResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the Azure SQL Database Server belongs.
- serverName
- String
The name of the Azure SQL Database Server on which the database is hosted.
- databaseName
- String
The name of the Azure SQL Database to be operated on (Updated or created).
- parameters
- DatabaseCreateOrUpdateParameters
The required parameters for creating or updating a database.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response for long running Azure Sql Database operations.