PolicyState Class

Definition

Policy state record.

public class PolicyState
type PolicyState = class
Public Class PolicyState
Inheritance
PolicyState

Constructors

PolicyState(PolicyState)

Initializes a new instance of the PolicyState class.

Properties

AdditionalProperties

Gets the additional properties (i.e. query time generated properties like aggregations).

ComplianceState

Gets compliance state.

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.

PolicyAssignmentVersion

Gets the version of the policy assignment.

PolicyDefinitionAction

Gets policy definition action, i.e. effect.

PolicyDefinitionCategory

Gets policy definition category.

PolicyDefinitionGroupNames

Gets policy definition group names.

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.

PolicyDefinitionVersion

Gets the version of the policy definition.

PolicyEvaluationDetails

Gets policy evaluation details.

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.

PolicySetDefinitionVersion

Gets the version of the policy set definition.

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.

Timestamp

Gets timestamp for the policy state record.

Applies to