@azure/arm-managementgroups 2.0.0-beta.1 → 2.0.0
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/README.md +1 -1
- package/dist/index.js +3 -22
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/managementGroupsAPI.d.ts +4 -2
- package/dist-esm/src/managementGroupsAPI.d.ts.map +1 -1
- package/dist-esm/src/managementGroupsAPI.js +26 -3
- package/dist-esm/src/managementGroupsAPI.js.map +1 -1
- package/dist-esm/src/operations/entities.d.ts +2 -2
- package/dist-esm/src/operations/entities.d.ts.map +1 -1
- package/dist-esm/src/operations/entities.js.map +1 -1
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts +2 -2
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/hierarchySettingsOperations.js.map +1 -1
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts +2 -2
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/managementGroupSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/managementGroups.d.ts +2 -2
- package/dist-esm/src/operations/managementGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/managementGroups.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/package.json +1 -1
- package/review/arm-managementgroups.api.md +5 -10
- package/src/index.ts +0 -1
- package/src/managementGroupsAPI.ts +39 -3
- package/src/operations/entities.ts +3 -3
- package/src/operations/hierarchySettingsOperations.ts +3 -3
- package/src/operations/managementGroupSubscriptions.ts +3 -3
- package/src/operations/managementGroups.ts +3 -3
- package/src/operations/operations.ts +3 -3
- package/types/arm-managementgroups.d.ts +3 -12
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/managementGroupsAPIContext.d.ts +0 -14
- package/dist-esm/src/managementGroupsAPIContext.d.ts.map +0 -1
- package/dist-esm/src/managementGroupsAPIContext.js +0 -43
- package/dist-esm/src/managementGroupsAPIContext.js.map +0 -1
- package/src/managementGroupsAPIContext.ts +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 2.0.0 (2021-12-22)
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
The package of @azure/arm-managementgroups is using our next generation design principles since version 2.0.0, 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/README.md
CHANGED
|
@@ -9,7 +9,7 @@ manage access control, policies, alerting and reporting for those resources.
|
|
|
9
9
|
|
|
10
10
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managementgroups/arm-managementgroups) |
|
|
11
11
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-managementgroups) |
|
|
12
|
-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-managementgroups
|
|
12
|
+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-managementgroups) |
|
|
13
13
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
14
14
|
|
|
15
15
|
## Getting started
|
package/dist/index.js
CHANGED
|
@@ -2744,9 +2744,9 @@ const listNextOperationSpec$2 = {
|
|
|
2744
2744
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2745
2745
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2746
2746
|
*/
|
|
2747
|
-
class
|
|
2747
|
+
class ManagementGroupsAPI extends coreClient.ServiceClient {
|
|
2748
2748
|
/**
|
|
2749
|
-
* Initializes a new instance of the
|
|
2749
|
+
* Initializes a new instance of the ManagementGroupsAPI class.
|
|
2750
2750
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2751
2751
|
* @param options The parameter options
|
|
2752
2752
|
*/
|
|
@@ -2762,7 +2762,7 @@ class ManagementGroupsAPIContext extends coreClient.ServiceClient {
|
|
|
2762
2762
|
requestContentType: "application/json; charset=utf-8",
|
|
2763
2763
|
credential: credentials
|
|
2764
2764
|
};
|
|
2765
|
-
const packageDetails = `azsdk-js-arm-managementgroups/
|
|
2765
|
+
const packageDetails = `azsdk-js-arm-managementgroups/1.0.0-beta.1`;
|
|
2766
2766
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2767
2767
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2768
2768
|
: `${packageDetails}`;
|
|
@@ -2776,24 +2776,6 @@ class ManagementGroupsAPIContext extends coreClient.ServiceClient {
|
|
|
2776
2776
|
// Assigning values to Constant parameters
|
|
2777
2777
|
this.$host = options.$host || "https://management.azure.com";
|
|
2778
2778
|
this.apiVersion = options.apiVersion || "2021-04-01";
|
|
2779
|
-
}
|
|
2780
|
-
}
|
|
2781
|
-
|
|
2782
|
-
/*
|
|
2783
|
-
* Copyright (c) Microsoft Corporation.
|
|
2784
|
-
* Licensed under the MIT License.
|
|
2785
|
-
*
|
|
2786
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2787
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2788
|
-
*/
|
|
2789
|
-
class ManagementGroupsAPI extends ManagementGroupsAPIContext {
|
|
2790
|
-
/**
|
|
2791
|
-
* Initializes a new instance of the ManagementGroupsAPI class.
|
|
2792
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2793
|
-
* @param options The parameter options
|
|
2794
|
-
*/
|
|
2795
|
-
constructor(credentials, options) {
|
|
2796
|
-
super(credentials, options);
|
|
2797
2779
|
this.managementGroups = new ManagementGroupsImpl(this);
|
|
2798
2780
|
this.managementGroupSubscriptions = new ManagementGroupSubscriptionsImpl(this);
|
|
2799
2781
|
this.hierarchySettingsOperations = new HierarchySettingsOperationsImpl(this);
|
|
@@ -2877,5 +2859,4 @@ const tenantBackfillStatusOperationSpec = {
|
|
|
2877
2859
|
};
|
|
2878
2860
|
|
|
2879
2861
|
exports.ManagementGroupsAPI = ManagementGroupsAPI;
|
|
2880
|
-
exports.ManagementGroupsAPIContext = ManagementGroupsAPIContext;
|
|
2881
2862
|
//# sourceMappingURL=index.js.map
|