你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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