Dela via


PolicyComplianceState Struct

Definition

The compliance state that should be set on the resource.

public readonly struct PolicyComplianceState : IEquatable<Azure.ResourceManager.PolicyInsights.Models.PolicyComplianceState>
type PolicyComplianceState = struct
Public Structure PolicyComplianceState
Implements IEquatable(Of PolicyComplianceState)
Inheritance
PolicyComplianceState
Implements

Constructors

PolicyComplianceState(String)

Initializes a new instance of PolicyComplianceState.

Properties

Compliant

The resource is in compliance with the policy.

NonCompliant

The resource is not in compliance with the policy.

Unknown

The compliance state of the resource is not known.

Methods

Equals(PolicyComplianceState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(PolicyComplianceState, PolicyComplianceState)

Determines if two PolicyComplianceState values are the same.

Implicit(String to PolicyComplianceState)

Converts a string to a PolicyComplianceState.

Inequality(PolicyComplianceState, PolicyComplianceState)

Determines if two PolicyComplianceState values are not the same.

Applies to