Share via


CloudServiceOperatingSystemsOperationsExtensions.ListOSVersions Method

Definition

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