class Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString

Connection string for the Cosmos DB account

Attributes

connection_string[RW]

@return [String] Value of the connection string

description[RW]

@return [String] Description of the connection string

Public Class Methods

mapper() click to toggle source

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

# 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