共用方式為


ManagedEnvironmentCollection.GetAllAsync(CancellationToken) Method

Definition

Get all the Managed Environments in a resource group. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments Operation Id: ManagedEnvironments_ListByResourceGroup

public virtual Azure.AsyncPageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedEnvironmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ManagedEnvironmentResource that may take multiple service requests to iterate over.

Applies to