Class: Azure::Security::Mgmt::V2020_01_01::Models::VmRecommendation
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::VmRecommendation
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb
Overview
Represents a machine that is part of a machine group
Instance Attribute Summary collapse
-
#configuration_status ⇒ Enum
‘InProgress’, ‘Failed’, ‘NoStatus’.
-
#enforcement_support ⇒ Enum
‘Unknown’.
-
#recommendation_action ⇒ Enum
Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
- #resource_id ⇒ String
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VmRecommendation class as Ruby Hash.
Instance Attribute Details
#configuration_status ⇒ Enum
‘InProgress’, ‘Failed’, ‘NoStatus’
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb', line 17 def configuration_status @configuration_status end |
#enforcement_support ⇒ Enum
‘Unknown’
27 28 29 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb', line 27 def enforcement_support @enforcement_support end |
#recommendation_action ⇒ Enum
Returns Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
20 21 22 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb', line 20 def recommendation_action @recommendation_action end |
#resource_id ⇒ String
23 24 25 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb', line 23 def resource_id @resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for VmRecommendation 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 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VmRecommendation', type: { name: 'Composite', class_name: 'VmRecommendation', model_properties: { configuration_status: { client_side_validation: true, required: false, serialized_name: 'configurationStatus', type: { name: 'String' } }, recommendation_action: { client_side_validation: true, required: false, serialized_name: 'recommendationAction', type: { name: 'String' } }, resource_id: { client_side_validation: true, required: false, serialized_name: 'resourceId', type: { name: 'String' } }, enforcement_support: { client_side_validation: true, required: false, serialized_name: 'enforcementSupport', type: { name: 'String' } } } } } end |