public static async Task EnableHttpAsync(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string username, string password, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.EnableHttpAsync(resourceGroupName, clusterName, username, password, cancellationToken).ConfigureAwait(false)).Dispose(); }
public static void EnableHttp(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string username, string password) { operations.EnableHttpAsync(resourceGroupName, clusterName, username, password).GetAwaiter().GetResult(); }