Condividi tramite


PolicyOverride Class

Definition

The policy property value override.

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

Constructors

PolicyOverride()

Initializes a new instance of PolicyOverride.

Properties

Kind

The override kind.

Selectors

The list of the selector expressions.

Value

The value to override the policy property.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PolicyOverride>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyOverride>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyOverride>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyOverride>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyOverride>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to