Class: Azure::ARM::Web::Models::ConnStringInfo
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::ConnStringInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/conn_string_info.rb
Overview
Represents database connection string information
Instance Attribute Summary collapse
-
#connection_string ⇒ String
Connection string value.
-
#name ⇒ String
Name of connection string.
-
#type ⇒ DatabaseServerType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnStringInfo class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
Returns 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 |
#name ⇒ String
Returns Name of connection string.
16 17 18 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 16 def name @name end |
#type ⇒ DatabaseServerType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’
23 24 25 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
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 |