Sha256: a73af46c77a1769b4bc1d001777fd664160b2e899f54fc0a51c3f6ca7154b9e1

Contents?: true

Size: 1.6 KB

Versions: 11

Compression:

Stored size: 1.6 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Cosmosdb::Mgmt::V2015_04_08
  module Models
    #
    # Connection string for the Cosmos DB account
    #
    class DatabaseAccountConnectionString

      include MsRestAzure

      # @return [String] Value of the connection string
      attr_accessor :connection_string

      # @return [String] Description of the connection string
      attr_accessor :description


      #
      # Mapper for DatabaseAccountConnectionString class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.24.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.23.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.22.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.21.2 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.21.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.21.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.20.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.19.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.18.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb
azure_mgmt_cosmosdb-0.17.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb