Class ElasticPoolUpdate
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.sql.ElasticPoolUpdate
public class ElasticPoolUpdate
extends com.microsoft.azure.ProxyResource
Represents an elastic pool update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Get the creation date of the elastic pool (ISO8601 format).Get the maximum DTU any one database can consume.Get the minimum DTU all databases are guaranteed.dtu()
Get the total shared DTU for the database elastic pool.edition()
Get the edition of the elastic pool.state()
Get the state of the elastic pool.Get gets storage limit for the database elastic pool in MB.tags()
Get resource tags.withDatabaseDtuMax
(Integer databaseDtuMax) Set the maximum DTU any one database can consume.withDatabaseDtuMin
(Integer databaseDtuMin) Set the minimum DTU all databases are guaranteed.Set the total shared DTU for the database elastic pool.withEdition
(ElasticPoolEdition edition) Set the edition of the elastic pool.withStorageMB
(Integer storageMB) Set gets storage limit for the database elastic pool in MB.Set resource tags.withZoneRedundant
(Boolean zoneRedundant) Set whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.Get whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
ElasticPoolUpdate
public ElasticPoolUpdate()
-
-
Method Details
-
tags
Get resource tags.- Returns:
- the tags value
-
withTags
Set resource tags.- Parameters:
tags
- the tags value to set- Returns:
- the ElasticPoolUpdate object itself.
-
creationDate
public org.joda.time.DateTime creationDate()Get the creation date of the elastic pool (ISO8601 format).- Returns:
- the creationDate value
-
state
Get the state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'.- Returns:
- the state value
-
edition
Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.- Returns:
- the edition value
-
withEdition
Set the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.- Parameters:
edition
- the edition value to set- Returns:
- the ElasticPoolUpdate object itself.
-
dtu
Get the total shared DTU for the database elastic pool.- Returns:
- the dtu value
-
withDtu
Set the total shared DTU for the database elastic pool.- Parameters:
dtu
- the dtu value to set- Returns:
- the ElasticPoolUpdate object itself.
-
databaseDtuMax
Get the maximum DTU any one database can consume.- Returns:
- the databaseDtuMax value
-
withDatabaseDtuMax
Set the maximum DTU any one database can consume.- Parameters:
databaseDtuMax
- the databaseDtuMax value to set- Returns:
- the ElasticPoolUpdate object itself.
-
databaseDtuMin
Get the minimum DTU all databases are guaranteed.- Returns:
- the databaseDtuMin value
-
withDatabaseDtuMin
Set the minimum DTU all databases are guaranteed.- Parameters:
databaseDtuMin
- the databaseDtuMin value to set- Returns:
- the ElasticPoolUpdate object itself.
-
storageMB
Get gets storage limit for the database elastic pool in MB.- Returns:
- the storageMB value
-
withStorageMB
Set gets storage limit for the database elastic pool in MB.- Parameters:
storageMB
- the storageMB value to set- Returns:
- the ElasticPoolUpdate object itself.
-
zoneRedundant
Get whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.- Returns:
- the zoneRedundant value
-
withZoneRedundant
Set whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.- Parameters:
zoneRedundant
- the zoneRedundant value to set- Returns:
- the ElasticPoolUpdate object itself.
-