AppContainersExtensions.GetContainerAppConnectedEnvironments 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
GetContainerAppConnectedEnvironments(SubscriptionResource, CancellationToken) |
Get all connectedEnvironments for a subscription.
|
GetContainerAppConnectedEnvironments(ResourceGroupResource) |
Gets a collection of ContainerAppConnectedEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppConnectedEnvironments() instead. |
GetContainerAppConnectedEnvironments(SubscriptionResource, CancellationToken)
- Source:
- AppContainersExtensions.cs
- Source:
- AppContainersExtensions.cs
Get all connectedEnvironments for a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments
- Operation Id: ConnectedEnvironments_ListBySubscription
- Default Api Version: 2024-03-01
- Resource: ContainerAppConnectedEnvironmentResource
public static Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource> GetContainerAppConnectedEnvironments (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppConnectedEnvironments : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>
<Extension()>
Public Function GetContainerAppConnectedEnvironments (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerAppConnectedEnvironmentResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ContainerAppConnectedEnvironmentResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetContainerAppConnectedEnvironments(ResourceGroupResource)
- Source:
- AppContainersExtensions.cs
- Source:
- AppContainersExtensions.cs
Gets a collection of ContainerAppConnectedEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppConnectedEnvironments() instead.
public static Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCollection GetContainerAppConnectedEnvironments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerAppConnectedEnvironments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCollection
<Extension()>
Public Function GetContainerAppConnectedEnvironments (resourceGroupResource As ResourceGroupResource) As ContainerAppConnectedEnvironmentCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ContainerAppConnectedEnvironmentResources and their operations over a ContainerAppConnectedEnvironmentResource.
Exceptions
resourceGroupResource
is null.
Applies to
Azure SDK for .NET