EdgeMachineResource.GetEdgeMachineJob(String, CancellationToken) Method

Definition

Get a EdgeMachineJob.

public virtual Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource> GetEdgeMachineJob(string jobsName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeMachineJob : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource>
override this.GetEdgeMachineJob : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Hci.EdgeMachineJobResource>
Public Overridable Function GetEdgeMachineJob (jobsName As String, Optional cancellationToken As CancellationToken = Nothing) As 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