@azure/arm-sqlvirtualmachine 5.0.0-beta.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 +7 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +1 -1
- package/package.json +1 -1
- package/src/sqlVirtualMachineManagementClient.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 5.0.0-beta.2 (2021-12-27)
|
|
2
4
|
|
|
3
|
-
|
|
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
|
-
|
|
7
|
+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
6
8
|
|
|
7
|
-
|
|
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
|
-
|
|
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
|
@@ -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/
|
|
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}`;
|