共用方式為


DataCollectionEndpointCollection.GetAll(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.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataCollectionEndpointResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to