Język

DataCollectionEndpointResource.GetAsync(CancellationToken) Method

Definition

Returns the specified data collection endpoint.

  • Request Path. : /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}.
  • Operation Id. : DataCollectionEndpointResources_Get.
  • Default Api Version. : 2024-03-11.
  • 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