Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::Summary

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

Overview

Summary results.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#odatacontextString

type information based on metadata.

Returns:

  • (String)

    OData context string; used by OData clients to resolve



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

def odatacontext
  @odatacontext
end

#odataidString

not have an entity ID.

Returns:

  • (String)

    OData entity ID; always set to null since summaries do



17
18
19
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb', line 17

def odataid
  @odataid
end

#policy_assignmentsArray<PolicyAssignmentSummary>

Returns Policy assignments summary.

Returns:



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

def policy_assignments
  @policy_assignments
end

#resultsSummaryResults

Returns Compliance summary for all policy assignments.

Returns:



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

def results
  @results
end

Class Method Details

.mapperObject

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



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
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Summary',
    type: {
      name: 'Composite',
      class_name: 'Summary',
      model_properties: {
        odataid: {
          client_side_validation: true,
          required: false,
          serialized_name: '@odata\\.id',
          type: {
            name: 'String'
          }
        },
        odatacontext: {
          client_side_validation: true,
          required: false,
          serialized_name: '@odata\\.context',
          type: {
            name: 'String'
          }
        },
        results: {
          client_side_validation: true,
          required: false,
          serialized_name: 'results',
          type: {
            name: 'Composite',
            class_name: 'SummaryResults'
          }
        },
        policy_assignments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyAssignments',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PolicyAssignmentSummaryElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PolicyAssignmentSummary'
                }
            }
          }
        }
      }
    }
  }
end