@azure/arm-managementgroups 1.1.0 → 2.0.0-alpha.20211214.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 +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +78 -77
- package/dist/index.js +2881 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/managementGroupsAPI.d.ts +34 -0
- package/dist-esm/src/managementGroupsAPI.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPI.js +102 -0
- package/dist-esm/src/managementGroupsAPI.js.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts +14 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.js +43 -0
- package/dist-esm/src/managementGroupsAPIContext.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +956 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +46 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +39 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +776 -396
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +24 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +200 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +34 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +142 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts +52 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js +154 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts +62 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js +215 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/managementGroups.d.ts +109 -0
- package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroups.js +462 -0
- package/dist-esm/src/operations/managementGroups.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -25
- package/review/arm-managementgroups.api.md +667 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/managementGroupsAPI.ts +160 -0
- package/src/managementGroupsAPIContext.ts +62 -0
- package/src/models/index.ts +1082 -0
- package/{lib → src}/models/mappers.ts +792 -400
- package/src/models/parameters.ts +232 -0
- package/src/operations/entities.ts +159 -0
- package/src/operations/hierarchySettingsOperations.ts +214 -0
- package/{lib → src}/operations/index.ts +4 -5
- package/src/operations/managementGroupSubscriptions.ts +294 -0
- package/src/operations/managementGroups.ts +592 -0
- package/src/operations/operations.ts +137 -0
- package/src/operationsInterfaces/entities.ts +23 -0
- package/src/operationsInterfaces/hierarchySettingsOperations.ts +80 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/managementGroupSubscriptions.ts +69 -0
- package/src/operationsInterfaces/managementGroups.ts +131 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +4 -4
- package/types/arm-managementgroups.d.ts +1266 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-managementgroups.js +0 -2007
- package/dist/arm-managementgroups.js.map +0 -1
- package/dist/arm-managementgroups.min.js +0 -1
- package/dist/arm-managementgroups.min.js.map +0 -1
- package/esm/managementGroupsAPI.d.ts +0 -68
- package/esm/managementGroupsAPI.d.ts.map +0 -1
- package/esm/managementGroupsAPI.js +0 -115
- package/esm/managementGroupsAPI.js.map +0 -1
- package/esm/managementGroupsAPIContext.d.ts +0 -14
- package/esm/managementGroupsAPIContext.d.ts.map +0 -1
- package/esm/managementGroupsAPIContext.js +0 -51
- package/esm/managementGroupsAPIContext.js.map +0 -1
- package/esm/models/entitiesMappers.d.ts +0 -2
- package/esm/models/entitiesMappers.d.ts.map +0 -1
- package/esm/models/entitiesMappers.js +0 -11
- package/esm/models/entitiesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1390
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.d.ts +0 -2
- package/esm/models/managementGroupSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.js +0 -11
- package/esm/models/managementGroupSubscriptionsMappers.js.map +0 -1
- package/esm/models/managementGroupsMappers.d.ts +0 -2
- package/esm/models/managementGroupsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupsMappers.js +0 -11
- package/esm/models/managementGroupsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -28
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -194
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/entities.d.ts +0 -46
- package/esm/operations/entities.d.ts.map +0 -1
- package/esm/operations/entities.js +0 -87
- package/esm/operations/entities.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementGroupSubscriptions.d.ts +0 -55
- package/esm/operations/managementGroupSubscriptions.d.ts.map +0 -1
- package/esm/operations/managementGroupSubscriptions.js +0 -85
- package/esm/operations/managementGroupSubscriptions.js.map +0 -1
- package/esm/operations/managementGroups.d.ts +0 -120
- package/esm/operations/managementGroups.d.ts.map +0 -1
- package/esm/operations/managementGroups.js +0 -252
- package/esm/operations/managementGroups.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/lib/managementGroupsAPI.ts +0 -191
- package/lib/managementGroupsAPIContext.ts +0 -56
- package/lib/models/entitiesMappers.ts +0 -18
- package/lib/models/index.ts +0 -1466
- package/lib/models/managementGroupSubscriptionsMappers.ts +0 -15
- package/lib/models/managementGroupsMappers.ts +0 -29
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -196
- package/lib/operations/entities.ts +0 -133
- package/lib/operations/managementGroupSubscriptions.ts +0 -140
- package/lib/operations/managementGroups.ts +0 -365
- package/lib/operations/operations.ts +0 -123
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/managementGroupSubscriptionsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a ManagementGroupSubscriptions. */
|
|
14
|
-
var ManagementGroupSubscriptions = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a ManagementGroupSubscriptions.
|
|
17
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function ManagementGroupSubscriptions(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
ManagementGroupSubscriptions.prototype.create = function (groupId, subscriptionId, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
groupId: groupId,
|
|
25
|
-
subscriptionId: subscriptionId,
|
|
26
|
-
options: options
|
|
27
|
-
}, createOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
ManagementGroupSubscriptions.prototype.deleteMethod = function (groupId, subscriptionId, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
groupId: groupId,
|
|
32
|
-
subscriptionId: subscriptionId,
|
|
33
|
-
options: options
|
|
34
|
-
}, deleteMethodOperationSpec, callback);
|
|
35
|
-
};
|
|
36
|
-
return ManagementGroupSubscriptions;
|
|
37
|
-
}());
|
|
38
|
-
export { ManagementGroupSubscriptions };
|
|
39
|
-
// Operation Specifications
|
|
40
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
41
|
-
var createOperationSpec = {
|
|
42
|
-
httpMethod: "PUT",
|
|
43
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
44
|
-
urlParameters: [
|
|
45
|
-
Parameters.groupId,
|
|
46
|
-
Parameters.subscriptionId
|
|
47
|
-
],
|
|
48
|
-
queryParameters: [
|
|
49
|
-
Parameters.apiVersion
|
|
50
|
-
],
|
|
51
|
-
headerParameters: [
|
|
52
|
-
Parameters.cacheControl,
|
|
53
|
-
Parameters.acceptLanguage
|
|
54
|
-
],
|
|
55
|
-
responses: {
|
|
56
|
-
204: {},
|
|
57
|
-
default: {
|
|
58
|
-
bodyMapper: Mappers.ErrorResponse
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
serializer: serializer
|
|
62
|
-
};
|
|
63
|
-
var deleteMethodOperationSpec = {
|
|
64
|
-
httpMethod: "DELETE",
|
|
65
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
66
|
-
urlParameters: [
|
|
67
|
-
Parameters.groupId,
|
|
68
|
-
Parameters.subscriptionId
|
|
69
|
-
],
|
|
70
|
-
queryParameters: [
|
|
71
|
-
Parameters.apiVersion
|
|
72
|
-
],
|
|
73
|
-
headerParameters: [
|
|
74
|
-
Parameters.cacheControl,
|
|
75
|
-
Parameters.acceptLanguage
|
|
76
|
-
],
|
|
77
|
-
responses: {
|
|
78
|
-
204: {},
|
|
79
|
-
default: {
|
|
80
|
-
bodyMapper: Mappers.ErrorResponse
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
serializer: serializer
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=managementGroupSubscriptions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"managementGroupSubscriptions.js","sourceRoot":"","sources":["../../lib/operations/managementGroupSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,+CAA+C,CAAC;AACzE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yDAAyD;AACzD;IAGE;;;OAGG;IACH,sCAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;I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AAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { ManagementGroupsAPIContext } from "../managementGroupsAPIContext";
|
|
5
|
-
/** Class representing a ManagementGroups. */
|
|
6
|
-
export declare class ManagementGroups {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a ManagementGroups.
|
|
10
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ManagementGroupsAPIContext);
|
|
13
|
-
/**
|
|
14
|
-
* List management groups for the authenticated user.
|
|
15
|
-
* @param [options] The optional parameters
|
|
16
|
-
* @returns Promise<Models.ManagementGroupsListResponse>
|
|
17
|
-
*/
|
|
18
|
-
list(options?: Models.ManagementGroupsListOptionalParams): Promise<Models.ManagementGroupsListResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* @param callback The callback
|
|
21
|
-
*/
|
|
22
|
-
list(callback: msRest.ServiceCallback<Models.ManagementGroupListResult>): void;
|
|
23
|
-
/**
|
|
24
|
-
* @param options The optional parameters
|
|
25
|
-
* @param callback The callback
|
|
26
|
-
*/
|
|
27
|
-
list(options: Models.ManagementGroupsListOptionalParams, callback: msRest.ServiceCallback<Models.ManagementGroupListResult>): void;
|
|
28
|
-
/**
|
|
29
|
-
* Get the details of the management group.
|
|
30
|
-
* @param groupId Management Group ID.
|
|
31
|
-
* @param [options] The optional parameters
|
|
32
|
-
* @returns Promise<Models.ManagementGroupsGetResponse>
|
|
33
|
-
*/
|
|
34
|
-
get(groupId: string, options?: Models.ManagementGroupsGetOptionalParams): Promise<Models.ManagementGroupsGetResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* @param groupId Management Group ID.
|
|
37
|
-
* @param callback The callback
|
|
38
|
-
*/
|
|
39
|
-
get(groupId: string, callback: msRest.ServiceCallback<Models.ManagementGroup>): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param groupId Management Group ID.
|
|
42
|
-
* @param options The optional parameters
|
|
43
|
-
* @param callback The callback
|
|
44
|
-
*/
|
|
45
|
-
get(groupId: string, options: Models.ManagementGroupsGetOptionalParams, callback: msRest.ServiceCallback<Models.ManagementGroup>): void;
|
|
46
|
-
/**
|
|
47
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
48
|
-
* create request is issued with different properties, the management group properties will be
|
|
49
|
-
* updated.
|
|
50
|
-
* @param groupId Management Group ID.
|
|
51
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
52
|
-
* @param [options] The optional parameters
|
|
53
|
-
* @returns Promise<Models.ManagementGroupsCreateOrUpdateResponse>
|
|
54
|
-
*/
|
|
55
|
-
createOrUpdate(groupId: string, createManagementGroupRequest: Models.CreateManagementGroupRequest, options?: Models.ManagementGroupsCreateOrUpdateOptionalParams): Promise<Models.ManagementGroupsCreateOrUpdateResponse>;
|
|
56
|
-
/**
|
|
57
|
-
* Update a management group.
|
|
58
|
-
* @param groupId Management Group ID.
|
|
59
|
-
* @param patchGroupRequest Management group patch parameters.
|
|
60
|
-
* @param [options] The optional parameters
|
|
61
|
-
* @returns Promise<Models.ManagementGroupsUpdateResponse>
|
|
62
|
-
*/
|
|
63
|
-
update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, options?: Models.ManagementGroupsUpdateOptionalParams): Promise<Models.ManagementGroupsUpdateResponse>;
|
|
64
|
-
/**
|
|
65
|
-
* @param groupId Management Group ID.
|
|
66
|
-
* @param patchGroupRequest Management group patch parameters.
|
|
67
|
-
* @param callback The callback
|
|
68
|
-
*/
|
|
69
|
-
update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, callback: msRest.ServiceCallback<Models.ManagementGroup>): void;
|
|
70
|
-
/**
|
|
71
|
-
* @param groupId Management Group ID.
|
|
72
|
-
* @param patchGroupRequest Management group patch parameters.
|
|
73
|
-
* @param options The optional parameters
|
|
74
|
-
* @param callback The callback
|
|
75
|
-
*/
|
|
76
|
-
update(groupId: string, patchGroupRequest: Models.PatchManagementGroupRequest, options: Models.ManagementGroupsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.ManagementGroup>): void;
|
|
77
|
-
/**
|
|
78
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
79
|
-
* @param groupId Management Group ID.
|
|
80
|
-
* @param [options] The optional parameters
|
|
81
|
-
* @returns Promise<Models.ManagementGroupsDeleteMethodResponse>
|
|
82
|
-
*/
|
|
83
|
-
deleteMethod(groupId: string, options?: Models.ManagementGroupsDeleteMethodOptionalParams): Promise<Models.ManagementGroupsDeleteMethodResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
86
|
-
* create request is issued with different properties, the management group properties will be
|
|
87
|
-
* updated.
|
|
88
|
-
* @param groupId Management Group ID.
|
|
89
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
90
|
-
* @param [options] The optional parameters
|
|
91
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
92
|
-
*/
|
|
93
|
-
beginCreateOrUpdate(groupId: string, createManagementGroupRequest: Models.CreateManagementGroupRequest, options?: Models.ManagementGroupsBeginCreateOrUpdateOptionalParams): Promise<msRestAzure.LROPoller>;
|
|
94
|
-
/**
|
|
95
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
96
|
-
* @param groupId Management Group ID.
|
|
97
|
-
* @param [options] The optional parameters
|
|
98
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
99
|
-
*/
|
|
100
|
-
beginDeleteMethod(groupId: string, options?: Models.ManagementGroupsBeginDeleteMethodOptionalParams): Promise<msRestAzure.LROPoller>;
|
|
101
|
-
/**
|
|
102
|
-
* List management groups for the authenticated user.
|
|
103
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
104
|
-
* @param [options] The optional parameters
|
|
105
|
-
* @returns Promise<Models.ManagementGroupsListNextResponse>
|
|
106
|
-
*/
|
|
107
|
-
listNext(nextPageLink: string, options?: Models.ManagementGroupsListNextOptionalParams): Promise<Models.ManagementGroupsListNextResponse>;
|
|
108
|
-
/**
|
|
109
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
110
|
-
* @param callback The callback
|
|
111
|
-
*/
|
|
112
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ManagementGroupListResult>): void;
|
|
113
|
-
/**
|
|
114
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
115
|
-
* @param options The optional parameters
|
|
116
|
-
* @param callback The callback
|
|
117
|
-
*/
|
|
118
|
-
listNext(nextPageLink: string, options: Models.ManagementGroupsListNextOptionalParams, callback: msRest.ServiceCallback<Models.ManagementGroupListResult>): void;
|
|
119
|
-
}
|
|
120
|
-
//# sourceMappingURL=managementGroups.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"managementGroups.d.ts","sourceRoot":"","sources":["../../lib/operations/managementGroups.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,6CAA6C;AAC7C,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kCAAkC,GAAG,OAAO,CAAC,MAAM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ft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/managementGroupsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a ManagementGroups. */
|
|
15
|
-
var ManagementGroups = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a ManagementGroups.
|
|
18
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function ManagementGroups(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
ManagementGroups.prototype.list = function (options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
options: options
|
|
26
|
-
}, listOperationSpec, callback);
|
|
27
|
-
};
|
|
28
|
-
ManagementGroups.prototype.get = function (groupId, options, callback) {
|
|
29
|
-
return this.client.sendOperationRequest({
|
|
30
|
-
groupId: groupId,
|
|
31
|
-
options: options
|
|
32
|
-
}, getOperationSpec, callback);
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
36
|
-
* create request is issued with different properties, the management group properties will be
|
|
37
|
-
* updated.
|
|
38
|
-
* @param groupId Management Group ID.
|
|
39
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
40
|
-
* @param [options] The optional parameters
|
|
41
|
-
* @returns Promise<Models.ManagementGroupsCreateOrUpdateResponse>
|
|
42
|
-
*/
|
|
43
|
-
ManagementGroups.prototype.createOrUpdate = function (groupId, createManagementGroupRequest, options) {
|
|
44
|
-
return this.beginCreateOrUpdate(groupId, createManagementGroupRequest, options)
|
|
45
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
46
|
-
};
|
|
47
|
-
ManagementGroups.prototype.update = function (groupId, patchGroupRequest, options, callback) {
|
|
48
|
-
return this.client.sendOperationRequest({
|
|
49
|
-
groupId: groupId,
|
|
50
|
-
patchGroupRequest: patchGroupRequest,
|
|
51
|
-
options: options
|
|
52
|
-
}, updateOperationSpec, callback);
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
56
|
-
* @param groupId Management Group ID.
|
|
57
|
-
* @param [options] The optional parameters
|
|
58
|
-
* @returns Promise<Models.ManagementGroupsDeleteMethodResponse>
|
|
59
|
-
*/
|
|
60
|
-
ManagementGroups.prototype.deleteMethod = function (groupId, options) {
|
|
61
|
-
return this.beginDeleteMethod(groupId, options)
|
|
62
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
66
|
-
* create request is issued with different properties, the management group properties will be
|
|
67
|
-
* updated.
|
|
68
|
-
* @param groupId Management Group ID.
|
|
69
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
70
|
-
* @param [options] The optional parameters
|
|
71
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
72
|
-
*/
|
|
73
|
-
ManagementGroups.prototype.beginCreateOrUpdate = function (groupId, createManagementGroupRequest, options) {
|
|
74
|
-
return this.client.sendLRORequest({
|
|
75
|
-
groupId: groupId,
|
|
76
|
-
createManagementGroupRequest: createManagementGroupRequest,
|
|
77
|
-
options: options
|
|
78
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
82
|
-
* @param groupId Management Group ID.
|
|
83
|
-
* @param [options] The optional parameters
|
|
84
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
85
|
-
*/
|
|
86
|
-
ManagementGroups.prototype.beginDeleteMethod = function (groupId, options) {
|
|
87
|
-
return this.client.sendLRORequest({
|
|
88
|
-
groupId: groupId,
|
|
89
|
-
options: options
|
|
90
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
91
|
-
};
|
|
92
|
-
ManagementGroups.prototype.listNext = function (nextPageLink, options, callback) {
|
|
93
|
-
return this.client.sendOperationRequest({
|
|
94
|
-
nextPageLink: nextPageLink,
|
|
95
|
-
options: options
|
|
96
|
-
}, listNextOperationSpec, callback);
|
|
97
|
-
};
|
|
98
|
-
return ManagementGroups;
|
|
99
|
-
}());
|
|
100
|
-
export { ManagementGroups };
|
|
101
|
-
// Operation Specifications
|
|
102
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
103
|
-
var listOperationSpec = {
|
|
104
|
-
httpMethod: "GET",
|
|
105
|
-
path: "providers/Microsoft.Management/managementGroups",
|
|
106
|
-
queryParameters: [
|
|
107
|
-
Parameters.apiVersion,
|
|
108
|
-
Parameters.skiptoken
|
|
109
|
-
],
|
|
110
|
-
headerParameters: [
|
|
111
|
-
Parameters.cacheControl,
|
|
112
|
-
Parameters.acceptLanguage
|
|
113
|
-
],
|
|
114
|
-
responses: {
|
|
115
|
-
200: {
|
|
116
|
-
bodyMapper: Mappers.ManagementGroupListResult
|
|
117
|
-
},
|
|
118
|
-
default: {
|
|
119
|
-
bodyMapper: Mappers.ErrorResponse
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
serializer: serializer
|
|
123
|
-
};
|
|
124
|
-
var getOperationSpec = {
|
|
125
|
-
httpMethod: "GET",
|
|
126
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
127
|
-
urlParameters: [
|
|
128
|
-
Parameters.groupId
|
|
129
|
-
],
|
|
130
|
-
queryParameters: [
|
|
131
|
-
Parameters.apiVersion,
|
|
132
|
-
Parameters.expand,
|
|
133
|
-
Parameters.recurse,
|
|
134
|
-
Parameters.filter
|
|
135
|
-
],
|
|
136
|
-
headerParameters: [
|
|
137
|
-
Parameters.cacheControl,
|
|
138
|
-
Parameters.acceptLanguage
|
|
139
|
-
],
|
|
140
|
-
responses: {
|
|
141
|
-
200: {
|
|
142
|
-
bodyMapper: Mappers.ManagementGroup
|
|
143
|
-
},
|
|
144
|
-
default: {
|
|
145
|
-
bodyMapper: Mappers.ErrorResponse
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
serializer: serializer
|
|
149
|
-
};
|
|
150
|
-
var updateOperationSpec = {
|
|
151
|
-
httpMethod: "PATCH",
|
|
152
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
153
|
-
urlParameters: [
|
|
154
|
-
Parameters.groupId
|
|
155
|
-
],
|
|
156
|
-
queryParameters: [
|
|
157
|
-
Parameters.apiVersion
|
|
158
|
-
],
|
|
159
|
-
headerParameters: [
|
|
160
|
-
Parameters.cacheControl,
|
|
161
|
-
Parameters.acceptLanguage
|
|
162
|
-
],
|
|
163
|
-
requestBody: {
|
|
164
|
-
parameterPath: "patchGroupRequest",
|
|
165
|
-
mapper: tslib_1.__assign({}, Mappers.PatchManagementGroupRequest, { required: true })
|
|
166
|
-
},
|
|
167
|
-
responses: {
|
|
168
|
-
200: {
|
|
169
|
-
bodyMapper: Mappers.ManagementGroup
|
|
170
|
-
},
|
|
171
|
-
default: {
|
|
172
|
-
bodyMapper: Mappers.ErrorResponse
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
serializer: serializer
|
|
176
|
-
};
|
|
177
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
178
|
-
httpMethod: "PUT",
|
|
179
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
180
|
-
urlParameters: [
|
|
181
|
-
Parameters.groupId
|
|
182
|
-
],
|
|
183
|
-
queryParameters: [
|
|
184
|
-
Parameters.apiVersion
|
|
185
|
-
],
|
|
186
|
-
headerParameters: [
|
|
187
|
-
Parameters.cacheControl,
|
|
188
|
-
Parameters.acceptLanguage
|
|
189
|
-
],
|
|
190
|
-
requestBody: {
|
|
191
|
-
parameterPath: "createManagementGroupRequest",
|
|
192
|
-
mapper: tslib_1.__assign({}, Mappers.CreateManagementGroupRequest, { required: true })
|
|
193
|
-
},
|
|
194
|
-
responses: {
|
|
195
|
-
200: {
|
|
196
|
-
bodyMapper: Mappers.ManagementGroup
|
|
197
|
-
},
|
|
198
|
-
202: {
|
|
199
|
-
bodyMapper: Mappers.OperationResults
|
|
200
|
-
},
|
|
201
|
-
default: {
|
|
202
|
-
bodyMapper: Mappers.ErrorResponse
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
serializer: serializer
|
|
206
|
-
};
|
|
207
|
-
var beginDeleteMethodOperationSpec = {
|
|
208
|
-
httpMethod: "DELETE",
|
|
209
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
210
|
-
urlParameters: [
|
|
211
|
-
Parameters.groupId
|
|
212
|
-
],
|
|
213
|
-
queryParameters: [
|
|
214
|
-
Parameters.apiVersion
|
|
215
|
-
],
|
|
216
|
-
headerParameters: [
|
|
217
|
-
Parameters.cacheControl,
|
|
218
|
-
Parameters.acceptLanguage
|
|
219
|
-
],
|
|
220
|
-
responses: {
|
|
221
|
-
202: {
|
|
222
|
-
bodyMapper: Mappers.OperationResults
|
|
223
|
-
},
|
|
224
|
-
204: {},
|
|
225
|
-
default: {
|
|
226
|
-
bodyMapper: Mappers.ErrorResponse
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
serializer: serializer
|
|
230
|
-
};
|
|
231
|
-
var listNextOperationSpec = {
|
|
232
|
-
httpMethod: "GET",
|
|
233
|
-
baseUrl: "https://management.azure.com",
|
|
234
|
-
path: "{nextLink}",
|
|
235
|
-
urlParameters: [
|
|
236
|
-
Parameters.nextPageLink
|
|
237
|
-
],
|
|
238
|
-
headerParameters: [
|
|
239
|
-
Parameters.cacheControl,
|
|
240
|
-
Parameters.acceptLanguage
|
|
241
|
-
],
|
|
242
|
-
responses: {
|
|
243
|
-
200: {
|
|
244
|
-
bodyMapper: Mappers.ManagementGroupListResult
|
|
245
|
-
},
|
|
246
|
-
default: {
|
|
247
|
-
bodyMapper: Mappers.ErrorResponse
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
serializer: serializer
|
|
251
|
-
};
|
|
252
|
-
//# sourceMappingURL=managementGroups.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"managementGroups.js","sourceRoot":"","sources":["../../lib/operations/managementGroups.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,mCAAmC,CAAC;AAC7D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,6CAA6C;AAC7C;IAGE;;;OAGG;IACH,0BAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,+BAAI,GAAJ,UAAK,OAA8G,EAAE,QAAmE;QACtL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAiD,CAAC;IAC9D,CAAC;IAoBD,8BAAG,GAAH,UAAI,OAAe,EAAE,OAAmG,EAAE,QAAyD;QACjL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;YACP,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAgD,CAAC;IAC7D,CAAC;IAED;;;;;;;;OAQG;IACH,yCAAc,GAAd,UAAe,OAAe,EAAE,4BAAiE,EAAE,OAA6D;QAC9J,OAAO,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAC,4BAA4B,EAAC,OAAO,CAAC;aAC1E,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,C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ACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { ManagementGroupsAPIContext } from "../managementGroupsAPIContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: ManagementGroupsAPIContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all of the available Management REST API operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Lists all of the available Management REST API operations.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
28
|
-
return this.client.sendOperationRequest({
|
|
29
|
-
nextPageLink: nextPageLink,
|
|
30
|
-
options: options
|
|
31
|
-
}, listNextOperationSpec, callback);
|
|
32
|
-
};
|
|
33
|
-
return Operations;
|
|
34
|
-
}());
|
|
35
|
-
export { Operations };
|
|
36
|
-
// Operation Specifications
|
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
38
|
-
var listOperationSpec = {
|
|
39
|
-
httpMethod: "GET",
|
|
40
|
-
path: "providers/Microsoft.Management/operations",
|
|
41
|
-
queryParameters: [
|
|
42
|
-
Parameters.apiVersion
|
|
43
|
-
],
|
|
44
|
-
headerParameters: [
|
|
45
|
-
Parameters.acceptLanguage
|
|
46
|
-
],
|
|
47
|
-
responses: {
|
|
48
|
-
200: {
|
|
49
|
-
bodyMapper: Mappers.OperationListResult
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
bodyMapper: Mappers.ErrorResponse
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
serializer: serializer
|
|
56
|
-
};
|
|
57
|
-
var listNextOperationSpec = {
|
|
58
|
-
httpMethod: "GET",
|
|
59
|
-
baseUrl: "https://management.azure.com",
|
|
60
|
-
path: "{nextLink}",
|
|
61
|
-
urlParameters: [
|
|
62
|
-
Parameters.nextPageLink
|
|
63
|
-
],
|
|
64
|
-
headerParameters: [
|
|
65
|
-
Parameters.acceptLanguage
|
|
66
|
-
],
|
|
67
|
-
responses: {
|
|
68
|
-
200: {
|
|
69
|
-
bodyMapper: Mappers.OperationListResult
|
|
70
|
-
},
|
|
71
|
-
default: {
|
|
72
|
-
bodyMapper: Mappers.ErrorResponse
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
serializer: serializer
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,2CAA2C;IACjD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,U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