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, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Sql.Models.ElasticPoolState? state, DateTimeOffset? createdOn, long? maxSizeBytes, double? minCapacity, Azure.ResourceManager.Sql.Models.ElasticPoolPerDatabaseSettings perDatabaseSettings, bool? isZoneRedundant, Azure.ResourceManager.Sql.Models.ElasticPoolLicenseType? licenseType, Azure.Core.ResourceIdentifier maintenanceConfigurationId, int? highAvailabilityReplicaCount, int? autoPauseDelay, Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType? preferredEnclaveType, Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType? availabilityZone, Azure.ResourceManager.Sql.Models.SqlSku currentSku, Azure.ResourceManager.Sql.Models.SqlSku sku, string kind);
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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, state As Nullable(Of ElasticPoolState), createdOn As Nullable(Of DateTimeOffset), maxSizeBytes As Nullable(Of Long), minCapacity As Nullable(Of Double), perDatabaseSettings As ElasticPoolPerDatabaseSettings, isZoneRedundant As Nullable(Of Boolean), licenseType As Nullable(Of ElasticPoolLicenseType), maintenanceConfigurationId As ResourceIdentifier, highAvailabilityReplicaCount As Nullable(Of Integer), autoPauseDelay As Nullable(Of Integer), preferredEnclaveType As Nullable(Of SqlAlwaysEncryptedEnclaveType), availabilityZone As Nullable(Of SqlAvailabilityZoneType), currentSku As SqlSku, sku As SqlSku, kind As String) 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.