/// <summary> /// Get all Event Hubs Cluster settings - a collection of key/value pairs which /// represent the quotas and settings imposed on the cluster. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group within the azure subscription. /// </param> /// <param name='clusterName'> /// The name of the Event Hubs Cluster. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ClusterQuotaConfigurationProperties> GetAsync(this IConfigurationOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }