SecureScoreItemInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. SecureScoreItemInner
- com.
- com.
public final class SecureScoreItemInner
extends ProxyResource
Secure score item data model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
current()
Get the current property: Current score. |
| String |
displayName()
Get the display |
|
static
Secure |
fromJson(JsonReader jsonReader)
Reads an instance of Secure |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Integer |
max()
Get the max property: Maximum score available. |
| String |
name()
Get the name property: The name of the resource. |
| Double |
percentage()
Get the percentage property: Ratio of the current score divided by the maximum. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| Long |
weight()
Get the weight property: The relative weight for each subscription. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Method Details
current
public Double current()
Get the current property: Current score.
Returns:
displayName
public String displayName()
Get the displayName property: The initiative's name.
Returns:
fromJson
public static SecureScoreItemInner fromJson(JsonReader jsonReader)
Reads an instance of SecureScoreItemInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecureScoreItemInner.id()Returns:
max
public Integer max()
Get the max property: Maximum score available.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecureScoreItemInner.name()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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecureScoreItemInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecureScoreItemInner.type()Returns:
validate
public void validate()
Validates the instance.
weight
public Long weight()
Get the weight property: The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.
Returns: