Interface Compliance


public interface Compliance
An immutable client-side representation of Compliance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the assessmentResult property: An array of segment, which is the actually the compliance assessment.
    Gets the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.security.fluent.models.ComplianceInner object.
    Gets the name property: The name of the resource.
    Gets the resourceCount property: The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).
    Gets the type property: The type of the resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • assessmentTimestampUtcDate

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

      Integer resourceCount()
      Gets 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

      List<ComplianceSegment> assessmentResult()
      Gets the assessmentResult property: An array of segment, which is the actually the compliance assessment.
      Returns:
      the assessmentResult value.
    • innerModel

      ComplianceInner innerModel()
      Gets the inner com.azure.resourcemanager.security.fluent.models.ComplianceInner object.
      Returns:
      the inner object.