AppContainersExtensions.GetContainerAppJobs Method

Definition

Overloads

GetContainerAppJobs(SubscriptionResource, CancellationToken)

Get the Container Apps Jobs in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/jobs
  • Operation Id: Jobs_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppJobResource
GetContainerAppJobs(ResourceGroupResource)

Gets a collection of ContainerAppJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppJobs() instead.

GetContainerAppJobs(SubscriptionResource, CancellationToken)

Source:
AppContainersExtensions.cs
Source:
AppContainersExtensions.cs

Get the Container Apps Jobs in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/jobs
  • Operation Id: Jobs_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppJobResource
public static Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppJobResource> GetContainerAppJobs (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppJobs : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppJobResource>
<Extension()>
Public Function GetContainerAppJobs (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerAppJobResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ContainerAppJobResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to

GetContainerAppJobs(ResourceGroupResource)

Source:
AppContainersExtensions.cs
Source:
AppContainersExtensions.cs

Gets a collection of ContainerAppJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppJobs() instead.

public static Azure.ResourceManager.AppContainers.ContainerAppJobCollection GetContainerAppJobs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerAppJobs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppContainers.ContainerAppJobCollection
<Extension()>
Public Function GetContainerAppJobs (resourceGroupResource As ResourceGroupResource) As ContainerAppJobCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ContainerAppJobResources and their operations over a ContainerAppJobResource.

Exceptions

resourceGroupResource is null.

Applies to