Closed Rowdster closed 10 years ago
Adding @huangpf @hyonholee for fixing
@Rowdster Only PaaS deployments have the 'OsVersion' param, but the VM deployment you created/referred to is an IaaS one.
Please close this issue as it's actually not about element name or serialization.
@huangpf , Thanks, but I still am not certain as to why this parameter is not returning data. Is there information or documentation on the differences between PaaS vs IaaS for provisioning with the Azure API and why I could expect to not see a result for OsVersion, even though the property is part of the API?
Thank you!
@Rowdster, for IaaS and PaaS deployments, they have different Create() APIs, but they share the same Get() API. From the service's perspective, they are two different designs, and by design IaaS deployment roles won't have any values returned for this field.
@singhkay, could you please provide more information about the different designs?
References: PaaS Create Deployment: http://msdn.microsoft.com/en-us/library/azure/ee460813.aspx IaaS Create Deployment: http://msdn.microsoft.com/en-us/library/azure/jj157194.aspx IaaS/PaaS Get Deployment: http://msdn.microsoft.com/en-us/library/azure/ee460804.aspx IaaS Get Role: http://msdn.microsoft.com/en-us/library/azure/jj157193.aspx
333 was supposedly resolved as of 0.9.4.
However, as of 0.9.7, when querying a "Windows Server 2012 Datacenter" machine, as of latest Nuget pull, 0.9.7, the below is returning null for role.OSVersion. The underlying REST API appears to be as "OsVersion".