다음을 통해 공유


PolicyState Class

Definition

Policy state record.

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

Constructors

PolicyState()

Initializes a new instance of the PolicyState class.

PolicyState(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, PolicyEvaluationDetails, IList<String>, IList<ComponentStateDetails>, String, String, String)

Initializes a new instance of the PolicyState 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 state compliance 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. This property is deprecated; please use ComplianceState instead.

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 state 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.

PolicyAssignmentVersion

Gets evaluated policy assignment version.

PolicyDefinitionAction

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

PolicyDefinitionCategory

Gets or sets policy definition category.

PolicyDefinitionGroupNames

Gets or sets policy definition group names.

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.

PolicyDefinitionVersion

Gets evaluated policy definition version.

PolicyEvaluationDetails

Gets or sets policy evaluation details.

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.

PolicySetDefinitionVersion

Gets evaluated policy set definition version.

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.

Timestamp

Gets or sets timestamp for the policy state record.

Applies to