Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::Configuration

Inherits:
ProxyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb

Overview

Represents a Configuration.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#allowed_valuesString

Returns Allowed values of the configuration.

Returns:

  • (String)

    Allowed values of the configuration.



28
29
30
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 28

def allowed_values
  @allowed_values
end

#data_typeString

Returns Data type of the configuration.

Returns:

  • (String)

    Data type of the configuration.



25
26
27
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 25

def data_type
  @data_type
end

#default_valueString

Returns Default value of the configuration.

Returns:

  • (String)

    Default value of the configuration.



22
23
24
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 22

def default_value
  @default_value
end

#descriptionString

Returns Description of the configuration.

Returns:

  • (String)

    Description of the configuration.



19
20
21
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 19

def description
  @description
end

#sourceString

Returns Source of the configuration.

Returns:

  • (String)

    Source of the configuration.



31
32
33
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 31

def source
  @source
end

#valueString

Returns Value of the configuration.

Returns:

  • (String)

    Value of the configuration.



16
17
18
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/configuration.rb', line 16

def value
  @value
end

Class Method Details

.mapperObject

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/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