ElasticPoolsOperationsExtensions.BeginCreateOrUpdateAsync(IElasticPoolsOperations, String, String, String, ElasticPoolInner, CancellationToken) Method

Definition

Creates a new Azure SQL elastic pool or updates an existing Azure SQL elastic pool.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.ElasticPoolInner> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.Fluent.IElasticPoolsOperations operations, string resourceGroupName, string serverName, string elasticPoolName, Microsoft.Azure.Management.Sql.Fluent.Models.ElasticPoolInner parameters, System.Threading.CancellationToken cancellationToken = null);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Sql.Fluent.IElasticPoolsOperations * string * string * string * Microsoft.Azure.Management.Sql.Fluent.Models.ElasticPoolInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.ElasticPoolInner>

Parameters

operations
IElasticPoolsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
System.String

The name of the Azure SQL server.

elasticPoolName
System.String

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

parameters
ElasticPoolInner

The required parameters for creating or updating an Elastic Pool.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ElasticPoolInner>

Applies to