class Azure::Kusto::Mgmt::V2019_05_15::Models::Database

Class representing a Kusto database.

Attributes

hot_cache_period[RW]

@return [Duration] The time the data should be kept in cache for fast queries in TimeSpan.

location[RW]

@return [String] Resource location.

provisioning_state[RW]

@return [ProvisioningState] The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

soft_delete_period[RW]

@return [Duration] The time the data should be kept before it stops being accessible to queries in TimeSpan.

statistics[RW]

@return [DatabaseStatistics] The statistics of the database.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-05-15/generated/azure_mgmt_kusto/models/database.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Database',
    type: {
      name: 'Composite',
      class_name: 'Database',
      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: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        soft_delete_period: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.softDeletePeriod',
          type: {
            name: 'TimeSpan'
          }
        },
        hot_cache_period: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hotCachePeriod',
          type: {
            name: 'TimeSpan'
          }
        },
        statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.statistics',
          type: {
            name: 'Composite',
            class_name: 'DatabaseStatistics'
          }
        }
      }
    }
  }
end