Share via


PendingField Class

Definition

A field that should be evaluated against Azure Policy to determine restrictions.

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

Constructors

PendingField(String)

Initializes a new instance of PendingField.

Properties

Field

The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.

Values

The list of potential values for the field that should be evaluated against Azure Policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PendingField>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PendingField>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PendingField>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PendingField>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PendingField>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to