Policy Assignment

This table represents the Policy Assignment resource from Microsoft Azure.

azure.policy_assignment

Fields

TitleIDTypeData TypeDescription
_keycorestring
definition_versioncorestringThe version of the policy definition to use.
descriptioncorestringThis message will be part of response in case of policy violation.
effective_definition_versioncorestringThe effective version of the policy definition in use. This is only present if requested via the $expand query parameter.
enforcement_modecorestringThe policy assignment enforcement mode. Possible values are Default and DoNotEnforce.
idcorestringThe ID of the policy assignment.
identitycorejsonThe managed identity associated with the policy assignment.
latest_definition_versioncorestringThe latest version of the policy definition available. This is only present if requested via the $expand query parameter.
locationcorestringThe location of the policy assignment. Only required when utilizing managed identity.
namecorestringThe name of the policy assignment.
not_scopescorearray<string>The policy's excluded scopes.
overridescorejsonThe policy property value override.
parameterscorehstoreThe parameter values for the assigned policy rule. The keys are the parameter names.
policy_definition_idcorestringThe ID of the policy definition or policy set definition being assigned.
resource_groupcorestring
resource_selectorscorejsonThe resource selector list to filter policies by resource properties.
scopecorestringThe scope for the policy assignment.
subscription_idcorestring
subscription_namecorestring
system_datacorejsonThe system metadata relating to this resource.
tagscorehstore_csv
typecorestringThe type of the policy assignment.