-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Not able to create VirtualMachineScaleSetVM instance for unit test. Ambiguous constructor call for Azure compute SDK > 47.0 #23359
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv. Issue DetailsDescribe the bug Expected behavior var vmssVm = new VirtualMachineScaleSetVM(location: "",
sku: new Sku() { Name = "xyz" },
storageProfile: new StorageProfile()
{
OsDisk = new OSDisk()
{
OsType = OperatingSystemTypes.Linux
}
}); Actual behavior (include Exception or Stack Trace)
To Reproduce
Note: Build successful version <= 46.0.0 Environment:
|
route to service team to have a look |
@avirishuv Could you please look into the issue? |
hi @yungezz is this an issue in the SDK layer, would you mind investigating? |
hi @HarveyLink could you help to take a look? thanks |
Hi @KalpeshChavan12 , this issue has been fixed in version 49.1.0, would you mind update to the latest version and try your code? |
Hi @KalpeshChavan12. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Hi @KalpeshChavan12, since you haven’t asked that we “ |
Describe the bug
Compilation error while creating instance of VirtualMachineScaleSetVM class instance for unit test.
Expected behavior
Following should compile
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
Compilation error, ambiguous call
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Note: Build successful version <= 46.0.0
Environment:
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]The text was updated successfully, but these errors were encountered: