ElasticPoolUpdate Class
- java.
lang. Object - ProxyResource
- com.
microsoft. azure. management. sql. ElasticPoolUpdate
- com.
public class ElasticPoolUpdate
Represents an elastic pool update.
Method Summary
Modifier and Type | Method and Description |
---|---|
DateTime |
creationDate()
Get the creation date of the elastic pool (ISO8601 format). |
Integer |
databaseDtuMax()
Get the maximum DTU any one database can consume. |
Integer |
databaseDtuMin()
Get the minimum DTU all databases are guaranteed. |
Integer |
dtu()
Get the total shared DTU for the database elastic pool. |
Elastic |
edition()
Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'. |
Elastic |
state()
Get the state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'. |
Integer |
storageMB()
Get gets storage limit for the database elastic pool in MB. |
Map<String, String> |
tags()
Get resource tags. |
Elastic |
withDatabaseDtuMax(Integer databaseDtuMax)
Set the maximum DTU any one database can consume. |
Elastic |
withDatabaseDtuMin(Integer databaseDtuMin)
Set the minimum DTU all databases are guaranteed. |
Elastic |
withDtu(Integer dtu)
Set the total shared DTU for the database elastic pool. |
Elastic |
withEdition(ElasticPoolEdition edition)
Set the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'. |
Elastic |
withStorageMB(Integer storageMB)
Set gets storage limit for the database elastic pool in MB. |
Elastic |
withTags(Map<String, String> tags)
Set resource tags. |
Elastic |
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. |
Boolean |
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. |
Method Details
creationDate
public DateTime creationDate()
Get the creation date of the elastic pool (ISO8601 format).
Returns:
databaseDtuMax
public Integer databaseDtuMax()
Get the maximum DTU any one database can consume.
Returns:
databaseDtuMin
public Integer databaseDtuMin()
Get the minimum DTU all databases are guaranteed.
Returns:
dtu
public Integer dtu()
Get the total shared DTU for the database elastic pool.
Returns:
edition
public ElasticPoolEdition edition()
Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
Returns:
state
public ElasticPoolState state()
Get the state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'.
Returns:
storageMB
public Integer storageMB()
Get gets storage limit for the database elastic pool in MB.
Returns:
tags
public Map
Get resource tags.
Returns:
withDatabaseDtuMax
public ElasticPoolUpdate withDatabaseDtuMax(Integer databaseDtuMax)
Set the maximum DTU any one database can consume.
Parameters:
Returns:
withDatabaseDtuMin
public ElasticPoolUpdate withDatabaseDtuMin(Integer databaseDtuMin)
Set the minimum DTU all databases are guaranteed.
Parameters:
Returns:
withDtu
public ElasticPoolUpdate withDtu(Integer dtu)
Set the total shared DTU for the database elastic pool.
Parameters:
Returns:
withEdition
public ElasticPoolUpdate withEdition(ElasticPoolEdition edition)
Set the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
Parameters:
Returns:
withStorageMB
public ElasticPoolUpdate withStorageMB(Integer storageMB)
Set gets storage limit for the database elastic pool in MB.
Parameters:
Returns:
withTags
public ElasticPoolUpdate withTags(Map
Set resource tags.
Parameters:
Returns:
withZoneRedundant
public ElasticPoolUpdate 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.
Parameters:
Returns:
zoneRedundant
public Boolean 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:
Applies to
Azure SDK for Java