Class: Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/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.



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb', line 19

def connection_string
  @connection_string
end

#nameString

Returns Name of connection string.

Returns:

  • (String)

    Name of connection string.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb', line 16

def name
  @name
end

#typeConnectionStringType

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

Returns:



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb', line 31

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