Class ComplianceProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.ComplianceProperties

public final class ComplianceProperties extends Object
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 Details

    • ComplianceProperties

      public ComplianceProperties()
  • Method Details

    • assessmentTimestampUtcDate

      public OffsetDateTime assessmentTimestampUtcDate()
      Get the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.
      Returns:
      the assessmentTimestampUtcDate value.
    • resourceCount

      public Integer 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

      public List<ComplianceSegment> 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.