你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ElasticPool 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ElasticPool()
初始化 ElasticPool 类的新实例。
public ElasticPool ();
Public Sub New ()
适用于
ElasticPool(String, String, String, String, IDictionary<String, String>, Sku, String, String, Nullable<DateTime>, Nullable<Int64>, ElasticPoolPerDatabaseSettings, Nullable<Boolean>, String, String, Nullable<Int32>)
初始化 ElasticPool 类的新实例。
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)
参数
- location
- String
资源位置。
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- tags
- IDictionary<String,String>
资源标记。
- sku
- Sku
弹性池 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
弹性池的类型。 这是用于Azure 门户体验的元数据。
- state
- String
弹性池的状态。 可能的值包括:“Create”、“Ready”、“Disabled”
- perDatabaseSettings
- ElasticPoolPerDatabaseSettings
弹性池的每个数据库设置。
- licenseType
- String
要应用于此弹性池的许可证类型。 可能的值包括:“LicenseIncluded”、“BasePrice”
- maintenanceConfigurationId
- String
分配给弹性池的维护配置 ID。 此配置定义将发生维护更新的时间段。