PolicyEvaluationOutcome 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 outcome of a policy evaluation.
public readonly struct PolicyEvaluationOutcome : IEquatable<Azure.ResourceManager.CognitiveServices.Models.PolicyEvaluationOutcome>
type PolicyEvaluationOutcome = struct
Public Structure PolicyEvaluationOutcome
Implements IEquatable(Of PolicyEvaluationOutcome)
- Inheritance
-
PolicyEvaluationOutcome
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyEvaluationOutcome(String) |
Initializes a new instance of PolicyEvaluationOutcome. |
Properties
| Name | Description |
|---|---|
| Compliant |
The deployment is compliant with all policies. |
| Error |
An error occurred during evaluation. |
| NonCompliant |
The deployment violates one or more policies. |
Methods
| Name | Description |
|---|---|
| Equals(PolicyEvaluationOutcome) |
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(PolicyEvaluationOutcome, PolicyEvaluationOutcome) |
Determines if two PolicyEvaluationOutcome values are the same. |
| Implicit(String to Nullable<PolicyEvaluationOutcome>) | |
| Implicit(String to PolicyEvaluationOutcome) |
Converts a string to a PolicyEvaluationOutcome. |
| Inequality(PolicyEvaluationOutcome, PolicyEvaluationOutcome) |
Determines if two PolicyEvaluationOutcome values are not the same. |