Open AlexanderAshitkin opened 7 months ago
@AlexanderAshitkin
Thanks for reporting. This should be an implementation bug. Would you try following code to see if this works for you?
privateDnsZone.update()
.withoutVirtualNetworkLink(virtualNetworkLink.name(), virtualNetworkLink.etag())
.apply();
Describe the bug Bug in implementation - parameters mismatch.
com.azure.resourcemanager.privatedns.implementation.VirtualNetworkLinksImpl#deleteByResourceGroupNameAsync
calls underlyingcom.azure.resourcemanager.privatedns.fluent.VirtualNetworkLinksClient#deleteAsync
with mismatched parameters:privateZoneName
etagValue
passed instead ofvirtualNetworkLinkName
Exception or Stack Trace etag value appears in the URL instead of the expected VNL name
To Reproduce Use Azure Java SDK to delete an existing virtual network link in a privatedns zone
Code Snippet
Expected behavior API works properly. The link is deleted.
Screenshots See above
Setup (please complete the following information):
Additional context NA
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report