Share via


IPolicyAssignmentUpdate Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentUpdateTypeConverter))]
public interface IPolicyAssignmentUpdate : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentUpdateTypeConverter))>]
type IPolicyAssignmentUpdate = interface
    interface IJsonSerializable
Public Interface IPolicyAssignmentUpdate
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

IdentityPrincipalId

The principal ID of the resource identity. This property will only be provided for a system assigned identity

IdentityTenantId

The tenant ID of the resource identity. This property will only be provided for a system assigned identity

IdentityType

The identity type. This is the only required field when adding a system or user assigned identity to a resource.

IdentityUserAssignedIdentity

The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Location

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

Override

The policy property value override.

ResourceSelector

The resource selector list to filter policies by resource properties.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to