PolicyDetails Class

Definition

The policy details.

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

Properties

Name Description
PolicyAssignmentDisplayName

The display name of the policy assignment.

PolicyAssignmentId

The ID of the policy assignment.

PolicyAssignmentScope

The scope of the policy assignment.

PolicyDefinitionId

The ID of the policy definition.

PolicyDefinitionReferenceId

The policy definition reference ID within the policy set definition.

PolicySetDefinitionId

The ID of the policy set definition.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<PolicyDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to