Sdílet prostřednictvím


DataCollectionEndpointResource.GetAsync(CancellationToken) Method

Definition

Returns the specified data collection endpoint.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to