CmdID / az / az policy / az policy enrollment
az policy enrollment show
Retrieve a policy enrollment. Azure CLI reference
Retrieve and show the details of the policy enrollment with the given name and scope.
1 example 2 options Its page in the Azure CLI reference
Examples
Show a policy enrollment
az policy enrollment show --name MyPolicyEnrollment --resource-group "myResourceGroup"Identify--nameThe name of the policy enrollment.--resource-groupName of resource group.Options
--name, -nThe name of the policy enrollment.--scopeThe fully qualified Azure Resource manager identifier of the resource.