azure-storageazure-api-managementazure-storage-filesazure-fluent-api

Azure Storage Firewall, how to add/delete allowed public IPs by Rest API or SDK


I need to programmatically insert/remove Firewall IP entries, from a .NET desktop app, to an Azure storage account to temporary allow SMB access through the internet when my customers are out of office. I've found a solutions to retrieve the list of the allowed public IPs/IP ranges already set but not to insert/delete IPs by REST Api or .NET Sdk. Does anybody have a solution? Thank you.


Solution

  • This is the rest api call you are interested in. By the same token create\edit storage account SDK call would have these properties