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(ResourceGroupResource) |
Gets a collection of ContainerAppConnectedEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerAppConnectedEnvironments() instead. |
GetContainerAppConnectedEnvironments(SubscriptionResource, CancellationToken) |
Get all connectedEnvironments for a subscription.
|
GetContainerAppConnectedEnvironments(ResourceGroupResource)
- 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
GetContainerAppConnectedEnvironments(SubscriptionResource, CancellationToken)
- Source:
- AppContainersExtensions.cs
Get all connectedEnvironments for a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments
- Operation Id: ConnectedEnvironments_ListBySubscription
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
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