@azure/arm-datalake-analytics 2.0.0-beta.1 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +7 -10
  2. package/dist/index.js +4 -25
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts +5 -2
  7. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -1
  8. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js +32 -3
  9. package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.js.map +1 -1
  10. package/dist-esm/src/index.d.ts +0 -1
  11. package/dist-esm/src/index.d.ts.map +1 -1
  12. package/dist-esm/src/index.js +0 -1
  13. package/dist-esm/src/index.js.map +1 -1
  14. package/dist-esm/src/operations/accounts.d.ts +2 -2
  15. package/dist-esm/src/operations/accounts.d.ts.map +1 -1
  16. package/dist-esm/src/operations/accounts.js.map +1 -1
  17. package/dist-esm/src/operations/computePolicies.d.ts +2 -2
  18. package/dist-esm/src/operations/computePolicies.d.ts.map +1 -1
  19. package/dist-esm/src/operations/computePolicies.js.map +1 -1
  20. package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts +2 -2
  21. package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts.map +1 -1
  22. package/dist-esm/src/operations/dataLakeStoreAccounts.js.map +1 -1
  23. package/dist-esm/src/operations/firewallRules.d.ts +2 -2
  24. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
  25. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  26. package/dist-esm/src/operations/locations.d.ts +2 -2
  27. package/dist-esm/src/operations/locations.d.ts.map +1 -1
  28. package/dist-esm/src/operations/locations.js.map +1 -1
  29. package/dist-esm/src/operations/operations.d.ts +2 -2
  30. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  31. package/dist-esm/src/operations/operations.js.map +1 -1
  32. package/dist-esm/src/operations/storageAccounts.d.ts +2 -2
  33. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
  34. package/dist-esm/src/operations/storageAccounts.js.map +1 -1
  35. package/package.json +1 -1
  36. package/review/arm-datalake-analytics.api.md +5 -10
  37. package/src/dataLakeAnalyticsAccountManagementClient.ts +46 -3
  38. package/src/index.ts +0 -1
  39. package/src/operations/accounts.ts +3 -3
  40. package/src/operations/computePolicies.ts +3 -3
  41. package/src/operations/dataLakeStoreAccounts.ts +3 -3
  42. package/src/operations/firewallRules.ts +3 -3
  43. package/src/operations/locations.ts +3 -3
  44. package/src/operations/operations.ts +3 -3
  45. package/src/operations/storageAccounts.ts +3 -3
  46. package/types/arm-datalake-analytics.d.ts +4 -15
  47. package/types/tsdoc-metadata.json +1 -1
  48. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts +0 -17
  49. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.d.ts.map +0 -1
  50. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js +0 -50
  51. package/dist-esm/src/dataLakeAnalyticsAccountManagementClientContext.js.map +0 -1
  52. package/src/dataLakeAnalyticsAccountManagementClientContext.ts +0 -71
package/CHANGELOG.md CHANGED
@@ -1,14 +1,11 @@
1
- ## 2.0.0-beta.1 (2021-11-17)
1
+ # Release History
2
+
3
+ ## 2.0.0-beta.2 (2021-12-23)
2
4
 
3
- 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.
5
+ 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.
4
6
 
5
- 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/).
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
6
8
 
7
- 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.
9
+ To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
8
10
 
9
- **Noteworthy changes and features**
10
- - 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.
11
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
12
- - 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.
13
- - 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`.
14
- - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
11
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib = require('tslib');
6
5
  var coreClient = require('@azure/core-client');
6
+ var tslib = require('tslib');
7
7
  var coreLro = require('@azure/core-lro');
8
8
 
9
9
  /*
@@ -4706,9 +4706,9 @@ const getCapabilityOperationSpec = {
4706
4706
  * Code generated by Microsoft (R) AutoRest Code Generator.
4707
4707
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4708
4708
  */
4709
- class DataLakeAnalyticsAccountManagementClientContext extends coreClient.ServiceClient {
4709
+ class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient {
4710
4710
  /**
4711
- * Initializes a new instance of the DataLakeAnalyticsAccountManagementClientContext class.
4711
+ * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4712
4712
  * @param credentials Subscription credentials which uniquely identify client subscription.
4713
4713
  * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
4714
4714
  * subscription. The subscription ID forms part of the URI for every service call.
@@ -4729,7 +4729,7 @@ class DataLakeAnalyticsAccountManagementClientContext extends coreClient.Service
4729
4729
  requestContentType: "application/json; charset=utf-8",
4730
4730
  credential: credentials
4731
4731
  };
4732
- const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.1`;
4732
+ const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.2`;
4733
4733
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4734
4734
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4735
4735
  : `${packageDetails}`;
@@ -4745,26 +4745,6 @@ class DataLakeAnalyticsAccountManagementClientContext extends coreClient.Service
4745
4745
  // Assigning values to Constant parameters
4746
4746
  this.$host = options.$host || "https://management.azure.com";
4747
4747
  this.apiVersion = options.apiVersion || "2019-11-01-preview";
4748
- }
4749
- }
4750
-
4751
- /*
4752
- * Copyright (c) Microsoft Corporation.
4753
- * Licensed under the MIT License.
4754
- *
4755
- * Code generated by Microsoft (R) AutoRest Code Generator.
4756
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
4757
- */
4758
- class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsAccountManagementClientContext {
4759
- /**
4760
- * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
4761
- * @param credentials Subscription credentials which uniquely identify client subscription.
4762
- * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
4763
- * subscription. The subscription ID forms part of the URI for every service call.
4764
- * @param options The parameter options
4765
- */
4766
- constructor(credentials, subscriptionId, options) {
4767
- super(credentials, subscriptionId, options);
4768
4748
  this.accounts = new AccountsImpl(this);
4769
4749
  this.dataLakeStoreAccounts = new DataLakeStoreAccountsImpl(this);
4770
4750
  this.storageAccounts = new StorageAccountsImpl(this);
@@ -4776,5 +4756,4 @@ class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsAccountM
4776
4756
  }
4777
4757
 
4778
4758
  exports.DataLakeAnalyticsAccountManagementClient = DataLakeAnalyticsAccountManagementClient;
4779
- exports.DataLakeAnalyticsAccountManagementClientContext = DataLakeAnalyticsAccountManagementClientContext;
4780
4759
  //# sourceMappingURL=index.js.map