Class ElasticPoolUpdateProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ElasticPoolUpdateProperties
Properties of an elastic pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticPoolUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the highAvailabilityReplicaCount property: The number of secondary replicas associated with the elastic pool that are used to provide high availability.Get the licenseType property: The license type to apply for this elastic pool.Get the maintenanceConfigurationId property: Maintenance configuration id assigned to the elastic pool.Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.Get the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.Get the perDatabaseSettings property: The per database settings for the elastic pool.voidvalidate()Validates the instance.withHighAvailabilityReplicaCount(Integer highAvailabilityReplicaCount) Set the highAvailabilityReplicaCount property: The number of secondary replicas associated with the elastic pool that are used to provide high availability.withLicenseType(ElasticPoolLicenseType licenseType) Set the licenseType property: The license type to apply for this elastic pool.withMaintenanceConfigurationId(String maintenanceConfigurationId) Set the maintenanceConfigurationId property: Maintenance configuration id assigned to the elastic pool.withMaxSizeBytes(Long maxSizeBytes) Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.withMinCapacity(Double minCapacity) Set the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings) Set the perDatabaseSettings property: The per database settings for the elastic pool.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.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.
-
Constructor Details
-
ElasticPoolUpdateProperties
public ElasticPoolUpdateProperties()Creates an instance of ElasticPoolUpdateProperties class.
-
-
Method Details
-
maxSizeBytes
Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.- Returns:
- the maxSizeBytes value.
-
withMaxSizeBytes
Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.- Parameters:
maxSizeBytes- the maxSizeBytes value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
minCapacity
Get the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.- Returns:
- the minCapacity value.
-
withMinCapacity
Set the minCapacity property: Minimal capacity that serverless pool will not shrink below, if not paused.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
perDatabaseSettings
Get the perDatabaseSettings property: The per database settings for the elastic pool.- Returns:
- the perDatabaseSettings value.
-
withPerDatabaseSettings
public ElasticPoolUpdateProperties withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings) Set the perDatabaseSettings property: The per database settings for the elastic pool.- Parameters:
perDatabaseSettings- the perDatabaseSettings value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
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:
- the zoneRedundant value.
-
withZoneRedundant
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:
zoneRedundant- the zoneRedundant value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
licenseType
Get the licenseType property: The license type to apply for this elastic pool.- Returns:
- the licenseType value.
-
withLicenseType
Set the licenseType property: The license type to apply for this elastic pool.- Parameters:
licenseType- the licenseType value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
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:
- the maintenanceConfigurationId value.
-
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:
maintenanceConfigurationId- the maintenanceConfigurationId value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
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:
- the highAvailabilityReplicaCount value.
-
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:
highAvailabilityReplicaCount- the highAvailabilityReplicaCount value to set.- Returns:
- the ElasticPoolUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-