UpdatesClient.GetOperationAsync(String, AccessCondition, CancellationToken) Method

Definition

Retrieve operation status.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.IoT.DeviceUpdate.Models.Operation>> GetOperationAsync (string operationId, Azure.IoT.DeviceUpdate.Models.AccessCondition accessCondition = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationAsync : string * Azure.IoT.DeviceUpdate.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.IoT.DeviceUpdate.Models.Operation>>
override this.GetOperationAsync : string * Azure.IoT.DeviceUpdate.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.IoT.DeviceUpdate.Models.Operation>>
Public Overridable Function GetOperationAsync (operationId As String, Optional accessCondition As AccessCondition = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Operation))

Parameters

operationId
String

Operation identifier.

accessCondition
Azure.IoT.DeviceUpdate.Models.AccessCondition

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Task<Response<Azure.IoT.DeviceUpdate.Models.Operation>>

Applies to