PolicyReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resource identifiers for a policy.
public class PolicyReference : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PolicyInsights.Models.PolicyReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PolicyInsights.Models.PolicyReference>
public class PolicyReference
type PolicyReference = class
interface IJsonModel<PolicyReference>
interface IPersistableModel<PolicyReference>
type PolicyReference = class
Public Class PolicyReference
Implements IJsonModel(Of PolicyReference), IPersistableModel(Of PolicyReference)
Public Class PolicyReference
- Inheritance
-
PolicyReference
- Implements
Properties
PolicyAssignmentId |
The resource identifier of the policy assignment. |
PolicyDefinitionId |
The resource identifier of the policy definition. |
PolicyDefinitionReferenceId |
The reference identifier of a specific policy definition within a policy set definition. |
PolicySetDefinitionId |
The resource identifier of the policy set definition. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<PolicyReference>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PolicyReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PolicyReference>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PolicyReference>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PolicyReference>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET