Share via


CloudServiceOperatingSystemsOperationsExtensions.ListOSVersionsNextAsync 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 System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSVersion>> ListOSVersionsNextAsync (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member ListOSVersionsNextAsync : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSVersion>>
<Extension()>
Public Function ListOSVersionsNextAsync (operations As ICloudServiceOperatingSystemsOperations, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OSVersion))

Parameters

operations
ICloudServiceOperatingSystemsOperations

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to