Share via


PolicyEvent Class

Definition

Policy event record.

public class PolicyEvent
type PolicyEvent = class
Public Class PolicyEvent
Inheritance
PolicyEvent

Constructors

PolicyEvent()

Initializes a new instance of the PolicyEvent class.

PolicyEvent(IDictionary<String,Object>, String, String, Nullable<DateTime>, String, String, String, String, Nullable<Boolean>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, IList<ComponentEventDetails>)

Initializes a new instance of the PolicyEvent class.

Properties

AdditionalProperties

Gets or sets unmatched properties from the message are deserialized this collection

ComplianceState

Gets or sets compliance state of the resource.

Components

Gets or sets components events records populated only when URL contains $expand=components clause.

EffectiveParameters

Gets or sets effective parameters for the policy assignment.

IsCompliant

Gets or sets flag which states whether the resource is compliant against the policy assignment it was evaluated against.

ManagementGroupIds

Gets or sets comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.

Odatacontext

Gets or sets oData context string; used by OData clients to resolve type information based on metadata.

Odataid

Gets or sets oData entity ID; always set to null since policy event records do not have an entity ID.

PolicyAssignmentId

Gets or sets policy assignment ID.

PolicyAssignmentName

Gets or sets policy assignment name.

PolicyAssignmentOwner

Gets or sets policy assignment owner.

PolicyAssignmentParameters

Gets or sets policy assignment parameters.

PolicyAssignmentScope

Gets or sets policy assignment scope.

PolicyDefinitionAction

Gets or sets policy definition action, i.e. effect.

PolicyDefinitionCategory

Gets or sets policy definition category.

PolicyDefinitionId

Gets or sets policy definition ID.

PolicyDefinitionName

Gets or sets policy definition name.

PolicyDefinitionReferenceId

Gets or sets reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.

PolicySetDefinitionCategory

Gets or sets policy set definition category, if the policy assignment is for a policy set.

PolicySetDefinitionId

Gets or sets policy set definition ID, if the policy assignment is for a policy set.

PolicySetDefinitionName

Gets or sets policy set definition name, if the policy assignment is for a policy set.

PolicySetDefinitionOwner

Gets or sets policy set definition owner, if the policy assignment is for a policy set.

PolicySetDefinitionParameters

Gets or sets policy set definition parameters, if the policy assignment is for a policy set.

PrincipalOid

Gets or sets principal object ID for the user who initiated the resource operation that triggered the policy event.

ResourceGroup

Gets or sets resource group name.

ResourceId

Gets or sets resource ID.

ResourceLocation

Gets or sets resource location.

ResourceTags

Gets or sets list of resource tags.

ResourceType

Gets or sets resource type.

SubscriptionId

Gets or sets subscription ID.

TenantId

Gets or sets tenant ID for the policy event record.

Timestamp

Gets or sets timestamp for the policy event record.

Applies to