diff --git a/package.json b/package.json index 3deb0f75870..04002377f12 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "node": ">=10.10.0" }, "dependencies": { - "@azure-tools/js-sdk-release-tools": "^1.0.3", + "@azure-tools/js-sdk-release-tools": "^1.0.4", "eng-package-utils": "file:eng/tools/eng-package-utils", "versioning": "file:eng/tools/versioning" } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/CHANGELOG.md b/sdk/datalake-analytics/arm-datalake-analytics/CHANGELOG.md index b16f06c15de..b35e70ddb11 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/CHANGELOG.md +++ b/sdk/datalake-analytics/arm-datalake-analytics/CHANGELOG.md @@ -1,26 +1,11 @@ -## Release History +# Release History + +## 2.0.0-beta.2 (2021-12-23) -### 2.0.0-beta.2 (Unreleased) +The package of @azure/arm-datalake-analytics is using our next generation design principles since version 2.0.0-beta.2, which contains breaking changes. -#### Features Added +To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). -#### Breaking Changes +To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide). -#### Bugs Fixed - -#### Other Changes - -### 2.0.0-beta.1 (2021-11-17) - -This is the first preview for the new version of the `@azure/arm-datalake-analytics` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services. - -While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/). - -Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies. - -**Noteworthy changes and features** -- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice. -- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead. -- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page. -- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`. -- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6. +To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/datalake-analytics/arm-datalake-analytics/_meta.json b/sdk/datalake-analytics/arm-datalake-analytics/_meta.json index f35c2fa2d01..0d530cbffd9 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/_meta.json +++ b/sdk/datalake-analytics/arm-datalake-analytics/_meta.json @@ -1,7 +1,7 @@ { - "commit": "c4d6f92d3fd35a69ebce68f4c73c35c4238c2ac5", + "commit": "270ba8923ce458af2b59cd66b008355676bccd49", "readme": "specification/datalake-analytics/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/datalake-analytics/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.15.20211116.1", + "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/datalake-analytics/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.15.20211116.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1" } \ No newline at end of file diff --git a/sdk/datalake-analytics/arm-datalake-analytics/package.json b/sdk/datalake-analytics/arm-datalake-analytics/package.json index 56b499c59c0..67c0825004b 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/package.json +++ b/sdk/datalake-analytics/arm-datalake-analytics/package.json @@ -4,9 +4,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for DataLakeAnalyticsAccountManagementClient.", "version": "2.0.0-beta.2", - "engines": { - "node": ">=12.0.0" - }, + "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -16,13 +14,7 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -49,9 +41,7 @@ "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, + "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", "dist/**/*.js.map", diff --git a/sdk/datalake-analytics/arm-datalake-analytics/review/arm-datalake-analytics.api.md b/sdk/datalake-analytics/arm-datalake-analytics/review/arm-datalake-analytics.api.md index 10f77893085..341ef9a424b 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/review/arm-datalake-analytics.api.md +++ b/sdk/datalake-analytics/arm-datalake-analytics/review/arm-datalake-analytics.api.md @@ -323,11 +323,15 @@ export interface DataLakeAnalyticsAccountListResult { } // @public (undocumented) -export class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsAccountManagementClientContext { +export class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient { + // (undocumented) + $host: string; constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataLakeAnalyticsAccountManagementClientOptionalParams); // (undocumented) accounts: Accounts; // (undocumented) + apiVersion: string; + // (undocumented) computePolicies: ComputePolicies; // (undocumented) dataLakeStoreAccounts: DataLakeStoreAccounts; @@ -339,15 +343,6 @@ export class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsA operations: Operations; // (undocumented) storageAccounts: StorageAccounts; -} - -// @public (undocumented) -export class DataLakeAnalyticsAccountManagementClientContext extends coreClient.ServiceClient { - // (undocumented) - $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataLakeAnalyticsAccountManagementClientOptionalParams); - // (undocumented) - apiVersion: string; // (undocumented) subscriptionId: string; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts index 225e1d28bc3..421d7223601 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts @@ -6,6 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-auth"; import { AccountsImpl, @@ -25,10 +26,13 @@ import { Operations, Locations } from "./operationsInterfaces"; -import { DataLakeAnalyticsAccountManagementClientContext } from "./dataLakeAnalyticsAccountManagementClientContext"; import { DataLakeAnalyticsAccountManagementClientOptionalParams } from "./models"; -export class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsAccountManagementClientContext { +export class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient { + $host: string; + subscriptionId: string; + apiVersion: string; + /** * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class. * @param credentials Subscription credentials which uniquely identify client subscription. @@ -41,7 +45,46 @@ export class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsA subscriptionId: string, options?: DataLakeAnalyticsAccountManagementClientOptionalParams ) { - super(credentials, subscriptionId, options); + if (credentials === undefined) { + throw new Error("'credentials' cannot be null"); + } + if (subscriptionId === undefined) { + throw new Error("'subscriptionId' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: DataLakeAnalyticsAccountManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials + }; + + const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.2`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + if (!options.credentialScopes) { + options.credentialScopes = ["https://management.azure.com/.default"]; + } + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "https://management.azure.com" + }; + super(optionsWithDefaults); + // Parameter assignments + this.subscriptionId = subscriptionId; + + // Assigning values to Constant parameters + this.$host = options.$host || "https://management.azure.com"; + this.apiVersion = options.apiVersion || "2019-11-01-preview"; this.accounts = new AccountsImpl(this); this.dataLakeStoreAccounts = new DataLakeStoreAccountsImpl(this); this.storageAccounts = new StorageAccountsImpl(this); diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts deleted file mode 100644 index cdd84952ced..00000000000 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import * as coreClient from "@azure/core-client"; -import * as coreAuth from "@azure/core-auth"; -import { DataLakeAnalyticsAccountManagementClientOptionalParams } from "./models"; - -export class DataLakeAnalyticsAccountManagementClientContext extends coreClient.ServiceClient { - $host: string; - subscriptionId: string; - apiVersion: string; - - /** - * Initializes a new instance of the DataLakeAnalyticsAccountManagementClientContext class. - * @param credentials Subscription credentials which uniquely identify client subscription. - * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure - * subscription. The subscription ID forms part of the URI for every service call. - * @param options The parameter options - */ - constructor( - credentials: coreAuth.TokenCredential, - subscriptionId: string, - options?: DataLakeAnalyticsAccountManagementClientOptionalParams - ) { - if (credentials === undefined) { - throw new Error("'credentials' cannot be null"); - } - if (subscriptionId === undefined) { - throw new Error("'subscriptionId' cannot be null"); - } - - // Initializing default values for options - if (!options) { - options = {}; - } - const defaults: DataLakeAnalyticsAccountManagementClientOptionalParams = { - requestContentType: "application/json; charset=utf-8", - credential: credentials - }; - - const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.1`; - const userAgentPrefix = - options.userAgentOptions && options.userAgentOptions.userAgentPrefix - ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` - : `${packageDetails}`; - - if (!options.credentialScopes) { - options.credentialScopes = ["https://management.azure.com/.default"]; - } - const optionsWithDefaults = { - ...defaults, - ...options, - userAgentOptions: { - userAgentPrefix - }, - baseUri: options.endpoint || "https://management.azure.com" - }; - super(optionsWithDefaults); - // Parameter assignments - this.subscriptionId = subscriptionId; - - // Assigning values to Constant parameters - this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2019-11-01-preview"; - } -} diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/index.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/index.ts index f4b7f299514..b9378fd1682 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/index.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/index.ts @@ -9,5 +9,4 @@ /// export * from "./models"; export { DataLakeAnalyticsAccountManagementClient } from "./dataLakeAnalyticsAccountManagementClient"; -export { DataLakeAnalyticsAccountManagementClientContext } from "./dataLakeAnalyticsAccountManagementClientContext"; export * from "./operationsInterfaces"; diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/accounts.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/accounts.ts index dda3ce0f64d..6cd0ceb97a0 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/accounts.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/accounts.ts @@ -11,7 +11,7 @@ import { Accounts } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -40,13 +40,13 @@ import { /// /** Class containing Accounts operations. */ export class AccountsImpl implements Accounts { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class Accounts class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/computePolicies.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/computePolicies.ts index baedc00a1f3..cb1e8bd6e07 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/computePolicies.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/computePolicies.ts @@ -11,7 +11,7 @@ import { ComputePolicies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { ComputePolicy, ComputePoliciesListByAccountNextOptionalParams, @@ -31,13 +31,13 @@ import { /// /** Class containing ComputePolicies operations. */ export class ComputePoliciesImpl implements ComputePolicies { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class ComputePolicies class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/dataLakeStoreAccounts.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/dataLakeStoreAccounts.ts index ada6e843f8e..c1a59911595 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/dataLakeStoreAccounts.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/dataLakeStoreAccounts.ts @@ -11,7 +11,7 @@ import { DataLakeStoreAccounts } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { DataLakeStoreAccountInformation, DataLakeStoreAccountsListByAccountNextOptionalParams, @@ -27,13 +27,13 @@ import { /// /** Class containing DataLakeStoreAccounts operations. */ export class DataLakeStoreAccountsImpl implements DataLakeStoreAccounts { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class DataLakeStoreAccounts class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/firewallRules.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/firewallRules.ts index eecef3a9254..be7402ba63c 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/firewallRules.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/firewallRules.ts @@ -11,7 +11,7 @@ import { FirewallRules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { FirewallRule, FirewallRulesListByAccountNextOptionalParams, @@ -31,13 +31,13 @@ import { /// /** Class containing FirewallRules operations. */ export class FirewallRulesImpl implements FirewallRules { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class FirewallRules class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/locations.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/locations.ts index cfb0f2e5cd3..1d4ceec4eaf 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/locations.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/locations.ts @@ -10,7 +10,7 @@ import { Locations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { LocationsGetCapabilityOptionalParams, LocationsGetCapabilityResponse @@ -18,13 +18,13 @@ import { /** Class containing Locations operations. */ export class LocationsImpl implements Locations { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class Locations class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/operations.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/operations.ts index 4e54f2656d1..323eb05963d 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/operations.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/operations.ts @@ -10,7 +10,7 @@ import { Operations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { OperationsListOptionalParams, OperationsListResponse @@ -18,13 +18,13 @@ import { /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; } diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/storageAccounts.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/storageAccounts.ts index ef49cd75419..d5ed8afc6e8 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/operations/storageAccounts.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/operations/storageAccounts.ts @@ -11,7 +11,7 @@ import { StorageAccounts } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { DataLakeAnalyticsAccountManagementClientContext } from "../dataLakeAnalyticsAccountManagementClientContext"; +import { DataLakeAnalyticsAccountManagementClient } from "../dataLakeAnalyticsAccountManagementClient"; import { StorageAccountInformation, StorageAccountsListByAccountNextOptionalParams, @@ -41,13 +41,13 @@ import { /// /** Class containing StorageAccounts operations. */ export class StorageAccountsImpl implements StorageAccounts { - private readonly client: DataLakeAnalyticsAccountManagementClientContext; + private readonly client: DataLakeAnalyticsAccountManagementClient; /** * Initialize a new instance of the class StorageAccounts class. * @param client Reference to the service client */ - constructor(client: DataLakeAnalyticsAccountManagementClientContext) { + constructor(client: DataLakeAnalyticsAccountManagementClient) { this.client = client; }