PolicyEvent 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.
Policy event record.
public class PolicyEvent
type PolicyEvent = class
Public Class PolicyEvent
- Inheritance
-
PolicyEvent
Constructors
PolicyEvent(PolicyEvent) |
Initializes a new instance of the PolicyEvent class. |
Properties
AdditionalProperties |
Gets the additional properties (i.e. query time generated properties like aggregations). |
EffectiveParameters |
Gets effective parameters for the policy assignment. |
IsCompliant |
Gets flag which states whether the resource is compliant against the policy assignment it was evaluated against. |
ManagementGroupIds |
Gets comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. |
PolicyAssignmentId |
Gets policy assignment ID. |
PolicyAssignmentName |
Gets policy assignment name. |
PolicyAssignmentOwner |
Gets policy assignment owner. |
PolicyAssignmentParameters |
Gets policy assignment parameters. |
PolicyAssignmentScope |
Gets policy assignment scope. |
PolicyDefinitionAction |
Gets policy definition action, i.e. effect. |
PolicyDefinitionCategory |
Gets policy definition category. |
PolicyDefinitionId |
Gets policy definition ID. |
PolicyDefinitionName |
Gets policy definition name. |
PolicyDefinitionReferenceId |
Gets reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. |
PolicySetDefinitionCategory |
Gets policy set definition category, if the policy assignment is for a policy set. |
PolicySetDefinitionId |
Gets policy set definition ID, if the policy assignment is for a policy set. |
PolicySetDefinitionName |
Gets policy set definition name, if the policy assignment is for a policy set. |
PolicySetDefinitionOwner |
Gets policy set definition owner, if the policy assignment is for a policy set. |
PolicySetDefinitionParameters |
Gets policy set definition parameters, if the policy assignment is for a policy set. |
PrincipalOid |
Gets principal object ID for the user who initiated the resource operation that triggered the policy event. |
ResourceGroup |
Gets resource group name. |
ResourceId |
Gets resource ID. |
ResourceLocation |
Gets resource location. |
ResourceTags |
Gets list of resource tags. |
ResourceType |
Gets resource type. |
SubscriptionId |
Gets subscription ID. |
TenantId |
Gets tenant ID for the policy event record. |
Timestamp |
Gets timestamp for the policy event record. |