/// <summary> /// Tests whether the specified Data Lake Store account is linked to the /// specified Data Lake Analytics account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the Azure resource group that contains the Data Lake /// Analytics account. /// </param> /// <param name='accountName'> /// The name of the Data Lake Analytics account from which to test /// the existence of the Data Lake Store account. /// </param> /// <param name='dataLakeStoreAccountName'> /// The name of the Data Lake Store account to test for existence /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <bool> DataLakeStoreAccountExistsAsync(this IAccountsOperations operations, string resourceGroupName, string accountName, string dataLakeStoreAccountName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.DataLakeStoreAccountExistsWithHttpMessagesAsync(resourceGroupName, accountName, dataLakeStoreAccountName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }