Share via


BastionHostsOperationsExtensions.ListNextAsync Method

Definition

Lists all Bastion Hosts in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionHost>> ListNextAsync (this Microsoft.Azure.Management.Network.IBastionHostsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member ListNextAsync : Microsoft.Azure.Management.Network.IBastionHostsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionHost>>
<Extension()>
Public Function ListNextAsync (operations As IBastionHostsOperations, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionHost))

Parameters

operations
IBastionHostsOperations

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