Share via


ComplianceProperties Class

Definition

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.

public class ComplianceProperties
type ComplianceProperties = class
Public Class ComplianceProperties
Inheritance
ComplianceProperties

Constructors

ComplianceProperties()

Initializes a new instance of the ComplianceProperties class.

ComplianceProperties(Nullable<DateTime>, Nullable<Int32>, IList<ComplianceSegment>)

Initializes a new instance of the ComplianceProperties class.

Properties

AssessmentResult

Gets an array of segment, which is the actually the compliance assessment.

AssessmentTimestampUtcDate

Gets the timestamp when the Compliance calculation was conducted.

ResourceCount

Gets the resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).

Applies to