Share via


ElasticPoolOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IElasticPoolOperations operations, string resourceGroupName, string serverName, string elasticPoolName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IElasticPoolOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ElasticPoolCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IElasticPoolOperations, resourceGroupName As String, serverName As String, elasticPoolName As String, parameters As ElasticPoolCreateOrUpdateParameters) As Task(Of ElasticPoolCreateOrUpdateResponse)

Parameters

operations
IElasticPoolOperations

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

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 Azure SQL Database Elastic Pool is hosted.

elasticPoolName
String

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

parameters
ElasticPoolCreateOrUpdateParameters

Required. The required parameters for createing or updating an Azure Sql Databaser Elastic Pool.

Returns

Response for long running Azure Sql Database Elastic Pool operation.

Applies to