CmdID / az / az network / az network service-endpoint / az network service-endpoint policy-definition
az network service-endpoint policy-definition update
Update a service endpoint policy definition. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
Update a service endpoint policy definition.
az network service-endpoint policy-definition update --add communities='12076:5010' --name MyServiceEndpointPolicyDefinition --policy-name MyPolicy --resource-group MyResourceGroup --subscription MySubscriptionIdentify--nameName of the service endpoint policy definition.--policy-nameName of the service endpoint policy.--resource-groupName of resource group.--subscriptionName or ID of subscription.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.