/// <summary> /// List the vm ingestion details that will be monitored by the Elastic monitor /// resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the Elastic resource belongs. /// </param> /// <param name='monitorName'> /// Monitor resource name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <VMIngestionDetailsResponse> DetailsAsync(this IVMIngestionOperations operations, string resourceGroupName, string monitorName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DetailsWithHttpMessagesAsync(resourceGroupName, monitorName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// List the vm ingestion details that will be monitored by the Elastic monitor /// resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the Elastic resource belongs. /// </param> /// <param name='monitorName'> /// Monitor resource name /// </param> public static VMIngestionDetailsResponse Details(this IVMIngestionOperations operations, string resourceGroupName, string monitorName) { return(operations.DetailsAsync(resourceGroupName, monitorName).GetAwaiter().GetResult()); }