Class ComplianceProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.ComplianceProperties
The Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given
Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy
Definitions applicable to a given resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assessmentResult property: An array of segment, which is the actually the compliance assessment.Get the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.Get the resourceCount property: The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).void
validate()
Validates the instance.
-
Constructor Details
-
ComplianceProperties
public ComplianceProperties()
-
-
Method Details
-
assessmentTimestampUtcDate
Get the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.- Returns:
- the assessmentTimestampUtcDate value.
-
resourceCount
Get the resourceCount property: The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).- Returns:
- the resourceCount value.
-
assessmentResult
Get the assessmentResult property: An array of segment, which is the actually the compliance assessment.- Returns:
- the assessmentResult value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-