Class: Azure::ARM::Web::Models::ConnStringInfo
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::ConnStringInfo
- 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
-
#connection_string ⇒ String
Connection string value.
-
#name ⇒ String
Name of connection string.
-
#type ⇒ ConnectionStringType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnStringInfo class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
Returns 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 |
#name ⇒ String
Returns Name of connection string.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 17 def name @name end |
#type ⇒ ConnectionStringType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’
25 26 27 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_info.rb', line 25 def type @type end |
Class Method Details
.mapper ⇒ Object
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 |