Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Documentation: How to deploy Policies #290

@MiguelElGallo

Description

@MiguelElGallo

Documentation Issue

Hello,
It is possible to include some example how to deploy policies?

Example:
https://github.com/Azure/data-management-zone/blob/main/infra/Policies/PolicyDefinitions/Synapse/params.policyDefinition.Append-Synapse-Purview.json

This policy needs the value for "[parameters('purviewResourceId')]"

If we want to deploy to Subscription we can use:
az deployment sub create -l northeurope -f deploy.policyDefinition.sub.json -p ./PolicyDefinitions/Synapse/params.policyDefinition.Append-Synapse-Purview.json

But I fail to understand two things:

  1. How we can pass the value for the parameter purviewResourceId
  2. how to "mass" deploy multiple policies using a single parameter file

Thanks!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogBacklog itemdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions