AppContainersExtensions.GetContainerAppManagedEnvironments Method

Definition

Overloads

GetContainerAppManagedEnvironments(ResourceGroupResource)

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

GetContainerAppManagedEnvironments(SubscriptionResource, CancellationToken)

Get all Managed Environments for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/managedEnvironments
  • Operation Id: ManagedEnvironments_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource

GetContainerAppManagedEnvironments(ResourceGroupResource)

Source:
AppContainersExtensions.cs
Source:
AppContainersExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ContainerAppManagedEnvironmentResources and their operations over a ContainerAppManagedEnvironmentResource.

Exceptions

resourceGroupResource is null.

Applies to

GetContainerAppManagedEnvironments(SubscriptionResource, CancellationToken)

Source:
AppContainersExtensions.cs
Source:
AppContainersExtensions.cs

Get all Managed Environments for a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to