SecureScoreControlScoreDetailsInner Class
- java.
lang. Object - com.
azure. resourcemanager. security. fluent. models. SecureScoreControlScoreDetailsInner
- com.
Implements
public final class SecureScoreControlScoreDetailsInner
implements JsonSerializable<SecureScoreControlScoreDetailsInner>
Calculation result data in control level.
Constructor | Description |
---|---|
Secure |
Creates an instance of Secure |
Modifier and Type | Method and Description |
---|---|
Double |
current()
Get the current property: Current score. |
Secure |
definition()
Get the definition property: Information about the security control. |
String |
display Get the display |
static
Secure |
from Reads an instance of Secure |
Integer |
healthy Get the healthy |
Integer |
max()
Get the max property: Maximum score available. |
Integer |
not Get the not |
Double |
percentage()
Get the percentage property: Ratio of the current score divided by the maximum. |
Json |
to |
Integer |
unhealthy Get the unhealthy |
void |
validate()
Validates the instance. |
Long |
weight()
Get the weight property: The relative weight for this specific control in each of your subscriptions. |
Secure |
with Set the definition property: Information about the security control. |
Methods inherited from java.lang.Object
SecureScoreControlScoreDetailsInner
public SecureScoreControlScoreDetailsInner()
Creates an instance of SecureScoreControlScoreDetailsInner class.
current
public Double current()
Get the current property: Current score.
Returns:
definition
public SecureScoreControlDefinitionItemInner definition()
Get the definition property: Information about the security control.
Returns:
displayName
public String displayName()
Get the displayName property: User friendly display name of the control.
Returns:
fromJson
public static SecureScoreControlScoreDetailsInner fromJson(JsonReader jsonReader)
Reads an instance of SecureScoreControlScoreDetailsInner from the JsonReader.
Parameters:
Returns:
Throws:
healthyResourceCount
public Integer healthyResourceCount()
Get the healthyResourceCount property: Number of healthy resources in the control.
Returns:
max
public Integer max()
Get the max property: Maximum score available.
Returns:
notApplicableResourceCount
public Integer notApplicableResourceCount()
Get the notApplicableResourceCount property: Number of not applicable resources in the control.
Returns:
percentage
public Double percentage()
Get the percentage property: Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point.
Returns:
toJson
unhealthyResourceCount
public Integer unhealthyResourceCount()
Get the unhealthyResourceCount property: Number of unhealthy resources in the control.
Returns:
validate
public void validate()
Validates the instance.
weight
public Long 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:
withDefinition
public SecureScoreControlScoreDetailsInner withDefinition(SecureScoreControlDefinitionItemInner definition)
Set the definition property: Information about the security control.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: