CmdID / az / az webapp / az webapp config / az webapp config access-restriction
az webapp config access-restriction add
Adds an Access Restriction to the webapp. Azure CLI reference
14 options Its page in the Azure CLI reference
Options
--actionAllow or deny access--descriptionDescription of the access restriction rule--http-headersspace-separated http headers in a format of <name>=<value>--ignore-missing-endpoint, -iCreate access restriction rule with checking if the subnet has Microsoft.Web service endpoint enabled--ip-addressIP address or CIDR range (optional comma separated list of up to 8 ranges)--name--priority, -pPriority of the access restriction rule--rule-name, -rName of the access restriction rule to add--scm-siteTrue if access restrictions is added for scm site--service-tagService Tag (optional comma separated list of up to 8 tags)--skip-service-tag-validation, -kSkip validating public service tags--subnetSubnet name (requires vNet name) or subnet resource id--vnet-namevNet name--vnet-resource-groupResource group of virtual network (default is web app resource group)