class Azure::Security::Mgmt::V2020_01_01_preview::Models::SecureScoreControlDetails
Details of the security control, its score, and the health status of the relevant resources.
Attributes
@return [Float] Current score
@return [SecureScoreControlDefinitionItem]
@return [String] User friendly display name of the control
@return [Integer] Number of healthy resources in the control
@return [Integer] Maximum score available
@return [Integer] Number of not applicable resources in the control
@return [Float] Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point
@return [Integer] Number of unhealthy resources in the control
@return [Integer] The relative weight for this specific control in each of your subscriptions. Used when calculating an aggregated score for this control across all of your subscriptions.
Public Class Methods
Mapper for SecureScoreControlDetails
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb, line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecureScoreControlDetails', type: { name: 'Composite', class_name: 'SecureScoreControlDetails', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, max: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.score.max', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, current: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.score.current', constraints: { InclusiveMinimum: 0 }, type: { name: 'Double' } }, percentage: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.score.percentage', constraints: { InclusiveMaximum: 1, InclusiveMinimum: 0 }, type: { name: 'Double' } }, healthy_resource_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.healthyResourceCount', type: { name: 'Number' } }, unhealthy_resource_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unhealthyResourceCount', type: { name: 'Number' } }, not_applicable_resource_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.notApplicableResourceCount', type: { name: 'Number' } }, weight: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.weight', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, definition: { client_side_validation: true, required: false, serialized_name: 'properties.definition', type: { name: 'Composite', class_name: 'SecureScoreControlDefinitionItem' } } } } } end