EdgeMachineResource.GetEdgeMachineJobAsync(String, CancellationToken) Method

Definition

Get a EdgeMachineJob.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource>> GetEdgeMachineJobAsync(string jobsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeMachineJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource>>
override this.GetEdgeMachineJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource>>
Public Overridable Function GetEdgeMachineJobAsync (jobsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EdgeMachineJobResource))

Parameters

jobsName
String

Name of EdgeMachineJob.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobsName is null.

jobsName is an empty string, and was expected to be non-empty.

Applies to