Class: Azure::ARM::DevTestLabs::Models::PolicySetResult
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::PolicySetResult
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb
Overview
Result of a policy set evaluation.
Instance Attribute Summary collapse
-
#has_error ⇒ Boolean
evaluation has discovered violations.
-
#policy_violations ⇒ Array<PolicyViolation>
The list of policy violations.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PolicySetResult class as Ruby Hash.
Instance Attribute Details
#has_error ⇒ Boolean
evaluation has discovered violations.
17 18 19 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb', line 17 def has_error @has_error end |
#policy_violations ⇒ Array<PolicyViolation>
Returns The list of policy violations.
20 21 22 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb', line 20 def policy_violations @policy_violations end |
Class Method Details
.mapper ⇒ Object
Mapper for PolicySetResult class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 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 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb', line 27 def self.mapper() { required: false, serialized_name: 'PolicySetResult', type: { name: 'Composite', class_name: 'PolicySetResult', model_properties: { has_error: { required: false, serialized_name: 'hasError', type: { name: 'Boolean' } }, policy_violations: { required: false, serialized_name: 'policyViolations', type: { name: 'Sequence', element: { required: false, serialized_name: 'PolicyViolationElementType', type: { name: 'Composite', class_name: 'PolicyViolation' } } } } } } } end |