PolicyDefinitionReference Class

Definition

The policy definition reference.

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

Constructors

PolicyDefinitionReference(String)

Initializes a new instance of PolicyDefinitionReference.

Properties

GroupNames

The name of the groups that this policy definition reference belongs to.

Parameters

The parameter values for the referenced policy rule. The keys are the parameter names.

PolicyDefinitionId

The ID of the policy definition or policy set definition.

PolicyDefinitionReferenceId

A unique id (within the policy set definition) for this policy definition reference.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PolicyDefinitionReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyDefinitionReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyDefinitionReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyDefinitionReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyDefinitionReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to