共用方式為


DaprComponentCollection.GetAll(CancellationToken) Method

Definition

Get the Dapr Components for a managed environment. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents Operation Id: DaprComponents_List

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to