@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.
Files changed (181) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +78 -77
  4. package/dist/index.js +2881 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/managementGroupsAPI.d.ts +34 -0
  17. package/dist-esm/src/managementGroupsAPI.d.ts.map +1 -0
  18. package/dist-esm/src/managementGroupsAPI.js +102 -0
  19. package/dist-esm/src/managementGroupsAPI.js.map +1 -0
  20. package/dist-esm/src/managementGroupsAPIContext.d.ts +14 -0
  21. package/dist-esm/src/managementGroupsAPIContext.d.ts.map +1 -0
  22. package/dist-esm/src/managementGroupsAPIContext.js +43 -0
  23. package/dist-esm/src/managementGroupsAPIContext.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +956 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +46 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +39 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +776 -396
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +24 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +200 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/entities.d.ts +34 -0
  37. package/dist-esm/src/operations/entities.d.ts.map +1 -0
  38. package/dist-esm/src/operations/entities.js +142 -0
  39. package/dist-esm/src/operations/entities.js.map +1 -0
  40. package/dist-esm/src/operations/hierarchySettingsOperations.d.ts +52 -0
  41. package/dist-esm/src/operations/hierarchySettingsOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/hierarchySettingsOperations.js +154 -0
  43. package/dist-esm/src/operations/hierarchySettingsOperations.js.map +1 -0
  44. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  45. package/dist-esm/src/operations/index.d.ts.map +1 -0
  46. package/{esm → dist-esm/src}/operations/index.js +4 -5
  47. package/dist-esm/src/operations/index.js.map +1 -0
  48. package/dist-esm/src/operations/managementGroupSubscriptions.d.ts +62 -0
  49. package/dist-esm/src/operations/managementGroupSubscriptions.d.ts.map +1 -0
  50. package/dist-esm/src/operations/managementGroupSubscriptions.js +215 -0
  51. package/dist-esm/src/operations/managementGroupSubscriptions.js.map +1 -0
  52. package/dist-esm/src/operations/managementGroups.d.ts +109 -0
  53. package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
  54. package/dist-esm/src/operations/managementGroups.js +462 -0
  55. package/dist-esm/src/operations/managementGroups.js.map +1 -0
  56. package/dist-esm/src/operations/operations.d.ts +32 -0
  57. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operations/operations.js +120 -0
  59. package/dist-esm/src/operations/operations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/entities.d.ts +12 -0
  61. package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/entities.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts +44 -0
  65. package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  69. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  71. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts +37 -0
  73. package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +71 -0
  77. package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +2 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +40 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +71 -25
  89. package/review/arm-managementgroups.api.md +667 -0
  90. package/rollup.config.js +184 -27
  91. package/src/index.ts +13 -0
  92. package/src/lroImpl.ts +34 -0
  93. package/src/managementGroupsAPI.ts +160 -0
  94. package/src/managementGroupsAPIContext.ts +62 -0
  95. package/src/models/index.ts +1082 -0
  96. package/{lib → src}/models/mappers.ts +792 -400
  97. package/src/models/parameters.ts +232 -0
  98. package/src/operations/entities.ts +159 -0
  99. package/src/operations/hierarchySettingsOperations.ts +214 -0
  100. package/{lib → src}/operations/index.ts +4 -5
  101. package/src/operations/managementGroupSubscriptions.ts +294 -0
  102. package/src/operations/managementGroups.ts +592 -0
  103. package/src/operations/operations.ts +137 -0
  104. package/src/operationsInterfaces/entities.ts +23 -0
  105. package/src/operationsInterfaces/hierarchySettingsOperations.ts +80 -0
  106. package/src/operationsInterfaces/index.ts +13 -0
  107. package/src/operationsInterfaces/managementGroupSubscriptions.ts +69 -0
  108. package/src/operationsInterfaces/managementGroups.ts +131 -0
  109. package/src/operationsInterfaces/operations.ts +22 -0
  110. package/tsconfig.json +4 -4
  111. package/types/arm-managementgroups.d.ts +1266 -0
  112. package/types/tsdoc-metadata.json +11 -0
  113. package/dist/arm-managementgroups.js +0 -2007
  114. package/dist/arm-managementgroups.js.map +0 -1
  115. package/dist/arm-managementgroups.min.js +0 -1
  116. package/dist/arm-managementgroups.min.js.map +0 -1
  117. package/esm/managementGroupsAPI.d.ts +0 -68
  118. package/esm/managementGroupsAPI.d.ts.map +0 -1
  119. package/esm/managementGroupsAPI.js +0 -115
  120. package/esm/managementGroupsAPI.js.map +0 -1
  121. package/esm/managementGroupsAPIContext.d.ts +0 -14
  122. package/esm/managementGroupsAPIContext.d.ts.map +0 -1
  123. package/esm/managementGroupsAPIContext.js +0 -51
  124. package/esm/managementGroupsAPIContext.js.map +0 -1
  125. package/esm/models/entitiesMappers.d.ts +0 -2
  126. package/esm/models/entitiesMappers.d.ts.map +0 -1
  127. package/esm/models/entitiesMappers.js +0 -11
  128. package/esm/models/entitiesMappers.js.map +0 -1
  129. package/esm/models/index.d.ts +0 -1390
  130. package/esm/models/index.d.ts.map +0 -1
  131. package/esm/models/index.js +0 -10
  132. package/esm/models/index.js.map +0 -1
  133. package/esm/models/managementGroupSubscriptionsMappers.d.ts +0 -2
  134. package/esm/models/managementGroupSubscriptionsMappers.d.ts.map +0 -1
  135. package/esm/models/managementGroupSubscriptionsMappers.js +0 -11
  136. package/esm/models/managementGroupSubscriptionsMappers.js.map +0 -1
  137. package/esm/models/managementGroupsMappers.d.ts +0 -2
  138. package/esm/models/managementGroupsMappers.d.ts.map +0 -1
  139. package/esm/models/managementGroupsMappers.js +0 -11
  140. package/esm/models/managementGroupsMappers.js.map +0 -1
  141. package/esm/models/mappers.d.ts +0 -28
  142. package/esm/models/mappers.d.ts.map +0 -1
  143. package/esm/models/mappers.js.map +0 -1
  144. package/esm/models/operationsMappers.d.ts +0 -2
  145. package/esm/models/operationsMappers.d.ts.map +0 -1
  146. package/esm/models/operationsMappers.js +0 -11
  147. package/esm/models/operationsMappers.js.map +0 -1
  148. package/esm/models/parameters.d.ts +0 -18
  149. package/esm/models/parameters.d.ts.map +0 -1
  150. package/esm/models/parameters.js +0 -194
  151. package/esm/models/parameters.js.map +0 -1
  152. package/esm/operations/entities.d.ts +0 -46
  153. package/esm/operations/entities.d.ts.map +0 -1
  154. package/esm/operations/entities.js +0 -87
  155. package/esm/operations/entities.js.map +0 -1
  156. package/esm/operations/index.d.ts.map +0 -1
  157. package/esm/operations/index.js.map +0 -1
  158. package/esm/operations/managementGroupSubscriptions.d.ts +0 -55
  159. package/esm/operations/managementGroupSubscriptions.d.ts.map +0 -1
  160. package/esm/operations/managementGroupSubscriptions.js +0 -85
  161. package/esm/operations/managementGroupSubscriptions.js.map +0 -1
  162. package/esm/operations/managementGroups.d.ts +0 -120
  163. package/esm/operations/managementGroups.d.ts.map +0 -1
  164. package/esm/operations/managementGroups.js +0 -252
  165. package/esm/operations/managementGroups.js.map +0 -1
  166. package/esm/operations/operations.d.ts +0 -46
  167. package/esm/operations/operations.d.ts.map +0 -1
  168. package/esm/operations/operations.js +0 -77
  169. package/esm/operations/operations.js.map +0 -1
  170. package/lib/managementGroupsAPI.ts +0 -191
  171. package/lib/managementGroupsAPIContext.ts +0 -56
  172. package/lib/models/entitiesMappers.ts +0 -18
  173. package/lib/models/index.ts +0 -1466
  174. package/lib/models/managementGroupSubscriptionsMappers.ts +0 -15
  175. package/lib/models/managementGroupsMappers.ts +0 -29
  176. package/lib/models/operationsMappers.ts +0 -18
  177. package/lib/models/parameters.ts +0 -196
  178. package/lib/operations/entities.ts +0 -133
  179. package/lib/operations/managementGroupSubscriptions.ts +0 -140
  180. package/lib/operations/managementGroups.ts +0 -365
  181. package/lib/operations/operations.ts +0 -123
@@ -1,1390 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing ErrorDetails.
7
- * The details of the error.
8
- *
9
- */
10
- export interface ErrorDetails {
11
- /**
12
- * @member {string} [code] One of a server-defined set of error codes.
13
- */
14
- code?: string;
15
- /**
16
- * @member {string} [message] A human-readable representation of the error.
17
- */
18
- message?: string;
19
- /**
20
- * @member {string} [details] A human-readable representation of the error's
21
- * details.
22
- */
23
- details?: string;
24
- }
25
- /**
26
- * @interface
27
- * An interface representing ErrorResponse.
28
- * The error object.
29
- *
30
- */
31
- export interface ErrorResponse {
32
- /**
33
- * @member {ErrorDetails} [error] Error.
34
- */
35
- error?: ErrorDetails;
36
- }
37
- /**
38
- * @interface
39
- * An interface representing OperationDisplayProperties.
40
- * The object that represents the operation.
41
- *
42
- */
43
- export interface OperationDisplayProperties {
44
- /**
45
- * @member {string} [provider] The name of the provider.
46
- * **NOTE: This property will not be serialized. It can only be populated by
47
- * the server.**
48
- */
49
- readonly provider?: string;
50
- /**
51
- * @member {string} [resource] The resource on which the operation is
52
- * performed.
53
- * **NOTE: This property will not be serialized. It can only be populated by
54
- * the server.**
55
- */
56
- readonly resource?: string;
57
- /**
58
- * @member {string} [operation] The operation that can be performed.
59
- * **NOTE: This property will not be serialized. It can only be populated by
60
- * the server.**
61
- */
62
- readonly operation?: string;
63
- /**
64
- * @member {string} [description] Operation description.
65
- * **NOTE: This property will not be serialized. It can only be populated by
66
- * the server.**
67
- */
68
- readonly description?: string;
69
- }
70
- /**
71
- * @interface
72
- * An interface representing Operation.
73
- * Operation supported by the Microsoft.Management resource provider.
74
- *
75
- */
76
- export interface Operation {
77
- /**
78
- * @member {string} [name] Operation name: {provider}/{resource}/{operation}.
79
- * **NOTE: This property will not be serialized. It can only be populated by
80
- * the server.**
81
- */
82
- readonly name?: string;
83
- /**
84
- * @member {OperationDisplayProperties} [display] Display.
85
- */
86
- display?: OperationDisplayProperties;
87
- }
88
- /**
89
- * @interface
90
- * An interface representing CheckNameAvailabilityResult.
91
- * Describes the result of the request to check management group name
92
- * availability.
93
- *
94
- */
95
- export interface CheckNameAvailabilityResult {
96
- /**
97
- * @member {boolean} [nameAvailable] Required. True indicates name is valid
98
- * and available. False indicates the name is invalid, unavailable, or both.
99
- * **NOTE: This property will not be serialized. It can only be populated by
100
- * the server.**
101
- */
102
- readonly nameAvailable?: boolean;
103
- /**
104
- * @member {Reason} [reason] Required if nameAvailable == false. Invalid
105
- * indicates the name provided does not match the resource provider's naming
106
- * requirements (incorrect length, unsupported characters, etc.)
107
- * AlreadyExists indicates that the name is already in use and is therefore
108
- * unavailable. Possible values include: 'Invalid', 'AlreadyExists'
109
- * **NOTE: This property will not be serialized. It can only be populated by
110
- * the server.**
111
- */
112
- readonly reason?: Reason;
113
- /**
114
- * @member {string} [message] Required if nameAvailable == false. Localized.
115
- * If reason == invalid, provide the user with the reason why the given name
116
- * is invalid, and provide the resource naming requirements so that the user
117
- * can select a valid name. If reason == AlreadyExists, explain that is
118
- * already in use, and direct them to select a different name.
119
- * **NOTE: This property will not be serialized. It can only be populated by
120
- * the server.**
121
- */
122
- readonly message?: string;
123
- }
124
- /**
125
- * @interface
126
- * An interface representing TenantBackfillStatusResult.
127
- * The tenant backfill status
128
- *
129
- */
130
- export interface TenantBackfillStatusResult {
131
- /**
132
- * @member {string} [tenantId] The AAD Tenant ID associated with the
133
- * management group. For example, 00000000-0000-0000-0000-000000000000
134
- * **NOTE: This property will not be serialized. It can only be populated by
135
- * the server.**
136
- */
137
- readonly tenantId?: string;
138
- /**
139
- * @member {Status} [status] The status of the Tenant Backfill. Possible
140
- * values include: 'NotStarted', 'NotStartedButGroupsExist', 'Started',
141
- * 'Failed', 'Cancelled', 'Completed'
142
- * **NOTE: This property will not be serialized. It can only be populated by
143
- * the server.**
144
- */
145
- readonly status?: Status;
146
- }
147
- /**
148
- * @interface
149
- * An interface representing ManagementGroupInfo.
150
- * The management group resource.
151
- *
152
- */
153
- export interface ManagementGroupInfo {
154
- /**
155
- * @member {string} [id] The fully qualified ID for the management group.
156
- * For example,
157
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
158
- * **NOTE: This property will not be serialized. It can only be populated by
159
- * the server.**
160
- */
161
- readonly id?: string;
162
- /**
163
- * @member {string} [type] The type of the resource. For example,
164
- * /providers/Microsoft.Management/managementGroups
165
- * **NOTE: This property will not be serialized. It can only be populated by
166
- * the server.**
167
- */
168
- readonly type?: string;
169
- /**
170
- * @member {string} [name] The name of the management group. For example,
171
- * 00000000-0000-0000-0000-000000000000
172
- * **NOTE: This property will not be serialized. It can only be populated by
173
- * the server.**
174
- */
175
- readonly name?: string;
176
- /**
177
- * @member {string} [tenantId] The AAD Tenant ID associated with the
178
- * management group. For example, 00000000-0000-0000-0000-000000000000
179
- */
180
- tenantId?: string;
181
- /**
182
- * @member {string} [displayName] The friendly name of the management group.
183
- */
184
- displayName?: string;
185
- }
186
- /**
187
- * @interface
188
- * An interface representing ParentGroupInfo.
189
- * (Optional) The ID of the parent management group.
190
- *
191
- */
192
- export interface ParentGroupInfo {
193
- /**
194
- * @member {string} [id] The fully qualified ID for the parent management
195
- * group. For example,
196
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
197
- */
198
- id?: string;
199
- /**
200
- * @member {string} [name] The name of the parent management group
201
- */
202
- name?: string;
203
- /**
204
- * @member {string} [displayName] The friendly name of the parent management
205
- * group.
206
- */
207
- displayName?: string;
208
- }
209
- /**
210
- * @interface
211
- * An interface representing ManagementGroupDetails.
212
- * The details of a management group.
213
- *
214
- */
215
- export interface ManagementGroupDetails {
216
- /**
217
- * @member {number} [version] The version number of the object.
218
- */
219
- version?: number;
220
- /**
221
- * @member {Date} [updatedTime] The date and time when this object was last
222
- * updated.
223
- */
224
- updatedTime?: Date;
225
- /**
226
- * @member {string} [updatedBy] The identity of the principal or process that
227
- * updated the object.
228
- */
229
- updatedBy?: string;
230
- /**
231
- * @member {ParentGroupInfo} [parent] Parent.
232
- */
233
- parent?: ParentGroupInfo;
234
- }
235
- /**
236
- * @interface
237
- * An interface representing ManagementGroupChildInfo.
238
- * The child information of a management group.
239
- *
240
- */
241
- export interface ManagementGroupChildInfo {
242
- /**
243
- * @member {Type1} [type] The type of child resource. The fully qualified
244
- * resource type which includes provider namespace (e.g.
245
- * /providers/Microsoft.Management/managementGroups). Possible values
246
- * include: '/providers/Microsoft.Management/managementGroups',
247
- * '/subscriptions'
248
- */
249
- type?: Type1;
250
- /**
251
- * @member {string} [id] The fully qualified ID for the child resource
252
- * (management group or subscription). For example,
253
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
254
- */
255
- id?: string;
256
- /**
257
- * @member {string} [name] The name of the child entity.
258
- */
259
- name?: string;
260
- /**
261
- * @member {string} [displayName] The friendly name of the child resource.
262
- */
263
- displayName?: string;
264
- /**
265
- * @member {string[]} [roles] The roles definitions associated with the
266
- * management group.
267
- */
268
- roles?: string[];
269
- /**
270
- * @member {ManagementGroupChildInfo[]} [children] The list of children.
271
- */
272
- children?: ManagementGroupChildInfo[];
273
- }
274
- /**
275
- * @interface
276
- * An interface representing ManagementGroup.
277
- * The management group details.
278
- *
279
- * @extends BaseResource
280
- */
281
- export interface ManagementGroup extends BaseResource {
282
- /**
283
- * @member {string} [id] The fully qualified ID for the management group.
284
- * For example,
285
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
286
- * **NOTE: This property will not be serialized. It can only be populated by
287
- * the server.**
288
- */
289
- readonly id?: string;
290
- /**
291
- * @member {string} [type] The type of the resource. For example,
292
- * /providers/Microsoft.Management/managementGroups
293
- * **NOTE: This property will not be serialized. It can only be populated by
294
- * the server.**
295
- */
296
- readonly type?: string;
297
- /**
298
- * @member {string} [name] The name of the management group. For example,
299
- * 00000000-0000-0000-0000-000000000000
300
- * **NOTE: This property will not be serialized. It can only be populated by
301
- * the server.**
302
- */
303
- readonly name?: string;
304
- /**
305
- * @member {string} [tenantId] The AAD Tenant ID associated with the
306
- * management group. For example, 00000000-0000-0000-0000-000000000000
307
- */
308
- tenantId?: string;
309
- /**
310
- * @member {string} [displayName] The friendly name of the management group.
311
- */
312
- displayName?: string;
313
- /**
314
- * @member {string[]} [roles] The role definitions associated with the
315
- * management group.
316
- */
317
- roles?: string[];
318
- /**
319
- * @member {ManagementGroupDetails} [details] Details.
320
- */
321
- details?: ManagementGroupDetails;
322
- /**
323
- * @member {ManagementGroupChildInfo[]} [children] The list of children.
324
- */
325
- children?: ManagementGroupChildInfo[];
326
- }
327
- /**
328
- * @interface
329
- * An interface representing OperationResults.
330
- * The results of an asynchronous operation.
331
- *
332
- */
333
- export interface OperationResults {
334
- /**
335
- * @member {string} [id] The fully qualified ID for the management group.
336
- * For example,
337
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
338
- * **NOTE: This property will not be serialized. It can only be populated by
339
- * the server.**
340
- */
341
- readonly id?: string;
342
- /**
343
- * @member {string} [type] The type of the resource. For example,
344
- * /providers/Microsoft.Management/managementGroups
345
- * **NOTE: This property will not be serialized. It can only be populated by
346
- * the server.**
347
- */
348
- readonly type?: string;
349
- /**
350
- * @member {string} [name] The name of the management group. For example,
351
- * 00000000-0000-0000-0000-000000000000
352
- * **NOTE: This property will not be serialized. It can only be populated by
353
- * the server.**
354
- */
355
- readonly name?: string;
356
- /**
357
- * @member {ProvisioningState} [provisioningState] Provisioning State.
358
- * Possible values include: 'Updating'
359
- */
360
- provisioningState?: ProvisioningState;
361
- }
362
- /**
363
- * @interface
364
- * An interface representing EntityParentGroupInfo.
365
- * (Optional) The ID of the parent management group.
366
- *
367
- */
368
- export interface EntityParentGroupInfo {
369
- /**
370
- * @member {string} [id] The fully qualified ID for the parent management
371
- * group. For example,
372
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
373
- */
374
- id?: string;
375
- }
376
- /**
377
- * @interface
378
- * An interface representing EntityInfo.
379
- * The entity.
380
- *
381
- */
382
- export interface EntityInfo {
383
- /**
384
- * @member {string} [id] The fully qualified ID for the entity. For example,
385
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
386
- * **NOTE: This property will not be serialized. It can only be populated by
387
- * the server.**
388
- */
389
- readonly id?: string;
390
- /**
391
- * @member {string} [type] The type of the resource. For example,
392
- * /providers/Microsoft.Management/managementGroups
393
- * **NOTE: This property will not be serialized. It can only be populated by
394
- * the server.**
395
- */
396
- readonly type?: string;
397
- /**
398
- * @member {string} [name] The name of the entity. For example,
399
- * 00000000-0000-0000-0000-000000000000
400
- * **NOTE: This property will not be serialized. It can only be populated by
401
- * the server.**
402
- */
403
- readonly name?: string;
404
- /**
405
- * @member {string} [tenantId] The AAD Tenant ID associated with the entity.
406
- * For example, 00000000-0000-0000-0000-000000000000
407
- */
408
- tenantId?: string;
409
- /**
410
- * @member {string} [displayName] The friendly name of the management group.
411
- */
412
- displayName?: string;
413
- /**
414
- * @member {EntityParentGroupInfo} [parent] Parent.
415
- */
416
- parent?: EntityParentGroupInfo;
417
- /**
418
- * @member {Permissions} [permissions] Permissions. Possible values include:
419
- * 'noaccess', 'view', 'edit', 'delete'
420
- */
421
- permissions?: Permissions;
422
- /**
423
- * @member {InheritedPermissions} [inheritedPermissions] Inherited
424
- * Permissions. Possible values include: 'noaccess', 'view', 'edit', 'delete'
425
- */
426
- inheritedPermissions?: InheritedPermissions;
427
- /**
428
- * @member {number} [numberOfDescendants] Number of Descendants.
429
- */
430
- numberOfDescendants?: number;
431
- /**
432
- * @member {number} [numberOfChildren] Number of Children. Number of children
433
- * is the number of Groups and Subscriptions that are exactly one level
434
- * underneath the current Group.
435
- */
436
- numberOfChildren?: number;
437
- /**
438
- * @member {number} [numberOfChildGroups] Number of Child Groups. Number of
439
- * child groups is the number of Groups that are exactly one level underneath
440
- * the current Group.
441
- */
442
- numberOfChildGroups?: number;
443
- /**
444
- * @member {string[]} [parentDisplayNameChain] The parent display name chain
445
- * from the root group to the immediate parent
446
- */
447
- parentDisplayNameChain?: string[];
448
- /**
449
- * @member {string[]} [parentNameChain] The parent name chain from the root
450
- * group to the immediate parent
451
- */
452
- parentNameChain?: string[];
453
- }
454
- /**
455
- * @interface
456
- * An interface representing EntityHierarchyItem.
457
- * The management group details for the hierarchy view.
458
- *
459
- * @extends BaseResource
460
- */
461
- export interface EntityHierarchyItem extends BaseResource {
462
- /**
463
- * @member {string} [id] The fully qualified ID for the management group.
464
- * For example,
465
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
466
- * **NOTE: This property will not be serialized. It can only be populated by
467
- * the server.**
468
- */
469
- readonly id?: string;
470
- /**
471
- * @member {string} [type] The type of the resource. For example,
472
- * /providers/Microsoft.Management/managementGroups
473
- * **NOTE: This property will not be serialized. It can only be populated by
474
- * the server.**
475
- */
476
- readonly type?: string;
477
- /**
478
- * @member {string} [name] The name of the management group. For example,
479
- * 00000000-0000-0000-0000-000000000000
480
- * **NOTE: This property will not be serialized. It can only be populated by
481
- * the server.**
482
- */
483
- readonly name?: string;
484
- /**
485
- * @member {string} [displayName] The friendly name of the management group.
486
- */
487
- displayName?: string;
488
- /**
489
- * @member {Permissions1} [permissions] Permissions. Possible values include:
490
- * 'noaccess', 'view', 'edit', 'delete'
491
- */
492
- permissions?: Permissions1;
493
- /**
494
- * @member {EntityHierarchyItem[]} [children] The list of children.
495
- */
496
- children?: EntityHierarchyItem[];
497
- }
498
- /**
499
- * @interface
500
- * An interface representing PatchManagementGroupRequest.
501
- * Management group patch parameters.
502
- *
503
- */
504
- export interface PatchManagementGroupRequest {
505
- /**
506
- * @member {string} [displayName] The friendly name of the management group.
507
- */
508
- displayName?: string;
509
- /**
510
- * @member {string} [parentId] (Optional) The fully qualified ID for the
511
- * parent management group. For example,
512
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
513
- */
514
- parentId?: string;
515
- }
516
- /**
517
- * @interface
518
- * An interface representing CreateParentGroupInfo.
519
- * (Optional) The ID of the parent management group used during creation.
520
- *
521
- */
522
- export interface CreateParentGroupInfo {
523
- /**
524
- * @member {string} [id] The fully qualified ID for the parent management
525
- * group. For example,
526
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
527
- */
528
- id?: string;
529
- /**
530
- * @member {string} [name] The name of the parent management group
531
- * **NOTE: This property will not be serialized. It can only be populated by
532
- * the server.**
533
- */
534
- readonly name?: string;
535
- /**
536
- * @member {string} [displayName] The friendly name of the parent management
537
- * group.
538
- * **NOTE: This property will not be serialized. It can only be populated by
539
- * the server.**
540
- */
541
- readonly displayName?: string;
542
- }
543
- /**
544
- * @interface
545
- * An interface representing CreateManagementGroupDetails.
546
- * The details of a management group used during creation.
547
- *
548
- */
549
- export interface CreateManagementGroupDetails {
550
- /**
551
- * @member {number} [version] The version number of the object.
552
- * **NOTE: This property will not be serialized. It can only be populated by
553
- * the server.**
554
- */
555
- readonly version?: number;
556
- /**
557
- * @member {Date} [updatedTime] The date and time when this object was last
558
- * updated.
559
- * **NOTE: This property will not be serialized. It can only be populated by
560
- * the server.**
561
- */
562
- readonly updatedTime?: Date;
563
- /**
564
- * @member {string} [updatedBy] The identity of the principal or process that
565
- * updated the object.
566
- * **NOTE: This property will not be serialized. It can only be populated by
567
- * the server.**
568
- */
569
- readonly updatedBy?: string;
570
- /**
571
- * @member {CreateParentGroupInfo} [parent] Parent.
572
- */
573
- parent?: CreateParentGroupInfo;
574
- }
575
- /**
576
- * @interface
577
- * An interface representing CreateManagementGroupChildInfo.
578
- * The child information of a management group used during creation.
579
- *
580
- */
581
- export interface CreateManagementGroupChildInfo {
582
- /**
583
- * @member {Type2} [type] The type of child resource. The fully qualified
584
- * resource type which includes provider namespace (e.g.
585
- * /providers/Microsoft.Management/managementGroups). Possible values
586
- * include: '/providers/Microsoft.Management/managementGroups',
587
- * '/subscriptions'
588
- * **NOTE: This property will not be serialized. It can only be populated by
589
- * the server.**
590
- */
591
- readonly type?: Type2;
592
- /**
593
- * @member {string} [id] The fully qualified ID for the child resource
594
- * (management group or subscription). For example,
595
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
596
- * **NOTE: This property will not be serialized. It can only be populated by
597
- * the server.**
598
- */
599
- readonly id?: string;
600
- /**
601
- * @member {string} [name] The name of the child entity.
602
- * **NOTE: This property will not be serialized. It can only be populated by
603
- * the server.**
604
- */
605
- readonly name?: string;
606
- /**
607
- * @member {string} [displayName] The friendly name of the child resource.
608
- * **NOTE: This property will not be serialized. It can only be populated by
609
- * the server.**
610
- */
611
- readonly displayName?: string;
612
- /**
613
- * @member {string[]} [roles] The roles definitions associated with the
614
- * management group.
615
- * **NOTE: This property will not be serialized. It can only be populated by
616
- * the server.**
617
- */
618
- readonly roles?: string[];
619
- /**
620
- * @member {CreateManagementGroupChildInfo[]} [children] The list of
621
- * children.
622
- * **NOTE: This property will not be serialized. It can only be populated by
623
- * the server.**
624
- */
625
- readonly children?: CreateManagementGroupChildInfo[];
626
- }
627
- /**
628
- * @interface
629
- * An interface representing CreateManagementGroupRequest.
630
- * Management group creation parameters.
631
- *
632
- * @extends BaseResource
633
- */
634
- export interface CreateManagementGroupRequest extends BaseResource {
635
- /**
636
- * @member {string} [id] The fully qualified ID for the management group.
637
- * For example,
638
- * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
639
- * **NOTE: This property will not be serialized. It can only be populated by
640
- * the server.**
641
- */
642
- readonly id?: string;
643
- /**
644
- * @member {string} [type] The type of the resource. For example,
645
- * /providers/Microsoft.Management/managementGroups
646
- * **NOTE: This property will not be serialized. It can only be populated by
647
- * the server.**
648
- */
649
- readonly type?: string;
650
- /**
651
- * @member {string} [name] The name of the management group. For example,
652
- * 00000000-0000-0000-0000-000000000000
653
- */
654
- name?: string;
655
- /**
656
- * @member {string} [tenantId] The AAD Tenant ID associated with the
657
- * management group. For example, 00000000-0000-0000-0000-000000000000
658
- * **NOTE: This property will not be serialized. It can only be populated by
659
- * the server.**
660
- */
661
- readonly tenantId?: string;
662
- /**
663
- * @member {string} [displayName] The friendly name of the management group.
664
- * If no value is passed then this field will be set to the groupId.
665
- */
666
- displayName?: string;
667
- /**
668
- * @member {string[]} [roles] The roles definitions associated with the
669
- * management group.
670
- * **NOTE: This property will not be serialized. It can only be populated by
671
- * the server.**
672
- */
673
- readonly roles?: string[];
674
- /**
675
- * @member {CreateManagementGroupDetails} [details] Details.
676
- */
677
- details?: CreateManagementGroupDetails;
678
- /**
679
- * @member {CreateManagementGroupChildInfo[]} [children] The list of
680
- * children.
681
- * **NOTE: This property will not be serialized. It can only be populated by
682
- * the server.**
683
- */
684
- readonly children?: CreateManagementGroupChildInfo[];
685
- }
686
- /**
687
- * @interface
688
- * An interface representing CheckNameAvailabilityRequest.
689
- * Management group name availability check parameters.
690
- *
691
- */
692
- export interface CheckNameAvailabilityRequest {
693
- /**
694
- * @member {string} [name] the name to check for availability
695
- */
696
- name?: string;
697
- /**
698
- * @member {Type} [type] fully qualified resource type which includes
699
- * provider namespace. Possible values include:
700
- * '/providers/Microsoft.Management/managementGroups'
701
- */
702
- type?: Type;
703
- }
704
- /**
705
- * @interface
706
- * An interface representing ManagementGroupsListOptionalParams.
707
- * Optional Parameters.
708
- *
709
- * @extends RequestOptionsBase
710
- */
711
- export interface ManagementGroupsListOptionalParams extends msRest.RequestOptionsBase {
712
- /**
713
- * @member {string} [cacheControl] Indicates that the request shouldn't
714
- * utilize any caches. Default value: 'no-cache' .
715
- */
716
- cacheControl?: string;
717
- /**
718
- * @member {string} [skiptoken] Page continuation token is only used if a
719
- * previous operation returned a partial result. If a previous response
720
- * contains a nextLink element, the value of the nextLink element will
721
- * include a token parameter that specifies a starting point to use for
722
- * subsequent calls.
723
- */
724
- skiptoken?: string;
725
- }
726
- /**
727
- * @interface
728
- * An interface representing ManagementGroupsGetOptionalParams.
729
- * Optional Parameters.
730
- *
731
- * @extends RequestOptionsBase
732
- */
733
- export interface ManagementGroupsGetOptionalParams extends msRest.RequestOptionsBase {
734
- /**
735
- * @member {Expand} [expand] The $expand=children query string parameter
736
- * allows clients to request inclusion of children in the response payload.
737
- * Possible values include: 'children'
738
- */
739
- expand?: Expand;
740
- /**
741
- * @member {boolean} [recurse] The $recurse=true query string parameter
742
- * allows clients to request inclusion of entire hierarchy in the response
743
- * payload. Note that $expand=children must be passed up if $recurse is set
744
- * to true.
745
- */
746
- recurse?: boolean;
747
- /**
748
- * @member {string} [filter] A filter which allows the exclusion of
749
- * subscriptions from results (i.e. '$filter=children.childType ne
750
- * Subscription')
751
- */
752
- filter?: string;
753
- /**
754
- * @member {string} [cacheControl] Indicates that the request shouldn't
755
- * utilize any caches. Default value: 'no-cache' .
756
- */
757
- cacheControl?: string;
758
- }
759
- /**
760
- * @interface
761
- * An interface representing ManagementGroupsCreateOrUpdateOptionalParams.
762
- * Optional Parameters.
763
- *
764
- * @extends RequestOptionsBase
765
- */
766
- export interface ManagementGroupsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
767
- /**
768
- * @member {string} [cacheControl] Indicates that the request shouldn't
769
- * utilize any caches. Default value: 'no-cache' .
770
- */
771
- cacheControl?: string;
772
- }
773
- /**
774
- * @interface
775
- * An interface representing ManagementGroupsUpdateOptionalParams.
776
- * Optional Parameters.
777
- *
778
- * @extends RequestOptionsBase
779
- */
780
- export interface ManagementGroupsUpdateOptionalParams extends msRest.RequestOptionsBase {
781
- /**
782
- * @member {string} [cacheControl] Indicates that the request shouldn't
783
- * utilize any caches. Default value: 'no-cache' .
784
- */
785
- cacheControl?: string;
786
- }
787
- /**
788
- * @interface
789
- * An interface representing ManagementGroupsDeleteMethodOptionalParams.
790
- * Optional Parameters.
791
- *
792
- * @extends RequestOptionsBase
793
- */
794
- export interface ManagementGroupsDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
795
- /**
796
- * @member {string} [cacheControl] Indicates that the request shouldn't
797
- * utilize any caches. Default value: 'no-cache' .
798
- */
799
- cacheControl?: string;
800
- }
801
- /**
802
- * @interface
803
- * An interface representing ManagementGroupsBeginCreateOrUpdateOptionalParams.
804
- * Optional Parameters.
805
- *
806
- * @extends RequestOptionsBase
807
- */
808
- export interface ManagementGroupsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
809
- /**
810
- * @member {string} [cacheControl] Indicates that the request shouldn't
811
- * utilize any caches. Default value: 'no-cache' .
812
- */
813
- cacheControl?: string;
814
- }
815
- /**
816
- * @interface
817
- * An interface representing ManagementGroupsBeginDeleteMethodOptionalParams.
818
- * Optional Parameters.
819
- *
820
- * @extends RequestOptionsBase
821
- */
822
- export interface ManagementGroupsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
823
- /**
824
- * @member {string} [cacheControl] Indicates that the request shouldn't
825
- * utilize any caches. Default value: 'no-cache' .
826
- */
827
- cacheControl?: string;
828
- }
829
- /**
830
- * @interface
831
- * An interface representing ManagementGroupsListNextOptionalParams.
832
- * Optional Parameters.
833
- *
834
- * @extends RequestOptionsBase
835
- */
836
- export interface ManagementGroupsListNextOptionalParams extends msRest.RequestOptionsBase {
837
- /**
838
- * @member {string} [cacheControl] Indicates that the request shouldn't
839
- * utilize any caches. Default value: 'no-cache' .
840
- */
841
- cacheControl?: string;
842
- }
843
- /**
844
- * @interface
845
- * An interface representing ManagementGroupSubscriptionsCreateOptionalParams.
846
- * Optional Parameters.
847
- *
848
- * @extends RequestOptionsBase
849
- */
850
- export interface ManagementGroupSubscriptionsCreateOptionalParams extends msRest.RequestOptionsBase {
851
- /**
852
- * @member {string} [cacheControl] Indicates that the request shouldn't
853
- * utilize any caches. Default value: 'no-cache' .
854
- */
855
- cacheControl?: string;
856
- }
857
- /**
858
- * @interface
859
- * An interface representing ManagementGroupSubscriptionsDeleteMethodOptionalParams.
860
- * Optional Parameters.
861
- *
862
- * @extends RequestOptionsBase
863
- */
864
- export interface ManagementGroupSubscriptionsDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
865
- /**
866
- * @member {string} [cacheControl] Indicates that the request shouldn't
867
- * utilize any caches. Default value: 'no-cache' .
868
- */
869
- cacheControl?: string;
870
- }
871
- /**
872
- * @interface
873
- * An interface representing EntitiesListOptionalParams.
874
- * Optional Parameters.
875
- *
876
- * @extends RequestOptionsBase
877
- */
878
- export interface EntitiesListOptionalParams extends msRest.RequestOptionsBase {
879
- /**
880
- * @member {string} [skiptoken] Page continuation token is only used if a
881
- * previous operation returned a partial result. If a previous response
882
- * contains a nextLink element, the value of the nextLink element will
883
- * include a token parameter that specifies a starting point to use for
884
- * subsequent calls.
885
- */
886
- skiptoken?: string;
887
- /**
888
- * @member {number} [skip] Number of entities to skip over when retrieving
889
- * results. Passing this in will override $skipToken.
890
- */
891
- skip?: number;
892
- /**
893
- * @member {number} [top] Number of elements to return when retrieving
894
- * results. Passing this in will override $skipToken.
895
- */
896
- top?: number;
897
- /**
898
- * @member {string} [select] This parameter specifies the fields to include
899
- * in the response. Can include any combination of
900
- * Name,DisplayName,Type,ParentDisplayNameChain,ParentChain, e.g.
901
- * '$select=Name,DisplayName,Type,ParentDisplayNameChain,ParentNameChain'.
902
- * When specified the $select parameter can override select in $skipToken.
903
- */
904
- select?: string;
905
- /**
906
- * @member {Search} [search] The $search parameter is used in conjunction
907
- * with the $filter parameter to return three different outputs depending on
908
- * the parameter passed in. With $search=AllowedParents the API will return
909
- * the entity info of all groups that the requested entity will be able to
910
- * reparent to as determined by the user's permissions. With
911
- * $search=AllowedChildren the API will return the entity info of all
912
- * entities that can be added as children of the requested entity. With
913
- * $search=ParentAndFirstLevelChildren the API will return the parent and
914
- * first level of children that the user has either direct access to or
915
- * indirect access via one of their descendants. Possible values include:
916
- * 'AllowedParents', 'AllowedChildren', 'ParentAndFirstLevelChildren',
917
- * 'ParentOnly', 'ChildrenOnly'
918
- */
919
- search?: Search;
920
- /**
921
- * @member {string} [filter] The filter parameter allows you to filter on the
922
- * the name or display name fields. You can check for equality on the name
923
- * field (e.g. name eq '{entityName}') and you can check for substrings on
924
- * either the name or display name fields(e.g. contains(name,
925
- * '{substringToSearch}'), contains(displayName, '{substringToSearch')). Note
926
- * that the '{entityName}' and '{substringToSearch}' fields are checked case
927
- * insensitively.
928
- */
929
- filter?: string;
930
- /**
931
- * @member {View} [view] The view parameter allows clients to filter the type
932
- * of data that is returned by the getEntities call. Possible values include:
933
- * 'FullHierarchy', 'GroupsOnly', 'SubscriptionsOnly', 'Audit'
934
- */
935
- view?: View;
936
- /**
937
- * @member {string} [groupName] A filter which allows the get entities call
938
- * to focus on a particular group (i.e. "$filter=name eq 'groupName'")
939
- */
940
- groupName?: string;
941
- /**
942
- * @member {string} [cacheControl] Indicates that the request shouldn't
943
- * utilize any caches. Default value: 'no-cache' .
944
- */
945
- cacheControl?: string;
946
- }
947
- /**
948
- * @interface
949
- * An interface representing EntitiesListNextOptionalParams.
950
- * Optional Parameters.
951
- *
952
- * @extends RequestOptionsBase
953
- */
954
- export interface EntitiesListNextOptionalParams extends msRest.RequestOptionsBase {
955
- /**
956
- * @member {string} [cacheControl] Indicates that the request shouldn't
957
- * utilize any caches. Default value: 'no-cache' .
958
- */
959
- cacheControl?: string;
960
- }
961
- /**
962
- * @interface
963
- * An interface representing ManagementGroupsAPIOptions.
964
- * @extends AzureServiceClientOptions
965
- */
966
- export interface ManagementGroupsAPIOptions extends AzureServiceClientOptions {
967
- /**
968
- * @member {string} [baseUri]
969
- */
970
- baseUri?: string;
971
- }
972
- /**
973
- * @interface
974
- * An interface representing the ManagementGroupListResult.
975
- * Describes the result of the request to list management groups.
976
- *
977
- * @extends Array<ManagementGroupInfo>
978
- */
979
- export interface ManagementGroupListResult extends Array<ManagementGroupInfo> {
980
- /**
981
- * @member {string} [nextLink] The URL to use for getting the next set of
982
- * results.
983
- * **NOTE: This property will not be serialized. It can only be populated by
984
- * the server.**
985
- */
986
- readonly nextLink?: string;
987
- }
988
- /**
989
- * @interface
990
- * An interface representing the OperationListResult.
991
- * Describes the result of the request to list Microsoft.Management operations.
992
- *
993
- * @extends Array<Operation>
994
- */
995
- export interface OperationListResult extends Array<Operation> {
996
- /**
997
- * @member {string} [nextLink] URL to get the next set of operation list
998
- * results if there are any.
999
- * **NOTE: This property will not be serialized. It can only be populated by
1000
- * the server.**
1001
- */
1002
- readonly nextLink?: string;
1003
- }
1004
- /**
1005
- * @interface
1006
- * An interface representing the EntityListResult.
1007
- * Describes the result of the request to view entities.
1008
- *
1009
- * @extends Array<EntityInfo>
1010
- */
1011
- export interface EntityListResult extends Array<EntityInfo> {
1012
- /**
1013
- * @member {number} [count] Total count of records that match the filter
1014
- * **NOTE: This property will not be serialized. It can only be populated by
1015
- * the server.**
1016
- */
1017
- readonly count?: number;
1018
- /**
1019
- * @member {string} [nextLink] The URL to use for getting the next set of
1020
- * results.
1021
- * **NOTE: This property will not be serialized. It can only be populated by
1022
- * the server.**
1023
- */
1024
- readonly nextLink?: string;
1025
- }
1026
- /**
1027
- * Defines values for Reason.
1028
- * Possible values include: 'Invalid', 'AlreadyExists'
1029
- * @readonly
1030
- * @enum {string}
1031
- */
1032
- export declare type Reason = 'Invalid' | 'AlreadyExists';
1033
- /**
1034
- * Defines values for Status.
1035
- * Possible values include: 'NotStarted', 'NotStartedButGroupsExist', 'Started', 'Failed',
1036
- * 'Cancelled', 'Completed'
1037
- * @readonly
1038
- * @enum {string}
1039
- */
1040
- export declare type Status = 'NotStarted' | 'NotStartedButGroupsExist' | 'Started' | 'Failed' | 'Cancelled' | 'Completed';
1041
- /**
1042
- * Defines values for Type.
1043
- * Possible values include: '/providers/Microsoft.Management/managementGroups'
1044
- * @readonly
1045
- * @enum {string}
1046
- */
1047
- export declare type Type = '/providers/Microsoft.Management/managementGroups';
1048
- /**
1049
- * Defines values for Type1.
1050
- * Possible values include: '/providers/Microsoft.Management/managementGroups', '/subscriptions'
1051
- * @readonly
1052
- * @enum {string}
1053
- */
1054
- export declare type Type1 = '/providers/Microsoft.Management/managementGroups' | '/subscriptions';
1055
- /**
1056
- * Defines values for ProvisioningState.
1057
- * Possible values include: 'Updating'
1058
- * @readonly
1059
- * @enum {string}
1060
- */
1061
- export declare type ProvisioningState = 'Updating';
1062
- /**
1063
- * Defines values for Permissions.
1064
- * Possible values include: 'noaccess', 'view', 'edit', 'delete'
1065
- * @readonly
1066
- * @enum {string}
1067
- */
1068
- export declare type Permissions = 'noaccess' | 'view' | 'edit' | 'delete';
1069
- /**
1070
- * Defines values for InheritedPermissions.
1071
- * Possible values include: 'noaccess', 'view', 'edit', 'delete'
1072
- * @readonly
1073
- * @enum {string}
1074
- */
1075
- export declare type InheritedPermissions = 'noaccess' | 'view' | 'edit' | 'delete';
1076
- /**
1077
- * Defines values for Permissions1.
1078
- * Possible values include: 'noaccess', 'view', 'edit', 'delete'
1079
- * @readonly
1080
- * @enum {string}
1081
- */
1082
- export declare type Permissions1 = 'noaccess' | 'view' | 'edit' | 'delete';
1083
- /**
1084
- * Defines values for Type2.
1085
- * Possible values include: '/providers/Microsoft.Management/managementGroups', '/subscriptions'
1086
- * @readonly
1087
- * @enum {string}
1088
- */
1089
- export declare type Type2 = '/providers/Microsoft.Management/managementGroups' | '/subscriptions';
1090
- /**
1091
- * Defines values for Expand.
1092
- * Possible values include: 'children'
1093
- * @readonly
1094
- * @enum {string}
1095
- */
1096
- export declare type Expand = 'children';
1097
- /**
1098
- * Defines values for Search.
1099
- * Possible values include: 'AllowedParents', 'AllowedChildren', 'ParentAndFirstLevelChildren',
1100
- * 'ParentOnly', 'ChildrenOnly'
1101
- * @readonly
1102
- * @enum {string}
1103
- */
1104
- export declare type Search = 'AllowedParents' | 'AllowedChildren' | 'ParentAndFirstLevelChildren' | 'ParentOnly' | 'ChildrenOnly';
1105
- /**
1106
- * Defines values for View.
1107
- * Possible values include: 'FullHierarchy', 'GroupsOnly', 'SubscriptionsOnly', 'Audit'
1108
- * @readonly
1109
- * @enum {string}
1110
- */
1111
- export declare type View = 'FullHierarchy' | 'GroupsOnly' | 'SubscriptionsOnly' | 'Audit';
1112
- /**
1113
- * Contains response data for the list operation.
1114
- */
1115
- export declare type ManagementGroupsListResponse = ManagementGroupListResult & {
1116
- /**
1117
- * The underlying HTTP response.
1118
- */
1119
- _response: msRest.HttpResponse & {
1120
- /**
1121
- * The response body as text (string format)
1122
- */
1123
- bodyAsText: string;
1124
- /**
1125
- * The response body as parsed JSON or XML
1126
- */
1127
- parsedBody: ManagementGroupListResult;
1128
- };
1129
- };
1130
- /**
1131
- * Contains response data for the get operation.
1132
- */
1133
- export declare type ManagementGroupsGetResponse = ManagementGroup & {
1134
- /**
1135
- * The underlying HTTP response.
1136
- */
1137
- _response: msRest.HttpResponse & {
1138
- /**
1139
- * The response body as text (string format)
1140
- */
1141
- bodyAsText: string;
1142
- /**
1143
- * The response body as parsed JSON or XML
1144
- */
1145
- parsedBody: ManagementGroup;
1146
- };
1147
- };
1148
- /**
1149
- * Contains response data for the createOrUpdate operation.
1150
- */
1151
- export declare type ManagementGroupsCreateOrUpdateResponse = {
1152
- /**
1153
- * The parsed response body.
1154
- */
1155
- body: any;
1156
- /**
1157
- * The underlying HTTP response.
1158
- */
1159
- _response: msRest.HttpResponse & {
1160
- /**
1161
- * The response body as text (string format)
1162
- */
1163
- bodyAsText: string;
1164
- /**
1165
- * The response body as parsed JSON or XML
1166
- */
1167
- parsedBody: any;
1168
- };
1169
- };
1170
- /**
1171
- * Contains response data for the update operation.
1172
- */
1173
- export declare type ManagementGroupsUpdateResponse = ManagementGroup & {
1174
- /**
1175
- * The underlying HTTP response.
1176
- */
1177
- _response: msRest.HttpResponse & {
1178
- /**
1179
- * The response body as text (string format)
1180
- */
1181
- bodyAsText: string;
1182
- /**
1183
- * The response body as parsed JSON or XML
1184
- */
1185
- parsedBody: ManagementGroup;
1186
- };
1187
- };
1188
- /**
1189
- * Contains response data for the deleteMethod operation.
1190
- */
1191
- export declare type ManagementGroupsDeleteMethodResponse = OperationResults & {
1192
- /**
1193
- * The underlying HTTP response.
1194
- */
1195
- _response: msRest.HttpResponse & {
1196
- /**
1197
- * The response body as text (string format)
1198
- */
1199
- bodyAsText: string;
1200
- /**
1201
- * The response body as parsed JSON or XML
1202
- */
1203
- parsedBody: OperationResults;
1204
- };
1205
- };
1206
- /**
1207
- * Contains response data for the beginCreateOrUpdate operation.
1208
- */
1209
- export declare type ManagementGroupsBeginCreateOrUpdateResponse = {
1210
- /**
1211
- * The parsed response body.
1212
- */
1213
- body: any;
1214
- /**
1215
- * The underlying HTTP response.
1216
- */
1217
- _response: msRest.HttpResponse & {
1218
- /**
1219
- * The response body as text (string format)
1220
- */
1221
- bodyAsText: string;
1222
- /**
1223
- * The response body as parsed JSON or XML
1224
- */
1225
- parsedBody: any;
1226
- };
1227
- };
1228
- /**
1229
- * Contains response data for the beginDeleteMethod operation.
1230
- */
1231
- export declare type ManagementGroupsBeginDeleteMethodResponse = OperationResults & {
1232
- /**
1233
- * The underlying HTTP response.
1234
- */
1235
- _response: msRest.HttpResponse & {
1236
- /**
1237
- * The response body as text (string format)
1238
- */
1239
- bodyAsText: string;
1240
- /**
1241
- * The response body as parsed JSON or XML
1242
- */
1243
- parsedBody: OperationResults;
1244
- };
1245
- };
1246
- /**
1247
- * Contains response data for the listNext operation.
1248
- */
1249
- export declare type ManagementGroupsListNextResponse = ManagementGroupListResult & {
1250
- /**
1251
- * The underlying HTTP response.
1252
- */
1253
- _response: msRest.HttpResponse & {
1254
- /**
1255
- * The response body as text (string format)
1256
- */
1257
- bodyAsText: string;
1258
- /**
1259
- * The response body as parsed JSON or XML
1260
- */
1261
- parsedBody: ManagementGroupListResult;
1262
- };
1263
- };
1264
- /**
1265
- * Contains response data for the list operation.
1266
- */
1267
- export declare type OperationsListResponse = OperationListResult & {
1268
- /**
1269
- * The underlying HTTP response.
1270
- */
1271
- _response: msRest.HttpResponse & {
1272
- /**
1273
- * The response body as text (string format)
1274
- */
1275
- bodyAsText: string;
1276
- /**
1277
- * The response body as parsed JSON or XML
1278
- */
1279
- parsedBody: OperationListResult;
1280
- };
1281
- };
1282
- /**
1283
- * Contains response data for the listNext operation.
1284
- */
1285
- export declare type OperationsListNextResponse = OperationListResult & {
1286
- /**
1287
- * The underlying HTTP response.
1288
- */
1289
- _response: msRest.HttpResponse & {
1290
- /**
1291
- * The response body as text (string format)
1292
- */
1293
- bodyAsText: string;
1294
- /**
1295
- * The response body as parsed JSON or XML
1296
- */
1297
- parsedBody: OperationListResult;
1298
- };
1299
- };
1300
- /**
1301
- * Contains response data for the checkNameAvailability operation.
1302
- */
1303
- export declare type CheckNameAvailabilityResponse = CheckNameAvailabilityResult & {
1304
- /**
1305
- * The underlying HTTP response.
1306
- */
1307
- _response: msRest.HttpResponse & {
1308
- /**
1309
- * The response body as text (string format)
1310
- */
1311
- bodyAsText: string;
1312
- /**
1313
- * The response body as parsed JSON or XML
1314
- */
1315
- parsedBody: CheckNameAvailabilityResult;
1316
- };
1317
- };
1318
- /**
1319
- * Contains response data for the startTenantBackfill operation.
1320
- */
1321
- export declare type StartTenantBackfillResponse = TenantBackfillStatusResult & {
1322
- /**
1323
- * The underlying HTTP response.
1324
- */
1325
- _response: msRest.HttpResponse & {
1326
- /**
1327
- * The response body as text (string format)
1328
- */
1329
- bodyAsText: string;
1330
- /**
1331
- * The response body as parsed JSON or XML
1332
- */
1333
- parsedBody: TenantBackfillStatusResult;
1334
- };
1335
- };
1336
- /**
1337
- * Contains response data for the tenantBackfillStatus operation.
1338
- */
1339
- export declare type TenantBackfillStatusResponse = TenantBackfillStatusResult & {
1340
- /**
1341
- * The underlying HTTP response.
1342
- */
1343
- _response: msRest.HttpResponse & {
1344
- /**
1345
- * The response body as text (string format)
1346
- */
1347
- bodyAsText: string;
1348
- /**
1349
- * The response body as parsed JSON or XML
1350
- */
1351
- parsedBody: TenantBackfillStatusResult;
1352
- };
1353
- };
1354
- /**
1355
- * Contains response data for the list operation.
1356
- */
1357
- export declare type EntitiesListResponse = EntityListResult & {
1358
- /**
1359
- * The underlying HTTP response.
1360
- */
1361
- _response: msRest.HttpResponse & {
1362
- /**
1363
- * The response body as text (string format)
1364
- */
1365
- bodyAsText: string;
1366
- /**
1367
- * The response body as parsed JSON or XML
1368
- */
1369
- parsedBody: EntityListResult;
1370
- };
1371
- };
1372
- /**
1373
- * Contains response data for the listNext operation.
1374
- */
1375
- export declare type EntitiesListNextResponse = EntityListResult & {
1376
- /**
1377
- * The underlying HTTP response.
1378
- */
1379
- _response: msRest.HttpResponse & {
1380
- /**
1381
- * The response body as text (string format)
1382
- */
1383
- bodyAsText: string;
1384
- /**
1385
- * The response body as parsed JSON or XML
1386
- */
1387
- parsedBody: EntityListResult;
1388
- };
1389
- };
1390
- //# sourceMappingURL=index.d.ts.map