PolicyViolation Class

A policy violation reported against a gallery artifact.

Inheritance
azure.mgmt.compute._serialization.Model
PolicyViolation

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
str

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
str

Describes specific details about why this policy violation was reported.