PolicyInsightsPolicyStateDeletedEventData Class

Definition

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

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.PolicyInsightsPolicyStateDeletedEventData+PolicyInsightsPolicyStateDeletedEventDataConverter))]
public class PolicyInsightsPolicyStateDeletedEventData
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.PolicyInsightsPolicyStateDeletedEventData+PolicyInsightsPolicyStateDeletedEventDataConverter))>]
type PolicyInsightsPolicyStateDeletedEventData = class
Public Class PolicyInsightsPolicyStateDeletedEventData
Inheritance
PolicyInsightsPolicyStateDeletedEventData
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