(azure-cli 2.0.74, I did not try other versions)
az storage account network-rule add is not idempotent. The first time I run it it works, subsequent invocations result in:
Values for request parameters are invalid: networkAcls.virtualNetworkRules[*].id(unique). For more information, see - https://aka.ms/storagenetworkruleset
In the spirit of https://github.com/Azure/azure-cli/blob/dev/doc/command_guidelines.md#standard-command-types I believe the subsequent operations should not result in an error, but be a no-op instead (making this command idempotent).
(azure-cli 2.0.74, I did not try other versions)
az storage account network-rule addis not idempotent. The first time I run it it works, subsequent invocations result in:Values for request parameters are invalid: networkAcls.virtualNetworkRules[*].id(unique). For more information, see - https://aka.ms/storagenetworkrulesetIn the spirit of https://github.com/Azure/azure-cli/blob/dev/doc/command_guidelines.md#standard-command-types I believe the subsequent operations should not result in an error, but be a no-op instead (making this command idempotent).