Sdílet prostřednictvím


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>
public class PolicyDetails
type PolicyDetails = class
    interface IJsonModel<PolicyDetails>
    interface IPersistableModel<PolicyDetails>
type PolicyDetails = class
Public Class PolicyDetails
Implements IJsonModel(Of PolicyDetails), IPersistableModel(Of PolicyDetails)
Public Class PolicyDetails
Inheritance
PolicyDetails
Implements

Properties

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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