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

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

Overview

Represents 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/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/generated/azure_mgmt_web/models/conn_string_info.rb', line 16

def name
  @name
end

#typeDatabaseServerType

include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’

Returns:



23
24
25
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 23

def type
  @type
end

Class Method Details

.mapperObject

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



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

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: true,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'DatabaseServerType'
          }
        }
      }
    }
  }
end