Sdílet prostřednictvím


PolicyInsightsPolicyStateCreatedEventData Class

Definition

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

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