Udostępnij za pośrednictwem


PolicyInsightsPolicyStateChangedEventData Class

Definition

Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateChanged event.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.PolicyInsightsPolicyStateChangedEventData+PolicyInsightsPolicyStateChangedEventDataConverter))]
public class PolicyInsightsPolicyStateChangedEventData
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.PolicyInsightsPolicyStateChangedEventData+PolicyInsightsPolicyStateChangedEventDataConverter))>]
type PolicyInsightsPolicyStateChangedEventData = class
Public Class PolicyInsightsPolicyStateChangedEventData
Inheritance
PolicyInsightsPolicyStateChangedEventData
Attributes

Properties

ComplianceReasonCode

The compliance reason code. May be empty.

ComplianceState

The compliance state of the resource with respect to the policy assignment.

PolicyAssignmentId

The resource ID of the policy assignment.

PolicyDefinitionId

The resource ID of the policy definition.

PolicyDefinitionReferenceId

The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty.

SubscriptionId

The subscription ID of the resource.

Timestamp

The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.

Applies to