This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

azure_policy_assignment

description

Type: STRING
Provider name: properties.description
Description: This message will be part of response in case of policy violation.

display_name

Type: STRING
Provider name: properties.displayName
Description: The display name of the policy assignment.

enforcement_mode

Type: STRING
Provider name: properties.enforcementMode
Description: The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.

id

Type: STRING
Provider name: id
Description: The ID of the policy assignment.

identity

Type: STRUCT
Provider name: identity
Description: The managed identity associated with the policy assignment.

  • principal_id
    Type: STRING
    Provider name: principalId
    Description: The principal ID of the resource identity.
  • tenant_id
    Type: STRING
    Provider name: tenantId
    Description: The tenant ID of the resource identity.
  • type
    Type: STRING
    Provider name: type
    Description: The identity type. This is the only required field when adding a system assigned identity to a resource.

location

Type: STRING
Provider name: location
Description: The location of the policy assignment. Only required when utilizing managed identity.

name

Type: STRING
Provider name: name
Description: The name of the policy assignment.

not_scopes

Type: UNORDERED_LIST_STRING
Provider name: properties.notScopes
Description: The policy’s excluded scopes.

parameters

Type: MAP_STRING_STRING
Provider name: properties.parameters
Description: The parameter values for the assigned policy rule. The keys are the parameter names.

policy_definition_id

Type: STRING
Provider name: properties.policyDefinitionId
Description: The ID of the policy definition or policy set definition being assigned.

resource_group

Type: STRING

scope

Type: STRING
Provider name: properties.scope
Description: The scope for the policy assignment.

subscription_id

Type: STRING

subscription_name

Type: STRING

tags

Type: UNORDERED_LIST_STRING

type

Type: STRING
Provider name: type
Description: The type of the policy assignment.