Class: Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb

Overview

Connection string for the Cosmos DB account

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

Returns Value of the connection string.

Returns:

  • (String)

    Value of the connection string



16
17
18
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb', line 16

def connection_string
  @connection_string
end

#descriptionString

Returns Description of the connection string.

Returns:

  • (String)

    Description of the connection string



19
20
21
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb', line 19

def description
  @description
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
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
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DatabaseAccountConnectionString',
    type: {
      name: 'Composite',
      class_name: 'DatabaseAccountConnectionString',
      model_properties: {
        connection_string: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'connectionString',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end