Share via


PolicyAssignment.NonComplianceMessage Property

Definition

The messages that describe why a resource is non-compliant with the policy.

[Microsoft.Azure.PowerShell.Cmdlets.Policy.DoNotFormat]
[Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Inlined)]
public System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.INonComplianceMessage> NonComplianceMessage { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Policy.DoNotFormat>]
[<Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Inlined)>]
member this.NonComplianceMessage : System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.INonComplianceMessage> with get, set
Public Property NonComplianceMessage As List(Of INonComplianceMessage)

Property Value

Implements

Attributes

Applies to