Closed ykuijs closed 2 years ago
@dolauli , please look into this issue.
The root cause of the issue is in the generator autorest.powershell. And there already is an issue to track it. please see https://github.com/Azure/autorest.powershell/issues/772 for details. And before the issue is fixed in the generator, we could work around it by setting a culture, which use dot for float number. For example, Set-Culture en-US
We have fixed the issue in generator in the PR -- https://github.com/Azure/autorest.powershell/pull/855. And this issue should be fixed in next release of Az.ContainerInstance.
Close this issue as Az.ContainerInstance is going to release in current milestone.
Description
When using the Dutch regional settings, decimals are written using a comma instead of a dot. When I want to create a new container and specify a decimal number for memoryInGB using the below cmdlets, I am getting an error message.
When I use the ToJsonString method for the container object, I am getting this (see the two commas in memoryInGB):
Steps to reproduce
Environment data
Module versions
Debug output
Error output