Share via


PolicyRestrictionContractPatch Class

Definition

Policy restriction contract details.

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

Constructors

PolicyRestrictionContractPatch()

Initializes a new instance of PolicyRestrictionContractPatch.

Properties

RequireBase

Indicates if base policy should be enforced for the policy document.

Scope

Path to the policy document.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PolicyRestrictionContractPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyRestrictionContractPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyRestrictionContractPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyRestrictionContractPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyRestrictionContractPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to