FieldRestriction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The restrictions on a field imposed by a specific policy.
public class FieldRestriction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PolicyInsights.Models.FieldRestriction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PolicyInsights.Models.FieldRestriction>
public class FieldRestriction
type FieldRestriction = class
interface IJsonModel<FieldRestriction>
interface IPersistableModel<FieldRestriction>
type FieldRestriction = class
Public Class FieldRestriction
Implements IJsonModel(Of FieldRestriction), IPersistableModel(Of FieldRestriction)
Public Class FieldRestriction
- Inheritance
-
FieldRestriction
- Implements
Properties
DefaultValue |
The value that policy will set for the field if the user does not provide a value. |
Policy |
The details of the policy that is causing the field restriction. |
Result |
The type of restriction that is imposed on the field. |
Values |
The values that policy either requires or denies for the field. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<FieldRestriction>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<FieldRestriction>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<FieldRestriction>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<FieldRestriction>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<FieldRestriction>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET