Partilhar via


ContainerAppJobCollection.Get(String, CancellationToken) Method

Definition

Get the properties of a Container Apps Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppJobResource
public virtual Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource> Get (string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource>
Public Overridable Function Get (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppJobResource)

Parameters

jobName
String

Job Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

jobName is null.

Applies to