I have existing network with subnet, which has its IPV4 address prefix specified. Using Azure SDK in C# i need to add additional IPV6 address prefix without removing the existing one. I managed to do this in portal and using Microsoft REST API, but my goal is to implement it using their SDK. Here is the piece of code I wrote so far:
await networkToUpdate.Update()
.UpdateSubnet(network.SubnetAzureId)
.WithAddressPrefix("10.0.0.0/21")
.WithAddressPrefix("ace:cab:dca:deed::/64")
.Parent()
.ApplyAsync();
Unfortunately, it allows to set only one address prefix, which is the IPV6 in this scenario. Is there any way to add both address prefixes via SDK?
