Class: Azure::ARM::Web::Models::ConnStringInfo

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/conn_string_info.rb

Overview

Database connection string information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

Returns Connection string value.

Returns:

  • (String)

    Connection string value.



20
21
22
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 20

def connection_string
  @connection_string
end

#nameString

Returns Name of connection string.

Returns:

  • (String)

    Name of connection string.



17
18
19
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 17

def name
  @name
end

#typeConnectionStringType

include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 25

def type
  @type
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 32

def self.mapper()
  {
    required: false,
    serialized_name: 'ConnStringInfo',
    type: {
      name: 'Composite',
      class_name: 'ConnStringInfo',
      model_properties: {
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        connection_string: {
          required: false,
          serialized_name: 'connectionString',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'ConnectionStringType'
          }
        }
      }
    }
  }
end