Interface PolicyEvent


public interface PolicyEvent
An immutable client-side representation of PolicyEvent.
  • Method Details

    • odataId

      String odataId()
      Gets the odataId property: OData entity ID; always set to null since policy event records do not have an entity ID.
      Returns:
      the odataId value.
    • odataContext

      String odataContext()
      Gets the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
      Returns:
      the odataContext value.
    • timestamp

      OffsetDateTime timestamp()
      Gets the timestamp property: Timestamp for the policy event record.
      Returns:
      the timestamp value.
    • resourceId

      String resourceId()
      Gets the resourceId property: Resource ID.
      Returns:
      the resourceId value.
    • policyAssignmentId

      String policyAssignmentId()
      Gets the policyAssignmentId property: Policy assignment ID.
      Returns:
      the policyAssignmentId value.
    • policyDefinitionId

      String policyDefinitionId()
      Gets the policyDefinitionId property: Policy definition ID.
      Returns:
      the policyDefinitionId value.
    • effectiveParameters

      String effectiveParameters()
      Gets the effectiveParameters property: Effective parameters for the policy assignment.
      Returns:
      the effectiveParameters value.
    • isCompliant

      Boolean isCompliant()
      Gets the isCompliant property: Flag which states whether the resource is compliant against the policy assignment it was evaluated against.
      Returns:
      the isCompliant value.
    • subscriptionId

      String subscriptionId()
      Gets the subscriptionId property: Subscription ID.
      Returns:
      the subscriptionId value.
    • resourceType

      String resourceType()
      Gets the resourceType property: Resource type.
      Returns:
      the resourceType value.
    • resourceLocation

      String resourceLocation()
      Gets the resourceLocation property: Resource location.
      Returns:
      the resourceLocation value.
    • resourceGroup

      String resourceGroup()
      Gets the resourceGroup property: Resource group name.
      Returns:
      the resourceGroup value.
    • resourceTags

      String resourceTags()
      Gets the resourceTags property: List of resource tags.
      Returns:
      the resourceTags value.
    • policyAssignmentName

      String policyAssignmentName()
      Gets the policyAssignmentName property: Policy assignment name.
      Returns:
      the policyAssignmentName value.
    • policyAssignmentOwner

      String policyAssignmentOwner()
      Gets the policyAssignmentOwner property: Policy assignment owner.
      Returns:
      the policyAssignmentOwner value.
    • policyAssignmentParameters

      String policyAssignmentParameters()
      Gets the policyAssignmentParameters property: Policy assignment parameters.
      Returns:
      the policyAssignmentParameters value.
    • policyAssignmentScope

      String policyAssignmentScope()
      Gets the policyAssignmentScope property: Policy assignment scope.
      Returns:
      the policyAssignmentScope value.
    • policyDefinitionName

      String policyDefinitionName()
      Gets the policyDefinitionName property: Policy definition name.
      Returns:
      the policyDefinitionName value.
    • policyDefinitionAction

      String policyDefinitionAction()
      Gets the policyDefinitionAction property: Policy definition action, i.e. effect.
      Returns:
      the policyDefinitionAction value.
    • policyDefinitionCategory

      String policyDefinitionCategory()
      Gets the policyDefinitionCategory property: Policy definition category.
      Returns:
      the policyDefinitionCategory value.
    • policySetDefinitionId

      String policySetDefinitionId()
      Gets the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
      Returns:
      the policySetDefinitionId value.
    • policySetDefinitionName

      String policySetDefinitionName()
      Gets the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy set.
      Returns:
      the policySetDefinitionName value.
    • policySetDefinitionOwner

      String policySetDefinitionOwner()
      Gets the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy set.
      Returns:
      the policySetDefinitionOwner value.
    • policySetDefinitionCategory

      String policySetDefinitionCategory()
      Gets the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a policy set.
      Returns:
      the policySetDefinitionCategory value.
    • policySetDefinitionParameters

      String policySetDefinitionParameters()
      Gets the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for a policy set.
      Returns:
      the policySetDefinitionParameters value.
    • managementGroupIds

      String managementGroupIds()
      Gets the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.
      Returns:
      the managementGroupIds value.
    • policyDefinitionReferenceId

      String policyDefinitionReferenceId()
      Gets the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
      Returns:
      the policyDefinitionReferenceId value.
    • complianceState

      String complianceState()
      Gets the complianceState property: Compliance state of the resource.
      Returns:
      the complianceState value.
    • tenantId

      String tenantId()
      Gets the tenantId property: Tenant ID for the policy event record.
      Returns:
      the tenantId value.
    • principalOid

      String principalOid()
      Gets the principalOid property: Principal object ID for the user who initiated the resource operation that triggered the policy event.
      Returns:
      the principalOid value.
    • components

      Gets the components property: Components events records populated only when URL contains $expand=components clause.
      Returns:
      the components value.
    • additionalProperties

      Map<String,Object> additionalProperties()
      Gets the additionalProperties property: Policy event record.
      Returns:
      the additionalProperties value.
    • innerModel

      PolicyEventInner innerModel()
      Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.PolicyEventInner object.
      Returns:
      the inner object.