class Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase

A recoverable database

Attributes

edition[RW]

@return [String] The edition of the database

elastic_pool_name[RW]

@return [String] The elastic pool name of the database

last_available_backup_date[RW]

@return [DateTime] The last available backup date of the database (ISO8601 format)

service_level_objective[RW]

@return [String] The service level objective name of the database

Private Class Methods

mapper() click to toggle source

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

# File lib/2014-04-01/generated/azure_mgmt_sql/models/recoverable_database.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RecoverableDatabase',
    type: {
      name: 'Composite',
      class_name: 'RecoverableDatabase',
      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'
          }
        },
        edition: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.edition',
          type: {
            name: 'String'
          }
        },
        service_level_objective: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.serviceLevelObjective',
          type: {
            name: 'String'
          }
        },
        elastic_pool_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.elasticPoolName',
          type: {
            name: 'String'
          }
        },
        last_available_backup_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastAvailableBackupDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end