ElasticPoolUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ElasticPoolUpdate
- com.
Implements
public final class ElasticPoolUpdate
implements JsonSerializable<ElasticPoolUpdate>
An elastic pool update.
Constructor Summary
| Constructor | Description |
|---|---|
| ElasticPoolUpdate() |
Creates an instance of Elastic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Elastic |
fromJson(JsonReader jsonReader)
Reads an instance of Elastic |
| Integer |
highAvailabilityReplicaCount()
Get the high |
|
Elastic |
licenseType()
Get the license |
| String |
maintenanceConfigurationId()
Get the maintenance |
| Long |
maxSizeBytes()
Get the max |
| Double |
minCapacity()
Get the min |
|
Elastic |
perDatabaseSettings()
Get the per |
| Sku |
sku()
Get the sku property: An ARM Resource SKU. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Elastic |
withHighAvailabilityReplicaCount(Integer highAvailabilityReplicaCount)
Set the high |
|
Elastic |
withLicenseType(ElasticPoolLicenseType licenseType)
Set the license |
|
Elastic |
withMaintenanceConfigurationId(String maintenanceConfigurationId)
Set the maintenance |
|
Elastic |
withMaxSizeBytes(Long maxSizeBytes)
Set the max |
|
Elastic |
withMinCapacity(Double minCapacity)
Set the min |
|
Elastic |
withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
Set the per |
|
Elastic |
withSku(Sku sku)
Set the sku property: An ARM Resource SKU. |
|
Elastic |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Elastic |
withZoneRedundant(Boolean zoneRedundant)
Set the zone |
| Boolean |
zoneRedundant()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
ElasticPoolUpdate
public ElasticPoolUpdate()
Creates an instance of ElasticPoolUpdate class.
Method Details
fromJson
public static ElasticPoolUpdate fromJson(JsonReader jsonReader)
Reads an instance of ElasticPoolUpdate from the JsonReader.
Parameters:
Returns:
Throws:
highAvailabilityReplicaCount
public Integer highAvailabilityReplicaCount()
Get the highAvailabilityReplicaCount property: The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.
Returns:
licenseType
public ElasticPoolLicenseType licenseType()
Get the licenseType property: The license type to apply for this elastic pool.
Returns:
maintenanceConfigurationId
public String maintenanceConfigurationId()
Get the maintenanceConfigurationId property: Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.
Returns:
maxSizeBytes
public Long maxSizeBytes()
Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.
Returns:
minCapacity
public Double minCapacity()
Get the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.
Returns:
perDatabaseSettings
public ElasticPoolPerDatabaseSettings perDatabaseSettings()
Get the perDatabaseSettings property: The per database settings for the elastic pool.
Returns:
sku
public Sku sku()
Get the sku property: An ARM Resource SKU.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHighAvailabilityReplicaCount
public ElasticPoolUpdate withHighAvailabilityReplicaCount(Integer highAvailabilityReplicaCount)
Set the highAvailabilityReplicaCount property: The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.
Parameters:
Returns:
withLicenseType
public ElasticPoolUpdate withLicenseType(ElasticPoolLicenseType licenseType)
Set the licenseType property: The license type to apply for this elastic pool.
Parameters:
Returns:
withMaintenanceConfigurationId
public ElasticPoolUpdate withMaintenanceConfigurationId(String maintenanceConfigurationId)
Set the maintenanceConfigurationId property: Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.
Parameters:
Returns:
withMaxSizeBytes
public ElasticPoolUpdate withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.
Parameters:
Returns:
withMinCapacity
public ElasticPoolUpdate withMinCapacity(Double minCapacity)
Set the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.
Parameters:
Returns:
withPerDatabaseSettings
public ElasticPoolUpdate withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
Set the perDatabaseSettings property: The per database settings for the elastic pool.
Parameters:
Returns:
withSku
public ElasticPoolUpdate withSku(Sku sku)
Set the sku property: An ARM Resource SKU.
Parameters:
Returns:
withTags
public ElasticPoolUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withZoneRedundant
public ElasticPoolUpdate 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.
Parameters:
Returns:
zoneRedundant
public 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.
Returns: