Class ComplianceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.ComplianceInner

public final class ComplianceInner extends com.azure.core.management.ProxyResource
Compliance of a scope.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ComplianceInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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
    Validates the instance.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ComplianceInner

      public ComplianceInner()
      Creates an instance of ComplianceInner class.
  • 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.