Freigeben über


AutomationJobCollection.Get(String, String, CancellationToken) Methode

Definition

Rufen Sie den durch den Auftragsnamen identifizierten Auftrag ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccounts}/jobs/{jobName}
  • Vorgangs-IdJob_Get
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationJobResource> Get (string jobName, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationJobResource>
override this.Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationJobResource>
Public Overridable Function Get (jobName As String, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationJobResource)

Parameter

jobName
String

Der Auftragsname.

clientRequestId
String

Identifiziert diese spezifische Clientanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

jobName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

jobName ist NULL.

Gilt für: