@azure/arm-managementgroups 1.2.1 → 2.0.0-alpha.20211220.1
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 +72 -83
- 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 +69 -24
- 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 +93 -130
- package/src/managementGroupsAPIContext.ts +45 -45
- package/src/models/index.ts +801 -1185
- package/src/models/mappers.ts +792 -400
- package/src/models/parameters.ts +130 -94
- package/src/operations/entities.ts +105 -79
- package/src/operations/hierarchySettingsOperations.ts +214 -0
- package/src/operations/index.ts +4 -5
- package/src/operations/managementGroupSubscriptions.ts +226 -72
- package/src/operations/managementGroups.ts +449 -222
- package/src/operations/operations.ts +84 -70
- 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 -2017
- 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 -74
- package/esm/managementGroupsAPI.d.ts.map +0 -1
- package/esm/managementGroupsAPI.js +0 -120
- package/esm/managementGroupsAPI.js.map +0 -1
- package/esm/managementGroupsAPIContext.d.ts +0 -20
- package/esm/managementGroupsAPIContext.d.ts.map +0 -1
- package/esm/managementGroupsAPIContext.js +0 -56
- 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/src/models/entitiesMappers.ts +0 -18
- package/src/models/managementGroupSubscriptionsMappers.ts +0 -15
- package/src/models/managementGroupsMappers.ts +0 -29
- package/src/models/operationsMappers.ts +0 -18
package/dist/index.js
ADDED
|
@@ -0,0 +1,2881 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var coreClient = require('@azure/core-client');
|
|
6
|
+
var tslib = require('tslib');
|
|
7
|
+
var coreLro = require('@azure/core-lro');
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* Copyright (c) Microsoft Corporation.
|
|
11
|
+
* Licensed under the MIT License.
|
|
12
|
+
*
|
|
13
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
|
+
*/
|
|
16
|
+
(function (KnownEnum0) {
|
|
17
|
+
KnownEnum0["Children"] = "children";
|
|
18
|
+
KnownEnum0["Path"] = "path";
|
|
19
|
+
KnownEnum0["Ancestors"] = "ancestors";
|
|
20
|
+
})(exports.KnownEnum0 || (exports.KnownEnum0 = {}));
|
|
21
|
+
(function (KnownManagementGroupChildType) {
|
|
22
|
+
KnownManagementGroupChildType["MicrosoftManagementManagementGroups"] = "Microsoft.Management/managementGroups";
|
|
23
|
+
KnownManagementGroupChildType["Subscriptions"] = "/subscriptions";
|
|
24
|
+
})(exports.KnownManagementGroupChildType || (exports.KnownManagementGroupChildType = {}));
|
|
25
|
+
(function (KnownEnum2) {
|
|
26
|
+
KnownEnum2["AllowedParents"] = "AllowedParents";
|
|
27
|
+
KnownEnum2["AllowedChildren"] = "AllowedChildren";
|
|
28
|
+
KnownEnum2["ParentAndFirstLevelChildren"] = "ParentAndFirstLevelChildren";
|
|
29
|
+
KnownEnum2["ParentOnly"] = "ParentOnly";
|
|
30
|
+
KnownEnum2["ChildrenOnly"] = "ChildrenOnly";
|
|
31
|
+
})(exports.KnownEnum2 || (exports.KnownEnum2 = {}));
|
|
32
|
+
(function (KnownEnum3) {
|
|
33
|
+
KnownEnum3["FullHierarchy"] = "FullHierarchy";
|
|
34
|
+
KnownEnum3["GroupsOnly"] = "GroupsOnly";
|
|
35
|
+
KnownEnum3["SubscriptionsOnly"] = "SubscriptionsOnly";
|
|
36
|
+
KnownEnum3["Audit"] = "Audit";
|
|
37
|
+
})(exports.KnownEnum3 || (exports.KnownEnum3 = {}));
|
|
38
|
+
(function (KnownPermissions) {
|
|
39
|
+
KnownPermissions["Noaccess"] = "noaccess";
|
|
40
|
+
KnownPermissions["View"] = "view";
|
|
41
|
+
KnownPermissions["Edit"] = "edit";
|
|
42
|
+
KnownPermissions["Delete"] = "delete";
|
|
43
|
+
})(exports.KnownPermissions || (exports.KnownPermissions = {}));
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* Copyright (c) Microsoft Corporation.
|
|
47
|
+
* Licensed under the MIT License.
|
|
48
|
+
*
|
|
49
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
50
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
51
|
+
*/
|
|
52
|
+
const ManagementGroupListResult = {
|
|
53
|
+
type: {
|
|
54
|
+
name: "Composite",
|
|
55
|
+
className: "ManagementGroupListResult",
|
|
56
|
+
modelProperties: {
|
|
57
|
+
value: {
|
|
58
|
+
serializedName: "value",
|
|
59
|
+
type: {
|
|
60
|
+
name: "Sequence",
|
|
61
|
+
element: {
|
|
62
|
+
type: {
|
|
63
|
+
name: "Composite",
|
|
64
|
+
className: "ManagementGroupInfo"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
nextLink: {
|
|
70
|
+
serializedName: "nextLink",
|
|
71
|
+
readOnly: true,
|
|
72
|
+
type: {
|
|
73
|
+
name: "String"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const ManagementGroupInfo = {
|
|
80
|
+
type: {
|
|
81
|
+
name: "Composite",
|
|
82
|
+
className: "ManagementGroupInfo",
|
|
83
|
+
modelProperties: {
|
|
84
|
+
id: {
|
|
85
|
+
serializedName: "id",
|
|
86
|
+
readOnly: true,
|
|
87
|
+
type: {
|
|
88
|
+
name: "String"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
type: {
|
|
92
|
+
serializedName: "type",
|
|
93
|
+
readOnly: true,
|
|
94
|
+
type: {
|
|
95
|
+
name: "String"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
name: {
|
|
99
|
+
serializedName: "name",
|
|
100
|
+
readOnly: true,
|
|
101
|
+
type: {
|
|
102
|
+
name: "String"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
tenantId: {
|
|
106
|
+
serializedName: "properties.tenantId",
|
|
107
|
+
type: {
|
|
108
|
+
name: "String"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
displayName: {
|
|
112
|
+
serializedName: "properties.displayName",
|
|
113
|
+
type: {
|
|
114
|
+
name: "String"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const ErrorResponse = {
|
|
121
|
+
type: {
|
|
122
|
+
name: "Composite",
|
|
123
|
+
className: "ErrorResponse",
|
|
124
|
+
modelProperties: {
|
|
125
|
+
error: {
|
|
126
|
+
serializedName: "error",
|
|
127
|
+
type: {
|
|
128
|
+
name: "Composite",
|
|
129
|
+
className: "ErrorDetails"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
const ErrorDetails = {
|
|
136
|
+
type: {
|
|
137
|
+
name: "Composite",
|
|
138
|
+
className: "ErrorDetails",
|
|
139
|
+
modelProperties: {
|
|
140
|
+
code: {
|
|
141
|
+
serializedName: "code",
|
|
142
|
+
type: {
|
|
143
|
+
name: "String"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
message: {
|
|
147
|
+
serializedName: "message",
|
|
148
|
+
type: {
|
|
149
|
+
name: "String"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
details: {
|
|
153
|
+
serializedName: "details",
|
|
154
|
+
type: {
|
|
155
|
+
name: "String"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
const ManagementGroup = {
|
|
162
|
+
type: {
|
|
163
|
+
name: "Composite",
|
|
164
|
+
className: "ManagementGroup",
|
|
165
|
+
modelProperties: {
|
|
166
|
+
id: {
|
|
167
|
+
serializedName: "id",
|
|
168
|
+
readOnly: true,
|
|
169
|
+
type: {
|
|
170
|
+
name: "String"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
type: {
|
|
174
|
+
serializedName: "type",
|
|
175
|
+
readOnly: true,
|
|
176
|
+
type: {
|
|
177
|
+
name: "String"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
name: {
|
|
181
|
+
serializedName: "name",
|
|
182
|
+
readOnly: true,
|
|
183
|
+
type: {
|
|
184
|
+
name: "String"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
tenantId: {
|
|
188
|
+
serializedName: "properties.tenantId",
|
|
189
|
+
type: {
|
|
190
|
+
name: "String"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
displayName: {
|
|
194
|
+
serializedName: "properties.displayName",
|
|
195
|
+
type: {
|
|
196
|
+
name: "String"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
details: {
|
|
200
|
+
serializedName: "properties.details",
|
|
201
|
+
type: {
|
|
202
|
+
name: "Composite",
|
|
203
|
+
className: "ManagementGroupDetails"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
children: {
|
|
207
|
+
serializedName: "properties.children",
|
|
208
|
+
nullable: true,
|
|
209
|
+
type: {
|
|
210
|
+
name: "Sequence",
|
|
211
|
+
element: {
|
|
212
|
+
type: {
|
|
213
|
+
name: "Composite",
|
|
214
|
+
className: "ManagementGroupChildInfo"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
const ManagementGroupDetails = {
|
|
223
|
+
type: {
|
|
224
|
+
name: "Composite",
|
|
225
|
+
className: "ManagementGroupDetails",
|
|
226
|
+
modelProperties: {
|
|
227
|
+
version: {
|
|
228
|
+
serializedName: "version",
|
|
229
|
+
type: {
|
|
230
|
+
name: "Number"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
updatedTime: {
|
|
234
|
+
serializedName: "updatedTime",
|
|
235
|
+
type: {
|
|
236
|
+
name: "DateTime"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
updatedBy: {
|
|
240
|
+
serializedName: "updatedBy",
|
|
241
|
+
type: {
|
|
242
|
+
name: "String"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
parent: {
|
|
246
|
+
serializedName: "parent",
|
|
247
|
+
type: {
|
|
248
|
+
name: "Composite",
|
|
249
|
+
className: "ParentGroupInfo"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
path: {
|
|
253
|
+
serializedName: "path",
|
|
254
|
+
nullable: true,
|
|
255
|
+
type: {
|
|
256
|
+
name: "Sequence",
|
|
257
|
+
element: {
|
|
258
|
+
type: {
|
|
259
|
+
name: "Composite",
|
|
260
|
+
className: "ManagementGroupPathElement"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
managementGroupAncestors: {
|
|
266
|
+
serializedName: "managementGroupAncestors",
|
|
267
|
+
nullable: true,
|
|
268
|
+
type: {
|
|
269
|
+
name: "Sequence",
|
|
270
|
+
element: {
|
|
271
|
+
type: {
|
|
272
|
+
name: "String"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
managementGroupAncestorsChain: {
|
|
278
|
+
serializedName: "managementGroupAncestorsChain",
|
|
279
|
+
nullable: true,
|
|
280
|
+
type: {
|
|
281
|
+
name: "Sequence",
|
|
282
|
+
element: {
|
|
283
|
+
type: {
|
|
284
|
+
name: "Composite",
|
|
285
|
+
className: "ManagementGroupPathElement"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
const ParentGroupInfo = {
|
|
294
|
+
type: {
|
|
295
|
+
name: "Composite",
|
|
296
|
+
className: "ParentGroupInfo",
|
|
297
|
+
modelProperties: {
|
|
298
|
+
id: {
|
|
299
|
+
serializedName: "id",
|
|
300
|
+
type: {
|
|
301
|
+
name: "String"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
name: {
|
|
305
|
+
serializedName: "name",
|
|
306
|
+
type: {
|
|
307
|
+
name: "String"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
displayName: {
|
|
311
|
+
serializedName: "displayName",
|
|
312
|
+
type: {
|
|
313
|
+
name: "String"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
const ManagementGroupPathElement = {
|
|
320
|
+
type: {
|
|
321
|
+
name: "Composite",
|
|
322
|
+
className: "ManagementGroupPathElement",
|
|
323
|
+
modelProperties: {
|
|
324
|
+
name: {
|
|
325
|
+
serializedName: "name",
|
|
326
|
+
type: {
|
|
327
|
+
name: "String"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
displayName: {
|
|
331
|
+
serializedName: "displayName",
|
|
332
|
+
type: {
|
|
333
|
+
name: "String"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
const ManagementGroupChildInfo = {
|
|
340
|
+
type: {
|
|
341
|
+
name: "Composite",
|
|
342
|
+
className: "ManagementGroupChildInfo",
|
|
343
|
+
modelProperties: {
|
|
344
|
+
type: {
|
|
345
|
+
serializedName: "type",
|
|
346
|
+
type: {
|
|
347
|
+
name: "String"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
id: {
|
|
351
|
+
serializedName: "id",
|
|
352
|
+
type: {
|
|
353
|
+
name: "String"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
name: {
|
|
357
|
+
serializedName: "name",
|
|
358
|
+
type: {
|
|
359
|
+
name: "String"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
displayName: {
|
|
363
|
+
serializedName: "displayName",
|
|
364
|
+
type: {
|
|
365
|
+
name: "String"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
children: {
|
|
369
|
+
serializedName: "children",
|
|
370
|
+
type: {
|
|
371
|
+
name: "Sequence",
|
|
372
|
+
element: {
|
|
373
|
+
type: {
|
|
374
|
+
name: "Composite",
|
|
375
|
+
className: "ManagementGroupChildInfo"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
const CreateManagementGroupRequest = {
|
|
384
|
+
type: {
|
|
385
|
+
name: "Composite",
|
|
386
|
+
className: "CreateManagementGroupRequest",
|
|
387
|
+
modelProperties: {
|
|
388
|
+
id: {
|
|
389
|
+
serializedName: "id",
|
|
390
|
+
readOnly: true,
|
|
391
|
+
type: {
|
|
392
|
+
name: "String"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
type: {
|
|
396
|
+
serializedName: "type",
|
|
397
|
+
readOnly: true,
|
|
398
|
+
type: {
|
|
399
|
+
name: "String"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
name: {
|
|
403
|
+
serializedName: "name",
|
|
404
|
+
type: {
|
|
405
|
+
name: "String"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
tenantId: {
|
|
409
|
+
serializedName: "properties.tenantId",
|
|
410
|
+
readOnly: true,
|
|
411
|
+
type: {
|
|
412
|
+
name: "String"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
displayName: {
|
|
416
|
+
serializedName: "properties.displayName",
|
|
417
|
+
nullable: true,
|
|
418
|
+
type: {
|
|
419
|
+
name: "String"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
details: {
|
|
423
|
+
serializedName: "properties.details",
|
|
424
|
+
type: {
|
|
425
|
+
name: "Composite",
|
|
426
|
+
className: "CreateManagementGroupDetails"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
children: {
|
|
430
|
+
serializedName: "properties.children",
|
|
431
|
+
readOnly: true,
|
|
432
|
+
nullable: true,
|
|
433
|
+
type: {
|
|
434
|
+
name: "Sequence",
|
|
435
|
+
element: {
|
|
436
|
+
type: {
|
|
437
|
+
name: "Composite",
|
|
438
|
+
className: "CreateManagementGroupChildInfo"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
};
|
|
446
|
+
const CreateManagementGroupDetails = {
|
|
447
|
+
type: {
|
|
448
|
+
name: "Composite",
|
|
449
|
+
className: "CreateManagementGroupDetails",
|
|
450
|
+
modelProperties: {
|
|
451
|
+
version: {
|
|
452
|
+
serializedName: "version",
|
|
453
|
+
readOnly: true,
|
|
454
|
+
type: {
|
|
455
|
+
name: "Number"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
updatedTime: {
|
|
459
|
+
serializedName: "updatedTime",
|
|
460
|
+
readOnly: true,
|
|
461
|
+
type: {
|
|
462
|
+
name: "DateTime"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
updatedBy: {
|
|
466
|
+
serializedName: "updatedBy",
|
|
467
|
+
readOnly: true,
|
|
468
|
+
type: {
|
|
469
|
+
name: "String"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
parent: {
|
|
473
|
+
serializedName: "parent",
|
|
474
|
+
type: {
|
|
475
|
+
name: "Composite",
|
|
476
|
+
className: "CreateParentGroupInfo"
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
const CreateParentGroupInfo = {
|
|
483
|
+
type: {
|
|
484
|
+
name: "Composite",
|
|
485
|
+
className: "CreateParentGroupInfo",
|
|
486
|
+
modelProperties: {
|
|
487
|
+
id: {
|
|
488
|
+
serializedName: "id",
|
|
489
|
+
type: {
|
|
490
|
+
name: "String"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
name: {
|
|
494
|
+
serializedName: "name",
|
|
495
|
+
readOnly: true,
|
|
496
|
+
type: {
|
|
497
|
+
name: "String"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
displayName: {
|
|
501
|
+
serializedName: "displayName",
|
|
502
|
+
readOnly: true,
|
|
503
|
+
type: {
|
|
504
|
+
name: "String"
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
const CreateManagementGroupChildInfo = {
|
|
511
|
+
type: {
|
|
512
|
+
name: "Composite",
|
|
513
|
+
className: "CreateManagementGroupChildInfo",
|
|
514
|
+
modelProperties: {
|
|
515
|
+
type: {
|
|
516
|
+
serializedName: "type",
|
|
517
|
+
readOnly: true,
|
|
518
|
+
type: {
|
|
519
|
+
name: "String"
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
id: {
|
|
523
|
+
serializedName: "id",
|
|
524
|
+
readOnly: true,
|
|
525
|
+
type: {
|
|
526
|
+
name: "String"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
name: {
|
|
530
|
+
serializedName: "name",
|
|
531
|
+
readOnly: true,
|
|
532
|
+
type: {
|
|
533
|
+
name: "String"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
displayName: {
|
|
537
|
+
serializedName: "displayName",
|
|
538
|
+
readOnly: true,
|
|
539
|
+
type: {
|
|
540
|
+
name: "String"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
children: {
|
|
544
|
+
serializedName: "children",
|
|
545
|
+
readOnly: true,
|
|
546
|
+
type: {
|
|
547
|
+
name: "Sequence",
|
|
548
|
+
element: {
|
|
549
|
+
type: {
|
|
550
|
+
name: "Composite",
|
|
551
|
+
className: "CreateManagementGroupChildInfo"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
const AzureAsyncOperationResults = {
|
|
560
|
+
type: {
|
|
561
|
+
name: "Composite",
|
|
562
|
+
className: "AzureAsyncOperationResults",
|
|
563
|
+
modelProperties: {
|
|
564
|
+
id: {
|
|
565
|
+
serializedName: "id",
|
|
566
|
+
readOnly: true,
|
|
567
|
+
type: {
|
|
568
|
+
name: "String"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
type: {
|
|
572
|
+
serializedName: "type",
|
|
573
|
+
readOnly: true,
|
|
574
|
+
type: {
|
|
575
|
+
name: "String"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
name: {
|
|
579
|
+
serializedName: "name",
|
|
580
|
+
readOnly: true,
|
|
581
|
+
type: {
|
|
582
|
+
name: "String"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
status: {
|
|
586
|
+
serializedName: "status",
|
|
587
|
+
readOnly: true,
|
|
588
|
+
type: {
|
|
589
|
+
name: "String"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
tenantId: {
|
|
593
|
+
serializedName: "properties.tenantId",
|
|
594
|
+
type: {
|
|
595
|
+
name: "String"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
displayName: {
|
|
599
|
+
serializedName: "properties.displayName",
|
|
600
|
+
type: {
|
|
601
|
+
name: "String"
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
const PatchManagementGroupRequest = {
|
|
608
|
+
type: {
|
|
609
|
+
name: "Composite",
|
|
610
|
+
className: "PatchManagementGroupRequest",
|
|
611
|
+
modelProperties: {
|
|
612
|
+
displayName: {
|
|
613
|
+
serializedName: "displayName",
|
|
614
|
+
nullable: true,
|
|
615
|
+
type: {
|
|
616
|
+
name: "String"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
parentGroupId: {
|
|
620
|
+
serializedName: "parentGroupId",
|
|
621
|
+
nullable: true,
|
|
622
|
+
type: {
|
|
623
|
+
name: "String"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
const DescendantListResult = {
|
|
630
|
+
type: {
|
|
631
|
+
name: "Composite",
|
|
632
|
+
className: "DescendantListResult",
|
|
633
|
+
modelProperties: {
|
|
634
|
+
value: {
|
|
635
|
+
serializedName: "value",
|
|
636
|
+
type: {
|
|
637
|
+
name: "Sequence",
|
|
638
|
+
element: {
|
|
639
|
+
type: {
|
|
640
|
+
name: "Composite",
|
|
641
|
+
className: "DescendantInfo"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
nextLink: {
|
|
647
|
+
serializedName: "nextLink",
|
|
648
|
+
readOnly: true,
|
|
649
|
+
type: {
|
|
650
|
+
name: "String"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
const DescendantInfo = {
|
|
657
|
+
type: {
|
|
658
|
+
name: "Composite",
|
|
659
|
+
className: "DescendantInfo",
|
|
660
|
+
modelProperties: {
|
|
661
|
+
id: {
|
|
662
|
+
serializedName: "id",
|
|
663
|
+
readOnly: true,
|
|
664
|
+
nullable: true,
|
|
665
|
+
type: {
|
|
666
|
+
name: "String"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
type: {
|
|
670
|
+
serializedName: "type",
|
|
671
|
+
readOnly: true,
|
|
672
|
+
nullable: true,
|
|
673
|
+
type: {
|
|
674
|
+
name: "String"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
name: {
|
|
678
|
+
serializedName: "name",
|
|
679
|
+
readOnly: true,
|
|
680
|
+
type: {
|
|
681
|
+
name: "String"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
displayName: {
|
|
685
|
+
serializedName: "properties.displayName",
|
|
686
|
+
nullable: true,
|
|
687
|
+
type: {
|
|
688
|
+
name: "String"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
parent: {
|
|
692
|
+
serializedName: "properties.parent",
|
|
693
|
+
type: {
|
|
694
|
+
name: "Composite",
|
|
695
|
+
className: "DescendantParentGroupInfo"
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
const DescendantParentGroupInfo = {
|
|
702
|
+
type: {
|
|
703
|
+
name: "Composite",
|
|
704
|
+
className: "DescendantParentGroupInfo",
|
|
705
|
+
modelProperties: {
|
|
706
|
+
id: {
|
|
707
|
+
serializedName: "id",
|
|
708
|
+
type: {
|
|
709
|
+
name: "String"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
const SubscriptionUnderManagementGroup = {
|
|
716
|
+
type: {
|
|
717
|
+
name: "Composite",
|
|
718
|
+
className: "SubscriptionUnderManagementGroup",
|
|
719
|
+
modelProperties: {
|
|
720
|
+
id: {
|
|
721
|
+
serializedName: "id",
|
|
722
|
+
readOnly: true,
|
|
723
|
+
type: {
|
|
724
|
+
name: "String"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
type: {
|
|
728
|
+
serializedName: "type",
|
|
729
|
+
readOnly: true,
|
|
730
|
+
type: {
|
|
731
|
+
name: "String"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
name: {
|
|
735
|
+
serializedName: "name",
|
|
736
|
+
readOnly: true,
|
|
737
|
+
type: {
|
|
738
|
+
name: "String"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
tenant: {
|
|
742
|
+
serializedName: "properties.tenant",
|
|
743
|
+
type: {
|
|
744
|
+
name: "String"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
displayName: {
|
|
748
|
+
serializedName: "properties.displayName",
|
|
749
|
+
type: {
|
|
750
|
+
name: "String"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
parent: {
|
|
754
|
+
serializedName: "properties.parent",
|
|
755
|
+
type: {
|
|
756
|
+
name: "Composite",
|
|
757
|
+
className: "DescendantParentGroupInfo"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
state: {
|
|
761
|
+
serializedName: "properties.state",
|
|
762
|
+
type: {
|
|
763
|
+
name: "String"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
const ListSubscriptionUnderManagementGroup = {
|
|
770
|
+
type: {
|
|
771
|
+
name: "Composite",
|
|
772
|
+
className: "ListSubscriptionUnderManagementGroup",
|
|
773
|
+
modelProperties: {
|
|
774
|
+
value: {
|
|
775
|
+
serializedName: "value",
|
|
776
|
+
type: {
|
|
777
|
+
name: "Sequence",
|
|
778
|
+
element: {
|
|
779
|
+
type: {
|
|
780
|
+
name: "Composite",
|
|
781
|
+
className: "SubscriptionUnderManagementGroup"
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
nextLink: {
|
|
787
|
+
serializedName: "nextLink",
|
|
788
|
+
readOnly: true,
|
|
789
|
+
type: {
|
|
790
|
+
name: "String"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
const HierarchySettingsList = {
|
|
797
|
+
type: {
|
|
798
|
+
name: "Composite",
|
|
799
|
+
className: "HierarchySettingsList",
|
|
800
|
+
modelProperties: {
|
|
801
|
+
value: {
|
|
802
|
+
serializedName: "value",
|
|
803
|
+
type: {
|
|
804
|
+
name: "Sequence",
|
|
805
|
+
element: {
|
|
806
|
+
type: {
|
|
807
|
+
name: "Composite",
|
|
808
|
+
className: "HierarchySettingsInfo"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
nextLink: {
|
|
814
|
+
serializedName: "nextLink",
|
|
815
|
+
readOnly: true,
|
|
816
|
+
type: {
|
|
817
|
+
name: "String"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
};
|
|
823
|
+
const HierarchySettingsInfo = {
|
|
824
|
+
type: {
|
|
825
|
+
name: "Composite",
|
|
826
|
+
className: "HierarchySettingsInfo",
|
|
827
|
+
modelProperties: {
|
|
828
|
+
id: {
|
|
829
|
+
serializedName: "id",
|
|
830
|
+
readOnly: true,
|
|
831
|
+
type: {
|
|
832
|
+
name: "String"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
type: {
|
|
836
|
+
serializedName: "type",
|
|
837
|
+
readOnly: true,
|
|
838
|
+
type: {
|
|
839
|
+
name: "String"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
name: {
|
|
843
|
+
serializedName: "name",
|
|
844
|
+
readOnly: true,
|
|
845
|
+
type: {
|
|
846
|
+
name: "String"
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
tenantId: {
|
|
850
|
+
serializedName: "properties.tenantId",
|
|
851
|
+
type: {
|
|
852
|
+
name: "String"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
requireAuthorizationForGroupCreation: {
|
|
856
|
+
serializedName: "properties.requireAuthorizationForGroupCreation",
|
|
857
|
+
type: {
|
|
858
|
+
name: "Boolean"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
defaultManagementGroup: {
|
|
862
|
+
serializedName: "properties.defaultManagementGroup",
|
|
863
|
+
type: {
|
|
864
|
+
name: "String"
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
const HierarchySettings = {
|
|
871
|
+
type: {
|
|
872
|
+
name: "Composite",
|
|
873
|
+
className: "HierarchySettings",
|
|
874
|
+
modelProperties: {
|
|
875
|
+
id: {
|
|
876
|
+
serializedName: "id",
|
|
877
|
+
readOnly: true,
|
|
878
|
+
type: {
|
|
879
|
+
name: "String"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
type: {
|
|
883
|
+
serializedName: "type",
|
|
884
|
+
readOnly: true,
|
|
885
|
+
type: {
|
|
886
|
+
name: "String"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
name: {
|
|
890
|
+
serializedName: "name",
|
|
891
|
+
readOnly: true,
|
|
892
|
+
type: {
|
|
893
|
+
name: "String"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
tenantId: {
|
|
897
|
+
serializedName: "properties.tenantId",
|
|
898
|
+
type: {
|
|
899
|
+
name: "String"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
requireAuthorizationForGroupCreation: {
|
|
903
|
+
serializedName: "properties.requireAuthorizationForGroupCreation",
|
|
904
|
+
type: {
|
|
905
|
+
name: "Boolean"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
defaultManagementGroup: {
|
|
909
|
+
serializedName: "properties.defaultManagementGroup",
|
|
910
|
+
type: {
|
|
911
|
+
name: "String"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
const CreateOrUpdateSettingsRequest = {
|
|
918
|
+
type: {
|
|
919
|
+
name: "Composite",
|
|
920
|
+
className: "CreateOrUpdateSettingsRequest",
|
|
921
|
+
modelProperties: {
|
|
922
|
+
requireAuthorizationForGroupCreation: {
|
|
923
|
+
serializedName: "properties.requireAuthorizationForGroupCreation",
|
|
924
|
+
type: {
|
|
925
|
+
name: "Boolean"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
defaultManagementGroup: {
|
|
929
|
+
serializedName: "properties.defaultManagementGroup",
|
|
930
|
+
type: {
|
|
931
|
+
name: "String"
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
};
|
|
937
|
+
const OperationListResult = {
|
|
938
|
+
type: {
|
|
939
|
+
name: "Composite",
|
|
940
|
+
className: "OperationListResult",
|
|
941
|
+
modelProperties: {
|
|
942
|
+
value: {
|
|
943
|
+
serializedName: "value",
|
|
944
|
+
readOnly: true,
|
|
945
|
+
type: {
|
|
946
|
+
name: "Sequence",
|
|
947
|
+
element: {
|
|
948
|
+
type: {
|
|
949
|
+
name: "Composite",
|
|
950
|
+
className: "Operation"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
nextLink: {
|
|
956
|
+
serializedName: "nextLink",
|
|
957
|
+
readOnly: true,
|
|
958
|
+
type: {
|
|
959
|
+
name: "String"
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
};
|
|
965
|
+
const Operation = {
|
|
966
|
+
type: {
|
|
967
|
+
name: "Composite",
|
|
968
|
+
className: "Operation",
|
|
969
|
+
modelProperties: {
|
|
970
|
+
name: {
|
|
971
|
+
serializedName: "name",
|
|
972
|
+
readOnly: true,
|
|
973
|
+
type: {
|
|
974
|
+
name: "String"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
display: {
|
|
978
|
+
serializedName: "display",
|
|
979
|
+
type: {
|
|
980
|
+
name: "Composite",
|
|
981
|
+
className: "OperationDisplayProperties"
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
};
|
|
987
|
+
const OperationDisplayProperties = {
|
|
988
|
+
type: {
|
|
989
|
+
name: "Composite",
|
|
990
|
+
className: "OperationDisplayProperties",
|
|
991
|
+
modelProperties: {
|
|
992
|
+
provider: {
|
|
993
|
+
serializedName: "provider",
|
|
994
|
+
readOnly: true,
|
|
995
|
+
type: {
|
|
996
|
+
name: "String"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
resource: {
|
|
1000
|
+
serializedName: "resource",
|
|
1001
|
+
readOnly: true,
|
|
1002
|
+
type: {
|
|
1003
|
+
name: "String"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
operation: {
|
|
1007
|
+
serializedName: "operation",
|
|
1008
|
+
readOnly: true,
|
|
1009
|
+
type: {
|
|
1010
|
+
name: "String"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
description: {
|
|
1014
|
+
serializedName: "description",
|
|
1015
|
+
readOnly: true,
|
|
1016
|
+
type: {
|
|
1017
|
+
name: "String"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
};
|
|
1023
|
+
const CheckNameAvailabilityRequest = {
|
|
1024
|
+
type: {
|
|
1025
|
+
name: "Composite",
|
|
1026
|
+
className: "CheckNameAvailabilityRequest",
|
|
1027
|
+
modelProperties: {
|
|
1028
|
+
name: {
|
|
1029
|
+
serializedName: "name",
|
|
1030
|
+
type: {
|
|
1031
|
+
name: "String"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
type: {
|
|
1035
|
+
defaultValue: "Microsoft.Management/managementGroups",
|
|
1036
|
+
isConstant: true,
|
|
1037
|
+
serializedName: "type",
|
|
1038
|
+
type: {
|
|
1039
|
+
name: "String"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
const CheckNameAvailabilityResult = {
|
|
1046
|
+
type: {
|
|
1047
|
+
name: "Composite",
|
|
1048
|
+
className: "CheckNameAvailabilityResult",
|
|
1049
|
+
modelProperties: {
|
|
1050
|
+
nameAvailable: {
|
|
1051
|
+
serializedName: "nameAvailable",
|
|
1052
|
+
readOnly: true,
|
|
1053
|
+
type: {
|
|
1054
|
+
name: "Boolean"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
reason: {
|
|
1058
|
+
serializedName: "reason",
|
|
1059
|
+
readOnly: true,
|
|
1060
|
+
type: {
|
|
1061
|
+
name: "Enum",
|
|
1062
|
+
allowedValues: ["Invalid", "AlreadyExists"]
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
message: {
|
|
1066
|
+
serializedName: "message",
|
|
1067
|
+
readOnly: true,
|
|
1068
|
+
type: {
|
|
1069
|
+
name: "String"
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
const EntityListResult = {
|
|
1076
|
+
type: {
|
|
1077
|
+
name: "Composite",
|
|
1078
|
+
className: "EntityListResult",
|
|
1079
|
+
modelProperties: {
|
|
1080
|
+
value: {
|
|
1081
|
+
serializedName: "value",
|
|
1082
|
+
type: {
|
|
1083
|
+
name: "Sequence",
|
|
1084
|
+
element: {
|
|
1085
|
+
type: {
|
|
1086
|
+
name: "Composite",
|
|
1087
|
+
className: "EntityInfo"
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
count: {
|
|
1093
|
+
serializedName: "count",
|
|
1094
|
+
readOnly: true,
|
|
1095
|
+
type: {
|
|
1096
|
+
name: "Number"
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
nextLink: {
|
|
1100
|
+
serializedName: "nextLink",
|
|
1101
|
+
readOnly: true,
|
|
1102
|
+
type: {
|
|
1103
|
+
name: "String"
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
};
|
|
1109
|
+
const EntityInfo = {
|
|
1110
|
+
type: {
|
|
1111
|
+
name: "Composite",
|
|
1112
|
+
className: "EntityInfo",
|
|
1113
|
+
modelProperties: {
|
|
1114
|
+
id: {
|
|
1115
|
+
serializedName: "id",
|
|
1116
|
+
readOnly: true,
|
|
1117
|
+
nullable: true,
|
|
1118
|
+
type: {
|
|
1119
|
+
name: "String"
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
type: {
|
|
1123
|
+
serializedName: "type",
|
|
1124
|
+
readOnly: true,
|
|
1125
|
+
nullable: true,
|
|
1126
|
+
type: {
|
|
1127
|
+
name: "String"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
name: {
|
|
1131
|
+
serializedName: "name",
|
|
1132
|
+
readOnly: true,
|
|
1133
|
+
type: {
|
|
1134
|
+
name: "String"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
tenantId: {
|
|
1138
|
+
serializedName: "properties.tenantId",
|
|
1139
|
+
nullable: true,
|
|
1140
|
+
type: {
|
|
1141
|
+
name: "String"
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
displayName: {
|
|
1145
|
+
serializedName: "properties.displayName",
|
|
1146
|
+
nullable: true,
|
|
1147
|
+
type: {
|
|
1148
|
+
name: "String"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
parent: {
|
|
1152
|
+
serializedName: "properties.parent",
|
|
1153
|
+
type: {
|
|
1154
|
+
name: "Composite",
|
|
1155
|
+
className: "EntityParentGroupInfo"
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
permissions: {
|
|
1159
|
+
serializedName: "properties.permissions",
|
|
1160
|
+
nullable: true,
|
|
1161
|
+
type: {
|
|
1162
|
+
name: "String"
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
inheritedPermissions: {
|
|
1166
|
+
serializedName: "properties.inheritedPermissions",
|
|
1167
|
+
nullable: true,
|
|
1168
|
+
type: {
|
|
1169
|
+
name: "String"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
numberOfDescendants: {
|
|
1173
|
+
serializedName: "properties.numberOfDescendants",
|
|
1174
|
+
nullable: true,
|
|
1175
|
+
type: {
|
|
1176
|
+
name: "Number"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
numberOfChildren: {
|
|
1180
|
+
serializedName: "properties.numberOfChildren",
|
|
1181
|
+
nullable: true,
|
|
1182
|
+
type: {
|
|
1183
|
+
name: "Number"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
numberOfChildGroups: {
|
|
1187
|
+
serializedName: "properties.numberOfChildGroups",
|
|
1188
|
+
nullable: true,
|
|
1189
|
+
type: {
|
|
1190
|
+
name: "Number"
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
parentDisplayNameChain: {
|
|
1194
|
+
serializedName: "properties.parentDisplayNameChain",
|
|
1195
|
+
nullable: true,
|
|
1196
|
+
type: {
|
|
1197
|
+
name: "Sequence",
|
|
1198
|
+
element: {
|
|
1199
|
+
type: {
|
|
1200
|
+
name: "String"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
parentNameChain: {
|
|
1206
|
+
serializedName: "properties.parentNameChain",
|
|
1207
|
+
nullable: true,
|
|
1208
|
+
type: {
|
|
1209
|
+
name: "Sequence",
|
|
1210
|
+
element: {
|
|
1211
|
+
type: {
|
|
1212
|
+
name: "String"
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
};
|
|
1220
|
+
const EntityParentGroupInfo = {
|
|
1221
|
+
type: {
|
|
1222
|
+
name: "Composite",
|
|
1223
|
+
className: "EntityParentGroupInfo",
|
|
1224
|
+
modelProperties: {
|
|
1225
|
+
id: {
|
|
1226
|
+
serializedName: "id",
|
|
1227
|
+
type: {
|
|
1228
|
+
name: "String"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
};
|
|
1234
|
+
const TenantBackfillStatusResult = {
|
|
1235
|
+
type: {
|
|
1236
|
+
name: "Composite",
|
|
1237
|
+
className: "TenantBackfillStatusResult",
|
|
1238
|
+
modelProperties: {
|
|
1239
|
+
tenantId: {
|
|
1240
|
+
serializedName: "tenantId",
|
|
1241
|
+
readOnly: true,
|
|
1242
|
+
type: {
|
|
1243
|
+
name: "String"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
status: {
|
|
1247
|
+
serializedName: "status",
|
|
1248
|
+
readOnly: true,
|
|
1249
|
+
type: {
|
|
1250
|
+
name: "Enum",
|
|
1251
|
+
allowedValues: [
|
|
1252
|
+
"NotStarted",
|
|
1253
|
+
"NotStartedButGroupsExist",
|
|
1254
|
+
"Started",
|
|
1255
|
+
"Failed",
|
|
1256
|
+
"Cancelled",
|
|
1257
|
+
"Completed"
|
|
1258
|
+
]
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
const OperationResults = {
|
|
1265
|
+
type: {
|
|
1266
|
+
name: "Composite",
|
|
1267
|
+
className: "OperationResults",
|
|
1268
|
+
modelProperties: {
|
|
1269
|
+
id: {
|
|
1270
|
+
serializedName: "id",
|
|
1271
|
+
readOnly: true,
|
|
1272
|
+
type: {
|
|
1273
|
+
name: "String"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
type: {
|
|
1277
|
+
serializedName: "type",
|
|
1278
|
+
readOnly: true,
|
|
1279
|
+
type: {
|
|
1280
|
+
name: "String"
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
name: {
|
|
1284
|
+
serializedName: "name",
|
|
1285
|
+
readOnly: true,
|
|
1286
|
+
type: {
|
|
1287
|
+
name: "String"
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
tenantId: {
|
|
1291
|
+
serializedName: "properties.tenantId",
|
|
1292
|
+
type: {
|
|
1293
|
+
name: "String"
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
displayName: {
|
|
1297
|
+
serializedName: "properties.displayName",
|
|
1298
|
+
type: {
|
|
1299
|
+
name: "String"
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
};
|
|
1305
|
+
const EntityHierarchyItem = {
|
|
1306
|
+
type: {
|
|
1307
|
+
name: "Composite",
|
|
1308
|
+
className: "EntityHierarchyItem",
|
|
1309
|
+
modelProperties: {
|
|
1310
|
+
id: {
|
|
1311
|
+
serializedName: "id",
|
|
1312
|
+
readOnly: true,
|
|
1313
|
+
type: {
|
|
1314
|
+
name: "String"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
type: {
|
|
1318
|
+
serializedName: "type",
|
|
1319
|
+
readOnly: true,
|
|
1320
|
+
type: {
|
|
1321
|
+
name: "String"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
name: {
|
|
1325
|
+
serializedName: "name",
|
|
1326
|
+
readOnly: true,
|
|
1327
|
+
type: {
|
|
1328
|
+
name: "String"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
displayName: {
|
|
1332
|
+
serializedName: "properties.displayName",
|
|
1333
|
+
type: {
|
|
1334
|
+
name: "String"
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
permissions: {
|
|
1338
|
+
serializedName: "properties.permissions",
|
|
1339
|
+
type: {
|
|
1340
|
+
name: "String"
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
children: {
|
|
1344
|
+
serializedName: "properties.children",
|
|
1345
|
+
nullable: true,
|
|
1346
|
+
type: {
|
|
1347
|
+
name: "Sequence",
|
|
1348
|
+
element: {
|
|
1349
|
+
type: {
|
|
1350
|
+
name: "Composite",
|
|
1351
|
+
className: "EntityHierarchyItem"
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
};
|
|
1359
|
+
const ManagementGroupsCreateOrUpdateHeaders = {
|
|
1360
|
+
type: {
|
|
1361
|
+
name: "Composite",
|
|
1362
|
+
className: "ManagementGroupsCreateOrUpdateHeaders",
|
|
1363
|
+
modelProperties: {
|
|
1364
|
+
location: {
|
|
1365
|
+
serializedName: "location",
|
|
1366
|
+
type: {
|
|
1367
|
+
name: "String"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
azureAsyncOperation: {
|
|
1371
|
+
serializedName: "azure-asyncoperation",
|
|
1372
|
+
type: {
|
|
1373
|
+
name: "String"
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
};
|
|
1379
|
+
const ManagementGroupsDeleteHeaders = {
|
|
1380
|
+
type: {
|
|
1381
|
+
name: "Composite",
|
|
1382
|
+
className: "ManagementGroupsDeleteHeaders",
|
|
1383
|
+
modelProperties: {
|
|
1384
|
+
location: {
|
|
1385
|
+
serializedName: "location",
|
|
1386
|
+
type: {
|
|
1387
|
+
name: "String"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
azureAsyncOperation: {
|
|
1391
|
+
serializedName: "azure-asyncoperation",
|
|
1392
|
+
type: {
|
|
1393
|
+
name: "String"
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1401
|
+
__proto__: null,
|
|
1402
|
+
ManagementGroupListResult: ManagementGroupListResult,
|
|
1403
|
+
ManagementGroupInfo: ManagementGroupInfo,
|
|
1404
|
+
ErrorResponse: ErrorResponse,
|
|
1405
|
+
ErrorDetails: ErrorDetails,
|
|
1406
|
+
ManagementGroup: ManagementGroup,
|
|
1407
|
+
ManagementGroupDetails: ManagementGroupDetails,
|
|
1408
|
+
ParentGroupInfo: ParentGroupInfo,
|
|
1409
|
+
ManagementGroupPathElement: ManagementGroupPathElement,
|
|
1410
|
+
ManagementGroupChildInfo: ManagementGroupChildInfo,
|
|
1411
|
+
CreateManagementGroupRequest: CreateManagementGroupRequest,
|
|
1412
|
+
CreateManagementGroupDetails: CreateManagementGroupDetails,
|
|
1413
|
+
CreateParentGroupInfo: CreateParentGroupInfo,
|
|
1414
|
+
CreateManagementGroupChildInfo: CreateManagementGroupChildInfo,
|
|
1415
|
+
AzureAsyncOperationResults: AzureAsyncOperationResults,
|
|
1416
|
+
PatchManagementGroupRequest: PatchManagementGroupRequest,
|
|
1417
|
+
DescendantListResult: DescendantListResult,
|
|
1418
|
+
DescendantInfo: DescendantInfo,
|
|
1419
|
+
DescendantParentGroupInfo: DescendantParentGroupInfo,
|
|
1420
|
+
SubscriptionUnderManagementGroup: SubscriptionUnderManagementGroup,
|
|
1421
|
+
ListSubscriptionUnderManagementGroup: ListSubscriptionUnderManagementGroup,
|
|
1422
|
+
HierarchySettingsList: HierarchySettingsList,
|
|
1423
|
+
HierarchySettingsInfo: HierarchySettingsInfo,
|
|
1424
|
+
HierarchySettings: HierarchySettings,
|
|
1425
|
+
CreateOrUpdateSettingsRequest: CreateOrUpdateSettingsRequest,
|
|
1426
|
+
OperationListResult: OperationListResult,
|
|
1427
|
+
Operation: Operation,
|
|
1428
|
+
OperationDisplayProperties: OperationDisplayProperties,
|
|
1429
|
+
CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
|
|
1430
|
+
CheckNameAvailabilityResult: CheckNameAvailabilityResult,
|
|
1431
|
+
EntityListResult: EntityListResult,
|
|
1432
|
+
EntityInfo: EntityInfo,
|
|
1433
|
+
EntityParentGroupInfo: EntityParentGroupInfo,
|
|
1434
|
+
TenantBackfillStatusResult: TenantBackfillStatusResult,
|
|
1435
|
+
OperationResults: OperationResults,
|
|
1436
|
+
EntityHierarchyItem: EntityHierarchyItem,
|
|
1437
|
+
ManagementGroupsCreateOrUpdateHeaders: ManagementGroupsCreateOrUpdateHeaders,
|
|
1438
|
+
ManagementGroupsDeleteHeaders: ManagementGroupsDeleteHeaders
|
|
1439
|
+
});
|
|
1440
|
+
|
|
1441
|
+
/*
|
|
1442
|
+
* Copyright (c) Microsoft Corporation.
|
|
1443
|
+
* Licensed under the MIT License.
|
|
1444
|
+
*
|
|
1445
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1446
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1447
|
+
*/
|
|
1448
|
+
const accept = {
|
|
1449
|
+
parameterPath: "accept",
|
|
1450
|
+
mapper: {
|
|
1451
|
+
defaultValue: "application/json",
|
|
1452
|
+
isConstant: true,
|
|
1453
|
+
serializedName: "Accept",
|
|
1454
|
+
type: {
|
|
1455
|
+
name: "String"
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
};
|
|
1459
|
+
const $host = {
|
|
1460
|
+
parameterPath: "$host",
|
|
1461
|
+
mapper: {
|
|
1462
|
+
serializedName: "$host",
|
|
1463
|
+
required: true,
|
|
1464
|
+
type: {
|
|
1465
|
+
name: "String"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
skipEncoding: true
|
|
1469
|
+
};
|
|
1470
|
+
const apiVersion = {
|
|
1471
|
+
parameterPath: "apiVersion",
|
|
1472
|
+
mapper: {
|
|
1473
|
+
defaultValue: "2021-04-01",
|
|
1474
|
+
isConstant: true,
|
|
1475
|
+
serializedName: "api-version",
|
|
1476
|
+
type: {
|
|
1477
|
+
name: "String"
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
};
|
|
1481
|
+
const cacheControl = {
|
|
1482
|
+
parameterPath: ["options", "cacheControl"],
|
|
1483
|
+
mapper: {
|
|
1484
|
+
defaultValue: "no-cache",
|
|
1485
|
+
serializedName: "Cache-Control",
|
|
1486
|
+
type: {
|
|
1487
|
+
name: "String"
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
};
|
|
1491
|
+
const skiptoken = {
|
|
1492
|
+
parameterPath: ["options", "skiptoken"],
|
|
1493
|
+
mapper: {
|
|
1494
|
+
serializedName: "$skiptoken",
|
|
1495
|
+
type: {
|
|
1496
|
+
name: "String"
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
};
|
|
1500
|
+
const groupId = {
|
|
1501
|
+
parameterPath: "groupId",
|
|
1502
|
+
mapper: {
|
|
1503
|
+
serializedName: "groupId",
|
|
1504
|
+
required: true,
|
|
1505
|
+
type: {
|
|
1506
|
+
name: "String"
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
};
|
|
1510
|
+
const expand = {
|
|
1511
|
+
parameterPath: ["options", "expand"],
|
|
1512
|
+
mapper: {
|
|
1513
|
+
serializedName: "$expand",
|
|
1514
|
+
type: {
|
|
1515
|
+
name: "String"
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
};
|
|
1519
|
+
const recurse = {
|
|
1520
|
+
parameterPath: ["options", "recurse"],
|
|
1521
|
+
mapper: {
|
|
1522
|
+
serializedName: "$recurse",
|
|
1523
|
+
type: {
|
|
1524
|
+
name: "Boolean"
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
};
|
|
1528
|
+
const filter = {
|
|
1529
|
+
parameterPath: ["options", "filter"],
|
|
1530
|
+
mapper: {
|
|
1531
|
+
serializedName: "$filter",
|
|
1532
|
+
type: {
|
|
1533
|
+
name: "String"
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
};
|
|
1537
|
+
const contentType = {
|
|
1538
|
+
parameterPath: ["options", "contentType"],
|
|
1539
|
+
mapper: {
|
|
1540
|
+
defaultValue: "application/json",
|
|
1541
|
+
isConstant: true,
|
|
1542
|
+
serializedName: "Content-Type",
|
|
1543
|
+
type: {
|
|
1544
|
+
name: "String"
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
};
|
|
1548
|
+
const createManagementGroupRequest = {
|
|
1549
|
+
parameterPath: "createManagementGroupRequest",
|
|
1550
|
+
mapper: CreateManagementGroupRequest
|
|
1551
|
+
};
|
|
1552
|
+
const patchGroupRequest = {
|
|
1553
|
+
parameterPath: "patchGroupRequest",
|
|
1554
|
+
mapper: PatchManagementGroupRequest
|
|
1555
|
+
};
|
|
1556
|
+
const top = {
|
|
1557
|
+
parameterPath: ["options", "top"],
|
|
1558
|
+
mapper: {
|
|
1559
|
+
serializedName: "$top",
|
|
1560
|
+
type: {
|
|
1561
|
+
name: "Number"
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
};
|
|
1565
|
+
const nextLink = {
|
|
1566
|
+
parameterPath: "nextLink",
|
|
1567
|
+
mapper: {
|
|
1568
|
+
serializedName: "nextLink",
|
|
1569
|
+
required: true,
|
|
1570
|
+
type: {
|
|
1571
|
+
name: "String"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
skipEncoding: true
|
|
1575
|
+
};
|
|
1576
|
+
const subscriptionId = {
|
|
1577
|
+
parameterPath: "subscriptionId",
|
|
1578
|
+
mapper: {
|
|
1579
|
+
serializedName: "subscriptionId",
|
|
1580
|
+
required: true,
|
|
1581
|
+
type: {
|
|
1582
|
+
name: "String"
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
};
|
|
1586
|
+
const createTenantSettingsRequest = {
|
|
1587
|
+
parameterPath: "createTenantSettingsRequest",
|
|
1588
|
+
mapper: CreateOrUpdateSettingsRequest
|
|
1589
|
+
};
|
|
1590
|
+
const checkNameAvailabilityRequest = {
|
|
1591
|
+
parameterPath: "checkNameAvailabilityRequest",
|
|
1592
|
+
mapper: CheckNameAvailabilityRequest
|
|
1593
|
+
};
|
|
1594
|
+
const skip = {
|
|
1595
|
+
parameterPath: ["options", "skip"],
|
|
1596
|
+
mapper: {
|
|
1597
|
+
serializedName: "$skip",
|
|
1598
|
+
type: {
|
|
1599
|
+
name: "Number"
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
};
|
|
1603
|
+
const select = {
|
|
1604
|
+
parameterPath: ["options", "select"],
|
|
1605
|
+
mapper: {
|
|
1606
|
+
serializedName: "$select",
|
|
1607
|
+
type: {
|
|
1608
|
+
name: "String"
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
};
|
|
1612
|
+
const search = {
|
|
1613
|
+
parameterPath: ["options", "search"],
|
|
1614
|
+
mapper: {
|
|
1615
|
+
serializedName: "$search",
|
|
1616
|
+
type: {
|
|
1617
|
+
name: "String"
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
};
|
|
1621
|
+
const view = {
|
|
1622
|
+
parameterPath: ["options", "view"],
|
|
1623
|
+
mapper: {
|
|
1624
|
+
serializedName: "$view",
|
|
1625
|
+
type: {
|
|
1626
|
+
name: "String"
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
};
|
|
1630
|
+
const groupName = {
|
|
1631
|
+
parameterPath: ["options", "groupName"],
|
|
1632
|
+
mapper: {
|
|
1633
|
+
serializedName: "groupName",
|
|
1634
|
+
type: {
|
|
1635
|
+
name: "String"
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1640
|
+
/*
|
|
1641
|
+
* Copyright (c) Microsoft Corporation.
|
|
1642
|
+
* Licensed under the MIT License.
|
|
1643
|
+
*
|
|
1644
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1645
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1646
|
+
*/
|
|
1647
|
+
class LroImpl {
|
|
1648
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
1649
|
+
this.sendOperationFn = sendOperationFn;
|
|
1650
|
+
this.args = args;
|
|
1651
|
+
this.spec = spec;
|
|
1652
|
+
this.requestPath = requestPath;
|
|
1653
|
+
this.requestMethod = requestMethod;
|
|
1654
|
+
}
|
|
1655
|
+
sendInitialRequest() {
|
|
1656
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1657
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1660
|
+
sendPollRequest(path) {
|
|
1661
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1662
|
+
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1663
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/*
|
|
1669
|
+
* Copyright (c) Microsoft Corporation.
|
|
1670
|
+
* Licensed under the MIT License.
|
|
1671
|
+
*
|
|
1672
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1673
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1674
|
+
*/
|
|
1675
|
+
/// <reference lib="esnext.asynciterable" />
|
|
1676
|
+
/** Class containing ManagementGroups operations. */
|
|
1677
|
+
class ManagementGroupsImpl {
|
|
1678
|
+
/**
|
|
1679
|
+
* Initialize a new instance of the class ManagementGroups class.
|
|
1680
|
+
* @param client Reference to the service client
|
|
1681
|
+
*/
|
|
1682
|
+
constructor(client) {
|
|
1683
|
+
this.client = client;
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* List management groups for the authenticated user.
|
|
1687
|
+
*
|
|
1688
|
+
* @param options The options parameters.
|
|
1689
|
+
*/
|
|
1690
|
+
list(options) {
|
|
1691
|
+
const iter = this.listPagingAll(options);
|
|
1692
|
+
return {
|
|
1693
|
+
next() {
|
|
1694
|
+
return iter.next();
|
|
1695
|
+
},
|
|
1696
|
+
[Symbol.asyncIterator]() {
|
|
1697
|
+
return this;
|
|
1698
|
+
},
|
|
1699
|
+
byPage: () => {
|
|
1700
|
+
return this.listPagingPage(options);
|
|
1701
|
+
}
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
listPagingPage(options) {
|
|
1705
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1706
|
+
let result = yield tslib.__await(this._list(options));
|
|
1707
|
+
yield yield tslib.__await(result.value || []);
|
|
1708
|
+
let continuationToken = result.nextLink;
|
|
1709
|
+
while (continuationToken) {
|
|
1710
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
1711
|
+
continuationToken = result.nextLink;
|
|
1712
|
+
yield yield tslib.__await(result.value || []);
|
|
1713
|
+
}
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
listPagingAll(options) {
|
|
1717
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1718
|
+
var e_1, _a;
|
|
1719
|
+
try {
|
|
1720
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
1721
|
+
const page = _c.value;
|
|
1722
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1726
|
+
finally {
|
|
1727
|
+
try {
|
|
1728
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
1729
|
+
}
|
|
1730
|
+
finally { if (e_1) throw e_1.error; }
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* List all entities that descend from a management group.
|
|
1736
|
+
*
|
|
1737
|
+
* @param groupId Management Group ID.
|
|
1738
|
+
* @param options The options parameters.
|
|
1739
|
+
*/
|
|
1740
|
+
listDescendants(groupId, options) {
|
|
1741
|
+
const iter = this.getDescendantsPagingAll(groupId, options);
|
|
1742
|
+
return {
|
|
1743
|
+
next() {
|
|
1744
|
+
return iter.next();
|
|
1745
|
+
},
|
|
1746
|
+
[Symbol.asyncIterator]() {
|
|
1747
|
+
return this;
|
|
1748
|
+
},
|
|
1749
|
+
byPage: () => {
|
|
1750
|
+
return this.getDescendantsPagingPage(groupId, options);
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
getDescendantsPagingPage(groupId, options) {
|
|
1755
|
+
return tslib.__asyncGenerator(this, arguments, function* getDescendantsPagingPage_1() {
|
|
1756
|
+
let result = yield tslib.__await(this._getDescendants(groupId, options));
|
|
1757
|
+
yield yield tslib.__await(result.value || []);
|
|
1758
|
+
let continuationToken = result.nextLink;
|
|
1759
|
+
while (continuationToken) {
|
|
1760
|
+
result = yield tslib.__await(this._getDescendantsNext(groupId, continuationToken, options));
|
|
1761
|
+
continuationToken = result.nextLink;
|
|
1762
|
+
yield yield tslib.__await(result.value || []);
|
|
1763
|
+
}
|
|
1764
|
+
});
|
|
1765
|
+
}
|
|
1766
|
+
getDescendantsPagingAll(groupId, options) {
|
|
1767
|
+
return tslib.__asyncGenerator(this, arguments, function* getDescendantsPagingAll_1() {
|
|
1768
|
+
var e_2, _a;
|
|
1769
|
+
try {
|
|
1770
|
+
for (var _b = tslib.__asyncValues(this.getDescendantsPagingPage(groupId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
1771
|
+
const page = _c.value;
|
|
1772
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1776
|
+
finally {
|
|
1777
|
+
try {
|
|
1778
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
1779
|
+
}
|
|
1780
|
+
finally { if (e_2) throw e_2.error; }
|
|
1781
|
+
}
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1784
|
+
/**
|
|
1785
|
+
* List management groups for the authenticated user.
|
|
1786
|
+
*
|
|
1787
|
+
* @param options The options parameters.
|
|
1788
|
+
*/
|
|
1789
|
+
_list(options) {
|
|
1790
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* Get the details of the management group.
|
|
1794
|
+
*
|
|
1795
|
+
* @param groupId Management Group ID.
|
|
1796
|
+
* @param options The options parameters.
|
|
1797
|
+
*/
|
|
1798
|
+
get(groupId, options) {
|
|
1799
|
+
return this.client.sendOperationRequest({ groupId, options }, getOperationSpec);
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* Create or update a management group.
|
|
1803
|
+
* If a management group is already created and a subsequent create request is issued with different
|
|
1804
|
+
* properties, the management group properties will be updated.
|
|
1805
|
+
*
|
|
1806
|
+
* @param groupId Management Group ID.
|
|
1807
|
+
* @param createManagementGroupRequest Management group creation parameters.
|
|
1808
|
+
* @param options The options parameters.
|
|
1809
|
+
*/
|
|
1810
|
+
beginCreateOrUpdate(groupId, createManagementGroupRequest, options) {
|
|
1811
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1812
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1813
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1814
|
+
});
|
|
1815
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1816
|
+
var _a;
|
|
1817
|
+
let currentRawResponse = undefined;
|
|
1818
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1819
|
+
const callback = (rawResponse, flatResponse) => {
|
|
1820
|
+
currentRawResponse = rawResponse;
|
|
1821
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1822
|
+
};
|
|
1823
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1824
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1825
|
+
return {
|
|
1826
|
+
flatResponse,
|
|
1827
|
+
rawResponse: {
|
|
1828
|
+
statusCode: currentRawResponse.status,
|
|
1829
|
+
body: currentRawResponse.parsedBody,
|
|
1830
|
+
headers: currentRawResponse.headers.toJSON()
|
|
1831
|
+
}
|
|
1832
|
+
};
|
|
1833
|
+
});
|
|
1834
|
+
const lro = new LroImpl(sendOperation, { groupId, createManagementGroupRequest, options }, createOrUpdateOperationSpec);
|
|
1835
|
+
return new coreLro.LroEngine(lro, {
|
|
1836
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1837
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1838
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
1839
|
+
});
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Create or update a management group.
|
|
1844
|
+
* If a management group is already created and a subsequent create request is issued with different
|
|
1845
|
+
* properties, the management group properties will be updated.
|
|
1846
|
+
*
|
|
1847
|
+
* @param groupId Management Group ID.
|
|
1848
|
+
* @param createManagementGroupRequest Management group creation parameters.
|
|
1849
|
+
* @param options The options parameters.
|
|
1850
|
+
*/
|
|
1851
|
+
beginCreateOrUpdateAndWait(groupId, createManagementGroupRequest, options) {
|
|
1852
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1853
|
+
const poller = yield this.beginCreateOrUpdate(groupId, createManagementGroupRequest, options);
|
|
1854
|
+
return poller.pollUntilDone();
|
|
1855
|
+
});
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
* Update a management group.
|
|
1859
|
+
*
|
|
1860
|
+
* @param groupId Management Group ID.
|
|
1861
|
+
* @param patchGroupRequest Management group patch parameters.
|
|
1862
|
+
* @param options The options parameters.
|
|
1863
|
+
*/
|
|
1864
|
+
update(groupId, patchGroupRequest, options) {
|
|
1865
|
+
return this.client.sendOperationRequest({ groupId, patchGroupRequest, options }, updateOperationSpec);
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* Delete management group.
|
|
1869
|
+
* If a management group contains child resources, the request will fail.
|
|
1870
|
+
*
|
|
1871
|
+
* @param groupId Management Group ID.
|
|
1872
|
+
* @param options The options parameters.
|
|
1873
|
+
*/
|
|
1874
|
+
beginDelete(groupId, options) {
|
|
1875
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1876
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1877
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1878
|
+
});
|
|
1879
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1880
|
+
var _a;
|
|
1881
|
+
let currentRawResponse = undefined;
|
|
1882
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1883
|
+
const callback = (rawResponse, flatResponse) => {
|
|
1884
|
+
currentRawResponse = rawResponse;
|
|
1885
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1886
|
+
};
|
|
1887
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1888
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1889
|
+
return {
|
|
1890
|
+
flatResponse,
|
|
1891
|
+
rawResponse: {
|
|
1892
|
+
statusCode: currentRawResponse.status,
|
|
1893
|
+
body: currentRawResponse.parsedBody,
|
|
1894
|
+
headers: currentRawResponse.headers.toJSON()
|
|
1895
|
+
}
|
|
1896
|
+
};
|
|
1897
|
+
});
|
|
1898
|
+
const lro = new LroImpl(sendOperation, { groupId, options }, deleteOperationSpec);
|
|
1899
|
+
return new coreLro.LroEngine(lro, {
|
|
1900
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1901
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1902
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
1903
|
+
});
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1906
|
+
/**
|
|
1907
|
+
* Delete management group.
|
|
1908
|
+
* If a management group contains child resources, the request will fail.
|
|
1909
|
+
*
|
|
1910
|
+
* @param groupId Management Group ID.
|
|
1911
|
+
* @param options The options parameters.
|
|
1912
|
+
*/
|
|
1913
|
+
beginDeleteAndWait(groupId, options) {
|
|
1914
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1915
|
+
const poller = yield this.beginDelete(groupId, options);
|
|
1916
|
+
return poller.pollUntilDone();
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
/**
|
|
1920
|
+
* List all entities that descend from a management group.
|
|
1921
|
+
*
|
|
1922
|
+
* @param groupId Management Group ID.
|
|
1923
|
+
* @param options The options parameters.
|
|
1924
|
+
*/
|
|
1925
|
+
_getDescendants(groupId, options) {
|
|
1926
|
+
return this.client.sendOperationRequest({ groupId, options }, getDescendantsOperationSpec);
|
|
1927
|
+
}
|
|
1928
|
+
/**
|
|
1929
|
+
* ListNext
|
|
1930
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
1931
|
+
* @param options The options parameters.
|
|
1932
|
+
*/
|
|
1933
|
+
_listNext(nextLink, options) {
|
|
1934
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
1935
|
+
}
|
|
1936
|
+
/**
|
|
1937
|
+
* GetDescendantsNext
|
|
1938
|
+
* @param groupId Management Group ID.
|
|
1939
|
+
* @param nextLink The nextLink from the previous successful call to the GetDescendants method.
|
|
1940
|
+
* @param options The options parameters.
|
|
1941
|
+
*/
|
|
1942
|
+
_getDescendantsNext(groupId, nextLink, options) {
|
|
1943
|
+
return this.client.sendOperationRequest({ groupId, nextLink, options }, getDescendantsNextOperationSpec);
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
// Operation Specifications
|
|
1947
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1948
|
+
const listOperationSpec = {
|
|
1949
|
+
path: "/providers/Microsoft.Management/managementGroups",
|
|
1950
|
+
httpMethod: "GET",
|
|
1951
|
+
responses: {
|
|
1952
|
+
200: {
|
|
1953
|
+
bodyMapper: ManagementGroupListResult
|
|
1954
|
+
},
|
|
1955
|
+
default: {
|
|
1956
|
+
bodyMapper: ErrorResponse
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
queryParameters: [apiVersion, skiptoken],
|
|
1960
|
+
urlParameters: [$host],
|
|
1961
|
+
headerParameters: [accept, cacheControl],
|
|
1962
|
+
serializer
|
|
1963
|
+
};
|
|
1964
|
+
const getOperationSpec = {
|
|
1965
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1966
|
+
httpMethod: "GET",
|
|
1967
|
+
responses: {
|
|
1968
|
+
200: {
|
|
1969
|
+
bodyMapper: ManagementGroup
|
|
1970
|
+
},
|
|
1971
|
+
default: {
|
|
1972
|
+
bodyMapper: ErrorResponse
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
queryParameters: [
|
|
1976
|
+
apiVersion,
|
|
1977
|
+
expand,
|
|
1978
|
+
recurse,
|
|
1979
|
+
filter
|
|
1980
|
+
],
|
|
1981
|
+
urlParameters: [$host, groupId],
|
|
1982
|
+
headerParameters: [accept, cacheControl],
|
|
1983
|
+
serializer
|
|
1984
|
+
};
|
|
1985
|
+
const createOrUpdateOperationSpec = {
|
|
1986
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1987
|
+
httpMethod: "PUT",
|
|
1988
|
+
responses: {
|
|
1989
|
+
200: {
|
|
1990
|
+
bodyMapper: ManagementGroup
|
|
1991
|
+
},
|
|
1992
|
+
201: {
|
|
1993
|
+
bodyMapper: ManagementGroup
|
|
1994
|
+
},
|
|
1995
|
+
202: {
|
|
1996
|
+
bodyMapper: ManagementGroup
|
|
1997
|
+
},
|
|
1998
|
+
204: {
|
|
1999
|
+
bodyMapper: ManagementGroup
|
|
2000
|
+
},
|
|
2001
|
+
default: {
|
|
2002
|
+
bodyMapper: ErrorResponse
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
requestBody: createManagementGroupRequest,
|
|
2006
|
+
queryParameters: [apiVersion],
|
|
2007
|
+
urlParameters: [$host, groupId],
|
|
2008
|
+
headerParameters: [
|
|
2009
|
+
accept,
|
|
2010
|
+
cacheControl,
|
|
2011
|
+
contentType
|
|
2012
|
+
],
|
|
2013
|
+
mediaType: "json",
|
|
2014
|
+
serializer
|
|
2015
|
+
};
|
|
2016
|
+
const updateOperationSpec = {
|
|
2017
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}",
|
|
2018
|
+
httpMethod: "PATCH",
|
|
2019
|
+
responses: {
|
|
2020
|
+
200: {
|
|
2021
|
+
bodyMapper: ManagementGroup
|
|
2022
|
+
},
|
|
2023
|
+
default: {
|
|
2024
|
+
bodyMapper: ErrorResponse
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
requestBody: patchGroupRequest,
|
|
2028
|
+
queryParameters: [apiVersion],
|
|
2029
|
+
urlParameters: [$host, groupId],
|
|
2030
|
+
headerParameters: [
|
|
2031
|
+
accept,
|
|
2032
|
+
cacheControl,
|
|
2033
|
+
contentType
|
|
2034
|
+
],
|
|
2035
|
+
mediaType: "json",
|
|
2036
|
+
serializer
|
|
2037
|
+
};
|
|
2038
|
+
const deleteOperationSpec = {
|
|
2039
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}",
|
|
2040
|
+
httpMethod: "DELETE",
|
|
2041
|
+
responses: {
|
|
2042
|
+
200: {
|
|
2043
|
+
bodyMapper: AzureAsyncOperationResults,
|
|
2044
|
+
headersMapper: ManagementGroupsDeleteHeaders
|
|
2045
|
+
},
|
|
2046
|
+
201: {
|
|
2047
|
+
bodyMapper: AzureAsyncOperationResults,
|
|
2048
|
+
headersMapper: ManagementGroupsDeleteHeaders
|
|
2049
|
+
},
|
|
2050
|
+
202: {
|
|
2051
|
+
bodyMapper: AzureAsyncOperationResults,
|
|
2052
|
+
headersMapper: ManagementGroupsDeleteHeaders
|
|
2053
|
+
},
|
|
2054
|
+
204: {
|
|
2055
|
+
bodyMapper: AzureAsyncOperationResults,
|
|
2056
|
+
headersMapper: ManagementGroupsDeleteHeaders
|
|
2057
|
+
},
|
|
2058
|
+
default: {
|
|
2059
|
+
bodyMapper: ErrorResponse
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
queryParameters: [apiVersion],
|
|
2063
|
+
urlParameters: [$host, groupId],
|
|
2064
|
+
headerParameters: [accept, cacheControl],
|
|
2065
|
+
serializer
|
|
2066
|
+
};
|
|
2067
|
+
const getDescendantsOperationSpec = {
|
|
2068
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/descendants",
|
|
2069
|
+
httpMethod: "GET",
|
|
2070
|
+
responses: {
|
|
2071
|
+
200: {
|
|
2072
|
+
bodyMapper: DescendantListResult
|
|
2073
|
+
},
|
|
2074
|
+
default: {
|
|
2075
|
+
bodyMapper: ErrorResponse
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
queryParameters: [
|
|
2079
|
+
apiVersion,
|
|
2080
|
+
skiptoken,
|
|
2081
|
+
top
|
|
2082
|
+
],
|
|
2083
|
+
urlParameters: [$host, groupId],
|
|
2084
|
+
headerParameters: [accept],
|
|
2085
|
+
serializer
|
|
2086
|
+
};
|
|
2087
|
+
const listNextOperationSpec = {
|
|
2088
|
+
path: "{nextLink}",
|
|
2089
|
+
httpMethod: "GET",
|
|
2090
|
+
responses: {
|
|
2091
|
+
200: {
|
|
2092
|
+
bodyMapper: ManagementGroupListResult
|
|
2093
|
+
},
|
|
2094
|
+
default: {
|
|
2095
|
+
bodyMapper: ErrorResponse
|
|
2096
|
+
}
|
|
2097
|
+
},
|
|
2098
|
+
queryParameters: [apiVersion, skiptoken],
|
|
2099
|
+
urlParameters: [$host, nextLink],
|
|
2100
|
+
headerParameters: [accept, cacheControl],
|
|
2101
|
+
serializer
|
|
2102
|
+
};
|
|
2103
|
+
const getDescendantsNextOperationSpec = {
|
|
2104
|
+
path: "{nextLink}",
|
|
2105
|
+
httpMethod: "GET",
|
|
2106
|
+
responses: {
|
|
2107
|
+
200: {
|
|
2108
|
+
bodyMapper: DescendantListResult
|
|
2109
|
+
},
|
|
2110
|
+
default: {
|
|
2111
|
+
bodyMapper: ErrorResponse
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2114
|
+
queryParameters: [
|
|
2115
|
+
apiVersion,
|
|
2116
|
+
skiptoken,
|
|
2117
|
+
top
|
|
2118
|
+
],
|
|
2119
|
+
urlParameters: [$host, groupId, nextLink],
|
|
2120
|
+
headerParameters: [accept],
|
|
2121
|
+
serializer
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
/*
|
|
2125
|
+
* Copyright (c) Microsoft Corporation.
|
|
2126
|
+
* Licensed under the MIT License.
|
|
2127
|
+
*
|
|
2128
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2129
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2130
|
+
*/
|
|
2131
|
+
/// <reference lib="esnext.asynciterable" />
|
|
2132
|
+
/** Class containing ManagementGroupSubscriptions operations. */
|
|
2133
|
+
class ManagementGroupSubscriptionsImpl {
|
|
2134
|
+
/**
|
|
2135
|
+
* Initialize a new instance of the class ManagementGroupSubscriptions class.
|
|
2136
|
+
* @param client Reference to the service client
|
|
2137
|
+
*/
|
|
2138
|
+
constructor(client) {
|
|
2139
|
+
this.client = client;
|
|
2140
|
+
}
|
|
2141
|
+
/**
|
|
2142
|
+
* Retrieves details about all subscriptions which are associated with the management group.
|
|
2143
|
+
*
|
|
2144
|
+
* @param groupId Management Group ID.
|
|
2145
|
+
* @param options The options parameters.
|
|
2146
|
+
*/
|
|
2147
|
+
listSubscriptionsUnderManagementGroup(groupId, options) {
|
|
2148
|
+
const iter = this.getSubscriptionsUnderManagementGroupPagingAll(groupId, options);
|
|
2149
|
+
return {
|
|
2150
|
+
next() {
|
|
2151
|
+
return iter.next();
|
|
2152
|
+
},
|
|
2153
|
+
[Symbol.asyncIterator]() {
|
|
2154
|
+
return this;
|
|
2155
|
+
},
|
|
2156
|
+
byPage: () => {
|
|
2157
|
+
return this.getSubscriptionsUnderManagementGroupPagingPage(groupId, options);
|
|
2158
|
+
}
|
|
2159
|
+
};
|
|
2160
|
+
}
|
|
2161
|
+
getSubscriptionsUnderManagementGroupPagingPage(groupId, options) {
|
|
2162
|
+
return tslib.__asyncGenerator(this, arguments, function* getSubscriptionsUnderManagementGroupPagingPage_1() {
|
|
2163
|
+
let result = yield tslib.__await(this._getSubscriptionsUnderManagementGroup(groupId, options));
|
|
2164
|
+
yield yield tslib.__await(result.value || []);
|
|
2165
|
+
let continuationToken = result.nextLink;
|
|
2166
|
+
while (continuationToken) {
|
|
2167
|
+
result = yield tslib.__await(this._getSubscriptionsUnderManagementGroupNext(groupId, continuationToken, options));
|
|
2168
|
+
continuationToken = result.nextLink;
|
|
2169
|
+
yield yield tslib.__await(result.value || []);
|
|
2170
|
+
}
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2173
|
+
getSubscriptionsUnderManagementGroupPagingAll(groupId, options) {
|
|
2174
|
+
return tslib.__asyncGenerator(this, arguments, function* getSubscriptionsUnderManagementGroupPagingAll_1() {
|
|
2175
|
+
var e_1, _a;
|
|
2176
|
+
try {
|
|
2177
|
+
for (var _b = tslib.__asyncValues(this.getSubscriptionsUnderManagementGroupPagingPage(groupId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2178
|
+
const page = _c.value;
|
|
2179
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2183
|
+
finally {
|
|
2184
|
+
try {
|
|
2185
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2186
|
+
}
|
|
2187
|
+
finally { if (e_1) throw e_1.error; }
|
|
2188
|
+
}
|
|
2189
|
+
});
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* Associates existing subscription with the management group.
|
|
2193
|
+
*
|
|
2194
|
+
* @param groupId Management Group ID.
|
|
2195
|
+
* @param subscriptionId Subscription ID.
|
|
2196
|
+
* @param options The options parameters.
|
|
2197
|
+
*/
|
|
2198
|
+
create(groupId, subscriptionId, options) {
|
|
2199
|
+
return this.client.sendOperationRequest({ groupId, subscriptionId, options }, createOperationSpec);
|
|
2200
|
+
}
|
|
2201
|
+
/**
|
|
2202
|
+
* De-associates subscription from the management group.
|
|
2203
|
+
*
|
|
2204
|
+
* @param groupId Management Group ID.
|
|
2205
|
+
* @param subscriptionId Subscription ID.
|
|
2206
|
+
* @param options The options parameters.
|
|
2207
|
+
*/
|
|
2208
|
+
delete(groupId, subscriptionId, options) {
|
|
2209
|
+
return this.client.sendOperationRequest({ groupId, subscriptionId, options }, deleteOperationSpec$1);
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* Retrieves details about given subscription which is associated with the management group.
|
|
2213
|
+
*
|
|
2214
|
+
* @param groupId Management Group ID.
|
|
2215
|
+
* @param subscriptionId Subscription ID.
|
|
2216
|
+
* @param options The options parameters.
|
|
2217
|
+
*/
|
|
2218
|
+
getSubscription(groupId, subscriptionId, options) {
|
|
2219
|
+
return this.client.sendOperationRequest({ groupId, subscriptionId, options }, getSubscriptionOperationSpec);
|
|
2220
|
+
}
|
|
2221
|
+
/**
|
|
2222
|
+
* Retrieves details about all subscriptions which are associated with the management group.
|
|
2223
|
+
*
|
|
2224
|
+
* @param groupId Management Group ID.
|
|
2225
|
+
* @param options The options parameters.
|
|
2226
|
+
*/
|
|
2227
|
+
_getSubscriptionsUnderManagementGroup(groupId, options) {
|
|
2228
|
+
return this.client.sendOperationRequest({ groupId, options }, getSubscriptionsUnderManagementGroupOperationSpec);
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* GetSubscriptionsUnderManagementGroupNext
|
|
2232
|
+
* @param groupId Management Group ID.
|
|
2233
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
2234
|
+
* GetSubscriptionsUnderManagementGroup method.
|
|
2235
|
+
* @param options The options parameters.
|
|
2236
|
+
*/
|
|
2237
|
+
_getSubscriptionsUnderManagementGroupNext(groupId, nextLink, options) {
|
|
2238
|
+
return this.client.sendOperationRequest({ groupId, nextLink, options }, getSubscriptionsUnderManagementGroupNextOperationSpec);
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
// Operation Specifications
|
|
2242
|
+
const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2243
|
+
const createOperationSpec = {
|
|
2244
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
2245
|
+
httpMethod: "PUT",
|
|
2246
|
+
responses: {
|
|
2247
|
+
200: {
|
|
2248
|
+
bodyMapper: SubscriptionUnderManagementGroup
|
|
2249
|
+
},
|
|
2250
|
+
default: {
|
|
2251
|
+
bodyMapper: ErrorResponse
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2254
|
+
queryParameters: [apiVersion],
|
|
2255
|
+
urlParameters: [
|
|
2256
|
+
$host,
|
|
2257
|
+
groupId,
|
|
2258
|
+
subscriptionId
|
|
2259
|
+
],
|
|
2260
|
+
headerParameters: [accept, cacheControl],
|
|
2261
|
+
serializer: serializer$1
|
|
2262
|
+
};
|
|
2263
|
+
const deleteOperationSpec$1 = {
|
|
2264
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
2265
|
+
httpMethod: "DELETE",
|
|
2266
|
+
responses: {
|
|
2267
|
+
200: {},
|
|
2268
|
+
204: {},
|
|
2269
|
+
default: {
|
|
2270
|
+
bodyMapper: ErrorResponse
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
queryParameters: [apiVersion],
|
|
2274
|
+
urlParameters: [
|
|
2275
|
+
$host,
|
|
2276
|
+
groupId,
|
|
2277
|
+
subscriptionId
|
|
2278
|
+
],
|
|
2279
|
+
headerParameters: [accept, cacheControl],
|
|
2280
|
+
serializer: serializer$1
|
|
2281
|
+
};
|
|
2282
|
+
const getSubscriptionOperationSpec = {
|
|
2283
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
2284
|
+
httpMethod: "GET",
|
|
2285
|
+
responses: {
|
|
2286
|
+
200: {
|
|
2287
|
+
bodyMapper: SubscriptionUnderManagementGroup
|
|
2288
|
+
},
|
|
2289
|
+
default: {
|
|
2290
|
+
bodyMapper: ErrorResponse
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2293
|
+
queryParameters: [apiVersion],
|
|
2294
|
+
urlParameters: [
|
|
2295
|
+
$host,
|
|
2296
|
+
groupId,
|
|
2297
|
+
subscriptionId
|
|
2298
|
+
],
|
|
2299
|
+
headerParameters: [accept, cacheControl],
|
|
2300
|
+
serializer: serializer$1
|
|
2301
|
+
};
|
|
2302
|
+
const getSubscriptionsUnderManagementGroupOperationSpec = {
|
|
2303
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions",
|
|
2304
|
+
httpMethod: "GET",
|
|
2305
|
+
responses: {
|
|
2306
|
+
200: {
|
|
2307
|
+
bodyMapper: ListSubscriptionUnderManagementGroup
|
|
2308
|
+
},
|
|
2309
|
+
default: {
|
|
2310
|
+
bodyMapper: ErrorResponse
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
queryParameters: [apiVersion, skiptoken],
|
|
2314
|
+
urlParameters: [$host, groupId],
|
|
2315
|
+
headerParameters: [accept],
|
|
2316
|
+
serializer: serializer$1
|
|
2317
|
+
};
|
|
2318
|
+
const getSubscriptionsUnderManagementGroupNextOperationSpec = {
|
|
2319
|
+
path: "{nextLink}",
|
|
2320
|
+
httpMethod: "GET",
|
|
2321
|
+
responses: {
|
|
2322
|
+
200: {
|
|
2323
|
+
bodyMapper: ListSubscriptionUnderManagementGroup
|
|
2324
|
+
},
|
|
2325
|
+
default: {
|
|
2326
|
+
bodyMapper: ErrorResponse
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
queryParameters: [apiVersion, skiptoken],
|
|
2330
|
+
urlParameters: [$host, groupId, nextLink],
|
|
2331
|
+
headerParameters: [accept],
|
|
2332
|
+
serializer: serializer$1
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
/*
|
|
2336
|
+
* Copyright (c) Microsoft Corporation.
|
|
2337
|
+
* Licensed under the MIT License.
|
|
2338
|
+
*
|
|
2339
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2340
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2341
|
+
*/
|
|
2342
|
+
/** Class containing HierarchySettingsOperations operations. */
|
|
2343
|
+
class HierarchySettingsOperationsImpl {
|
|
2344
|
+
/**
|
|
2345
|
+
* Initialize a new instance of the class HierarchySettingsOperations class.
|
|
2346
|
+
* @param client Reference to the service client
|
|
2347
|
+
*/
|
|
2348
|
+
constructor(client) {
|
|
2349
|
+
this.client = client;
|
|
2350
|
+
}
|
|
2351
|
+
/**
|
|
2352
|
+
* Gets all the hierarchy settings defined at the Management Group level. Settings can only be set on
|
|
2353
|
+
* the root Management Group of the hierarchy.
|
|
2354
|
+
*
|
|
2355
|
+
* @param groupId Management Group ID.
|
|
2356
|
+
* @param options The options parameters.
|
|
2357
|
+
*/
|
|
2358
|
+
list(groupId, options) {
|
|
2359
|
+
return this.client.sendOperationRequest({ groupId, options }, listOperationSpec$1);
|
|
2360
|
+
}
|
|
2361
|
+
/**
|
|
2362
|
+
* Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the
|
|
2363
|
+
* root Management Group of the hierarchy.
|
|
2364
|
+
*
|
|
2365
|
+
* @param groupId Management Group ID.
|
|
2366
|
+
* @param options The options parameters.
|
|
2367
|
+
*/
|
|
2368
|
+
get(groupId, options) {
|
|
2369
|
+
return this.client.sendOperationRequest({ groupId, options }, getOperationSpec$1);
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Creates or updates the hierarchy settings defined at the Management Group level.
|
|
2373
|
+
*
|
|
2374
|
+
* @param groupId Management Group ID.
|
|
2375
|
+
* @param createTenantSettingsRequest Tenant level settings request parameter.
|
|
2376
|
+
* @param options The options parameters.
|
|
2377
|
+
*/
|
|
2378
|
+
createOrUpdate(groupId, createTenantSettingsRequest, options) {
|
|
2379
|
+
return this.client.sendOperationRequest({ groupId, createTenantSettingsRequest, options }, createOrUpdateOperationSpec$1);
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* Updates the hierarchy settings defined at the Management Group level.
|
|
2383
|
+
*
|
|
2384
|
+
* @param groupId Management Group ID.
|
|
2385
|
+
* @param createTenantSettingsRequest Tenant level settings request parameter.
|
|
2386
|
+
* @param options The options parameters.
|
|
2387
|
+
*/
|
|
2388
|
+
update(groupId, createTenantSettingsRequest, options) {
|
|
2389
|
+
return this.client.sendOperationRequest({ groupId, createTenantSettingsRequest, options }, updateOperationSpec$1);
|
|
2390
|
+
}
|
|
2391
|
+
/**
|
|
2392
|
+
* Deletes the hierarchy settings defined at the Management Group level.
|
|
2393
|
+
*
|
|
2394
|
+
* @param groupId Management Group ID.
|
|
2395
|
+
* @param options The options parameters.
|
|
2396
|
+
*/
|
|
2397
|
+
delete(groupId, options) {
|
|
2398
|
+
return this.client.sendOperationRequest({ groupId, options }, deleteOperationSpec$2);
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
// Operation Specifications
|
|
2402
|
+
const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2403
|
+
const listOperationSpec$1 = {
|
|
2404
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/settings",
|
|
2405
|
+
httpMethod: "GET",
|
|
2406
|
+
responses: {
|
|
2407
|
+
200: {
|
|
2408
|
+
bodyMapper: HierarchySettingsList
|
|
2409
|
+
},
|
|
2410
|
+
default: {
|
|
2411
|
+
bodyMapper: ErrorResponse
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
queryParameters: [apiVersion],
|
|
2415
|
+
urlParameters: [$host, groupId],
|
|
2416
|
+
headerParameters: [accept],
|
|
2417
|
+
serializer: serializer$2
|
|
2418
|
+
};
|
|
2419
|
+
const getOperationSpec$1 = {
|
|
2420
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/settings/default",
|
|
2421
|
+
httpMethod: "GET",
|
|
2422
|
+
responses: {
|
|
2423
|
+
200: {
|
|
2424
|
+
bodyMapper: HierarchySettings
|
|
2425
|
+
},
|
|
2426
|
+
default: {
|
|
2427
|
+
bodyMapper: ErrorResponse
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
queryParameters: [apiVersion],
|
|
2431
|
+
urlParameters: [$host, groupId],
|
|
2432
|
+
headerParameters: [accept],
|
|
2433
|
+
serializer: serializer$2
|
|
2434
|
+
};
|
|
2435
|
+
const createOrUpdateOperationSpec$1 = {
|
|
2436
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/settings/default",
|
|
2437
|
+
httpMethod: "PUT",
|
|
2438
|
+
responses: {
|
|
2439
|
+
200: {
|
|
2440
|
+
bodyMapper: HierarchySettings
|
|
2441
|
+
},
|
|
2442
|
+
default: {
|
|
2443
|
+
bodyMapper: ErrorResponse
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
requestBody: createTenantSettingsRequest,
|
|
2447
|
+
queryParameters: [apiVersion],
|
|
2448
|
+
urlParameters: [$host, groupId],
|
|
2449
|
+
headerParameters: [accept, contentType],
|
|
2450
|
+
mediaType: "json",
|
|
2451
|
+
serializer: serializer$2
|
|
2452
|
+
};
|
|
2453
|
+
const updateOperationSpec$1 = {
|
|
2454
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/settings/default",
|
|
2455
|
+
httpMethod: "PATCH",
|
|
2456
|
+
responses: {
|
|
2457
|
+
200: {
|
|
2458
|
+
bodyMapper: HierarchySettings
|
|
2459
|
+
},
|
|
2460
|
+
default: {
|
|
2461
|
+
bodyMapper: ErrorResponse
|
|
2462
|
+
}
|
|
2463
|
+
},
|
|
2464
|
+
requestBody: createTenantSettingsRequest,
|
|
2465
|
+
queryParameters: [apiVersion],
|
|
2466
|
+
urlParameters: [$host, groupId],
|
|
2467
|
+
headerParameters: [accept, contentType],
|
|
2468
|
+
mediaType: "json",
|
|
2469
|
+
serializer: serializer$2
|
|
2470
|
+
};
|
|
2471
|
+
const deleteOperationSpec$2 = {
|
|
2472
|
+
path: "/providers/Microsoft.Management/managementGroups/{groupId}/settings/default",
|
|
2473
|
+
httpMethod: "DELETE",
|
|
2474
|
+
responses: {
|
|
2475
|
+
200: {},
|
|
2476
|
+
default: {
|
|
2477
|
+
bodyMapper: ErrorResponse
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
queryParameters: [apiVersion],
|
|
2481
|
+
urlParameters: [$host, groupId],
|
|
2482
|
+
headerParameters: [accept],
|
|
2483
|
+
serializer: serializer$2
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
/*
|
|
2487
|
+
* Copyright (c) Microsoft Corporation.
|
|
2488
|
+
* Licensed under the MIT License.
|
|
2489
|
+
*
|
|
2490
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2491
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2492
|
+
*/
|
|
2493
|
+
/// <reference lib="esnext.asynciterable" />
|
|
2494
|
+
/** Class containing Operations operations. */
|
|
2495
|
+
class OperationsImpl {
|
|
2496
|
+
/**
|
|
2497
|
+
* Initialize a new instance of the class Operations class.
|
|
2498
|
+
* @param client Reference to the service client
|
|
2499
|
+
*/
|
|
2500
|
+
constructor(client) {
|
|
2501
|
+
this.client = client;
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* Lists all of the available Management REST API operations.
|
|
2505
|
+
* @param options The options parameters.
|
|
2506
|
+
*/
|
|
2507
|
+
list(options) {
|
|
2508
|
+
const iter = this.listPagingAll(options);
|
|
2509
|
+
return {
|
|
2510
|
+
next() {
|
|
2511
|
+
return iter.next();
|
|
2512
|
+
},
|
|
2513
|
+
[Symbol.asyncIterator]() {
|
|
2514
|
+
return this;
|
|
2515
|
+
},
|
|
2516
|
+
byPage: () => {
|
|
2517
|
+
return this.listPagingPage(options);
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
}
|
|
2521
|
+
listPagingPage(options) {
|
|
2522
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2523
|
+
let result = yield tslib.__await(this._list(options));
|
|
2524
|
+
yield yield tslib.__await(result.value || []);
|
|
2525
|
+
let continuationToken = result.nextLink;
|
|
2526
|
+
while (continuationToken) {
|
|
2527
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2528
|
+
continuationToken = result.nextLink;
|
|
2529
|
+
yield yield tslib.__await(result.value || []);
|
|
2530
|
+
}
|
|
2531
|
+
});
|
|
2532
|
+
}
|
|
2533
|
+
listPagingAll(options) {
|
|
2534
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2535
|
+
var e_1, _a;
|
|
2536
|
+
try {
|
|
2537
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2538
|
+
const page = _c.value;
|
|
2539
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2543
|
+
finally {
|
|
2544
|
+
try {
|
|
2545
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2546
|
+
}
|
|
2547
|
+
finally { if (e_1) throw e_1.error; }
|
|
2548
|
+
}
|
|
2549
|
+
});
|
|
2550
|
+
}
|
|
2551
|
+
/**
|
|
2552
|
+
* Lists all of the available Management REST API operations.
|
|
2553
|
+
* @param options The options parameters.
|
|
2554
|
+
*/
|
|
2555
|
+
_list(options) {
|
|
2556
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
2557
|
+
}
|
|
2558
|
+
/**
|
|
2559
|
+
* ListNext
|
|
2560
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2561
|
+
* @param options The options parameters.
|
|
2562
|
+
*/
|
|
2563
|
+
_listNext(nextLink, options) {
|
|
2564
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
// Operation Specifications
|
|
2568
|
+
const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2569
|
+
const listOperationSpec$2 = {
|
|
2570
|
+
path: "/providers/Microsoft.Management/operations",
|
|
2571
|
+
httpMethod: "GET",
|
|
2572
|
+
responses: {
|
|
2573
|
+
200: {
|
|
2574
|
+
bodyMapper: OperationListResult
|
|
2575
|
+
},
|
|
2576
|
+
default: {
|
|
2577
|
+
bodyMapper: ErrorResponse
|
|
2578
|
+
}
|
|
2579
|
+
},
|
|
2580
|
+
queryParameters: [apiVersion],
|
|
2581
|
+
urlParameters: [$host],
|
|
2582
|
+
headerParameters: [accept],
|
|
2583
|
+
serializer: serializer$3
|
|
2584
|
+
};
|
|
2585
|
+
const listNextOperationSpec$1 = {
|
|
2586
|
+
path: "{nextLink}",
|
|
2587
|
+
httpMethod: "GET",
|
|
2588
|
+
responses: {
|
|
2589
|
+
200: {
|
|
2590
|
+
bodyMapper: OperationListResult
|
|
2591
|
+
},
|
|
2592
|
+
default: {
|
|
2593
|
+
bodyMapper: ErrorResponse
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2596
|
+
queryParameters: [apiVersion],
|
|
2597
|
+
urlParameters: [$host, nextLink],
|
|
2598
|
+
headerParameters: [accept],
|
|
2599
|
+
serializer: serializer$3
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
/*
|
|
2603
|
+
* Copyright (c) Microsoft Corporation.
|
|
2604
|
+
* Licensed under the MIT License.
|
|
2605
|
+
*
|
|
2606
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2607
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2608
|
+
*/
|
|
2609
|
+
/// <reference lib="esnext.asynciterable" />
|
|
2610
|
+
/** Class containing Entities operations. */
|
|
2611
|
+
class EntitiesImpl {
|
|
2612
|
+
/**
|
|
2613
|
+
* Initialize a new instance of the class Entities class.
|
|
2614
|
+
* @param client Reference to the service client
|
|
2615
|
+
*/
|
|
2616
|
+
constructor(client) {
|
|
2617
|
+
this.client = client;
|
|
2618
|
+
}
|
|
2619
|
+
/**
|
|
2620
|
+
* List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
|
|
2621
|
+
*
|
|
2622
|
+
* @param options The options parameters.
|
|
2623
|
+
*/
|
|
2624
|
+
list(options) {
|
|
2625
|
+
const iter = this.listPagingAll(options);
|
|
2626
|
+
return {
|
|
2627
|
+
next() {
|
|
2628
|
+
return iter.next();
|
|
2629
|
+
},
|
|
2630
|
+
[Symbol.asyncIterator]() {
|
|
2631
|
+
return this;
|
|
2632
|
+
},
|
|
2633
|
+
byPage: () => {
|
|
2634
|
+
return this.listPagingPage(options);
|
|
2635
|
+
}
|
|
2636
|
+
};
|
|
2637
|
+
}
|
|
2638
|
+
listPagingPage(options) {
|
|
2639
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2640
|
+
let result = yield tslib.__await(this._list(options));
|
|
2641
|
+
yield yield tslib.__await(result.value || []);
|
|
2642
|
+
let continuationToken = result.nextLink;
|
|
2643
|
+
while (continuationToken) {
|
|
2644
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2645
|
+
continuationToken = result.nextLink;
|
|
2646
|
+
yield yield tslib.__await(result.value || []);
|
|
2647
|
+
}
|
|
2648
|
+
});
|
|
2649
|
+
}
|
|
2650
|
+
listPagingAll(options) {
|
|
2651
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2652
|
+
var e_1, _a;
|
|
2653
|
+
try {
|
|
2654
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2655
|
+
const page = _c.value;
|
|
2656
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2660
|
+
finally {
|
|
2661
|
+
try {
|
|
2662
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2663
|
+
}
|
|
2664
|
+
finally { if (e_1) throw e_1.error; }
|
|
2665
|
+
}
|
|
2666
|
+
});
|
|
2667
|
+
}
|
|
2668
|
+
/**
|
|
2669
|
+
* List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
|
|
2670
|
+
*
|
|
2671
|
+
* @param options The options parameters.
|
|
2672
|
+
*/
|
|
2673
|
+
_list(options) {
|
|
2674
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$3);
|
|
2675
|
+
}
|
|
2676
|
+
/**
|
|
2677
|
+
* ListNext
|
|
2678
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2679
|
+
* @param options The options parameters.
|
|
2680
|
+
*/
|
|
2681
|
+
_listNext(nextLink, options) {
|
|
2682
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
// Operation Specifications
|
|
2686
|
+
const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2687
|
+
const listOperationSpec$3 = {
|
|
2688
|
+
path: "/providers/Microsoft.Management/getEntities",
|
|
2689
|
+
httpMethod: "POST",
|
|
2690
|
+
responses: {
|
|
2691
|
+
200: {
|
|
2692
|
+
bodyMapper: EntityListResult
|
|
2693
|
+
},
|
|
2694
|
+
default: {
|
|
2695
|
+
bodyMapper: ErrorResponse
|
|
2696
|
+
}
|
|
2697
|
+
},
|
|
2698
|
+
queryParameters: [
|
|
2699
|
+
apiVersion,
|
|
2700
|
+
skiptoken,
|
|
2701
|
+
filter,
|
|
2702
|
+
top,
|
|
2703
|
+
skip,
|
|
2704
|
+
select,
|
|
2705
|
+
search,
|
|
2706
|
+
view,
|
|
2707
|
+
groupName
|
|
2708
|
+
],
|
|
2709
|
+
urlParameters: [$host],
|
|
2710
|
+
headerParameters: [accept, cacheControl],
|
|
2711
|
+
serializer: serializer$4
|
|
2712
|
+
};
|
|
2713
|
+
const listNextOperationSpec$2 = {
|
|
2714
|
+
path: "{nextLink}",
|
|
2715
|
+
httpMethod: "GET",
|
|
2716
|
+
responses: {
|
|
2717
|
+
200: {
|
|
2718
|
+
bodyMapper: EntityListResult
|
|
2719
|
+
},
|
|
2720
|
+
default: {
|
|
2721
|
+
bodyMapper: ErrorResponse
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
queryParameters: [
|
|
2725
|
+
apiVersion,
|
|
2726
|
+
skiptoken,
|
|
2727
|
+
filter,
|
|
2728
|
+
top,
|
|
2729
|
+
skip,
|
|
2730
|
+
select,
|
|
2731
|
+
search,
|
|
2732
|
+
view,
|
|
2733
|
+
groupName
|
|
2734
|
+
],
|
|
2735
|
+
urlParameters: [$host, nextLink],
|
|
2736
|
+
headerParameters: [accept, cacheControl],
|
|
2737
|
+
serializer: serializer$4
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
/*
|
|
2741
|
+
* Copyright (c) Microsoft Corporation.
|
|
2742
|
+
* Licensed under the MIT License.
|
|
2743
|
+
*
|
|
2744
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2745
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2746
|
+
*/
|
|
2747
|
+
class ManagementGroupsAPIContext extends coreClient.ServiceClient {
|
|
2748
|
+
/**
|
|
2749
|
+
* Initializes a new instance of the ManagementGroupsAPIContext class.
|
|
2750
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2751
|
+
* @param options The parameter options
|
|
2752
|
+
*/
|
|
2753
|
+
constructor(credentials, options) {
|
|
2754
|
+
if (credentials === undefined) {
|
|
2755
|
+
throw new Error("'credentials' cannot be null");
|
|
2756
|
+
}
|
|
2757
|
+
// Initializing default values for options
|
|
2758
|
+
if (!options) {
|
|
2759
|
+
options = {};
|
|
2760
|
+
}
|
|
2761
|
+
const defaults = {
|
|
2762
|
+
requestContentType: "application/json; charset=utf-8",
|
|
2763
|
+
credential: credentials
|
|
2764
|
+
};
|
|
2765
|
+
const packageDetails = `azsdk-js-arm-managementgroups/2.0.0-beta.1`;
|
|
2766
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2767
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2768
|
+
: `${packageDetails}`;
|
|
2769
|
+
if (!options.credentialScopes) {
|
|
2770
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
2771
|
+
}
|
|
2772
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2773
|
+
userAgentPrefix
|
|
2774
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
2775
|
+
super(optionsWithDefaults);
|
|
2776
|
+
// Assigning values to Constant parameters
|
|
2777
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
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
|
+
this.managementGroups = new ManagementGroupsImpl(this);
|
|
2798
|
+
this.managementGroupSubscriptions = new ManagementGroupSubscriptionsImpl(this);
|
|
2799
|
+
this.hierarchySettingsOperations = new HierarchySettingsOperationsImpl(this);
|
|
2800
|
+
this.operations = new OperationsImpl(this);
|
|
2801
|
+
this.entities = new EntitiesImpl(this);
|
|
2802
|
+
}
|
|
2803
|
+
/**
|
|
2804
|
+
* Checks if the specified management group name is valid and unique
|
|
2805
|
+
* @param checkNameAvailabilityRequest Management group name availability check parameters.
|
|
2806
|
+
* @param options The options parameters.
|
|
2807
|
+
*/
|
|
2808
|
+
checkNameAvailability(checkNameAvailabilityRequest, options) {
|
|
2809
|
+
return this.sendOperationRequest({ checkNameAvailabilityRequest, options }, checkNameAvailabilityOperationSpec);
|
|
2810
|
+
}
|
|
2811
|
+
/**
|
|
2812
|
+
* Starts backfilling subscriptions for the Tenant.
|
|
2813
|
+
* @param options The options parameters.
|
|
2814
|
+
*/
|
|
2815
|
+
startTenantBackfill(options) {
|
|
2816
|
+
return this.sendOperationRequest({ options }, startTenantBackfillOperationSpec);
|
|
2817
|
+
}
|
|
2818
|
+
/**
|
|
2819
|
+
* Gets tenant backfill status
|
|
2820
|
+
* @param options The options parameters.
|
|
2821
|
+
*/
|
|
2822
|
+
tenantBackfillStatus(options) {
|
|
2823
|
+
return this.sendOperationRequest({ options }, tenantBackfillStatusOperationSpec);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
// Operation Specifications
|
|
2827
|
+
const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2828
|
+
const checkNameAvailabilityOperationSpec = {
|
|
2829
|
+
path: "/providers/Microsoft.Management/checkNameAvailability",
|
|
2830
|
+
httpMethod: "POST",
|
|
2831
|
+
responses: {
|
|
2832
|
+
200: {
|
|
2833
|
+
bodyMapper: CheckNameAvailabilityResult
|
|
2834
|
+
},
|
|
2835
|
+
default: {
|
|
2836
|
+
bodyMapper: ErrorResponse
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
requestBody: checkNameAvailabilityRequest,
|
|
2840
|
+
queryParameters: [apiVersion],
|
|
2841
|
+
urlParameters: [$host],
|
|
2842
|
+
headerParameters: [accept, contentType],
|
|
2843
|
+
mediaType: "json",
|
|
2844
|
+
serializer: serializer$5
|
|
2845
|
+
};
|
|
2846
|
+
const startTenantBackfillOperationSpec = {
|
|
2847
|
+
path: "/providers/Microsoft.Management/startTenantBackfill",
|
|
2848
|
+
httpMethod: "POST",
|
|
2849
|
+
responses: {
|
|
2850
|
+
200: {
|
|
2851
|
+
bodyMapper: TenantBackfillStatusResult
|
|
2852
|
+
},
|
|
2853
|
+
default: {
|
|
2854
|
+
bodyMapper: ErrorResponse
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
queryParameters: [apiVersion],
|
|
2858
|
+
urlParameters: [$host],
|
|
2859
|
+
headerParameters: [accept],
|
|
2860
|
+
serializer: serializer$5
|
|
2861
|
+
};
|
|
2862
|
+
const tenantBackfillStatusOperationSpec = {
|
|
2863
|
+
path: "/providers/Microsoft.Management/tenantBackfillStatus",
|
|
2864
|
+
httpMethod: "POST",
|
|
2865
|
+
responses: {
|
|
2866
|
+
200: {
|
|
2867
|
+
bodyMapper: TenantBackfillStatusResult
|
|
2868
|
+
},
|
|
2869
|
+
default: {
|
|
2870
|
+
bodyMapper: ErrorResponse
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
queryParameters: [apiVersion],
|
|
2874
|
+
urlParameters: [$host],
|
|
2875
|
+
headerParameters: [accept],
|
|
2876
|
+
serializer: serializer$5
|
|
2877
|
+
};
|
|
2878
|
+
|
|
2879
|
+
exports.ManagementGroupsAPI = ManagementGroupsAPI;
|
|
2880
|
+
exports.ManagementGroupsAPIContext = ManagementGroupsAPIContext;
|
|
2881
|
+
//# sourceMappingURL=index.js.map
|