Delen via


InstancesOperationsExtensions.GetAsync Method

Definition

Returns instances for the given account and instance name.

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

Parameters

operations
IInstancesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

Account name.

instanceName
String

Instance name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to