CloudServiceOperatingSystemsOperationsExtensions.ListOSVersions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSVersion> ListOSVersions (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string location);
static member ListOSVersions : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSVersion>
<Extension()>
Public Function ListOSVersions (operations As ICloudServiceOperatingSystemsOperations, location As String) As IPage(Of OSVersion)
Parameters
- operations
- ICloudServiceOperatingSystemsOperations
The operations group for this extension method.
- location
- String
Name of the location that the OS versions pertain to.
Returns
Applies to
Azure SDK for .NET