Aracılığıyla paylaş


ArmSqlModelFactory.ElasticPoolData Method

Definition

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>)
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>)

Initializes a new instance of ElasticPoolData.

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
location
AzureLocation
sku
SqlSku
kind
String
maxSizeBytes
Nullable<Int64>
perDatabaseSettings
ElasticPoolPerDatabaseSettings
isZoneRedundant
Nullable<Boolean>
maintenanceConfigurationId
ResourceIdentifier
highAvailabilityReplicaCount
Nullable<Int32>

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

id
ResourceIdentifier

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 &lt;location&gt; -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).

maxSizeBytes
Nullable<Int64>

The storage limit for the database elastic pool in bytes.

minCapacity
Nullable<Double>

Minimal capacity that serverless pool will not shrink below, if not paused.

perDatabaseSettings
ElasticPoolPerDatabaseSettings

The per database settings for the elastic pool.

isZoneRedundant
Nullable<Boolean>

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.

highAvailabilityReplicaCount
Nullable<Int32>

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