class Azure::Kusto::Mgmt::V2019_11_09::Models::ReadOnlyFollowingDatabase

Class representing a read only following database.

Attributes

attached_database_configuration_name[RW]

@return [String] The name of the attached database configuration cluster

hot_cache_period[RW]

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

kind[RW]
leader_cluster_resource_id[RW]

@return [String] The name of the leader cluster

principals_modification_kind[RW]

@return [PrincipalsModificationKind] The principals modification kind of the database. Possible values include: 'Union', 'Replace', 'None'

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 ReadOnlyFollowingDatabase class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-11-09/generated/azure_mgmt_kusto/models/read_only_following_database.rb, line 54
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReadOnlyFollowing',
    type: {
      name: 'Composite',
      class_name: 'ReadOnlyFollowingDatabase',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          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,
          read_only: true,
          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'
          }
        },
        leader_cluster_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.leaderClusterResourceId',
          type: {
            name: 'String'
          }
        },
        attached_database_configuration_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.attachedDatabaseConfigurationName',
          type: {
            name: 'String'
          }
        },
        principals_modification_kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.principalsModificationKind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-11-09/generated/azure_mgmt_kusto/models/read_only_following_database.rb, line 16
def initialize
  @kind = "ReadOnlyFollowing"
end