class Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool

Represents a database elastic pool.

Attributes

creation_date[RW]

@return [DateTime] The creation date of the elastic pool (ISO8601 format).

database_dtu_max[RW]

@return [Integer] The maximum DTU any one database can consume.

database_dtu_min[RW]

@return [Integer] The minimum DTU all databases are guaranteed.

dtu[RW]

@return [Integer] The total shared DTU for the database elastic pool.

edition[RW]

@return [ElasticPoolEdition] The edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'

kind[RW]

@return [String] Kind of elastic pool. This is metadata used for the Azure portal experience.

state[RW]

@return [ElasticPoolState] The state of the elastic pool. Possible values include: 'Creating', 'Ready', 'Disabled'

storage_mb[RW]

@return [Integer] Gets storage limit for the database elastic pool in MB.

zone_redundant[RW]

@return [Boolean] Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones.

Public Class Methods

mapper() click to toggle source

Mapper for ElasticPool class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ElasticPool',
    type: {
      name: 'Composite',
      class_name: 'ElasticPool',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        creation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationDate',
          type: {
            name: 'DateTime'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        edition: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.edition',
          type: {
            name: 'String'
          }
        },
        dtu: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dtu',
          type: {
            name: 'Number'
          }
        },
        database_dtu_max: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.databaseDtuMax',
          type: {
            name: 'Number'
          }
        },
        database_dtu_min: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.databaseDtuMin',
          type: {
            name: 'Number'
          }
        },
        storage_mb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageMB',
          type: {
            name: 'Number'
          }
        },
        zone_redundant: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.zoneRedundant',
          type: {
            name: 'Boolean'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end