CmdID

CmdID / az / az policy / az policy set-definition / az policy set-definition version

az policy set-definition version create

Create a policy set definition version. Azure CLI reference

Create a policy set definition version in the given subscription or management group with the given name and other properties.

1 example 7 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a policy set definition with older version

az policy set-definition version create -n readOnlyStorage --definitions "[ { 'policyDefinitionId': '/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}' } ]" --version 1.1.0Identify
-nThe name of the policy set definition.
--definitionsAn array of policy definition references.

Options

7 in the Azure CLI reference
--definition-groupsThe metadata describing groups of policy definition references within the policy set definition.
--definitionsAn array of policy definition references.
--descriptionThe policy set definition description.
--display-nameThe display name of the policy set definition.
--management-groupThe management group.
--metadata, --version, --params, -p
--name, -nThe name of the policy set definition.