共用方式為


FieldRestrictions Class

Definition

The restrictions that will be placed on a field in the resource by policy.

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

Properties

Field

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

Restrictions

The restrictions placed on that field by policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FieldRestrictions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FieldRestrictions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FieldRestrictions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FieldRestrictions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FieldRestrictions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to