Documentation ¶
Index ¶
- func FilterRules(rules []*armstorage.IPRule) []*armstorage.IPRule
- func GetIPRulesForServices(ctx context.Context, credential azcore.TokenCredential, subscriptionID string, ...) ([]*armstorage.IPRule, error)
- func UpdateStorageAccountIPRules(ctx context.Context, credential azcore.TokenCredential, subscriptionID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterRules ¶
func FilterRules(rules []*armstorage.IPRule) []*armstorage.IPRule
FilterRules transforms the specified rules into a list that is acceptable by Azure. See https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal#restrictions-for-ip-network-rules.
func GetIPRulesForServices ¶
func GetIPRulesForServices(ctx context.Context, credential azcore.TokenCredential, subscriptionID string, location string, serviceTags ...string) ([]*armstorage.IPRule, error)
GetIPRulesForServices returns a list of allow IP rules for the specified services.
func UpdateStorageAccountIPRules ¶
func UpdateStorageAccountIPRules(ctx context.Context, credential azcore.TokenCredential, subscriptionID string, resourceGroup string, storageAccount string, rules []*armstorage.IPRule) error
UpdateStorageAccountIPRules updates the network IP rules for the specified storage account.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.