MockableAppContainersResourceGroupResource.GetContainerAppJobAsync 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. : 2025-10-02-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource>> GetContainerAppJobAsync(string jobName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource>>
override this.GetContainerAppJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppJobResource>>
Public Overridable Function GetContainerAppJobAsync (jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppJobResource))

Parameters

jobName
String

Job Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobName is null.

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

Applies to