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.
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.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, int? autoPauseDelay = default, Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType? preferredEnclaveType = default, Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType? availabilityZone = default, Azure.ResourceManager.Sql.Models.SqlSku currentSku = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, string kind = default);
static member ElasticPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType> * Nullable<Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType> * Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Sql.Models.SqlSku * string -> 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 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 autoPauseDelay As Nullable(Of Integer) = Nothing, Optional preferredEnclaveType As Nullable(Of SqlAlwaysEncryptedEnclaveType) = Nothing, Optional availabilityZone As Nullable(Of SqlAvailabilityZoneType) = Nothing, Optional currentSku As SqlSku = Nothing, Optional sku As SqlSku = Nothing, Optional kind As String = Nothing) As ElasticPoolData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- 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 Business Critical, Premium, or Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.
Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled.
- 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.
- currentSku
- SqlSku
The name and tier of the current SKU.
- 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.
Returns
A new ElasticPoolData instance for mocking.