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. |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python