/// <summary> /// Diagnoses network connectivity status for external resources on which the /// service is dependent on. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DiagnoseVirtualNetworkResult> BeginDiagnoseVirtualNetworkAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginDiagnoseVirtualNetworkWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }