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 Details

    • ElasticPoolUpdate

      public ElasticPoolUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get resource tags.
      Returns:
      the tags value
    • withTags

      public ElasticPoolUpdate withTags(Map<String,String> tags)
      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

      public ElasticPoolState state()
      Get the state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'.
      Returns:
      the state value
    • edition

      public ElasticPoolEdition edition()
      Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
      Returns:
      the edition value
    • 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.
    • dtu

      public Integer dtu()
      Get the total shared DTU for the database elastic pool.
      Returns:
      the dtu value
    • 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.
    • databaseDtuMax

      public Integer databaseDtuMax()
      Get the maximum DTU any one database can consume.
      Returns:
      the databaseDtuMax 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.
    • databaseDtuMin

      public Integer databaseDtuMin()
      Get the minimum DTU all databases are guaranteed.
      Returns:
      the databaseDtuMin value
    • 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.
    • storageMB

      public Integer storageMB()
      Get gets storage limit for the database elastic pool in MB.
      Returns:
      the storageMB value
    • 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.
    • 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
    • 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.