ElasticPoolUpdate Class

  • 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

Constructor Description
ElasticPoolUpdate()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime creationDate()

Get the creation date of the elastic pool (ISO8601 format).

java.lang.Integer databaseDtuMax()

Get the maximum DTU any one database can consume.

java.lang.Integer databaseDtuMin()

Get the minimum DTU all databases are guaranteed.

java.lang.Integer dtu()

Get the total shared DTU for the database elastic pool.

ElasticPoolEdition edition()

Get the edition of the elastic pool.

ElasticPoolState state()

Get the state of the elastic pool.

java.lang.Integer storageMB()

Get gets storage limit for the database elastic pool in MB.

java.util.Map<java.lang.String,java.lang.String> tags()

Get resource tags.

ElasticPoolUpdate withDatabaseDtuMax(Integer databaseDtuMax)

Set the maximum DTU any one database can consume.

ElasticPoolUpdate withDatabaseDtuMin(Integer databaseDtuMin)

Set the minimum DTU all databases are guaranteed.

ElasticPoolUpdate withDtu(Integer dtu)

Set the total shared DTU for the database elastic pool.

ElasticPoolUpdate withEdition(ElasticPoolEdition edition)

Set the edition of the elastic pool.

ElasticPoolUpdate withStorageMB(Integer storageMB)

Set gets storage limit for the database elastic pool in MB.

ElasticPoolUpdate withTags(Map<String,String> tags)

Set resource tags.

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.

java.lang.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.

Methods inherited from com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ElasticPoolUpdate

public ElasticPoolUpdate()

Method Details

creationDate

public DateTime creationDate()

Get the creation date of the elastic pool (ISO8601 format).

Returns:

the creationDate value

databaseDtuMax

public Integer databaseDtuMax()

Get the maximum DTU any one database can consume.

Returns:

the databaseDtuMax value

databaseDtuMin

public Integer databaseDtuMin()

Get the minimum DTU all databases are guaranteed.

Returns:

the databaseDtuMin value

dtu

public Integer dtu()

Get the total shared DTU for the database elastic pool.

Returns:

the dtu value

edition

public ElasticPoolEdition edition()

Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.

Returns:

the edition value

state

public ElasticPoolState state()

Get the state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'.

Returns:

the state value

storageMB

public Integer storageMB()

Get gets storage limit for the database elastic pool in MB.

Returns:

the storageMB value

tags

public Map tags()

Get resource tags.

Returns:

the tags value

withDatabaseDtuMax

public ElasticPoolUpdate withDatabaseDtuMax(Integer databaseDtuMax)

Set the maximum DTU any one database can consume.

Parameters:

databaseDtuMax - the databaseDtuMax value to set

Returns:

the ElasticPoolUpdate object itself.

withDatabaseDtuMin

public ElasticPoolUpdate withDatabaseDtuMin(Integer databaseDtuMin)

Set the minimum DTU all databases are guaranteed.

Parameters:

databaseDtuMin - the databaseDtuMin value to set

Returns:

the ElasticPoolUpdate object itself.

withDtu

public ElasticPoolUpdate withDtu(Integer dtu)

Set the total shared DTU for the database elastic pool.

Parameters:

dtu - the dtu value to set

Returns:

the ElasticPoolUpdate object itself.

withEdition

public ElasticPoolUpdate withEdition(ElasticPoolEdition edition)

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.

withStorageMB

public ElasticPoolUpdate withStorageMB(Integer storageMB)

Set gets storage limit for the database elastic pool in MB.

Parameters:

storageMB - the storageMB value to set

Returns:

the ElasticPoolUpdate object itself.

withTags

public ElasticPoolUpdate withTags(Map tags)

Set resource tags.

Parameters:

tags - the tags value to set

Returns:

the ElasticPoolUpdate object itself.

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:

zoneRedundant - the zoneRedundant value to set

Returns:

the ElasticPoolUpdate object itself.

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:

the zoneRedundant value

Applies to