IPolicyState 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.PolicyStateTypeConverter))]
public interface IPolicyState : 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.PolicyStateTypeConverter))>]
type IPolicyState = interface
interface IJsonSerializable
interface IAssociativeArray<obj>
Public Interface IPolicyState
Implements IAssociativeArray(Of Object), IJsonSerializable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| AdditionalProperties | (Inherited from IAssociativeArray<T>) |
| ComplianceState |
Compliance state of the resource. |
| Component |
Components state compliance records populated only when URL contains $expand=components clause. |
| Count | (Inherited from IAssociativeArray<T>) |
| EffectiveParameter |
Effective parameters for the policy assignment. |
| IfNotExistDetailResourceId |
ID of the last evaluated resource for IfNotExists effect. |
| IfNotExistDetailTotalResource |
Total number of resources to which the existence condition is applicable. |
| IsCompliant |
Flag which states whether the resource is compliant against the policy assignment it was evaluated against. This property is deprecated; please use ComplianceState instead. |
| 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 state 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. |
| PolicyAssignmentVersion |
Evaluated policy assignment version. |
| PolicyDefinitionAction |
Policy definition action, i.e. effect. |
| PolicyDefinitionCategory |
Policy definition category. |
| PolicyDefinitionGroupName |
Policy definition group names. |
| 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. |
| PolicyDefinitionVersion |
Evaluated policy definition version. |
| PolicyEvaluationDetailEvaluatedExpression |
Details of the evaluated expressions. |
| 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. |
| PolicySetDefinitionVersion |
Evaluated policy set definition version. |
| ResourceGroup |
Resource group name. |
| ResourceId |
Resource ID. |
| ResourceLocation |
Resource location. |
| ResourceTag |
List of resource tags. |
| ResourceType |
Resource type. |
| SubscriptionId |
Subscription ID. |
| Timestamp |
Timestamp for the policy state 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>) |