Class SecureScoreItemInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SecureScoreItemInner
public final class SecureScoreItemInner
extends com.azure.core.management.ProxyResource
Secure score item data model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrent()
Get the current property: Current score.Get the displayName property: The initiative’s name.max()
Get the max property: Maximum score available.Get the percentage property: Ratio of the current score divided by the maximum.void
validate()
Validates the instance.weight()
Get the weight property: The relative weight for each subscription.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SecureScoreItemInner
public SecureScoreItemInner()
-
-
Method Details
-
displayName
Get the displayName property: The initiative’s name.- Returns:
- the displayName value.
-
weight
Get the weight property: The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.- Returns:
- the weight value.
-
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.
-