Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::Summary
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_10_01::Models::Summary
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb
Overview
Summary results.
Instance Attribute Summary collapse
-
#odatacontext ⇒ String
type information based on metadata.
-
#odataid ⇒ String
not have an entity ID.
-
#policy_assignments ⇒ Array<PolicyAssignmentSummary>
Policy assignments summary.
-
#results ⇒ SummaryResults
Compliance summary for all policy assignments.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Summary class as Ruby Hash.
Instance Attribute Details
#odatacontext ⇒ String
type information based on metadata.
21 22 23 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb', line 21 def odatacontext @odatacontext end |
#odataid ⇒ String
not have an entity ID.
17 18 19 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb', line 17 def odataid @odataid end |
#policy_assignments ⇒ Array<PolicyAssignmentSummary>
Returns Policy assignments summary.
27 28 29 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb', line 27 def policy_assignments @policy_assignments end |
#results ⇒ SummaryResults
Returns Compliance summary for all policy assignments.
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
.mapper ⇒ Object
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 |