DigitalTwinsOperationsExtensions.ListAsync Method

Definition

Get all the DigitalTwinsInstances in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription>> ListAsync (this Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription>>
<Extension()>
Public Function ListAsync (operations As IDigitalTwinsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DigitalTwinsDescription))

Parameters

operations
IDigitalTwinsOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<DigitalTwinsDescription>>

Applies to