PolicyInsightsPolicyStateCreatedEventData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET