Class: Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
- 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
-
#connection_string ⇒ String
Value of the connection string.
-
#description ⇒ String
Description of the connection string.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatabaseAccountConnectionString class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
Returns 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 |
#description ⇒ String
Returns 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
.mapper ⇒ Object
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 |