ElasticPoolUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ElasticPoolUpdateProperties
- com.
Implements
public final class ElasticPoolUpdateProperties
implements JsonSerializable<ElasticPoolUpdateProperties>
Properties of an elastic pool.
Constructor Summary
| Constructor | Description |
|---|---|
| ElasticPoolUpdateProperties() |
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 |
|
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 |
withZoneRedundant(Boolean zoneRedundant)
Set the zone |
| Boolean |
zoneRedundant()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
ElasticPoolUpdateProperties
public ElasticPoolUpdateProperties()
Creates an instance of ElasticPoolUpdateProperties class.
Method Details
fromJson
public static ElasticPoolUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ElasticPoolUpdateProperties 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:
toJson
validate
public void validate()
Validates the instance.
withHighAvailabilityReplicaCount
public ElasticPoolUpdateProperties 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 ElasticPoolUpdateProperties withLicenseType(ElasticPoolLicenseType licenseType)
Set the licenseType property: The license type to apply for this elastic pool.
Parameters:
Returns:
withMaintenanceConfigurationId
public ElasticPoolUpdateProperties 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 ElasticPoolUpdateProperties withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.
Parameters:
Returns:
withMinCapacity
public ElasticPoolUpdateProperties withMinCapacity(Double minCapacity)
Set the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.
Parameters:
Returns:
withPerDatabaseSettings
public ElasticPoolUpdateProperties withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
Set the perDatabaseSettings property: The per database settings for the elastic pool.
Parameters:
Returns:
withZoneRedundant
public ElasticPoolUpdateProperties 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: