CmdID

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

az policy set-definition show

Retrieve a policy set definition. Azure CLI reference

Retrieve and show the details of the policy set definition in the given subscription or management group with the given name.

2 examples 2 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

Retrieve a policy set definition at management group level

az policy set-definition show --management-group MyManagementGroup --name CostManagementIdentify
--nameThe name of the policy set definition.

Retrieve a policy set definition

az policy set-definition show --name CostManagementIdentify
--nameThe name of the policy set definition.

Options

2 in the Azure CLI reference
--management-group, --expand
--name, -nThe name of the policy set definition.