GalleryImageVersionPolicyViolation Class

Definition

A policy violation reported against a gallery artifact.

public class GalleryImageVersionPolicyViolation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.GalleryImageVersionPolicyViolation>
type GalleryImageVersionPolicyViolation = class
    interface IJsonModel<GalleryImageVersionPolicyViolation>
    interface IPersistableModel<GalleryImageVersionPolicyViolation>
Public Class GalleryImageVersionPolicyViolation
Implements IJsonModel(Of GalleryImageVersionPolicyViolation), IPersistableModel(Of GalleryImageVersionPolicyViolation)
Inheritance
GalleryImageVersionPolicyViolation
Implements

Properties

Category

Describes the nature of the policy violation.

Details

Describes specific details about why this policy violation was reported.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryImageVersionPolicyViolation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GalleryImageVersionPolicyViolation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryImageVersionPolicyViolation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryImageVersionPolicyViolation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GalleryImageVersionPolicyViolation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to