Class: Azure::Advisor::Mgmt::V2017_04_19::Models::ConfigDataProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb

Overview

The list of property name/value pairs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



17
18
19
# File 'lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb', line 17

def additional_properties
  @additional_properties
end

#excludeBoolean

values: False (default) or True.

Returns:

  • (Boolean)

    Exclude the resource from Advisor evaluations. Valid



21
22
23
# File 'lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb', line 21

def exclude
  @exclude
end

#low_cpu_thresholdString

utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.

Returns:

  • (String)

    Minimum percentage threshold for Advisor low CPU



26
27
28
# File 'lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb', line 26

def low_cpu_threshold
  @low_cpu_threshold
end

Class Method Details

.mapperObject

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



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
76
# File 'lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConfigData_properties',
    type: {
      name: 'Composite',
      class_name: 'ConfigDataProperties',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        exclude: {
          client_side_validation: true,
          required: false,
          serialized_name: 'exclude',
          type: {
            name: 'Boolean'
          }
        },
        low_cpu_threshold: {
          client_side_validation: true,
          required: false,
          serialized_name: 'low_cpu_threshold',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end