共用方式為


DataCollectionEndpointCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all data collection endpoints in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints
  • Operation Id: DataCollectionEndpoints_ListByResourceGroup
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataCollectionEndpointResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to