IPolicyEvent Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.PolicyEventTypeConverter))]
public interface IPolicyEvent : Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Runtime.IAssociativeArray<object>, Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PolicyInsights.Models.PolicyEventTypeConverter))>]
type IPolicyEvent = interface
interface IJsonSerializable
interface IAssociativeArray<obj>
Public Interface IPolicyEvent
Implements IAssociativeArray(Of Object), IJsonSerializable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| AdditionalProperties | (Inherited from IAssociativeArray<T>) |
| ComplianceState |
Compliance state of the resource. |
| Component |
Components events records populated only when URL contains $expand=components clause. |
| Count | (Inherited from IAssociativeArray<T>) |
| EffectiveParameter |
Effective parameters for the policy assignment. |
| IsCompliant |
Flag which states whether the resource is compliant against the policy assignment it was evaluated against. |
| Item[String] | (Inherited from IAssociativeArray<T>) |
| Keys | (Inherited from IAssociativeArray<T>) |
| ManagementGroupId |
Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. |
| OdataContext |
OData context string; used by OData clients to resolve type information based on metadata. |
| OdataId |
OData entity ID; always set to null since policy event records do not have an entity ID. |
| PolicyAssignmentId |
Policy assignment ID. |
| PolicyAssignmentName |
Policy assignment name. |
| PolicyAssignmentOwner |
Policy assignment owner. |
| PolicyAssignmentParameter |
Policy assignment parameters. |
| PolicyAssignmentScope |
Policy assignment scope. |
| PolicyDefinitionAction |
Policy definition action, i.e. effect. |
| PolicyDefinitionCategory |
Policy definition category. |
| PolicyDefinitionId |
Policy definition ID. |
| PolicyDefinitionName |
Policy definition name. |
| PolicyDefinitionReferenceId |
Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. |
| PolicySetDefinitionCategory |
Policy set definition category, if the policy assignment is for a policy set. |
| PolicySetDefinitionId |
Policy set definition ID, if the policy assignment is for a policy set. |
| PolicySetDefinitionName |
Policy set definition name, if the policy assignment is for a policy set. |
| PolicySetDefinitionOwner |
Policy set definition owner, if the policy assignment is for a policy set. |
| PolicySetDefinitionParameter |
Policy set definition parameters, if the policy assignment is for a policy set. |
| PrincipalOid |
Principal object ID for the user who initiated the resource operation that triggered the policy event. |
| ResourceGroup |
Resource group name. |
| ResourceId |
Resource ID. |
| ResourceLocation |
Resource location. |
| ResourceTag |
List of resource tags. |
| ResourceType |
Resource type. |
| SubscriptionId |
Subscription ID. |
| TenantId |
Tenant ID for the policy event record. |
| Timestamp |
Timestamp for the policy event record. |
| Values | (Inherited from IAssociativeArray<T>) |
Methods
| Name | Description |
|---|---|
| Add(String, T) | (Inherited from IAssociativeArray<T>) |
| Clear() | (Inherited from IAssociativeArray<T>) |
| ContainsKey(String) | (Inherited from IAssociativeArray<T>) |
| Remove(String) | (Inherited from IAssociativeArray<T>) |
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |
| TryGetValue(String, T) | (Inherited from IAssociativeArray<T>) |