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(ResourceGroupResource) |
Gets a collection of ContainerAppJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppJobs() instead. |
GetContainerAppJobs(SubscriptionResource, CancellationToken) |
Get the Container Apps Jobs in a given subscription.
|
GetContainerAppJobs(ResourceGroupResource)
- 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
GetContainerAppJobs(SubscriptionResource, CancellationToken)
- Source:
- AppContainersExtensions.cs
Get the Container Apps Jobs in a given subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/jobs
- Operation Id: Jobs_ListBySubscription
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for