public class ElasticPoolInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ElasticPoolInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
creationDate()
Get the creationDate property: The creation date of the elastic pool (ISO8601 format).
|
String |
kind()
Get the kind property: Kind of elastic pool.
|
ElasticPoolLicenseType |
licenseType()
Get the licenseType property: The license type to apply for this elastic pool.
|
Long |
maxSizeBytes()
Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.
|
ElasticPoolPerDatabaseSettings |
perDatabaseSettings()
Get the perDatabaseSettings property: The per database settings for the elastic pool.
|
Sku |
sku()
Get the sku property: The elastic pool SKU.
|
ElasticPoolState |
state()
Get the state property: The state of the elastic pool.
|
void |
validate()
Validates the instance.
|
ElasticPoolInner |
withLicenseType(ElasticPoolLicenseType licenseType)
Set the licenseType property: The license type to apply for this elastic pool.
|
ElasticPoolInner |
withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.
|
ElasticPoolInner |
withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
Set the perDatabaseSettings property: The per database settings for the elastic pool.
|
ElasticPoolInner |
withSku(Sku sku)
Set the sku property: The elastic pool SKU.
|
ElasticPoolInner |
withZoneRedundant(Boolean zoneRedundant)
Set the zoneRedundant property: Whether or not this elastic pool is zone redundant, which means the replicas of
this elastic pool will be spread across multiple availability zones.
|
Boolean |
zoneRedundant()
Get the zoneRedundant property: Whether or not this elastic pool is zone redundant, which means the replicas of
this elastic pool will be spread across multiple availability zones.
|
public 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 ````.
public ElasticPoolInner withSku(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 ````.
sku - the sku value to set.public String kind()
public ElasticPoolState state()
public OffsetDateTime creationDate()
public Long maxSizeBytes()
public ElasticPoolInner withMaxSizeBytes(Long maxSizeBytes)
maxSizeBytes - the maxSizeBytes value to set.public ElasticPoolPerDatabaseSettings perDatabaseSettings()
public ElasticPoolInner withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
perDatabaseSettings - the perDatabaseSettings value to set.public Boolean zoneRedundant()
public ElasticPoolInner withZoneRedundant(Boolean zoneRedundant)
zoneRedundant - the zoneRedundant value to set.public ElasticPoolLicenseType licenseType()
public ElasticPoolInner withLicenseType(ElasticPoolLicenseType licenseType)
licenseType - the licenseType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.