Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb

Overview

Describes a section in the fabric settings of the cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

Returns The section name of the fabric settings.

Returns:

  • (String)

    The section name of the fabric settings.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb', line 16

def name
  @name
end

#parametersArray<SettingsParameterDescription>

parameters in the section.

Returns:



20
21
22
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb', line 20

def parameters
  @parameters
end

Class Method Details

.mapperObject

Mapper for SettingsSectionDescription class as Ruby Hash. This will be used for serialization/deserialization.



27
28
29
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
64
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SettingsSectionDescription',
    type: {
      name: 'Composite',
      class_name: 'SettingsSectionDescription',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: true,
          serialized_name: 'parameters',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SettingsParameterDescriptionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SettingsParameterDescription'
                }
            }
          }
        }
      }
    }
  }
end