CmdID / az / az policy / az policy enrollment
az policy enrollment create
Create a policy enrollment. Azure CLI reference
8 options Its page in the Azure CLI reference
Options
--assignment-scope-validation, -vThe option whether to validate the enrollment is at or under the assignment scope.--descriptionThe description of the policy enrollment.--display-nameThe display name of the policy enrollment.--metadataThe policy enrollment metadata.--name, -nThe name of the policy enrollment.--policy-definition-reference-ids, --policy-assignment, -a, -r--resource-selectorsThe resource selector list to filter policies by resource properties.--scopeThe fully qualified Azure Resource manager identifier of the resource.