PolicyInsightsPolicyStateCreatedEventData interface

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

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.

Property Details

complianceReasonCode

The compliance reason code. May be empty.

complianceReasonCode: string

Property Value

string

complianceState

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

complianceState: string

Property Value

string

policyAssignmentId

The resource ID of the policy assignment.

policyAssignmentId: string

Property Value

string

policyDefinitionId

The resource ID of the policy definition.

policyDefinitionId: string

Property Value

string

policyDefinitionReferenceId

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

policyDefinitionReferenceId: string

Property Value

string

subscriptionId

The subscription ID of the resource.

subscriptionId: string

Property Value

string

timestamp

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

timestamp: string

Property Value

string