Class SecureScoreControlDetailsInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SecureScoreControlDetailsInner
public final class SecureScoreControlDetailsInner
extends com.azure.core.management.ProxyResource
Details of the security control, its score, and the health status of the relevant resources.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrent()
Get the current property: Current score.Get the definition property: Information about the security control.Get the displayName property: User friendly display name of the control.Get the healthyResourceCount property: Number of healthy resources in the control.max()
Get the max property: Maximum score available.Get the notApplicableResourceCount property: Number of not applicable resources in the control.Get the percentage property: Ratio of the current score divided by the maximum.Get the unhealthyResourceCount property: Number of unhealthy resources in the control.void
validate()
Validates the instance.weight()
Get the weight property: The relative weight for this specific control in each of your subscriptions.withDefinition
(SecureScoreControlDefinitionItemInner definition) Set the definition property: Information about the security control.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SecureScoreControlDetailsInner
public SecureScoreControlDetailsInner()
-
-
Method Details
-
displayName
Get the displayName property: User friendly display name of the control.- Returns:
- the displayName value.
-
healthyResourceCount
Get the healthyResourceCount property: Number of healthy resources in the control.- Returns:
- the healthyResourceCount value.
-
unhealthyResourceCount
Get the unhealthyResourceCount property: Number of unhealthy resources in the control.- Returns:
- the unhealthyResourceCount value.
-
notApplicableResourceCount
Get the notApplicableResourceCount property: Number of not applicable resources in the control.- Returns:
- the notApplicableResourceCount value.
-
weight
Get the weight property: 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.- Returns:
- the weight value.
-
definition
Get the definition property: Information about the security control.- Returns:
- the definition value.
-
withDefinition
public SecureScoreControlDetailsInner withDefinition(SecureScoreControlDefinitionItemInner definition) Set the definition property: Information about the security control.- Parameters:
definition
- the definition value to set.- Returns:
- the SecureScoreControlDetailsInner object itself.
-
max
Get the max property: Maximum score available.- Returns:
- the max value.
-
current
Get the current property: Current score.- Returns:
- the current value.
-
percentage
Get the percentage property: Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point.- Returns:
- the percentage value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-