@azure/arm-sqlvirtualmachine 5.0.0-alpha.20211215.1 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,26 +1,11 @@
1
- ## Release History
1
+ # Release History
2
+
3
+ ## 5.0.0-beta.2 (2021-12-27)
2
4
 
3
- ### 5.0.0-beta.2 (Unreleased)
5
+ The package of @azure/arm-sqlvirtualmachine is using our next generation design principles since version 5.0.0-beta.2, which contains breaking changes.
4
6
 
5
- #### Features Added
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
6
8
 
7
- #### Breaking Changes
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
- #### Bugs Fixed
10
-
11
- #### Other Changes
12
-
13
- ### 5.0.0-beta.1 (2021-12-01)
14
-
15
- This is the first preview for the new version of the `@azure/arm-sqlvirtualmachine` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
16
-
17
- 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/).
18
-
19
- 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.
20
-
21
- **Noteworthy changes and features**
22
- - 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.
23
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
24
- - 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.
25
- - 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`.
26
- - 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
@@ -2800,7 +2800,7 @@ class SqlVirtualMachineManagementClient extends coreClient.ServiceClient {
2800
2800
  requestContentType: "application/json; charset=utf-8",
2801
2801
  credential: credentials
2802
2802
  };
2803
- const packageDetails = `azsdk-js-arm-sqlvirtualmachine/1.0.0-beta.1`;
2803
+ const packageDetails = `azsdk-js-arm-sqlvirtualmachine/5.0.0-beta.2`;
2804
2804
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2805
2805
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2806
2806
  : `${packageDetails}`;