DigitalTwinsOperationsExtensions.GetAsync(IDigitalTwinsOperations, String, String, CancellationToken) Method

Definition

Get DigitalTwinsInstances resource.

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

Parameters

operations
IDigitalTwinsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
String

The name of the DigitalTwinsInstance.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<DigitalTwinsDescription>

Applies to