共用方式為


DevTestLabPolicyViolation Class

Definition

Policy violation.

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

Properties

Code

The code of the policy violation.

Message

The message of the policy violation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabPolicyViolation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabPolicyViolation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabPolicyViolation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabPolicyViolation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabPolicyViolation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to