PolicyEvaluationRecord 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.
This record encapsulates the current state of a policy as it applies to one specific pull request. Each pull request has a unique PolicyEvaluationRecord for each pull request which the policy applies to.
[System.Runtime.Serialization.DataContract]
public class PolicyEvaluationRecord : Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
type PolicyEvaluationRecord = class
inherit BaseSecuredObject
Public Class PolicyEvaluationRecord
Inherits BaseSecuredObject
- Inheritance
-
Microsoft.VisualStudio.Services.WebApi.BaseSecuredObjectPolicyEvaluationRecord
- Attributes
Constructors
| PolicyEvaluationRecord() | |
| PolicyEvaluationRecord(ISecuredObject) |
Properties
| ArtifactId |
A string which uniquely identifies the target of a policy evaluation. |
| CompletedDate |
Time when this policy finished evaluating on this pull request. |
| Configuration |
Contains all configuration data for the policy which is being evaluated. |
| Context |
Internal context data of this policy evaluation. |
| EvaluationId |
Guid which uniquely identifies this evaluation record (one policy running on one pull request). |
| Links |
Links to other related objects |
| StartedDate |
Time when this policy was first evaluated on this pull request. |
| Status |
Status of the policy (Running, Approved, Failed, etc.) |