Uses of Class
com.azure.messaging.eventgrid.systemevents.PolicyInsightsPolicyStateChangedEventData
Package
Description
Package containing the data models for EventGridPublisherClient.
-
Uses of PolicyInsightsPolicyStateChangedEventData in com.azure.messaging.eventgrid.systemevents
Modifier and TypeMethodDescriptionPolicyInsightsPolicyStateChangedEventData.setComplianceReasonCode
(String complianceReasonCode) Set the complianceReasonCode property: The compliance reason code.PolicyInsightsPolicyStateChangedEventData.setComplianceState
(String complianceState) Set the complianceState property: The compliance state of the resource with respect to the policy assignment.PolicyInsightsPolicyStateChangedEventData.setPolicyAssignmentId
(String policyAssignmentId) Set the policyAssignmentId property: The resource ID of the policy assignment.PolicyInsightsPolicyStateChangedEventData.setPolicyDefinitionId
(String policyDefinitionId) Set the policyDefinitionId property: The resource ID of the policy definition.PolicyInsightsPolicyStateChangedEventData.setPolicyDefinitionReferenceId
(String policyDefinitionReferenceId) Set the policyDefinitionReferenceId property: The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative.PolicyInsightsPolicyStateChangedEventData.setSubscriptionId
(String subscriptionId) Set the subscriptionId property: The subscription ID of the resource.PolicyInsightsPolicyStateChangedEventData.setTimestamp
(OffsetDateTime timestamp) Set the timestamp property: The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.