@azure/arm-managementgroups 1.1.0 → 2.0.0-alpha.20211214.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +78 -77
- package/dist/index.js +2881 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/managementGroupsAPI.d.ts +34 -0
- package/dist-esm/src/managementGroupsAPI.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPI.js +102 -0
- package/dist-esm/src/managementGroupsAPI.js.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts +14 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.js +43 -0
- package/dist-esm/src/managementGroupsAPIContext.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +956 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +46 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +39 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +776 -396
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +24 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +200 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +34 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +142 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts +52 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js +154 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts +62 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js +215 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/managementGroups.d.ts +109 -0
- package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroups.js +462 -0
- package/dist-esm/src/operations/managementGroups.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -25
- package/review/arm-managementgroups.api.md +667 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/managementGroupsAPI.ts +160 -0
- package/src/managementGroupsAPIContext.ts +62 -0
- package/src/models/index.ts +1082 -0
- package/{lib → src}/models/mappers.ts +792 -400
- package/src/models/parameters.ts +232 -0
- package/src/operations/entities.ts +159 -0
- package/src/operations/hierarchySettingsOperations.ts +214 -0
- package/{lib → src}/operations/index.ts +4 -5
- package/src/operations/managementGroupSubscriptions.ts +294 -0
- package/src/operations/managementGroups.ts +592 -0
- package/src/operations/operations.ts +137 -0
- package/src/operationsInterfaces/entities.ts +23 -0
- package/src/operationsInterfaces/hierarchySettingsOperations.ts +80 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/managementGroupSubscriptions.ts +69 -0
- package/src/operationsInterfaces/managementGroups.ts +131 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +4 -4
- package/types/arm-managementgroups.d.ts +1266 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-managementgroups.js +0 -2007
- package/dist/arm-managementgroups.js.map +0 -1
- package/dist/arm-managementgroups.min.js +0 -1
- package/dist/arm-managementgroups.min.js.map +0 -1
- package/esm/managementGroupsAPI.d.ts +0 -68
- package/esm/managementGroupsAPI.d.ts.map +0 -1
- package/esm/managementGroupsAPI.js +0 -115
- package/esm/managementGroupsAPI.js.map +0 -1
- package/esm/managementGroupsAPIContext.d.ts +0 -14
- package/esm/managementGroupsAPIContext.d.ts.map +0 -1
- package/esm/managementGroupsAPIContext.js +0 -51
- package/esm/managementGroupsAPIContext.js.map +0 -1
- package/esm/models/entitiesMappers.d.ts +0 -2
- package/esm/models/entitiesMappers.d.ts.map +0 -1
- package/esm/models/entitiesMappers.js +0 -11
- package/esm/models/entitiesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1390
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.d.ts +0 -2
- package/esm/models/managementGroupSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.js +0 -11
- package/esm/models/managementGroupSubscriptionsMappers.js.map +0 -1
- package/esm/models/managementGroupsMappers.d.ts +0 -2
- package/esm/models/managementGroupsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupsMappers.js +0 -11
- package/esm/models/managementGroupsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -28
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -194
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/entities.d.ts +0 -46
- package/esm/operations/entities.d.ts.map +0 -1
- package/esm/operations/entities.js +0 -87
- package/esm/operations/entities.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementGroupSubscriptions.d.ts +0 -55
- package/esm/operations/managementGroupSubscriptions.d.ts.map +0 -1
- package/esm/operations/managementGroupSubscriptions.js +0 -85
- package/esm/operations/managementGroupSubscriptions.js.map +0 -1
- package/esm/operations/managementGroups.d.ts +0 -120
- package/esm/operations/managementGroups.d.ts.map +0 -1
- package/esm/operations/managementGroups.js +0 -252
- package/esm/operations/managementGroups.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/lib/managementGroupsAPI.ts +0 -191
- package/lib/managementGroupsAPIContext.ts +0 -56
- package/lib/models/entitiesMappers.ts +0 -18
- package/lib/models/index.ts +0 -1466
- package/lib/models/managementGroupSubscriptionsMappers.ts +0 -15
- package/lib/models/managementGroupsMappers.ts +0 -29
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -196
- package/lib/operations/entities.ts +0 -133
- package/lib/operations/managementGroupSubscriptions.ts +0 -140
- package/lib/operations/managementGroups.ts +0 -365
- package/lib/operations/operations.ts +0 -123
|
@@ -1,2007 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
13
|
-
(factory((global.Azure = global.Azure || {}, global.Azure.ArmManagementgroups = {}),global.msRestAzure,global.msRest));
|
|
14
|
-
}(this, (function (exports,msRestAzure,msRest) { 'use strict';
|
|
15
|
-
|
|
16
|
-
/*! *****************************************************************************
|
|
17
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
18
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
19
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
20
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
21
|
-
|
|
22
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
23
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
24
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
25
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
26
|
-
|
|
27
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
28
|
-
and limitations under the License.
|
|
29
|
-
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise */
|
|
31
|
-
|
|
32
|
-
var extendStatics = function(d, b) {
|
|
33
|
-
extendStatics = Object.setPrototypeOf ||
|
|
34
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
35
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36
|
-
return extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
function __extends(d, b) {
|
|
40
|
-
extendStatics(d, b);
|
|
41
|
-
function __() { this.constructor = d; }
|
|
42
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var __assign = function() {
|
|
46
|
-
__assign = Object.assign || function __assign(t) {
|
|
47
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
48
|
-
s = arguments[i];
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
50
|
-
}
|
|
51
|
-
return t;
|
|
52
|
-
};
|
|
53
|
-
return __assign.apply(this, arguments);
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/*
|
|
57
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
59
|
-
* license information.
|
|
60
|
-
*
|
|
61
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
62
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
63
|
-
* regenerated.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
67
|
-
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
/*
|
|
71
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
73
|
-
* license information.
|
|
74
|
-
*
|
|
75
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
76
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
77
|
-
* regenerated.
|
|
78
|
-
*/
|
|
79
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
80
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
81
|
-
var ErrorDetails = {
|
|
82
|
-
serializedName: "ErrorDetails",
|
|
83
|
-
type: {
|
|
84
|
-
name: "Composite",
|
|
85
|
-
className: "ErrorDetails",
|
|
86
|
-
modelProperties: {
|
|
87
|
-
code: {
|
|
88
|
-
serializedName: "code",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
message: {
|
|
94
|
-
serializedName: "message",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
details: {
|
|
100
|
-
serializedName: "details",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var ErrorResponse = {
|
|
109
|
-
serializedName: "ErrorResponse",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Composite",
|
|
112
|
-
className: "ErrorResponse",
|
|
113
|
-
modelProperties: {
|
|
114
|
-
error: {
|
|
115
|
-
serializedName: "error",
|
|
116
|
-
type: {
|
|
117
|
-
name: "Composite",
|
|
118
|
-
className: "ErrorDetails"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
var OperationDisplayProperties = {
|
|
125
|
-
serializedName: "OperationDisplayProperties",
|
|
126
|
-
type: {
|
|
127
|
-
name: "Composite",
|
|
128
|
-
className: "OperationDisplayProperties",
|
|
129
|
-
modelProperties: {
|
|
130
|
-
provider: {
|
|
131
|
-
readOnly: true,
|
|
132
|
-
serializedName: "provider",
|
|
133
|
-
type: {
|
|
134
|
-
name: "String"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
resource: {
|
|
138
|
-
readOnly: true,
|
|
139
|
-
serializedName: "resource",
|
|
140
|
-
type: {
|
|
141
|
-
name: "String"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
operation: {
|
|
145
|
-
readOnly: true,
|
|
146
|
-
serializedName: "operation",
|
|
147
|
-
type: {
|
|
148
|
-
name: "String"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
description: {
|
|
152
|
-
readOnly: true,
|
|
153
|
-
serializedName: "description",
|
|
154
|
-
type: {
|
|
155
|
-
name: "String"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
var Operation = {
|
|
162
|
-
serializedName: "Operation",
|
|
163
|
-
type: {
|
|
164
|
-
name: "Composite",
|
|
165
|
-
className: "Operation",
|
|
166
|
-
modelProperties: {
|
|
167
|
-
name: {
|
|
168
|
-
readOnly: true,
|
|
169
|
-
serializedName: "name",
|
|
170
|
-
type: {
|
|
171
|
-
name: "String"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
display: {
|
|
175
|
-
serializedName: "display",
|
|
176
|
-
type: {
|
|
177
|
-
name: "Composite",
|
|
178
|
-
className: "OperationDisplayProperties"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
var CheckNameAvailabilityResult = {
|
|
185
|
-
serializedName: "CheckNameAvailabilityResult",
|
|
186
|
-
type: {
|
|
187
|
-
name: "Composite",
|
|
188
|
-
className: "CheckNameAvailabilityResult",
|
|
189
|
-
modelProperties: {
|
|
190
|
-
nameAvailable: {
|
|
191
|
-
readOnly: true,
|
|
192
|
-
serializedName: "nameAvailable",
|
|
193
|
-
type: {
|
|
194
|
-
name: "Boolean"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
reason: {
|
|
198
|
-
readOnly: true,
|
|
199
|
-
serializedName: "reason",
|
|
200
|
-
type: {
|
|
201
|
-
name: "Enum",
|
|
202
|
-
allowedValues: [
|
|
203
|
-
"Invalid",
|
|
204
|
-
"AlreadyExists"
|
|
205
|
-
]
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
message: {
|
|
209
|
-
readOnly: true,
|
|
210
|
-
serializedName: "message",
|
|
211
|
-
type: {
|
|
212
|
-
name: "String"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
var TenantBackfillStatusResult = {
|
|
219
|
-
serializedName: "TenantBackfillStatusResult",
|
|
220
|
-
type: {
|
|
221
|
-
name: "Composite",
|
|
222
|
-
className: "TenantBackfillStatusResult",
|
|
223
|
-
modelProperties: {
|
|
224
|
-
tenantId: {
|
|
225
|
-
readOnly: true,
|
|
226
|
-
serializedName: "tenantId",
|
|
227
|
-
type: {
|
|
228
|
-
name: "String"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
status: {
|
|
232
|
-
readOnly: true,
|
|
233
|
-
serializedName: "status",
|
|
234
|
-
type: {
|
|
235
|
-
name: "Enum",
|
|
236
|
-
allowedValues: [
|
|
237
|
-
"NotStarted",
|
|
238
|
-
"NotStartedButGroupsExist",
|
|
239
|
-
"Started",
|
|
240
|
-
"Failed",
|
|
241
|
-
"Cancelled",
|
|
242
|
-
"Completed"
|
|
243
|
-
]
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
var ManagementGroupInfo = {
|
|
250
|
-
serializedName: "ManagementGroupInfo",
|
|
251
|
-
type: {
|
|
252
|
-
name: "Composite",
|
|
253
|
-
className: "ManagementGroupInfo",
|
|
254
|
-
modelProperties: {
|
|
255
|
-
id: {
|
|
256
|
-
readOnly: true,
|
|
257
|
-
serializedName: "id",
|
|
258
|
-
type: {
|
|
259
|
-
name: "String"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
type: {
|
|
263
|
-
readOnly: true,
|
|
264
|
-
serializedName: "type",
|
|
265
|
-
type: {
|
|
266
|
-
name: "String"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
name: {
|
|
270
|
-
readOnly: true,
|
|
271
|
-
serializedName: "name",
|
|
272
|
-
type: {
|
|
273
|
-
name: "String"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
tenantId: {
|
|
277
|
-
serializedName: "properties.tenantId",
|
|
278
|
-
type: {
|
|
279
|
-
name: "String"
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
displayName: {
|
|
283
|
-
serializedName: "properties.displayName",
|
|
284
|
-
type: {
|
|
285
|
-
name: "String"
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
var ParentGroupInfo = {
|
|
292
|
-
serializedName: "ParentGroupInfo",
|
|
293
|
-
type: {
|
|
294
|
-
name: "Composite",
|
|
295
|
-
className: "ParentGroupInfo",
|
|
296
|
-
modelProperties: {
|
|
297
|
-
id: {
|
|
298
|
-
serializedName: "id",
|
|
299
|
-
type: {
|
|
300
|
-
name: "String"
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
name: {
|
|
304
|
-
serializedName: "name",
|
|
305
|
-
type: {
|
|
306
|
-
name: "String"
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
displayName: {
|
|
310
|
-
serializedName: "displayName",
|
|
311
|
-
type: {
|
|
312
|
-
name: "String"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
var ManagementGroupDetails = {
|
|
319
|
-
serializedName: "ManagementGroupDetails",
|
|
320
|
-
type: {
|
|
321
|
-
name: "Composite",
|
|
322
|
-
className: "ManagementGroupDetails",
|
|
323
|
-
modelProperties: {
|
|
324
|
-
version: {
|
|
325
|
-
serializedName: "version",
|
|
326
|
-
type: {
|
|
327
|
-
name: "Number"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
updatedTime: {
|
|
331
|
-
serializedName: "updatedTime",
|
|
332
|
-
type: {
|
|
333
|
-
name: "DateTime"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
updatedBy: {
|
|
337
|
-
serializedName: "updatedBy",
|
|
338
|
-
type: {
|
|
339
|
-
name: "String"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
parent: {
|
|
343
|
-
serializedName: "parent",
|
|
344
|
-
type: {
|
|
345
|
-
name: "Composite",
|
|
346
|
-
className: "ParentGroupInfo"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
var ManagementGroupChildInfo = {
|
|
353
|
-
serializedName: "ManagementGroupChildInfo",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Composite",
|
|
356
|
-
className: "ManagementGroupChildInfo",
|
|
357
|
-
modelProperties: {
|
|
358
|
-
type: {
|
|
359
|
-
serializedName: "type",
|
|
360
|
-
type: {
|
|
361
|
-
name: "String"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
id: {
|
|
365
|
-
serializedName: "id",
|
|
366
|
-
type: {
|
|
367
|
-
name: "String"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
name: {
|
|
371
|
-
serializedName: "name",
|
|
372
|
-
type: {
|
|
373
|
-
name: "String"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
displayName: {
|
|
377
|
-
serializedName: "displayName",
|
|
378
|
-
type: {
|
|
379
|
-
name: "String"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
roles: {
|
|
383
|
-
serializedName: "roles",
|
|
384
|
-
type: {
|
|
385
|
-
name: "Sequence",
|
|
386
|
-
element: {
|
|
387
|
-
type: {
|
|
388
|
-
name: "String"
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
children: {
|
|
394
|
-
serializedName: "children",
|
|
395
|
-
type: {
|
|
396
|
-
name: "Sequence",
|
|
397
|
-
element: {
|
|
398
|
-
type: {
|
|
399
|
-
name: "Composite",
|
|
400
|
-
className: "ManagementGroupChildInfo"
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
var ManagementGroup = {
|
|
409
|
-
serializedName: "ManagementGroup",
|
|
410
|
-
type: {
|
|
411
|
-
name: "Composite",
|
|
412
|
-
className: "ManagementGroup",
|
|
413
|
-
modelProperties: {
|
|
414
|
-
id: {
|
|
415
|
-
readOnly: true,
|
|
416
|
-
serializedName: "id",
|
|
417
|
-
type: {
|
|
418
|
-
name: "String"
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
type: {
|
|
422
|
-
readOnly: true,
|
|
423
|
-
serializedName: "type",
|
|
424
|
-
type: {
|
|
425
|
-
name: "String"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
name: {
|
|
429
|
-
readOnly: true,
|
|
430
|
-
serializedName: "name",
|
|
431
|
-
type: {
|
|
432
|
-
name: "String"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
tenantId: {
|
|
436
|
-
serializedName: "properties.tenantId",
|
|
437
|
-
type: {
|
|
438
|
-
name: "String"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
displayName: {
|
|
442
|
-
serializedName: "properties.displayName",
|
|
443
|
-
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
roles: {
|
|
448
|
-
nullable: true,
|
|
449
|
-
serializedName: "properties.roles",
|
|
450
|
-
type: {
|
|
451
|
-
name: "Sequence",
|
|
452
|
-
element: {
|
|
453
|
-
type: {
|
|
454
|
-
name: "String"
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
details: {
|
|
460
|
-
serializedName: "properties.details",
|
|
461
|
-
type: {
|
|
462
|
-
name: "Composite",
|
|
463
|
-
className: "ManagementGroupDetails"
|
|
464
|
-
}
|
|
465
|
-
},
|
|
466
|
-
children: {
|
|
467
|
-
nullable: true,
|
|
468
|
-
serializedName: "properties.children",
|
|
469
|
-
type: {
|
|
470
|
-
name: "Sequence",
|
|
471
|
-
element: {
|
|
472
|
-
type: {
|
|
473
|
-
name: "Composite",
|
|
474
|
-
className: "ManagementGroupChildInfo"
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
};
|
|
482
|
-
var OperationResults = {
|
|
483
|
-
serializedName: "OperationResults",
|
|
484
|
-
type: {
|
|
485
|
-
name: "Composite",
|
|
486
|
-
className: "OperationResults",
|
|
487
|
-
modelProperties: {
|
|
488
|
-
id: {
|
|
489
|
-
readOnly: true,
|
|
490
|
-
serializedName: "id",
|
|
491
|
-
type: {
|
|
492
|
-
name: "String"
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
type: {
|
|
496
|
-
readOnly: true,
|
|
497
|
-
serializedName: "type",
|
|
498
|
-
type: {
|
|
499
|
-
name: "String"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
name: {
|
|
503
|
-
readOnly: true,
|
|
504
|
-
serializedName: "name",
|
|
505
|
-
type: {
|
|
506
|
-
name: "String"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
provisioningState: {
|
|
510
|
-
serializedName: "properties.provisioningState",
|
|
511
|
-
type: {
|
|
512
|
-
name: "String"
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
var EntityParentGroupInfo = {
|
|
519
|
-
serializedName: "EntityParentGroupInfo",
|
|
520
|
-
type: {
|
|
521
|
-
name: "Composite",
|
|
522
|
-
className: "EntityParentGroupInfo",
|
|
523
|
-
modelProperties: {
|
|
524
|
-
id: {
|
|
525
|
-
serializedName: "id",
|
|
526
|
-
type: {
|
|
527
|
-
name: "String"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
};
|
|
533
|
-
var EntityInfo = {
|
|
534
|
-
serializedName: "EntityInfo",
|
|
535
|
-
type: {
|
|
536
|
-
name: "Composite",
|
|
537
|
-
className: "EntityInfo",
|
|
538
|
-
modelProperties: {
|
|
539
|
-
id: {
|
|
540
|
-
nullable: true,
|
|
541
|
-
readOnly: true,
|
|
542
|
-
serializedName: "id",
|
|
543
|
-
type: {
|
|
544
|
-
name: "String"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
type: {
|
|
548
|
-
nullable: true,
|
|
549
|
-
readOnly: true,
|
|
550
|
-
serializedName: "type",
|
|
551
|
-
type: {
|
|
552
|
-
name: "String"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
name: {
|
|
556
|
-
readOnly: true,
|
|
557
|
-
serializedName: "name",
|
|
558
|
-
type: {
|
|
559
|
-
name: "String"
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
tenantId: {
|
|
563
|
-
nullable: true,
|
|
564
|
-
serializedName: "properties.tenantId",
|
|
565
|
-
type: {
|
|
566
|
-
name: "String"
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
displayName: {
|
|
570
|
-
nullable: true,
|
|
571
|
-
serializedName: "properties.displayName",
|
|
572
|
-
type: {
|
|
573
|
-
name: "String"
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
parent: {
|
|
577
|
-
nullable: true,
|
|
578
|
-
serializedName: "properties.parent",
|
|
579
|
-
type: {
|
|
580
|
-
name: "Composite",
|
|
581
|
-
className: "EntityParentGroupInfo"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
permissions: {
|
|
585
|
-
serializedName: "properties.permissions",
|
|
586
|
-
type: {
|
|
587
|
-
name: "String"
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
inheritedPermissions: {
|
|
591
|
-
serializedName: "properties.inheritedPermissions",
|
|
592
|
-
type: {
|
|
593
|
-
name: "String"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
numberOfDescendants: {
|
|
597
|
-
nullable: true,
|
|
598
|
-
serializedName: "properties.numberOfDescendants",
|
|
599
|
-
type: {
|
|
600
|
-
name: "Number"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
numberOfChildren: {
|
|
604
|
-
nullable: true,
|
|
605
|
-
serializedName: "properties.numberOfChildren",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Number"
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
numberOfChildGroups: {
|
|
611
|
-
nullable: true,
|
|
612
|
-
serializedName: "properties.numberOfChildGroups",
|
|
613
|
-
type: {
|
|
614
|
-
name: "Number"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
parentDisplayNameChain: {
|
|
618
|
-
nullable: true,
|
|
619
|
-
serializedName: "properties.parentDisplayNameChain",
|
|
620
|
-
type: {
|
|
621
|
-
name: "Sequence",
|
|
622
|
-
element: {
|
|
623
|
-
type: {
|
|
624
|
-
name: "String"
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
parentNameChain: {
|
|
630
|
-
nullable: true,
|
|
631
|
-
serializedName: "properties.parentNameChain",
|
|
632
|
-
type: {
|
|
633
|
-
name: "Sequence",
|
|
634
|
-
element: {
|
|
635
|
-
type: {
|
|
636
|
-
name: "String"
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
};
|
|
644
|
-
var EntityHierarchyItem = {
|
|
645
|
-
serializedName: "EntityHierarchyItem",
|
|
646
|
-
type: {
|
|
647
|
-
name: "Composite",
|
|
648
|
-
className: "EntityHierarchyItem",
|
|
649
|
-
modelProperties: {
|
|
650
|
-
id: {
|
|
651
|
-
readOnly: true,
|
|
652
|
-
serializedName: "id",
|
|
653
|
-
type: {
|
|
654
|
-
name: "String"
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
type: {
|
|
658
|
-
readOnly: true,
|
|
659
|
-
serializedName: "type",
|
|
660
|
-
type: {
|
|
661
|
-
name: "String"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
name: {
|
|
665
|
-
readOnly: true,
|
|
666
|
-
serializedName: "name",
|
|
667
|
-
type: {
|
|
668
|
-
name: "String"
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
displayName: {
|
|
672
|
-
serializedName: "properties.displayName",
|
|
673
|
-
type: {
|
|
674
|
-
name: "String"
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
permissions: {
|
|
678
|
-
serializedName: "properties.permissions",
|
|
679
|
-
type: {
|
|
680
|
-
name: "String"
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
children: {
|
|
684
|
-
nullable: true,
|
|
685
|
-
serializedName: "properties.children",
|
|
686
|
-
type: {
|
|
687
|
-
name: "Sequence",
|
|
688
|
-
element: {
|
|
689
|
-
type: {
|
|
690
|
-
name: "Composite",
|
|
691
|
-
className: "EntityHierarchyItem"
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
};
|
|
699
|
-
var PatchManagementGroupRequest = {
|
|
700
|
-
serializedName: "PatchManagementGroupRequest",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Composite",
|
|
703
|
-
className: "PatchManagementGroupRequest",
|
|
704
|
-
modelProperties: {
|
|
705
|
-
displayName: {
|
|
706
|
-
nullable: true,
|
|
707
|
-
serializedName: "displayName",
|
|
708
|
-
type: {
|
|
709
|
-
name: "String"
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
parentId: {
|
|
713
|
-
nullable: true,
|
|
714
|
-
serializedName: "parentId",
|
|
715
|
-
type: {
|
|
716
|
-
name: "String"
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
var CreateParentGroupInfo = {
|
|
723
|
-
serializedName: "CreateParentGroupInfo",
|
|
724
|
-
type: {
|
|
725
|
-
name: "Composite",
|
|
726
|
-
className: "CreateParentGroupInfo",
|
|
727
|
-
modelProperties: {
|
|
728
|
-
id: {
|
|
729
|
-
serializedName: "id",
|
|
730
|
-
type: {
|
|
731
|
-
name: "String"
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
name: {
|
|
735
|
-
readOnly: true,
|
|
736
|
-
serializedName: "name",
|
|
737
|
-
type: {
|
|
738
|
-
name: "String"
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
displayName: {
|
|
742
|
-
readOnly: true,
|
|
743
|
-
serializedName: "displayName",
|
|
744
|
-
type: {
|
|
745
|
-
name: "String"
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
var CreateManagementGroupDetails = {
|
|
752
|
-
serializedName: "CreateManagementGroupDetails",
|
|
753
|
-
type: {
|
|
754
|
-
name: "Composite",
|
|
755
|
-
className: "CreateManagementGroupDetails",
|
|
756
|
-
modelProperties: {
|
|
757
|
-
version: {
|
|
758
|
-
readOnly: true,
|
|
759
|
-
serializedName: "version",
|
|
760
|
-
type: {
|
|
761
|
-
name: "Number"
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
updatedTime: {
|
|
765
|
-
readOnly: true,
|
|
766
|
-
serializedName: "updatedTime",
|
|
767
|
-
type: {
|
|
768
|
-
name: "DateTime"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
updatedBy: {
|
|
772
|
-
readOnly: true,
|
|
773
|
-
serializedName: "updatedBy",
|
|
774
|
-
type: {
|
|
775
|
-
name: "String"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
parent: {
|
|
779
|
-
serializedName: "parent",
|
|
780
|
-
type: {
|
|
781
|
-
name: "Composite",
|
|
782
|
-
className: "CreateParentGroupInfo"
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
};
|
|
788
|
-
var CreateManagementGroupChildInfo = {
|
|
789
|
-
serializedName: "CreateManagementGroupChildInfo",
|
|
790
|
-
type: {
|
|
791
|
-
name: "Composite",
|
|
792
|
-
className: "CreateManagementGroupChildInfo",
|
|
793
|
-
modelProperties: {
|
|
794
|
-
type: {
|
|
795
|
-
readOnly: true,
|
|
796
|
-
serializedName: "type",
|
|
797
|
-
type: {
|
|
798
|
-
name: "String"
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
id: {
|
|
802
|
-
readOnly: true,
|
|
803
|
-
serializedName: "id",
|
|
804
|
-
type: {
|
|
805
|
-
name: "String"
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
name: {
|
|
809
|
-
readOnly: true,
|
|
810
|
-
serializedName: "name",
|
|
811
|
-
type: {
|
|
812
|
-
name: "String"
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
displayName: {
|
|
816
|
-
readOnly: true,
|
|
817
|
-
serializedName: "displayName",
|
|
818
|
-
type: {
|
|
819
|
-
name: "String"
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
roles: {
|
|
823
|
-
readOnly: true,
|
|
824
|
-
serializedName: "roles",
|
|
825
|
-
type: {
|
|
826
|
-
name: "Sequence",
|
|
827
|
-
element: {
|
|
828
|
-
type: {
|
|
829
|
-
name: "String"
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
|
-
children: {
|
|
835
|
-
readOnly: true,
|
|
836
|
-
serializedName: "children",
|
|
837
|
-
type: {
|
|
838
|
-
name: "Sequence",
|
|
839
|
-
element: {
|
|
840
|
-
type: {
|
|
841
|
-
name: "Composite",
|
|
842
|
-
className: "CreateManagementGroupChildInfo"
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
};
|
|
850
|
-
var CreateManagementGroupRequest = {
|
|
851
|
-
serializedName: "CreateManagementGroupRequest",
|
|
852
|
-
type: {
|
|
853
|
-
name: "Composite",
|
|
854
|
-
className: "CreateManagementGroupRequest",
|
|
855
|
-
modelProperties: {
|
|
856
|
-
id: {
|
|
857
|
-
readOnly: true,
|
|
858
|
-
serializedName: "id",
|
|
859
|
-
type: {
|
|
860
|
-
name: "String"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
type: {
|
|
864
|
-
readOnly: true,
|
|
865
|
-
serializedName: "type",
|
|
866
|
-
type: {
|
|
867
|
-
name: "String"
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
name: {
|
|
871
|
-
serializedName: "name",
|
|
872
|
-
type: {
|
|
873
|
-
name: "String"
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
tenantId: {
|
|
877
|
-
readOnly: true,
|
|
878
|
-
serializedName: "properties.tenantId",
|
|
879
|
-
type: {
|
|
880
|
-
name: "String"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
displayName: {
|
|
884
|
-
nullable: true,
|
|
885
|
-
serializedName: "properties.displayName",
|
|
886
|
-
type: {
|
|
887
|
-
name: "String"
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
roles: {
|
|
891
|
-
nullable: true,
|
|
892
|
-
readOnly: true,
|
|
893
|
-
serializedName: "properties.roles",
|
|
894
|
-
type: {
|
|
895
|
-
name: "Sequence",
|
|
896
|
-
element: {
|
|
897
|
-
type: {
|
|
898
|
-
name: "String"
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
details: {
|
|
904
|
-
serializedName: "properties.details",
|
|
905
|
-
type: {
|
|
906
|
-
name: "Composite",
|
|
907
|
-
className: "CreateManagementGroupDetails"
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
children: {
|
|
911
|
-
nullable: true,
|
|
912
|
-
readOnly: true,
|
|
913
|
-
serializedName: "properties.children",
|
|
914
|
-
type: {
|
|
915
|
-
name: "Sequence",
|
|
916
|
-
element: {
|
|
917
|
-
type: {
|
|
918
|
-
name: "Composite",
|
|
919
|
-
className: "CreateManagementGroupChildInfo"
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
};
|
|
927
|
-
var CheckNameAvailabilityRequest = {
|
|
928
|
-
serializedName: "CheckNameAvailabilityRequest",
|
|
929
|
-
type: {
|
|
930
|
-
name: "Composite",
|
|
931
|
-
className: "CheckNameAvailabilityRequest",
|
|
932
|
-
modelProperties: {
|
|
933
|
-
name: {
|
|
934
|
-
serializedName: "name",
|
|
935
|
-
type: {
|
|
936
|
-
name: "String"
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
type: {
|
|
940
|
-
serializedName: "type",
|
|
941
|
-
type: {
|
|
942
|
-
name: "Enum",
|
|
943
|
-
allowedValues: [
|
|
944
|
-
"/providers/Microsoft.Management/managementGroups"
|
|
945
|
-
]
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
var ManagementGroupListResult = {
|
|
952
|
-
serializedName: "ManagementGroupListResult",
|
|
953
|
-
type: {
|
|
954
|
-
name: "Composite",
|
|
955
|
-
className: "ManagementGroupListResult",
|
|
956
|
-
modelProperties: {
|
|
957
|
-
value: {
|
|
958
|
-
serializedName: "",
|
|
959
|
-
type: {
|
|
960
|
-
name: "Sequence",
|
|
961
|
-
element: {
|
|
962
|
-
type: {
|
|
963
|
-
name: "Composite",
|
|
964
|
-
className: "ManagementGroupInfo"
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
nextLink: {
|
|
970
|
-
readOnly: true,
|
|
971
|
-
serializedName: "nextLink",
|
|
972
|
-
type: {
|
|
973
|
-
name: "String"
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
};
|
|
979
|
-
var OperationListResult = {
|
|
980
|
-
serializedName: "OperationListResult",
|
|
981
|
-
type: {
|
|
982
|
-
name: "Composite",
|
|
983
|
-
className: "OperationListResult",
|
|
984
|
-
modelProperties: {
|
|
985
|
-
value: {
|
|
986
|
-
readOnly: true,
|
|
987
|
-
serializedName: "",
|
|
988
|
-
type: {
|
|
989
|
-
name: "Sequence",
|
|
990
|
-
element: {
|
|
991
|
-
type: {
|
|
992
|
-
name: "Composite",
|
|
993
|
-
className: "Operation"
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
},
|
|
998
|
-
nextLink: {
|
|
999
|
-
readOnly: true,
|
|
1000
|
-
serializedName: "nextLink",
|
|
1001
|
-
type: {
|
|
1002
|
-
name: "String"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
};
|
|
1008
|
-
var EntityListResult = {
|
|
1009
|
-
serializedName: "EntityListResult",
|
|
1010
|
-
type: {
|
|
1011
|
-
name: "Composite",
|
|
1012
|
-
className: "EntityListResult",
|
|
1013
|
-
modelProperties: {
|
|
1014
|
-
value: {
|
|
1015
|
-
serializedName: "",
|
|
1016
|
-
type: {
|
|
1017
|
-
name: "Sequence",
|
|
1018
|
-
element: {
|
|
1019
|
-
type: {
|
|
1020
|
-
name: "Composite",
|
|
1021
|
-
className: "EntityInfo"
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
count: {
|
|
1027
|
-
readOnly: true,
|
|
1028
|
-
serializedName: "count",
|
|
1029
|
-
type: {
|
|
1030
|
-
name: "Number"
|
|
1031
|
-
}
|
|
1032
|
-
},
|
|
1033
|
-
nextLink: {
|
|
1034
|
-
readOnly: true,
|
|
1035
|
-
serializedName: "nextLink",
|
|
1036
|
-
type: {
|
|
1037
|
-
name: "String"
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1045
|
-
CloudError: CloudError,
|
|
1046
|
-
BaseResource: BaseResource,
|
|
1047
|
-
ErrorDetails: ErrorDetails,
|
|
1048
|
-
ErrorResponse: ErrorResponse,
|
|
1049
|
-
OperationDisplayProperties: OperationDisplayProperties,
|
|
1050
|
-
Operation: Operation,
|
|
1051
|
-
CheckNameAvailabilityResult: CheckNameAvailabilityResult,
|
|
1052
|
-
TenantBackfillStatusResult: TenantBackfillStatusResult,
|
|
1053
|
-
ManagementGroupInfo: ManagementGroupInfo,
|
|
1054
|
-
ParentGroupInfo: ParentGroupInfo,
|
|
1055
|
-
ManagementGroupDetails: ManagementGroupDetails,
|
|
1056
|
-
ManagementGroupChildInfo: ManagementGroupChildInfo,
|
|
1057
|
-
ManagementGroup: ManagementGroup,
|
|
1058
|
-
OperationResults: OperationResults,
|
|
1059
|
-
EntityParentGroupInfo: EntityParentGroupInfo,
|
|
1060
|
-
EntityInfo: EntityInfo,
|
|
1061
|
-
EntityHierarchyItem: EntityHierarchyItem,
|
|
1062
|
-
PatchManagementGroupRequest: PatchManagementGroupRequest,
|
|
1063
|
-
CreateParentGroupInfo: CreateParentGroupInfo,
|
|
1064
|
-
CreateManagementGroupDetails: CreateManagementGroupDetails,
|
|
1065
|
-
CreateManagementGroupChildInfo: CreateManagementGroupChildInfo,
|
|
1066
|
-
CreateManagementGroupRequest: CreateManagementGroupRequest,
|
|
1067
|
-
CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
|
|
1068
|
-
ManagementGroupListResult: ManagementGroupListResult,
|
|
1069
|
-
OperationListResult: OperationListResult,
|
|
1070
|
-
EntityListResult: EntityListResult
|
|
1071
|
-
});
|
|
1072
|
-
|
|
1073
|
-
/*
|
|
1074
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1075
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1076
|
-
* license information.
|
|
1077
|
-
*
|
|
1078
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1079
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1080
|
-
* regenerated.
|
|
1081
|
-
*/
|
|
1082
|
-
var acceptLanguage = {
|
|
1083
|
-
parameterPath: "acceptLanguage",
|
|
1084
|
-
mapper: {
|
|
1085
|
-
serializedName: "accept-language",
|
|
1086
|
-
defaultValue: 'en-US',
|
|
1087
|
-
type: {
|
|
1088
|
-
name: "String"
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
};
|
|
1092
|
-
var apiVersion = {
|
|
1093
|
-
parameterPath: "apiVersion",
|
|
1094
|
-
mapper: {
|
|
1095
|
-
required: true,
|
|
1096
|
-
serializedName: "api-version",
|
|
1097
|
-
type: {
|
|
1098
|
-
name: "String"
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
};
|
|
1102
|
-
var cacheControl = {
|
|
1103
|
-
parameterPath: [
|
|
1104
|
-
"options",
|
|
1105
|
-
"cacheControl"
|
|
1106
|
-
],
|
|
1107
|
-
mapper: {
|
|
1108
|
-
serializedName: "Cache-Control",
|
|
1109
|
-
defaultValue: 'no-cache',
|
|
1110
|
-
type: {
|
|
1111
|
-
name: "String"
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
};
|
|
1115
|
-
var expand = {
|
|
1116
|
-
parameterPath: [
|
|
1117
|
-
"options",
|
|
1118
|
-
"expand"
|
|
1119
|
-
],
|
|
1120
|
-
mapper: {
|
|
1121
|
-
serializedName: "$expand",
|
|
1122
|
-
type: {
|
|
1123
|
-
name: "String"
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
var filter = {
|
|
1128
|
-
parameterPath: [
|
|
1129
|
-
"options",
|
|
1130
|
-
"filter"
|
|
1131
|
-
],
|
|
1132
|
-
mapper: {
|
|
1133
|
-
serializedName: "$filter",
|
|
1134
|
-
type: {
|
|
1135
|
-
name: "String"
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
};
|
|
1139
|
-
var groupId = {
|
|
1140
|
-
parameterPath: "groupId",
|
|
1141
|
-
mapper: {
|
|
1142
|
-
required: true,
|
|
1143
|
-
serializedName: "groupId",
|
|
1144
|
-
type: {
|
|
1145
|
-
name: "String"
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
};
|
|
1149
|
-
var groupName = {
|
|
1150
|
-
parameterPath: [
|
|
1151
|
-
"options",
|
|
1152
|
-
"groupName"
|
|
1153
|
-
],
|
|
1154
|
-
mapper: {
|
|
1155
|
-
serializedName: "groupName",
|
|
1156
|
-
type: {
|
|
1157
|
-
name: "String"
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
var nextPageLink = {
|
|
1162
|
-
parameterPath: "nextPageLink",
|
|
1163
|
-
mapper: {
|
|
1164
|
-
required: true,
|
|
1165
|
-
serializedName: "nextLink",
|
|
1166
|
-
type: {
|
|
1167
|
-
name: "String"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
skipEncoding: true
|
|
1171
|
-
};
|
|
1172
|
-
var recurse = {
|
|
1173
|
-
parameterPath: [
|
|
1174
|
-
"options",
|
|
1175
|
-
"recurse"
|
|
1176
|
-
],
|
|
1177
|
-
mapper: {
|
|
1178
|
-
serializedName: "$recurse",
|
|
1179
|
-
type: {
|
|
1180
|
-
name: "Boolean"
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
};
|
|
1184
|
-
var search = {
|
|
1185
|
-
parameterPath: [
|
|
1186
|
-
"options",
|
|
1187
|
-
"search"
|
|
1188
|
-
],
|
|
1189
|
-
mapper: {
|
|
1190
|
-
serializedName: "$search",
|
|
1191
|
-
type: {
|
|
1192
|
-
name: "String"
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
};
|
|
1196
|
-
var select = {
|
|
1197
|
-
parameterPath: [
|
|
1198
|
-
"options",
|
|
1199
|
-
"select"
|
|
1200
|
-
],
|
|
1201
|
-
mapper: {
|
|
1202
|
-
serializedName: "$select",
|
|
1203
|
-
type: {
|
|
1204
|
-
name: "String"
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
};
|
|
1208
|
-
var skip = {
|
|
1209
|
-
parameterPath: [
|
|
1210
|
-
"options",
|
|
1211
|
-
"skip"
|
|
1212
|
-
],
|
|
1213
|
-
mapper: {
|
|
1214
|
-
serializedName: "$skip",
|
|
1215
|
-
type: {
|
|
1216
|
-
name: "Number"
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
};
|
|
1220
|
-
var skiptoken = {
|
|
1221
|
-
parameterPath: [
|
|
1222
|
-
"options",
|
|
1223
|
-
"skiptoken"
|
|
1224
|
-
],
|
|
1225
|
-
mapper: {
|
|
1226
|
-
serializedName: "$skiptoken",
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "String"
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
var subscriptionId = {
|
|
1233
|
-
parameterPath: "subscriptionId",
|
|
1234
|
-
mapper: {
|
|
1235
|
-
required: true,
|
|
1236
|
-
serializedName: "subscriptionId",
|
|
1237
|
-
type: {
|
|
1238
|
-
name: "String"
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
};
|
|
1242
|
-
var top = {
|
|
1243
|
-
parameterPath: [
|
|
1244
|
-
"options",
|
|
1245
|
-
"top"
|
|
1246
|
-
],
|
|
1247
|
-
mapper: {
|
|
1248
|
-
serializedName: "$top",
|
|
1249
|
-
type: {
|
|
1250
|
-
name: "Number"
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
};
|
|
1254
|
-
var view = {
|
|
1255
|
-
parameterPath: [
|
|
1256
|
-
"options",
|
|
1257
|
-
"view"
|
|
1258
|
-
],
|
|
1259
|
-
mapper: {
|
|
1260
|
-
serializedName: "$view",
|
|
1261
|
-
type: {
|
|
1262
|
-
name: "String"
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
};
|
|
1266
|
-
|
|
1267
|
-
/*
|
|
1268
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1269
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1270
|
-
* license information.
|
|
1271
|
-
*
|
|
1272
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1273
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1274
|
-
* regenerated.
|
|
1275
|
-
*/
|
|
1276
|
-
|
|
1277
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1278
|
-
ManagementGroupListResult: ManagementGroupListResult,
|
|
1279
|
-
ManagementGroupInfo: ManagementGroupInfo,
|
|
1280
|
-
ErrorResponse: ErrorResponse,
|
|
1281
|
-
ErrorDetails: ErrorDetails,
|
|
1282
|
-
ManagementGroup: ManagementGroup,
|
|
1283
|
-
BaseResource: BaseResource,
|
|
1284
|
-
ManagementGroupDetails: ManagementGroupDetails,
|
|
1285
|
-
ParentGroupInfo: ParentGroupInfo,
|
|
1286
|
-
ManagementGroupChildInfo: ManagementGroupChildInfo,
|
|
1287
|
-
CreateManagementGroupRequest: CreateManagementGroupRequest,
|
|
1288
|
-
CreateManagementGroupDetails: CreateManagementGroupDetails,
|
|
1289
|
-
CreateParentGroupInfo: CreateParentGroupInfo,
|
|
1290
|
-
CreateManagementGroupChildInfo: CreateManagementGroupChildInfo,
|
|
1291
|
-
OperationResults: OperationResults,
|
|
1292
|
-
PatchManagementGroupRequest: PatchManagementGroupRequest,
|
|
1293
|
-
EntityHierarchyItem: EntityHierarchyItem
|
|
1294
|
-
});
|
|
1295
|
-
|
|
1296
|
-
/*
|
|
1297
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1298
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1299
|
-
* license information.
|
|
1300
|
-
*
|
|
1301
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1302
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1303
|
-
* regenerated.
|
|
1304
|
-
*/
|
|
1305
|
-
/** Class representing a ManagementGroups. */
|
|
1306
|
-
var ManagementGroups = /** @class */ (function () {
|
|
1307
|
-
/**
|
|
1308
|
-
* Create a ManagementGroups.
|
|
1309
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
1310
|
-
*/
|
|
1311
|
-
function ManagementGroups(client) {
|
|
1312
|
-
this.client = client;
|
|
1313
|
-
}
|
|
1314
|
-
ManagementGroups.prototype.list = function (options, callback) {
|
|
1315
|
-
return this.client.sendOperationRequest({
|
|
1316
|
-
options: options
|
|
1317
|
-
}, listOperationSpec, callback);
|
|
1318
|
-
};
|
|
1319
|
-
ManagementGroups.prototype.get = function (groupId$$1, options, callback) {
|
|
1320
|
-
return this.client.sendOperationRequest({
|
|
1321
|
-
groupId: groupId$$1,
|
|
1322
|
-
options: options
|
|
1323
|
-
}, getOperationSpec, callback);
|
|
1324
|
-
};
|
|
1325
|
-
/**
|
|
1326
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
1327
|
-
* create request is issued with different properties, the management group properties will be
|
|
1328
|
-
* updated.
|
|
1329
|
-
* @param groupId Management Group ID.
|
|
1330
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
1331
|
-
* @param [options] The optional parameters
|
|
1332
|
-
* @returns Promise<Models.ManagementGroupsCreateOrUpdateResponse>
|
|
1333
|
-
*/
|
|
1334
|
-
ManagementGroups.prototype.createOrUpdate = function (groupId$$1, createManagementGroupRequest, options) {
|
|
1335
|
-
return this.beginCreateOrUpdate(groupId$$1, createManagementGroupRequest, options)
|
|
1336
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1337
|
-
};
|
|
1338
|
-
ManagementGroups.prototype.update = function (groupId$$1, patchGroupRequest, options, callback) {
|
|
1339
|
-
return this.client.sendOperationRequest({
|
|
1340
|
-
groupId: groupId$$1,
|
|
1341
|
-
patchGroupRequest: patchGroupRequest,
|
|
1342
|
-
options: options
|
|
1343
|
-
}, updateOperationSpec, callback);
|
|
1344
|
-
};
|
|
1345
|
-
/**
|
|
1346
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
1347
|
-
* @param groupId Management Group ID.
|
|
1348
|
-
* @param [options] The optional parameters
|
|
1349
|
-
* @returns Promise<Models.ManagementGroupsDeleteMethodResponse>
|
|
1350
|
-
*/
|
|
1351
|
-
ManagementGroups.prototype.deleteMethod = function (groupId$$1, options) {
|
|
1352
|
-
return this.beginDeleteMethod(groupId$$1, options)
|
|
1353
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1354
|
-
};
|
|
1355
|
-
/**
|
|
1356
|
-
* Create or update a management group. If a management group is already created and a subsequent
|
|
1357
|
-
* create request is issued with different properties, the management group properties will be
|
|
1358
|
-
* updated.
|
|
1359
|
-
* @param groupId Management Group ID.
|
|
1360
|
-
* @param createManagementGroupRequest Management group creation parameters.
|
|
1361
|
-
* @param [options] The optional parameters
|
|
1362
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1363
|
-
*/
|
|
1364
|
-
ManagementGroups.prototype.beginCreateOrUpdate = function (groupId$$1, createManagementGroupRequest, options) {
|
|
1365
|
-
return this.client.sendLRORequest({
|
|
1366
|
-
groupId: groupId$$1,
|
|
1367
|
-
createManagementGroupRequest: createManagementGroupRequest,
|
|
1368
|
-
options: options
|
|
1369
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1370
|
-
};
|
|
1371
|
-
/**
|
|
1372
|
-
* Delete management group. If a management group contains child resources, the request will fail.
|
|
1373
|
-
* @param groupId Management Group ID.
|
|
1374
|
-
* @param [options] The optional parameters
|
|
1375
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1376
|
-
*/
|
|
1377
|
-
ManagementGroups.prototype.beginDeleteMethod = function (groupId$$1, options) {
|
|
1378
|
-
return this.client.sendLRORequest({
|
|
1379
|
-
groupId: groupId$$1,
|
|
1380
|
-
options: options
|
|
1381
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1382
|
-
};
|
|
1383
|
-
ManagementGroups.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
1384
|
-
return this.client.sendOperationRequest({
|
|
1385
|
-
nextPageLink: nextPageLink$$1,
|
|
1386
|
-
options: options
|
|
1387
|
-
}, listNextOperationSpec, callback);
|
|
1388
|
-
};
|
|
1389
|
-
return ManagementGroups;
|
|
1390
|
-
}());
|
|
1391
|
-
// Operation Specifications
|
|
1392
|
-
var serializer = new msRest.Serializer(Mappers$1);
|
|
1393
|
-
var listOperationSpec = {
|
|
1394
|
-
httpMethod: "GET",
|
|
1395
|
-
path: "providers/Microsoft.Management/managementGroups",
|
|
1396
|
-
queryParameters: [
|
|
1397
|
-
apiVersion,
|
|
1398
|
-
skiptoken
|
|
1399
|
-
],
|
|
1400
|
-
headerParameters: [
|
|
1401
|
-
cacheControl,
|
|
1402
|
-
acceptLanguage
|
|
1403
|
-
],
|
|
1404
|
-
responses: {
|
|
1405
|
-
200: {
|
|
1406
|
-
bodyMapper: ManagementGroupListResult
|
|
1407
|
-
},
|
|
1408
|
-
default: {
|
|
1409
|
-
bodyMapper: ErrorResponse
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1412
|
-
serializer: serializer
|
|
1413
|
-
};
|
|
1414
|
-
var getOperationSpec = {
|
|
1415
|
-
httpMethod: "GET",
|
|
1416
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1417
|
-
urlParameters: [
|
|
1418
|
-
groupId
|
|
1419
|
-
],
|
|
1420
|
-
queryParameters: [
|
|
1421
|
-
apiVersion,
|
|
1422
|
-
expand,
|
|
1423
|
-
recurse,
|
|
1424
|
-
filter
|
|
1425
|
-
],
|
|
1426
|
-
headerParameters: [
|
|
1427
|
-
cacheControl,
|
|
1428
|
-
acceptLanguage
|
|
1429
|
-
],
|
|
1430
|
-
responses: {
|
|
1431
|
-
200: {
|
|
1432
|
-
bodyMapper: ManagementGroup
|
|
1433
|
-
},
|
|
1434
|
-
default: {
|
|
1435
|
-
bodyMapper: ErrorResponse
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
serializer: serializer
|
|
1439
|
-
};
|
|
1440
|
-
var updateOperationSpec = {
|
|
1441
|
-
httpMethod: "PATCH",
|
|
1442
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1443
|
-
urlParameters: [
|
|
1444
|
-
groupId
|
|
1445
|
-
],
|
|
1446
|
-
queryParameters: [
|
|
1447
|
-
apiVersion
|
|
1448
|
-
],
|
|
1449
|
-
headerParameters: [
|
|
1450
|
-
cacheControl,
|
|
1451
|
-
acceptLanguage
|
|
1452
|
-
],
|
|
1453
|
-
requestBody: {
|
|
1454
|
-
parameterPath: "patchGroupRequest",
|
|
1455
|
-
mapper: __assign({}, PatchManagementGroupRequest, { required: true })
|
|
1456
|
-
},
|
|
1457
|
-
responses: {
|
|
1458
|
-
200: {
|
|
1459
|
-
bodyMapper: ManagementGroup
|
|
1460
|
-
},
|
|
1461
|
-
default: {
|
|
1462
|
-
bodyMapper: ErrorResponse
|
|
1463
|
-
}
|
|
1464
|
-
},
|
|
1465
|
-
serializer: serializer
|
|
1466
|
-
};
|
|
1467
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1468
|
-
httpMethod: "PUT",
|
|
1469
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1470
|
-
urlParameters: [
|
|
1471
|
-
groupId
|
|
1472
|
-
],
|
|
1473
|
-
queryParameters: [
|
|
1474
|
-
apiVersion
|
|
1475
|
-
],
|
|
1476
|
-
headerParameters: [
|
|
1477
|
-
cacheControl,
|
|
1478
|
-
acceptLanguage
|
|
1479
|
-
],
|
|
1480
|
-
requestBody: {
|
|
1481
|
-
parameterPath: "createManagementGroupRequest",
|
|
1482
|
-
mapper: __assign({}, CreateManagementGroupRequest, { required: true })
|
|
1483
|
-
},
|
|
1484
|
-
responses: {
|
|
1485
|
-
200: {
|
|
1486
|
-
bodyMapper: ManagementGroup
|
|
1487
|
-
},
|
|
1488
|
-
202: {
|
|
1489
|
-
bodyMapper: OperationResults
|
|
1490
|
-
},
|
|
1491
|
-
default: {
|
|
1492
|
-
bodyMapper: ErrorResponse
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
serializer: serializer
|
|
1496
|
-
};
|
|
1497
|
-
var beginDeleteMethodOperationSpec = {
|
|
1498
|
-
httpMethod: "DELETE",
|
|
1499
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}",
|
|
1500
|
-
urlParameters: [
|
|
1501
|
-
groupId
|
|
1502
|
-
],
|
|
1503
|
-
queryParameters: [
|
|
1504
|
-
apiVersion
|
|
1505
|
-
],
|
|
1506
|
-
headerParameters: [
|
|
1507
|
-
cacheControl,
|
|
1508
|
-
acceptLanguage
|
|
1509
|
-
],
|
|
1510
|
-
responses: {
|
|
1511
|
-
202: {
|
|
1512
|
-
bodyMapper: OperationResults
|
|
1513
|
-
},
|
|
1514
|
-
204: {},
|
|
1515
|
-
default: {
|
|
1516
|
-
bodyMapper: ErrorResponse
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
serializer: serializer
|
|
1520
|
-
};
|
|
1521
|
-
var listNextOperationSpec = {
|
|
1522
|
-
httpMethod: "GET",
|
|
1523
|
-
baseUrl: "https://management.azure.com",
|
|
1524
|
-
path: "{nextLink}",
|
|
1525
|
-
urlParameters: [
|
|
1526
|
-
nextPageLink
|
|
1527
|
-
],
|
|
1528
|
-
headerParameters: [
|
|
1529
|
-
cacheControl,
|
|
1530
|
-
acceptLanguage
|
|
1531
|
-
],
|
|
1532
|
-
responses: {
|
|
1533
|
-
200: {
|
|
1534
|
-
bodyMapper: ManagementGroupListResult
|
|
1535
|
-
},
|
|
1536
|
-
default: {
|
|
1537
|
-
bodyMapper: ErrorResponse
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
serializer: serializer
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1543
|
-
/*
|
|
1544
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1545
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1546
|
-
* license information.
|
|
1547
|
-
*
|
|
1548
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1549
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1550
|
-
* regenerated.
|
|
1551
|
-
*/
|
|
1552
|
-
|
|
1553
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1554
|
-
ErrorResponse: ErrorResponse,
|
|
1555
|
-
ErrorDetails: ErrorDetails
|
|
1556
|
-
});
|
|
1557
|
-
|
|
1558
|
-
/*
|
|
1559
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1560
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1561
|
-
* license information.
|
|
1562
|
-
*
|
|
1563
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1564
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1565
|
-
* regenerated.
|
|
1566
|
-
*/
|
|
1567
|
-
/** Class representing a ManagementGroupSubscriptions. */
|
|
1568
|
-
var ManagementGroupSubscriptions = /** @class */ (function () {
|
|
1569
|
-
/**
|
|
1570
|
-
* Create a ManagementGroupSubscriptions.
|
|
1571
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
1572
|
-
*/
|
|
1573
|
-
function ManagementGroupSubscriptions(client) {
|
|
1574
|
-
this.client = client;
|
|
1575
|
-
}
|
|
1576
|
-
ManagementGroupSubscriptions.prototype.create = function (groupId$$1, subscriptionId$$1, options, callback) {
|
|
1577
|
-
return this.client.sendOperationRequest({
|
|
1578
|
-
groupId: groupId$$1,
|
|
1579
|
-
subscriptionId: subscriptionId$$1,
|
|
1580
|
-
options: options
|
|
1581
|
-
}, createOperationSpec, callback);
|
|
1582
|
-
};
|
|
1583
|
-
ManagementGroupSubscriptions.prototype.deleteMethod = function (groupId$$1, subscriptionId$$1, options, callback) {
|
|
1584
|
-
return this.client.sendOperationRequest({
|
|
1585
|
-
groupId: groupId$$1,
|
|
1586
|
-
subscriptionId: subscriptionId$$1,
|
|
1587
|
-
options: options
|
|
1588
|
-
}, deleteMethodOperationSpec, callback);
|
|
1589
|
-
};
|
|
1590
|
-
return ManagementGroupSubscriptions;
|
|
1591
|
-
}());
|
|
1592
|
-
// Operation Specifications
|
|
1593
|
-
var serializer$1 = new msRest.Serializer(Mappers$2);
|
|
1594
|
-
var createOperationSpec = {
|
|
1595
|
-
httpMethod: "PUT",
|
|
1596
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
1597
|
-
urlParameters: [
|
|
1598
|
-
groupId,
|
|
1599
|
-
subscriptionId
|
|
1600
|
-
],
|
|
1601
|
-
queryParameters: [
|
|
1602
|
-
apiVersion
|
|
1603
|
-
],
|
|
1604
|
-
headerParameters: [
|
|
1605
|
-
cacheControl,
|
|
1606
|
-
acceptLanguage
|
|
1607
|
-
],
|
|
1608
|
-
responses: {
|
|
1609
|
-
204: {},
|
|
1610
|
-
default: {
|
|
1611
|
-
bodyMapper: ErrorResponse
|
|
1612
|
-
}
|
|
1613
|
-
},
|
|
1614
|
-
serializer: serializer$1
|
|
1615
|
-
};
|
|
1616
|
-
var deleteMethodOperationSpec = {
|
|
1617
|
-
httpMethod: "DELETE",
|
|
1618
|
-
path: "providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}",
|
|
1619
|
-
urlParameters: [
|
|
1620
|
-
groupId,
|
|
1621
|
-
subscriptionId
|
|
1622
|
-
],
|
|
1623
|
-
queryParameters: [
|
|
1624
|
-
apiVersion
|
|
1625
|
-
],
|
|
1626
|
-
headerParameters: [
|
|
1627
|
-
cacheControl,
|
|
1628
|
-
acceptLanguage
|
|
1629
|
-
],
|
|
1630
|
-
responses: {
|
|
1631
|
-
204: {},
|
|
1632
|
-
default: {
|
|
1633
|
-
bodyMapper: ErrorResponse
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
serializer: serializer$1
|
|
1637
|
-
};
|
|
1638
|
-
|
|
1639
|
-
/*
|
|
1640
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1641
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1642
|
-
* license information.
|
|
1643
|
-
*
|
|
1644
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1645
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1646
|
-
* regenerated.
|
|
1647
|
-
*/
|
|
1648
|
-
|
|
1649
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1650
|
-
OperationListResult: OperationListResult,
|
|
1651
|
-
Operation: Operation,
|
|
1652
|
-
OperationDisplayProperties: OperationDisplayProperties,
|
|
1653
|
-
ErrorResponse: ErrorResponse,
|
|
1654
|
-
ErrorDetails: ErrorDetails
|
|
1655
|
-
});
|
|
1656
|
-
|
|
1657
|
-
/*
|
|
1658
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1659
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1660
|
-
* license information.
|
|
1661
|
-
*
|
|
1662
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1663
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1664
|
-
* regenerated.
|
|
1665
|
-
*/
|
|
1666
|
-
/** Class representing a Operations. */
|
|
1667
|
-
var Operations = /** @class */ (function () {
|
|
1668
|
-
/**
|
|
1669
|
-
* Create a Operations.
|
|
1670
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
1671
|
-
*/
|
|
1672
|
-
function Operations(client) {
|
|
1673
|
-
this.client = client;
|
|
1674
|
-
}
|
|
1675
|
-
Operations.prototype.list = function (options, callback) {
|
|
1676
|
-
return this.client.sendOperationRequest({
|
|
1677
|
-
options: options
|
|
1678
|
-
}, listOperationSpec$1, callback);
|
|
1679
|
-
};
|
|
1680
|
-
Operations.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
1681
|
-
return this.client.sendOperationRequest({
|
|
1682
|
-
nextPageLink: nextPageLink$$1,
|
|
1683
|
-
options: options
|
|
1684
|
-
}, listNextOperationSpec$1, callback);
|
|
1685
|
-
};
|
|
1686
|
-
return Operations;
|
|
1687
|
-
}());
|
|
1688
|
-
// Operation Specifications
|
|
1689
|
-
var serializer$2 = new msRest.Serializer(Mappers$3);
|
|
1690
|
-
var listOperationSpec$1 = {
|
|
1691
|
-
httpMethod: "GET",
|
|
1692
|
-
path: "providers/Microsoft.Management/operations",
|
|
1693
|
-
queryParameters: [
|
|
1694
|
-
apiVersion
|
|
1695
|
-
],
|
|
1696
|
-
headerParameters: [
|
|
1697
|
-
acceptLanguage
|
|
1698
|
-
],
|
|
1699
|
-
responses: {
|
|
1700
|
-
200: {
|
|
1701
|
-
bodyMapper: OperationListResult
|
|
1702
|
-
},
|
|
1703
|
-
default: {
|
|
1704
|
-
bodyMapper: ErrorResponse
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
serializer: serializer$2
|
|
1708
|
-
};
|
|
1709
|
-
var listNextOperationSpec$1 = {
|
|
1710
|
-
httpMethod: "GET",
|
|
1711
|
-
baseUrl: "https://management.azure.com",
|
|
1712
|
-
path: "{nextLink}",
|
|
1713
|
-
urlParameters: [
|
|
1714
|
-
nextPageLink
|
|
1715
|
-
],
|
|
1716
|
-
headerParameters: [
|
|
1717
|
-
acceptLanguage
|
|
1718
|
-
],
|
|
1719
|
-
responses: {
|
|
1720
|
-
200: {
|
|
1721
|
-
bodyMapper: OperationListResult
|
|
1722
|
-
},
|
|
1723
|
-
default: {
|
|
1724
|
-
bodyMapper: ErrorResponse
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
serializer: serializer$2
|
|
1728
|
-
};
|
|
1729
|
-
|
|
1730
|
-
/*
|
|
1731
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1732
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1733
|
-
* license information.
|
|
1734
|
-
*
|
|
1735
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1736
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1737
|
-
* regenerated.
|
|
1738
|
-
*/
|
|
1739
|
-
|
|
1740
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
1741
|
-
EntityListResult: EntityListResult,
|
|
1742
|
-
EntityInfo: EntityInfo,
|
|
1743
|
-
EntityParentGroupInfo: EntityParentGroupInfo,
|
|
1744
|
-
ErrorResponse: ErrorResponse,
|
|
1745
|
-
ErrorDetails: ErrorDetails
|
|
1746
|
-
});
|
|
1747
|
-
|
|
1748
|
-
/*
|
|
1749
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1750
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1751
|
-
* license information.
|
|
1752
|
-
*
|
|
1753
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1754
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1755
|
-
* regenerated.
|
|
1756
|
-
*/
|
|
1757
|
-
/** Class representing a Entities. */
|
|
1758
|
-
var Entities = /** @class */ (function () {
|
|
1759
|
-
/**
|
|
1760
|
-
* Create a Entities.
|
|
1761
|
-
* @param {ManagementGroupsAPIContext} client Reference to the service client.
|
|
1762
|
-
*/
|
|
1763
|
-
function Entities(client) {
|
|
1764
|
-
this.client = client;
|
|
1765
|
-
}
|
|
1766
|
-
Entities.prototype.list = function (options, callback) {
|
|
1767
|
-
return this.client.sendOperationRequest({
|
|
1768
|
-
options: options
|
|
1769
|
-
}, listOperationSpec$2, callback);
|
|
1770
|
-
};
|
|
1771
|
-
Entities.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
1772
|
-
return this.client.sendOperationRequest({
|
|
1773
|
-
nextPageLink: nextPageLink$$1,
|
|
1774
|
-
options: options
|
|
1775
|
-
}, listNextOperationSpec$2, callback);
|
|
1776
|
-
};
|
|
1777
|
-
return Entities;
|
|
1778
|
-
}());
|
|
1779
|
-
// Operation Specifications
|
|
1780
|
-
var serializer$3 = new msRest.Serializer(Mappers$4);
|
|
1781
|
-
var listOperationSpec$2 = {
|
|
1782
|
-
httpMethod: "POST",
|
|
1783
|
-
path: "providers/Microsoft.Management/getEntities",
|
|
1784
|
-
queryParameters: [
|
|
1785
|
-
apiVersion,
|
|
1786
|
-
skiptoken,
|
|
1787
|
-
skip,
|
|
1788
|
-
top,
|
|
1789
|
-
select,
|
|
1790
|
-
search,
|
|
1791
|
-
filter,
|
|
1792
|
-
view,
|
|
1793
|
-
groupName
|
|
1794
|
-
],
|
|
1795
|
-
headerParameters: [
|
|
1796
|
-
cacheControl,
|
|
1797
|
-
acceptLanguage
|
|
1798
|
-
],
|
|
1799
|
-
responses: {
|
|
1800
|
-
200: {
|
|
1801
|
-
bodyMapper: EntityListResult
|
|
1802
|
-
},
|
|
1803
|
-
default: {
|
|
1804
|
-
bodyMapper: ErrorResponse
|
|
1805
|
-
}
|
|
1806
|
-
},
|
|
1807
|
-
serializer: serializer$3
|
|
1808
|
-
};
|
|
1809
|
-
var listNextOperationSpec$2 = {
|
|
1810
|
-
httpMethod: "POST",
|
|
1811
|
-
baseUrl: "https://management.azure.com",
|
|
1812
|
-
path: "{nextLink}",
|
|
1813
|
-
urlParameters: [
|
|
1814
|
-
nextPageLink
|
|
1815
|
-
],
|
|
1816
|
-
headerParameters: [
|
|
1817
|
-
cacheControl,
|
|
1818
|
-
acceptLanguage
|
|
1819
|
-
],
|
|
1820
|
-
responses: {
|
|
1821
|
-
200: {
|
|
1822
|
-
bodyMapper: EntityListResult
|
|
1823
|
-
},
|
|
1824
|
-
default: {
|
|
1825
|
-
bodyMapper: ErrorResponse
|
|
1826
|
-
}
|
|
1827
|
-
},
|
|
1828
|
-
serializer: serializer$3
|
|
1829
|
-
};
|
|
1830
|
-
|
|
1831
|
-
/*
|
|
1832
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1833
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1834
|
-
* license information.
|
|
1835
|
-
*
|
|
1836
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1837
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1838
|
-
* regenerated.
|
|
1839
|
-
*/
|
|
1840
|
-
|
|
1841
|
-
/*
|
|
1842
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1843
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1844
|
-
* license information.
|
|
1845
|
-
*
|
|
1846
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1847
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1848
|
-
* regenerated.
|
|
1849
|
-
*/
|
|
1850
|
-
var packageName = "@azure/arm-managementgroups";
|
|
1851
|
-
var packageVersion = "0.1.0";
|
|
1852
|
-
var ManagementGroupsAPIContext = /** @class */ (function (_super) {
|
|
1853
|
-
__extends(ManagementGroupsAPIContext, _super);
|
|
1854
|
-
/**
|
|
1855
|
-
* Initializes a new instance of the ManagementGroupsAPI class.
|
|
1856
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1857
|
-
* @param [options] The parameter options
|
|
1858
|
-
*/
|
|
1859
|
-
function ManagementGroupsAPIContext(credentials, options) {
|
|
1860
|
-
var _this = this;
|
|
1861
|
-
if (credentials == undefined) {
|
|
1862
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1863
|
-
}
|
|
1864
|
-
if (!options) {
|
|
1865
|
-
options = {};
|
|
1866
|
-
}
|
|
1867
|
-
if (!options.userAgent) {
|
|
1868
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1869
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1870
|
-
}
|
|
1871
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1872
|
-
_this.apiVersion = '2018-03-01-preview';
|
|
1873
|
-
_this.acceptLanguage = 'en-US';
|
|
1874
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1875
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1876
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1877
|
-
_this.credentials = credentials;
|
|
1878
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1879
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1880
|
-
}
|
|
1881
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1882
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1883
|
-
}
|
|
1884
|
-
return _this;
|
|
1885
|
-
}
|
|
1886
|
-
return ManagementGroupsAPIContext;
|
|
1887
|
-
}(msRestAzure.AzureServiceClient));
|
|
1888
|
-
|
|
1889
|
-
/*
|
|
1890
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1891
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1892
|
-
* license information.
|
|
1893
|
-
*
|
|
1894
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1895
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1896
|
-
* regenerated.
|
|
1897
|
-
*/
|
|
1898
|
-
var ManagementGroupsAPI = /** @class */ (function (_super) {
|
|
1899
|
-
__extends(ManagementGroupsAPI, _super);
|
|
1900
|
-
/**
|
|
1901
|
-
* Initializes a new instance of the ManagementGroupsAPI class.
|
|
1902
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
1903
|
-
* @param [options] The parameter options
|
|
1904
|
-
*/
|
|
1905
|
-
function ManagementGroupsAPI(credentials, options) {
|
|
1906
|
-
var _this = _super.call(this, credentials, options) || this;
|
|
1907
|
-
_this.managementGroups = new ManagementGroups(_this);
|
|
1908
|
-
_this.managementGroupSubscriptions = new ManagementGroupSubscriptions(_this);
|
|
1909
|
-
_this.operations = new Operations(_this);
|
|
1910
|
-
_this.entities = new Entities(_this);
|
|
1911
|
-
return _this;
|
|
1912
|
-
}
|
|
1913
|
-
ManagementGroupsAPI.prototype.checkNameAvailability = function (checkNameAvailabilityRequest, options, callback) {
|
|
1914
|
-
return this.sendOperationRequest({
|
|
1915
|
-
checkNameAvailabilityRequest: checkNameAvailabilityRequest,
|
|
1916
|
-
options: options
|
|
1917
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
1918
|
-
};
|
|
1919
|
-
ManagementGroupsAPI.prototype.startTenantBackfill = function (options, callback) {
|
|
1920
|
-
return this.sendOperationRequest({
|
|
1921
|
-
options: options
|
|
1922
|
-
}, startTenantBackfillOperationSpec, callback);
|
|
1923
|
-
};
|
|
1924
|
-
ManagementGroupsAPI.prototype.tenantBackfillStatus = function (options, callback) {
|
|
1925
|
-
return this.sendOperationRequest({
|
|
1926
|
-
options: options
|
|
1927
|
-
}, tenantBackfillStatusOperationSpec, callback);
|
|
1928
|
-
};
|
|
1929
|
-
return ManagementGroupsAPI;
|
|
1930
|
-
}(ManagementGroupsAPIContext));
|
|
1931
|
-
// Operation Specifications
|
|
1932
|
-
var serializer$4 = new msRest.Serializer(Mappers);
|
|
1933
|
-
var checkNameAvailabilityOperationSpec = {
|
|
1934
|
-
httpMethod: "POST",
|
|
1935
|
-
path: "providers/Microsoft.Management/checkNameAvailability",
|
|
1936
|
-
queryParameters: [
|
|
1937
|
-
apiVersion
|
|
1938
|
-
],
|
|
1939
|
-
headerParameters: [
|
|
1940
|
-
acceptLanguage
|
|
1941
|
-
],
|
|
1942
|
-
requestBody: {
|
|
1943
|
-
parameterPath: "checkNameAvailabilityRequest",
|
|
1944
|
-
mapper: __assign({}, CheckNameAvailabilityRequest, { required: true })
|
|
1945
|
-
},
|
|
1946
|
-
responses: {
|
|
1947
|
-
200: {
|
|
1948
|
-
bodyMapper: CheckNameAvailabilityResult
|
|
1949
|
-
},
|
|
1950
|
-
default: {
|
|
1951
|
-
bodyMapper: ErrorResponse
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
serializer: serializer$4
|
|
1955
|
-
};
|
|
1956
|
-
var startTenantBackfillOperationSpec = {
|
|
1957
|
-
httpMethod: "POST",
|
|
1958
|
-
path: "providers/Microsoft.Management/startTenantBackfill",
|
|
1959
|
-
queryParameters: [
|
|
1960
|
-
apiVersion
|
|
1961
|
-
],
|
|
1962
|
-
headerParameters: [
|
|
1963
|
-
acceptLanguage
|
|
1964
|
-
],
|
|
1965
|
-
responses: {
|
|
1966
|
-
200: {
|
|
1967
|
-
bodyMapper: TenantBackfillStatusResult
|
|
1968
|
-
},
|
|
1969
|
-
default: {
|
|
1970
|
-
bodyMapper: ErrorResponse
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
|
-
serializer: serializer$4
|
|
1974
|
-
};
|
|
1975
|
-
var tenantBackfillStatusOperationSpec = {
|
|
1976
|
-
httpMethod: "POST",
|
|
1977
|
-
path: "providers/Microsoft.Management/tenantBackfillStatus",
|
|
1978
|
-
queryParameters: [
|
|
1979
|
-
apiVersion
|
|
1980
|
-
],
|
|
1981
|
-
headerParameters: [
|
|
1982
|
-
acceptLanguage
|
|
1983
|
-
],
|
|
1984
|
-
responses: {
|
|
1985
|
-
200: {
|
|
1986
|
-
bodyMapper: TenantBackfillStatusResult
|
|
1987
|
-
},
|
|
1988
|
-
default: {
|
|
1989
|
-
bodyMapper: ErrorResponse
|
|
1990
|
-
}
|
|
1991
|
-
},
|
|
1992
|
-
serializer: serializer$4
|
|
1993
|
-
};
|
|
1994
|
-
|
|
1995
|
-
exports.ManagementGroupsAPI = ManagementGroupsAPI;
|
|
1996
|
-
exports.ManagementGroupsAPIContext = ManagementGroupsAPIContext;
|
|
1997
|
-
exports.ManagementGroupsAPIModels = index;
|
|
1998
|
-
exports.ManagementGroupsAPIMappers = Mappers;
|
|
1999
|
-
exports.ManagementGroups = ManagementGroups;
|
|
2000
|
-
exports.ManagementGroupSubscriptions = ManagementGroupSubscriptions;
|
|
2001
|
-
exports.Operations = Operations;
|
|
2002
|
-
exports.Entities = Entities;
|
|
2003
|
-
|
|
2004
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2005
|
-
|
|
2006
|
-
})));
|
|
2007
|
-
//# sourceMappingURL=arm-managementgroups.js.map
|