Пример #1
0
 /// <summary>
 /// Returns the specified data collection endpoint.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='dataCollectionEndpointName'>
 /// The name of the data collection endpoint. The name is case insensitive.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DataCollectionEndpointResource> GetAsync(this IDataCollectionEndpointsOperations operations, string resourceGroupName, string dataCollectionEndpointName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, dataCollectionEndpointName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }