Class: Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityDeviceRecommendation
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityDeviceRecommendation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb
Overview
Statistical information about the number of recommendations per device, per recommendation type.
Instance Attribute Summary collapse
-
#devices_count ⇒ Integer
Number of devices with this recommendation.
-
#recommendation_display_name ⇒ String
Display name of the recommendation.
-
#reported_severity ⇒ ReportedSeverity
values include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IoTSecurityDeviceRecommendation class as Ruby Hash.
Instance Attribute Details
#devices_count ⇒ Integer
Returns Number of devices with this recommendation.
24 25 26 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb', line 24 def devices_count @devices_count end |
#recommendation_display_name ⇒ String
Returns Display name of the recommendation.
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb', line 17 def recommendation_display_name @recommendation_display_name end |
#reported_severity ⇒ ReportedSeverity
values include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’
21 22 23 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb', line 21 def reported_severity @reported_severity end |
Class Method Details
.mapper ⇒ Object
Mapper for IoTSecurityDeviceRecommendation class as Ruby Hash. This will be used for serialization/deserialization.
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 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IoTSecurityDeviceRecommendation', type: { name: 'Composite', class_name: 'IoTSecurityDeviceRecommendation', model_properties: { recommendation_display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recommendationDisplayName', type: { name: 'String' } }, reported_severity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'reportedSeverity', type: { name: 'String' } }, devices_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'devicesCount', type: { name: 'Number' } } } } } end |