Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb

Overview

Component state details.

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/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 17

def additional_properties
  @additional_properties
end

#compliance_stateString

Returns Component compliance state.

Returns:

  • (String)

    Component compliance state.



32
33
34
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 32

def compliance_state
  @compliance_state
end

#idString

Returns Component Id.

Returns:

  • (String)

    Component Id.



20
21
22
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 20

def id
  @id
end

#nameString

Returns Component name.

Returns:

  • (String)

    Component name.



26
27
28
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 26

def name
  @name
end

#timestampDateTime

Returns Component compliance evaluation timestamp.

Returns:

  • (DateTime)

    Component compliance evaluation timestamp.



29
30
31
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 29

def timestamp
  @timestamp
end

#typeString

Returns Component type.

Returns:

  • (String)

    Component type.



23
24
25
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 23

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ComponentStateDetails',
    type: {
      name: 'Composite',
      class_name: 'ComponentStateDetails',
      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'
                }
            }
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        compliance_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'complianceState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end