Compliance Interface

public interface Compliance

An immutable client-side representation of Compliance.

Method Summary

Modifier and Type Method and Description
abstract List<ComplianceSegment> assessmentResult()

Gets the assessmentResult property: An array of segment, which is the actually the compliance assessment.

abstract OffsetDateTime assessmentTimestampUtcDate()

Gets the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ComplianceInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.ComplianceInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract 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).

abstract String type()

Gets the type property: The type of the resource.

Method Details

assessmentResult

public abstract List assessmentResult()

Gets the assessmentResult property: An array of segment, which is the actually the compliance assessment.

Returns:

the assessmentResult value.

assessmentTimestampUtcDate

public abstract OffsetDateTime assessmentTimestampUtcDate()

Gets the assessmentTimestampUtcDate property: The timestamp when the Compliance calculation was conducted.

Returns:

the assessmentTimestampUtcDate value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ComplianceInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.ComplianceInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

resourceCount

public abstract 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.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

Applies to