DeploymentsClient.RetryDeploymentAsync(String, CancellationToken) Method

Definition

Retry active deployment.

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

Parameters

deploymentId
String

Deployment identifier.

cancellationToken
CancellationToken

(Optional) The cancellation token to use.

Returns

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

The retried deployment.

Applies to