class Azure::Kusto::Mgmt::V2020_02_15::Models::FollowerDatabaseDefinition

A class representing follower database request.

Attributes

attached_database_configuration_name[RW]

@return [String] Resource name of the attached database configuration in the follower cluster.

cluster_resource_id[RW]

@return [String] Resource id of the cluster that follows a database owned by this cluster.

database_name[RW]

@return [String] The database name owned by this cluster that was followed. * in case following all databases.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_definition.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FollowerDatabaseDefinition',
    type: {
      name: 'Composite',
      class_name: 'FollowerDatabaseDefinition',
      model_properties: {
        cluster_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clusterResourceId',
          type: {
            name: 'String'
          }
        },
        attached_database_configuration_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'attachedDatabaseConfigurationName',
          type: {
            name: 'String'
          }
        },
        database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'databaseName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end