ArmSqlModelFactory.ElasticPoolData 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.
Overloads
ElasticPoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<ElasticPoolState>, Nullable<DateTimeOffset>, Nullable<Int64>, ElasticPoolPerDatabaseSettings, Nullable<Boolean>, Nullable<ElasticPoolLicenseType>, ResourceIdentifier, Nullable<Int32>)
- Source:
- ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.ElasticPoolData ElasticPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, string kind = default, Azure.ResourceManager.Sql.Models.ElasticPoolState? state = default, DateTimeOffset? createdOn = default, long? maxSizeBytes = default, Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseSettings perDatabaseSettings = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.ElasticPoolLicenseType? licenseType = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, int? highAvailabilityReplicaCount = default);
static member ElasticPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Sql.Models.SqlSku * string * Nullable<Azure.ResourceManager.Sql.Models.ElasticPoolState> * Nullable<DateTimeOffset> * Nullable<int64> * Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseSettings * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.ElasticPoolLicenseType> * Azure.Core.ResourceIdentifier * Nullable<int> -> Azure.ResourceManager.Sql.ElasticPoolData
Public Shared Function ElasticPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As SqlSku = Nothing, Optional kind As String = Nothing, Optional state As Nullable(Of ElasticPoolState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional perDatabaseSettings As ElasticPoolPerDatabaseSettings = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As Nullable(Of ElasticPoolLicenseType) = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing) As ElasticPoolData
Parameters
- name
- String
- resourceType
- ResourceType
- systemData
- SystemData
- tags
- IDictionary<String,String>
- location
- AzureLocation
- sku
- SqlSku
- kind
- String
- state
- Nullable<ElasticPoolState>
- createdOn
- Nullable<DateTimeOffset>
- perDatabaseSettings
- ElasticPoolPerDatabaseSettings
- licenseType
- Nullable<ElasticPoolLicenseType>
- maintenanceConfigurationId
- ResourceIdentifier
Returns
Applies to
ElasticPoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, String, Nullable<ElasticPoolState>, Nullable<DateTimeOffset>, Nullable<Int64>, Nullable<Double>, ElasticPoolPerDatabaseSettings, Nullable<Boolean>, Nullable<ElasticPoolLicenseType>, ResourceIdentifier, Nullable<Int32>, Nullable<SqlAlwaysEncryptedEnclaveType>, Nullable<SqlAvailabilityZoneType>)
- Source:
- ArmSqlModelFactory.cs
Initializes a new instance of ElasticPoolData.
public static Azure.ResourceManager.Sql.ElasticPoolData ElasticPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, string kind = default, Azure.ResourceManager.Sql.Models.ElasticPoolState? state = default, DateTimeOffset? createdOn = default, long? maxSizeBytes = default, double? minCapacity = default, Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseSettings perDatabaseSettings = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.ElasticPoolLicenseType? licenseType = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, int? highAvailabilityReplicaCount = default, Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType? preferredEnclaveType = default, Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType? availabilityZone = default);
static member ElasticPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Sql.Models.SqlSku * string * Nullable<Azure.ResourceManager.Sql.Models.ElasticPoolState> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<double> * Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseSettings * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.ElasticPoolLicenseType> * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType> * Nullable<Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType> -> Azure.ResourceManager.Sql.ElasticPoolData
Public Shared Function ElasticPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As SqlSku = Nothing, Optional kind As String = Nothing, Optional state As Nullable(Of ElasticPoolState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional minCapacity As Nullable(Of Double) = Nothing, Optional perDatabaseSettings As ElasticPoolPerDatabaseSettings = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As Nullable(Of ElasticPoolLicenseType) = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing, Optional preferredEnclaveType As Nullable(Of SqlAlwaysEncryptedEnclaveType) = Nothing, Optional availabilityZone As Nullable(Of SqlAvailabilityZoneType) = Nothing) As ElasticPoolData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- sku
- SqlSku
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:
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
- Nullable<ElasticPoolState>
The state of the elastic pool.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the elastic pool (ISO8601 format).
Minimal capacity that serverless pool will not shrink below, if not paused.
- 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
- Nullable<ElasticPoolLicenseType>
The license type to apply for this elastic pool.
- maintenanceConfigurationId
- ResourceIdentifier
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. Applicable only to Hyperscale elastic pools.
- preferredEnclaveType
- Nullable<SqlAlwaysEncryptedEnclaveType>
Type of enclave requested on the elastic pool.
- availabilityZone
- Nullable<SqlAvailabilityZoneType>
Specifies the availability zone the pool's primary replica is pinned to.
Returns
A new ElasticPoolData instance for mocking.
Applies to
Azure SDK for .NET