AppContainersExtensions.GetContainerApps 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
GetContainerApps(ResourceGroupResource) |
Gets a collection of ContainerAppResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerApps() instead. |
GetContainerApps(SubscriptionResource, CancellationToken) |
Get the Container Apps in a given subscription.
|
GetContainerApps(ResourceGroupResource)
- Source:
- AppContainersExtensions.cs
Gets a collection of ContainerAppResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerApps() instead.
public static Azure.ResourceManager.AppContainers.ContainerAppCollection GetContainerApps (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerApps : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppContainers.ContainerAppCollection
<Extension()>
Public Function GetContainerApps (resourceGroupResource As ResourceGroupResource) As ContainerAppCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ContainerAppResources and their operations over a ContainerAppResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetContainerApps(SubscriptionResource, CancellationToken)
- Source:
- AppContainersExtensions.cs
Get the Container Apps in a given subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps
- Operation Id: ContainerApps_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppResource> GetContainerApps (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerApps : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppResource>
<Extension()>
Public Function GetContainerApps (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerAppResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ContainerAppResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin