/// <summary> /// Gets the deleted Azure key vault. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='vaultName'> /// The name of the vault. /// </param> /// <param name='location'> /// The location of the deleted vault. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <DeletedVaultInner> GetDeletedAsync(this IVaultsOperations operations, string vaultName, string location, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetDeletedWithHttpMessagesAsync(vaultName, location, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }