[LIB] improve struct parameters name generated by codegen #1023
Labels
enhancement
New feature or request
k8s
New feature or request by mgc-k8s team
lib
lib related improvements
wontfix
This will not be worked on
In VM creation, for instance, we use this command:
Inside virtualMachine.CreateParameters, the Image field has two fields (CreateParameterImage0 and CreateParametersImage1) where each of them has only one property (Id and Name, respectively).
It would be better if the Image property have the fields Id and Name directly, instead of CreateParametersImage0 and CreateParametersImage1. The same with others fields as MachineType and Network.
The text was updated successfully, but these errors were encountered: