共用方式為


DataCollectionEndpointsOperationsExtensions.GetAsync Method

Definition

Returns the specified data collection endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource> GetAsync (this Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations operations, string resourceGroupName, string dataCollectionEndpointName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Monitor.IDataCollectionEndpointsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.DataCollectionEndpointResource>
<Extension()>
Public Function GetAsync (operations As IDataCollectionEndpointsOperations, resourceGroupName As String, dataCollectionEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataCollectionEndpointResource)

Parameters

operations
IDataCollectionEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

dataCollectionEndpointName
String

The name of the data collection endpoint. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to