Class ElasticPoolUpdate
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.ElasticPoolUpdate
-
public class ElasticPoolUpdate extends Object
An elastic pool update.
-
-
Constructor Summary
Constructors Constructor Description ElasticPoolUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticPoolLicenseTypelicenseType()Get the licenseType property: The license type to apply for this elastic pool.LongmaxSizeBytes()Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.ElasticPoolPerDatabaseSettingsperDatabaseSettings()Get the perDatabaseSettings property: The per database settings for the elastic pool.Skusku()Get the sku property: An ARM Resource SKU.Map<String,String>tags()Get the tags property: Resource tags.voidvalidate()Validates the instance.ElasticPoolUpdatewithLicenseType(ElasticPoolLicenseType licenseType)Set the licenseType property: The license type to apply for this elastic pool.ElasticPoolUpdatewithMaxSizeBytes(Long maxSizeBytes)Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.ElasticPoolUpdatewithPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)Set the perDatabaseSettings property: The per database settings for the elastic pool.ElasticPoolUpdatewithSku(Sku sku)Set the sku property: An ARM Resource SKU.ElasticPoolUpdatewithTags(Map<String,String> tags)Set the tags property: Resource tags.ElasticPoolUpdatewithZoneRedundant(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.BooleanzoneRedundant()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.
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: An ARM Resource SKU.- Returns:
- the sku value.
-
withSku
public ElasticPoolUpdate withSku(Sku sku)
Set the sku property: An ARM Resource SKU.- Parameters:
sku- the sku value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ElasticPoolUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags- the tags value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
maxSizeBytes
public Long maxSizeBytes()
Get the maxSizeBytes property: The storage limit for the database elastic pool in bytes.- Returns:
- the maxSizeBytes value.
-
withMaxSizeBytes
public ElasticPoolUpdate withMaxSizeBytes(Long maxSizeBytes)
Set the maxSizeBytes property: The storage limit for the database elastic pool in bytes.- Parameters:
maxSizeBytes- the maxSizeBytes value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
perDatabaseSettings
public ElasticPoolPerDatabaseSettings perDatabaseSettings()
Get the perDatabaseSettings property: The per database settings for the elastic pool.- Returns:
- the perDatabaseSettings value.
-
withPerDatabaseSettings
public ElasticPoolUpdate withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings)
Set the perDatabaseSettings property: The per database settings for the elastic pool.- Parameters:
perDatabaseSettings- the perDatabaseSettings value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
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:
- the zoneRedundant value.
-
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:
zoneRedundant- the zoneRedundant value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
licenseType
public ElasticPoolLicenseType licenseType()
Get the licenseType property: The license type to apply for this elastic pool.- Returns:
- the licenseType value.
-
withLicenseType
public ElasticPoolUpdate withLicenseType(ElasticPoolLicenseType licenseType)
Set the licenseType property: The license type to apply for this elastic pool.- Parameters:
licenseType- the licenseType value to set.- Returns:
- the ElasticPoolUpdate object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-