IElasticPoolOperations.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 Elastic Pool or updating an existing Azure SQL Database Elastic Pool. To determine the status of the operation call GetElasticPoolOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateResponse> BeginCreateOrUpdateAsync (string resourceGroupName, string serverName, string elasticPoolName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateAsync (resourceGroupName As String, serverName As String, elasticPoolName As String, parameters As ElasticPoolCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of ElasticPoolCreateOrUpdateResponse)
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.
- elasticPoolName
- String
The name of the Azure SQL Database Elastic Pool to be operated on (Updated or created).
- parameters
- ElasticPoolCreateOrUpdateParameters
The required parameters for createing or updating an Elastic Pool.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response for long running Azure Sql Database Elastic Pool operation.