Class: Azure::Postgresql::Mgmt::V2017_12_01_preview::Models::Configuration
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::Postgresql::Mgmt::V2017_12_01_preview::Models::Configuration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb
Overview
Represents a Configuration.
Instance Attribute Summary collapse
-
#allowed_values ⇒ String
Allowed values of the configuration.
-
#data_type ⇒ String
Data type of the configuration.
-
#default_value ⇒ String
Default value of the configuration.
-
#description ⇒ String
Description of the configuration.
-
#source ⇒ String
Source of the configuration.
-
#value ⇒ String
Value of the configuration.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Configuration class as Ruby Hash.
Instance Attribute Details
#allowed_values ⇒ String
Returns Allowed values of the configuration.
28 29 30 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 28 def allowed_values @allowed_values end |
#data_type ⇒ String
Returns Data type of the configuration.
25 26 27 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 25 def data_type @data_type end |
#default_value ⇒ String
Returns Default value of the configuration.
22 23 24 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 22 def default_value @default_value end |
#description ⇒ String
Returns Description of the configuration.
19 20 21 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 19 def description @description end |
#source ⇒ String
Returns Source of the configuration.
31 32 33 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 31 def source @source end |
#value ⇒ String
Returns Value of the configuration.
16 17 18 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 16 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for Configuration class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_postgresql/models/configuration.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Configuration', type: { name: 'Composite', class_name: 'Configuration', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'properties.value', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', type: { name: 'String' } }, default_value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultValue', type: { name: 'String' } }, data_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.dataType', type: { name: 'String' } }, allowed_values: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.allowedValues', type: { name: 'String' } }, source: { client_side_validation: true, required: false, serialized_name: 'properties.source', type: { name: 'String' } } } } } end |