Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @RajarajeshwariHS
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was suggested by @number213 as it was required for this PR : #6692
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if we're updating API version in
vmssPublicIpAddress, we should also update it invmssNetworkInterface. I guess the question is what's the reason for changing API version in VMSS specs? Just to use the latest one?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use latest Microsoft.Azure.Management.Network nuget which is of version “19.12.0-preview”. I searched in the source repository of this repo and found out the required API : ListVirtualMachineScaleSetPublicIPAddressesWithHttpMessagesAsync
https://github.com/Azure/azure-sdk-for-net/blob/dc23a39caf37d07f02512540d20c29866ff83759/sdk/network/Microsoft.Azure.Management.Network/src/Generated/PublicIpAddressesOperations.cs
Here the apiVersion is set as “2017-03-30”. We require it to be “2018-10-01”.
So, here #6692 I have made the required changes to vmssPublicIPAddress and as we have to also update vmssNetworkInterface, I have made the changes here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RajarajeshwariHS makes sense.
If you need updated Network SDK asap, we can work on getting you a signed nupkg, because the next NuGet release will be in a month