# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Database connection string information. # class ConnStringInfo include MsRestAzure include MsRest::JSONable # @return [String] Name of connection string. attr_accessor :name # @return [String] Connection string value. attr_accessor :connection_string # @return [ConnectionStringType] Type of database. Possible values # include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', # 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL' attr_accessor :type # # Mapper for ConnStringInfo class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end