PolicyViolation 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.
A policy violation reported against a gallery artifact.
public class PolicyViolation
type PolicyViolation = class
Public Class PolicyViolation
- Inheritance
-
PolicyViolation
Constructors
PolicyViolation() |
Initializes a new instance of the PolicyViolation class. |
PolicyViolation(String, String) |
Initializes a new instance of the PolicyViolation class. |
Properties
Category |
Gets or sets describes the nature of the policy violation. Possible values include: 'Other', 'ImageFlaggedUnsafe', 'CopyrightValidation', 'IpTheft' |
Details |
Gets or sets describes specific details about why this policy violation was reported. |
Applies to
Azure SDK for .NET