/// <summary> /// Attempts to enable a user managed Key Vault for encryption of the specified /// Data Lake Store account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure resource group. /// </param> /// <param name='accountName'> /// The name of the Data Lake Store account. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task EnableKeyVaultAsync(this IAccountsOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.EnableKeyVaultWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }