Sha256: 1c093973db3c9a9c72be7335dad705250bd2827b9697363d96488cc1f22ef2a8

Contents?: true

Size: 1.95 KB

Versions: 10

Compression:

Stored size: 1.95 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::Web::Mgmt::V2015_04_01
  module Models
    #
    # Database connection string information.
    #
    class ConnStringInfo

      include MsRestAzure

      # @return [String] Name of connection string.
      attr_accessor :name

      # @return [String] Connection string value.
      attr_accessor :connection_string

      # @return [ConnectionStringType] Type of database. Possible values
      # include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub',
      # 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'
      attr_accessor :type


      #
      # Mapper for ConnStringInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConnStringInfo',
          type: {
            name: 'Composite',
            class_name: 'ConnStringInfo',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              connection_string: {
                client_side_validation: true,
                required: false,
                serialized_name: 'connectionString',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'Enum',
                  module: 'ConnectionStringType'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.18.0 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.6 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.5 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.4 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.3 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.2 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.1 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.17.0 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
azure_mgmt_web-0.16.0 lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb