Language

PolicyIdentity.PolicyAssignmentId Property

Definition

The ID of the policy assignment. Restored for backward compatibility: this identity property existed in the pre-migration surface and was dropped when the policy cmdlets were migrated to TypeSpec generation. It is re-exposed here so existing scripts that set the policy assignment ID on an IPolicyIdentity continue to compile and run.

[Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Owned)]
public string PolicyAssignmentId { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Owned)>]
member this.PolicyAssignmentId : string with get, set
Public Property PolicyAssignmentId As String

Property Value

Implements

Attributes

Applies to