PolicyComplianceState Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| PolicyComplianceState(String) |
Initializes a new instance of PolicyComplianceState. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Equality(PolicyComplianceState, PolicyComplianceState) |
Determines if two PolicyComplianceState values are the same. |
| Implicit(String to Nullable<PolicyComplianceState>) | |
| Implicit(String to PolicyComplianceState) |
Converts a string to a PolicyComplianceState. |
| Inequality(PolicyComplianceState, PolicyComplianceState) |
Determines if two PolicyComplianceState values are not the same. |