CmdID / az / az network / az network service-endpoint / az network service-endpoint policy-definition
az network service-endpoint policy-definition create
Create a service endpoint policy definition. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
Create a service endpoint policy definition.
az network service-endpoint policy-definition create -g MyResourceGroup --policy-name MyPolicy -n MyPolicyDefinition --service Microsoft.Storage --description "Test Def" --service-resources MyServiceResourcesIdentify-gName of resource group.--policy-nameName of the service endpoint policy.-nName of the service endpoint policy definition.--serviceService name the policy definition applies to.--descriptionDescription of the policy definition.--service-resourcesSpace-separated list of service resources the definition applies to.Options
--descriptionDescription of the policy definition.--name, -nName of the service endpoint policy definition.--policy-nameName of the service endpoint policy.--service-resourcesSpace-separated list of service resources the definition applies to.--serviceService name the policy definition applies to.