SecureScoreControlDetailsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. SecureScoreControlDetailsInner
- com.
- com.
public final class SecureScoreControlDetailsInner
extends ProxyResource
Details of the security control, its score, and the health status of the relevant resources.
Constructor Summary
Constructor | Description |
---|---|
SecureScoreControlDetailsInner() |
Creates an instance of Secure |
Method Summary
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 |
displayName()
Get the display |
Integer |
healthyResourceCount()
Get the healthy |
Integer |
max()
Get the max property: Maximum score available. |
Integer |
notApplicableResourceCount()
Get the not |
Double |
percentage()
Get the percentage property: Ratio of the current score divided by the maximum. |
Integer |
unhealthyResourceCount()
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 |
withDefinition(SecureScoreControlDefinitionItemInner definition)
Set the definition property: Information about the security control. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SecureScoreControlDetailsInner
public SecureScoreControlDetailsInner()
Creates an instance of SecureScoreControlDetailsInner class.
Method Details
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:
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:
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 SecureScoreControlDetailsInner withDefinition(SecureScoreControlDefinitionItemInner definition)
Set the definition property: Information about the security control.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for