class Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool

An elastic pool.

Attributes

creation_date[RW]

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

kind[RW]

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

license_type[RW]

@return [ElasticPoolLicenseType] The license type to apply for this elastic pool. Possible values include: 'LicenseIncluded', 'BasePrice'

max_size_bytes[RW]

@return [Integer] The storage limit for the database elastic pool in bytes.

per_database_settings[RW]

@return [ElasticPoolPerDatabaseSettings] The per database settings for the elastic pool.

sku[RW]

@return [Sku] The elastic pool SKU.

The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command:

“`azurecli az sql elastic-pool list-editions -l <location> -o table ““

state[RW]

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

zone_redundant[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool.rb, line 62
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'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        creation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationDate',
          type: {
            name: 'DateTime'
          }
        },
        max_size_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.maxSizeBytes',
          type: {
            name: 'Number'
          }
        },
        per_database_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.perDatabaseSettings',
          type: {
            name: 'Composite',
            class_name: 'ElasticPoolPerDatabaseSettings'
          }
        },
        zone_redundant: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.zoneRedundant',
          type: {
            name: 'Boolean'
          }
        },
        license_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.licenseType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end