共用方式為


PolicyAssignmentPatch Class

Definition

The policy assignment for Patch request.

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

Constructors

PolicyAssignmentPatch()

Initializes a new instance of PolicyAssignmentPatch.

Properties

Identity

The managed identity associated with the policy assignment. Current supported identity types: None, SystemAssigned, UserAssigned.

Location

The location of the policy assignment. Only required when utilizing managed identity.

Overrides

The policy property value override.

ResourceSelectors

The resource selector list to filter policies by resource properties.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PolicyAssignmentPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyAssignmentPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyAssignmentPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyAssignmentPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyAssignmentPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to