miniature-gigabyte-99238
03/28/2023, 8:17 AM<https://pastebin.com/MFzmv47L>
Now it complains about multiple parts. So for example the os_profile part should be
os_profile=azure_native.compute.OSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name="myVM",
),
so I should use the xyzArgs function. I can do that but why are so many examples not using the Args but the way I use it in the pastebin? Is there two ways of doing it? One prefered about the other? Or is the non Args way for for the old Azure Provider and Args for the azure native one?
Just trying to understand why.billowy-army-68599
03/28/2023, 1:35 PMxyzArgs
way)
This is really an artifact of how the python type system works. This is a good intro: https://cerfacs.fr/coop/python-typing
I personally prefer the typed input way, but it can be quite verbose, however it really does help you catch errors when defining infrastructureminiature-gigabyte-99238
04/01/2023, 9:44 AM