Dela via


CheckPolicyRestrictionsContent Class

Definition

The check policy restrictions parameters describing the resource that is being evaluated.

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

Constructors

CheckPolicyRestrictionsContent(CheckRestrictionsResourceDetails)

Initializes a new instance of CheckPolicyRestrictionsContent.

Properties

PendingFields

The list of fields and values that should be evaluated for potential restrictions.

ResourceDetails

The information about the resource that will be evaluated.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CheckPolicyRestrictionsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CheckPolicyRestrictionsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CheckPolicyRestrictionsContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CheckPolicyRestrictionsContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CheckPolicyRestrictionsContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to