Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::ModuleConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb

Overview

The module configuration as required by the Agent service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#agent_serviceString

Returns The name of agent service.

Returns:

  • (String)

    The name of agent service.



16
17
18
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb', line 16

def agent_service
  @agent_service
end

#module_nameString

applicable.

Returns:

  • (String)

    The name of the module for which the configuration is



20
21
22
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb', line 20

def module_name
  @module_name
end

#propertiesHash{String => String}

required for configuration.

Returns:

  • (Hash{String => String})

    The key value pairs of properties



24
25
26
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb', line 24

def properties
  @properties
end

Class Method Details

.mapperObject

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



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
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ModuleConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ModuleConfiguration',
      model_properties: {
        agent_service: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agentService',
          type: {
            name: 'String'
          }
        },
        module_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'moduleName',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end