Uses of Class
com.azure.messaging.eventgrid.systemevents.PolicyInsightsPolicyStateCreatedEventData
Package
Description
Package containing the data models for EventGridPublisherClient.
-
Uses of PolicyInsightsPolicyStateCreatedEventData in com.azure.messaging.eventgrid.systemevents
Modifier and TypeMethodDescriptionPolicyInsightsPolicyStateCreatedEventData.setComplianceReasonCode
(String complianceReasonCode) Set the complianceReasonCode property: The compliance reason code.PolicyInsightsPolicyStateCreatedEventData.setComplianceState
(String complianceState) Set the complianceState property: The compliance state of the resource with respect to the policy assignment.PolicyInsightsPolicyStateCreatedEventData.setPolicyAssignmentId
(String policyAssignmentId) Set the policyAssignmentId property: The resource ID of the policy assignment.PolicyInsightsPolicyStateCreatedEventData.setPolicyDefinitionId
(String policyDefinitionId) Set the policyDefinitionId property: The resource ID of the policy definition.PolicyInsightsPolicyStateCreatedEventData.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.PolicyInsightsPolicyStateCreatedEventData.setSubscriptionId
(String subscriptionId) Set the subscriptionId property: The subscription ID of the resource.PolicyInsightsPolicyStateCreatedEventData.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.