AppContainersExtensions.GetContainerAppJobs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetContainerAppJobs(SubscriptionResource, CancellationToken) |
Get the Container Apps Jobs in a given subscription.
|
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
Azure SDK for .NET