ElasticPool Constructors
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.
Overloads
ElasticPool() |
Initializes a new instance of the ElasticPool class. |
ElasticPool(String, String, String, String, IDictionary<String, String>, Sku, String, String, Nullable<DateTime>, Nullable<Int64>, ElasticPoolPerDatabaseSettings, Nullable<Boolean>, String, String, Nullable<Int32>) |
Initializes a new instance of the ElasticPool class. |
ElasticPool()
Initializes a new instance of the ElasticPool class.
public ElasticPool ();
Public Sub New ()
Applies to
ElasticPool(String, String, String, String, IDictionary<String, String>, Sku, String, String, Nullable<DateTime>, Nullable<Int64>, ElasticPoolPerDatabaseSettings, Nullable<Boolean>, String, String, Nullable<Int32>)
Initializes a new instance of the ElasticPool class.
public ElasticPool (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Sql.Models.Sku sku = default, string kind = default, string state = default, DateTime? creationDate = default, long? maxSizeBytes = default, Microsoft.Azure.Management.Sql.Models.ElasticPoolPerDatabaseSettings perDatabaseSettings = default, bool? zoneRedundant = default, string licenseType = default, string maintenanceConfigurationId = default, int? highAvailabilityReplicaCount = default);
new Microsoft.Azure.Management.Sql.Models.ElasticPool : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Sql.Models.Sku * string * string * Nullable<DateTime> * Nullable<int64> * Microsoft.Azure.Management.Sql.Models.ElasticPoolPerDatabaseSettings * Nullable<bool> * string * string * Nullable<int> -> Microsoft.Azure.Management.Sql.Models.ElasticPool
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional kind As String = Nothing, Optional state As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional perDatabaseSettings As ElasticPoolPerDatabaseSettings = Nothing, Optional zoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As String = Nothing, Optional maintenanceConfigurationId As String = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing)
Parameters
- location
- String
Resource location.
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- tags
- IDictionary<String,String>
Resource tags.
- sku
- Sku
The elastic pool SKU.
The list of SKUs may vary by region and support offer. To determine
the SKUs (including the SKU name, tier/edition, family, and
capacity) that are available to your subscription in an Azure
region, use the `Capabilities_ListByLocation` REST API or the
following command:
```azurecli
az sql elastic-pool list-editions -l <location> -o table
````
- kind
- String
Kind of elastic pool. This is metadata used for the Azure portal experience.
- state
- String
The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'
- perDatabaseSettings
- ElasticPoolPerDatabaseSettings
The per database settings for the elastic pool.
Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones.
- licenseType
- String
The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice'
- maintenanceConfigurationId
- String
Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.
The number of secondary replicas associated with the elastic pool that are used to provide high availability.