PolicyViolation Class
A policy violation reported against a gallery artifact.
- Inheritance
-
azure.mgmt.compute._serialization.ModelPolicyViolation
Constructor
PolicyViolation(*, category: str | _models.PolicyViolationCategory | None = None, details: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
category
|
Describes the nature of the policy violation. Known values are: "Other", "ImageFlaggedUnsafe", "CopyrightValidation", and "IpTheft". |
details
|
Describes specific details about why this policy violation was reported. |
Variables
Name | Description |
---|---|
category
|
Describes the nature of the policy violation. Known values are: "Other", "ImageFlaggedUnsafe", "CopyrightValidation", and "IpTheft". |
details
|
Describes specific details about why this policy violation was reported. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python