共用方式為


ContainersExtensions.GetContainerApps Method

Definition

Overloads

GetContainerApps(ResourceGroupResource)

Gets a collection of ContainerAppResources in the ResourceGroupResource.

GetContainerApps(SubscriptionResource, CancellationToken)

Get the Container Apps in a given subscription. Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/containerApps Operation Id: ContainerApps_ListBySubscription

GetContainerApps(ResourceGroupResource)

Source:
ContainersExtensions.cs

Gets a collection of ContainerAppResources in the ResourceGroupResource.

public static Azure.ResourceManager.Applications.Containers.ContainerAppCollection GetContainerApps (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerApps : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Applications.Containers.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.

Applies to

GetContainerApps(SubscriptionResource, CancellationToken)

Source:
ContainersExtensions.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.Applications.Containers.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.Applications.Containers.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.

Applies to