PolicyEvaluationResult Class
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 result of a non-compliant policy evaluation against the given resource content.
public class PolicyEvaluationResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult>
type PolicyEvaluationResult = class
interface IJsonModel<PolicyEvaluationResult>
interface IPersistableModel<PolicyEvaluationResult>
Public Class PolicyEvaluationResult
Implements IJsonModel(Of PolicyEvaluationResult), IPersistableModel(Of PolicyEvaluationResult)
- Inheritance
-
PolicyEvaluationResult
- Implements
Properties
| Name | Description |
|---|---|
| CheckRestrictionEvaluationDetails |
The detailed results of the policy expressions and values that were evaluated. |
| EvaluationResult |
The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered. |
| PolicyEffect |
The effect that was applied to the resource. http://aka.ms/policyeffects. |
| PolicyInfo |
The details of the policy that was evaluated. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<PolicyEvaluationResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<PolicyEvaluationResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<PolicyEvaluationResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<PolicyEvaluationResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<PolicyEvaluationResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |