L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Create an IP network rule for Azure Storage
You can deny all public access to your storage account and then configure Azure network settings to accept requests from specific IP address ranges. To enable traffic from specific public IP address ranges, create one or more IP network rules. To learn more, see Permit access to IP address ranges.
Network rules have no effect unless you set the -DefaultAction parameter to Deny. However, changing this setting can affect your application's ability to connect to Azure Storage. Be sure to grant access to any allowed networks or set up access through a private endpoint before you change this setting.
To allow traffic from IP address ranges, use the az storage account update command and set the --default-action parameter to Deny:
az storage account update --resource-group "myresourcegroup" --name "mystorageaccount" --default-action Deny
Important
Network rules have no effect unless you set the --default-action parameter to Deny. However, changing this setting can affect your application's ability to connect to Azure Storage. Be sure to grant access to any allowed networks or set up access through a private endpoint before you change this setting.
List IP network rules:
az storage account network-rule list --resource-group "myresourcegroup" --account-name "mystorageaccount" --query ipRules