class Azure::Kusto::Mgmt::V2020_02_15::Models::ReadOnlyFollowingDatabase
Class representing a read only following database.
Attributes
@return [String] The name of the attached database configuration cluster
@return [Duration] The time the data should be kept in cache for fast queries in TimeSpan.
@return [String] The name of the leader cluster
@return [PrincipalsModificationKind] The principals modification kind of the database. Possible values include: 'Union', 'Replace', 'None'
@return [ProvisioningState] The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
@return [Duration] The time the data should be kept before it stops being accessible to queries in TimeSpan.
@return [DatabaseStatistics] The statistics of the database.
Public Class Methods
Mapper for ReadOnlyFollowingDatabase
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-02-15/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
# File lib/2020-02-15/generated/azure_mgmt_kusto/models/read_only_following_database.rb, line 16 def initialize @kind = "ReadOnlyFollowing" end