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 |
|---|---|
| Integer |
autoPauseDelay()
Get the auto |
|
Availability |
availabilityZone()
Get the availability |
|
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 |
|
Always |
preferredEnclaveType()
Get the preferred |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Elastic |
withAutoPauseDelay(Integer autoPauseDelay)
Set the auto |
|
Elastic |
withAvailabilityZone(AvailabilityZoneType availabilityZone)
Set the availability |
|
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 |
withPreferredEnclaveType(AlwaysEncryptedEnclaveType preferredEnclaveType)
Set the preferred |
|
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
autoPauseDelay
public Integer autoPauseDelay()
Get the autoPauseDelay property: Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled.
Returns:
availabilityZone
public AvailabilityZoneType availabilityZone()
Get the availabilityZone property: Specifies the availability zone the pool's primary replica is pinned to.
Returns:
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 Business Critical, Premium, or Hyperscale edition 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:
preferredEnclaveType
public AlwaysEncryptedEnclaveType preferredEnclaveType()
Get the preferredEnclaveType property: Type of enclave requested on the elastic pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutoPauseDelay
public ElasticPoolUpdateProperties withAutoPauseDelay(Integer autoPauseDelay)
Set the autoPauseDelay property: Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled.
Parameters:
Returns:
withAvailabilityZone
public ElasticPoolUpdateProperties withAvailabilityZone(AvailabilityZoneType availabilityZone)
Set the availabilityZone property: Specifies the availability zone the pool's primary replica is pinned to.
Parameters:
Returns:
withHighAvailabilityReplicaCount
public ElasticPoolUpdateProperties withHighAvailabilityReplicaCount(Integer highAvailabilityReplicaCount)
Set the highAvailabilityReplicaCount property: 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.
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:
withPreferredEnclaveType
public ElasticPoolUpdateProperties withPreferredEnclaveType(AlwaysEncryptedEnclaveType preferredEnclaveType)
Set the preferredEnclaveType property: Type of enclave requested on 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: