Class: Azure::Kusto::Mgmt::V2019_09_07::Models::FollowerDatabaseDefinition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb

Overview

A class representing follower database request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attached_database_configuration_nameString

in the follower cluster.

Returns:

  • (String)

    Resource name of the attached database configuration



21
22
23
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb', line 21

def attached_database_configuration_name
  @attached_database_configuration_name
end

#cluster_resource_idString

owned by this cluster.

Returns:

  • (String)

    Resource id of the cluster that follows a database



17
18
19
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb', line 17

def cluster_resource_id
  @cluster_resource_id
end

#database_nameString

followed. * in case following all databases.

Returns:

  • (String)

    The database name owned by this cluster that was



25
26
27
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb', line 25

def database_name
  @database_name
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/2019-09-07/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