@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
@@ -0,0 +1,1266 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** The results of Azure-AsyncOperation. */
8
+ export declare interface AzureAsyncOperationResults {
9
+ /**
10
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly id?: string;
14
+ /**
15
+ * The type of the resource. For example, Microsoft.Management/managementGroups
16
+ * NOTE: This property will not be serialized. It can only be populated by the server.
17
+ */
18
+ readonly type?: string;
19
+ /**
20
+ * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
+ */
23
+ readonly name?: string;
24
+ /**
25
+ * The current status of the asynchronous operation performed . For example, Running, Succeeded, Failed
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
27
+ */
28
+ readonly status?: string;
29
+ /** The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000 */
30
+ tenantId?: string;
31
+ /** The friendly name of the management group. */
32
+ displayName?: string;
33
+ }
34
+
35
+ /** Optional parameters. */
36
+ export declare interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
37
+ }
38
+
39
+ /** Management group name availability check parameters. */
40
+ export declare interface CheckNameAvailabilityRequest {
41
+ /** the name to check for availability */
42
+ name?: string;
43
+ /** fully qualified resource type which includes provider namespace */
44
+ type?: "Microsoft.Management/managementGroups";
45
+ }
46
+
47
+ /** Contains response data for the checkNameAvailability operation. */
48
+ export declare type CheckNameAvailabilityResponse = CheckNameAvailabilityResult;
49
+
50
+ /** Describes the result of the request to check management group name availability. */
51
+ export declare interface CheckNameAvailabilityResult {
52
+ /**
53
+ * Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both.
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly nameAvailable?: boolean;
57
+ /**
58
+ * Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly reason?: Reason;
62
+ /**
63
+ * Required if nameAvailable == false. Localized. If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that is already in use, and direct them to select a different name.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly message?: string;
67
+ }
68
+
69
+ /** The child information of a management group used during creation. */
70
+ export declare interface CreateManagementGroupChildInfo {
71
+ /**
72
+ * The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups)
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
+ */
75
+ readonly type?: ManagementGroupChildType;
76
+ /**
77
+ * The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
78
+ * NOTE: This property will not be serialized. It can only be populated by the server.
79
+ */
80
+ readonly id?: string;
81
+ /**
82
+ * The name of the child entity.
83
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
+ */
85
+ readonly name?: string;
86
+ /**
87
+ * The friendly name of the child resource.
88
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
+ */
90
+ readonly displayName?: string;
91
+ /**
92
+ * The list of children.
93
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
+ */
95
+ readonly children?: CreateManagementGroupChildInfo[];
96
+ }
97
+
98
+ /** The details of a management group used during creation. */
99
+ export declare interface CreateManagementGroupDetails {
100
+ /**
101
+ * The version number of the object.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly version?: number;
105
+ /**
106
+ * The date and time when this object was last updated.
107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
108
+ */
109
+ readonly updatedTime?: Date;
110
+ /**
111
+ * The identity of the principal or process that updated the object.
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
113
+ */
114
+ readonly updatedBy?: string;
115
+ /** (Optional) The ID of the parent management group used during creation. */
116
+ parent?: CreateParentGroupInfo;
117
+ }
118
+
119
+ /** Management group creation parameters. */
120
+ export declare interface CreateManagementGroupRequest {
121
+ /**
122
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
124
+ */
125
+ readonly id?: string;
126
+ /**
127
+ * The type of the resource. For example, Microsoft.Management/managementGroups
128
+ * NOTE: This property will not be serialized. It can only be populated by the server.
129
+ */
130
+ readonly type?: string;
131
+ /** The name of the management group. For example, 00000000-0000-0000-0000-000000000000 */
132
+ name?: string;
133
+ /**
134
+ * The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
136
+ */
137
+ readonly tenantId?: string;
138
+ /** The friendly name of the management group. If no value is passed then this field will be set to the groupId. */
139
+ displayName?: string;
140
+ /** The details of a management group used during creation. */
141
+ details?: CreateManagementGroupDetails;
142
+ /**
143
+ * The list of children.
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
+ */
146
+ readonly children?: CreateManagementGroupChildInfo[];
147
+ }
148
+
149
+ /** Parameters for creating or updating Management Group settings */
150
+ export declare interface CreateOrUpdateSettingsRequest {
151
+ /** Indicates whether RBAC access is required upon group creation under the root Management Group. If set to true, user will require Microsoft.Management/managementGroups/write action on the root Management Group scope in order to create new Groups directly under the root. This will prevent new users from creating new Management Groups, unless they are given access. */
152
+ requireAuthorizationForGroupCreation?: boolean;
153
+ /** Settings that sets the default Management Group under which new subscriptions get added in this tenant. For example, /providers/Microsoft.Management/managementGroups/defaultGroup */
154
+ defaultManagementGroup?: string;
155
+ }
156
+
157
+ /** (Optional) The ID of the parent management group used during creation. */
158
+ export declare interface CreateParentGroupInfo {
159
+ /** The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
160
+ id?: string;
161
+ /**
162
+ * The name of the parent management group
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
164
+ */
165
+ readonly name?: string;
166
+ /**
167
+ * The friendly name of the parent management group.
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly displayName?: string;
171
+ }
172
+
173
+ /** The descendant. */
174
+ export declare interface DescendantInfo {
175
+ /**
176
+ * The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly id?: string;
180
+ /**
181
+ * The type of the resource. For example, Microsoft.Management/managementGroups or /subscriptions
182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
183
+ */
184
+ readonly type?: string;
185
+ /**
186
+ * The name of the descendant. For example, 00000000-0000-0000-0000-000000000000
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly name?: string;
190
+ /** The friendly name of the management group. */
191
+ displayName?: string;
192
+ /** The ID of the parent management group. */
193
+ parent?: DescendantParentGroupInfo;
194
+ }
195
+
196
+ /** Describes the result of the request to view descendants. */
197
+ export declare interface DescendantListResult {
198
+ /** The list of descendants. */
199
+ value?: DescendantInfo[];
200
+ /**
201
+ * The URL to use for getting the next set of results.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly nextLink?: string;
205
+ }
206
+
207
+ /** The ID of the parent management group. */
208
+ export declare interface DescendantParentGroupInfo {
209
+ /** The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
210
+ id?: string;
211
+ }
212
+
213
+ /** Interface representing a Entities. */
214
+ export declare interface Entities {
215
+ /**
216
+ * List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
217
+ *
218
+ * @param options The options parameters.
219
+ */
220
+ list(options?: EntitiesListOptionalParams): PagedAsyncIterableIterator<EntityInfo>;
221
+ }
222
+
223
+ /** Optional parameters. */
224
+ export declare interface EntitiesListNextOptionalParams extends coreClient.OperationOptions {
225
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
226
+ cacheControl?: string;
227
+ /**
228
+ * Page continuation token is only used if a previous operation returned a partial result.
229
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
230
+ *
231
+ */
232
+ skiptoken?: string;
233
+ /** The filter parameter allows you to filter on the the name or display name fields. You can check for equality on the name field (e.g. name eq '{entityName}') and you can check for substrings on either the name or display name fields(e.g. contains(name, '{substringToSearch}'), contains(displayName, '{substringToSearch')). Note that the '{entityName}' and '{substringToSearch}' fields are checked case insensitively. */
234
+ filter?: string;
235
+ /** Number of elements to return when retrieving results. Passing this in will override $skipToken. */
236
+ top?: number;
237
+ /** Number of entities to skip over when retrieving results. Passing this in will override $skipToken. */
238
+ skip?: number;
239
+ /** This parameter specifies the fields to include in the response. Can include any combination of Name,DisplayName,Type,ParentDisplayNameChain,ParentChain, e.g. '$select=Name,DisplayName,Type,ParentDisplayNameChain,ParentNameChain'. When specified the $select parameter can override select in $skipToken. */
240
+ select?: string;
241
+ /**
242
+ * The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in.
243
+ * With $search=AllowedParents the API will return the entity info of all groups that the requested entity will be able to reparent to as determined by the user's permissions.
244
+ * With $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity.
245
+ * With $search=ParentAndFirstLevelChildren the API will return the parent and first level of children that the user has either direct access to or indirect access via one of their descendants.
246
+ * With $search=ParentOnly the API will return only the group if the user has access to at least one of the descendants of the group.
247
+ * With $search=ChildrenOnly the API will return only the first level of children of the group entity info specified in $filter. The user must have direct access to the children entities or one of it's descendants for it to show up in the results.
248
+ */
249
+ search?: Enum2;
250
+ /** The view parameter allows clients to filter the type of data that is returned by the getEntities call. */
251
+ view?: Enum3;
252
+ /** A filter which allows the get entities call to focus on a particular group (i.e. "$filter=name eq 'groupName'") */
253
+ groupName?: string;
254
+ }
255
+
256
+ /** Contains response data for the listNext operation. */
257
+ export declare type EntitiesListNextResponse = EntityListResult;
258
+
259
+ /** Optional parameters. */
260
+ export declare interface EntitiesListOptionalParams extends coreClient.OperationOptions {
261
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
262
+ cacheControl?: string;
263
+ /**
264
+ * Page continuation token is only used if a previous operation returned a partial result.
265
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
266
+ *
267
+ */
268
+ skiptoken?: string;
269
+ /** The filter parameter allows you to filter on the the name or display name fields. You can check for equality on the name field (e.g. name eq '{entityName}') and you can check for substrings on either the name or display name fields(e.g. contains(name, '{substringToSearch}'), contains(displayName, '{substringToSearch')). Note that the '{entityName}' and '{substringToSearch}' fields are checked case insensitively. */
270
+ filter?: string;
271
+ /** Number of elements to return when retrieving results. Passing this in will override $skipToken. */
272
+ top?: number;
273
+ /** Number of entities to skip over when retrieving results. Passing this in will override $skipToken. */
274
+ skip?: number;
275
+ /** This parameter specifies the fields to include in the response. Can include any combination of Name,DisplayName,Type,ParentDisplayNameChain,ParentChain, e.g. '$select=Name,DisplayName,Type,ParentDisplayNameChain,ParentNameChain'. When specified the $select parameter can override select in $skipToken. */
276
+ select?: string;
277
+ /**
278
+ * The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in.
279
+ * With $search=AllowedParents the API will return the entity info of all groups that the requested entity will be able to reparent to as determined by the user's permissions.
280
+ * With $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity.
281
+ * With $search=ParentAndFirstLevelChildren the API will return the parent and first level of children that the user has either direct access to or indirect access via one of their descendants.
282
+ * With $search=ParentOnly the API will return only the group if the user has access to at least one of the descendants of the group.
283
+ * With $search=ChildrenOnly the API will return only the first level of children of the group entity info specified in $filter. The user must have direct access to the children entities or one of it's descendants for it to show up in the results.
284
+ */
285
+ search?: Enum2;
286
+ /** The view parameter allows clients to filter the type of data that is returned by the getEntities call. */
287
+ view?: Enum3;
288
+ /** A filter which allows the get entities call to focus on a particular group (i.e. "$filter=name eq 'groupName'") */
289
+ groupName?: string;
290
+ }
291
+
292
+ /** Contains response data for the list operation. */
293
+ export declare type EntitiesListResponse = EntityListResult;
294
+
295
+ /** The management group details for the hierarchy view. */
296
+ export declare interface EntityHierarchyItem {
297
+ /**
298
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
299
+ * NOTE: This property will not be serialized. It can only be populated by the server.
300
+ */
301
+ readonly id?: string;
302
+ /**
303
+ * The type of the resource. For example, Microsoft.Management/managementGroups
304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
305
+ */
306
+ readonly type?: string;
307
+ /**
308
+ * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
309
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
+ */
311
+ readonly name?: string;
312
+ /** The friendly name of the management group. */
313
+ displayName?: string;
314
+ /** The users specific permissions to this item. */
315
+ permissions?: Permissions_2;
316
+ /** The list of children. */
317
+ children?: EntityHierarchyItem[];
318
+ }
319
+
320
+ /** The entity. */
321
+ export declare interface EntityInfo {
322
+ /**
323
+ * The fully qualified ID for the entity. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly id?: string;
327
+ /**
328
+ * The type of the resource. For example, Microsoft.Management/managementGroups
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly type?: string;
332
+ /**
333
+ * The name of the entity. For example, 00000000-0000-0000-0000-000000000000
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly name?: string;
337
+ /** The AAD Tenant ID associated with the entity. For example, 00000000-0000-0000-0000-000000000000 */
338
+ tenantId?: string;
339
+ /** The friendly name of the management group. */
340
+ displayName?: string;
341
+ /** (Optional) The ID of the parent management group. */
342
+ parent?: EntityParentGroupInfo;
343
+ /** The users specific permissions to this item. */
344
+ permissions?: Permissions_2;
345
+ /** The users specific permissions to this item. */
346
+ inheritedPermissions?: Permissions_2;
347
+ /** Number of Descendants */
348
+ numberOfDescendants?: number;
349
+ /** Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group. */
350
+ numberOfChildren?: number;
351
+ /** Number of children is the number of Groups that are exactly one level underneath the current Group. */
352
+ numberOfChildGroups?: number;
353
+ /** The parent display name chain from the root group to the immediate parent */
354
+ parentDisplayNameChain?: string[];
355
+ /** The parent name chain from the root group to the immediate parent */
356
+ parentNameChain?: string[];
357
+ }
358
+
359
+ /** Describes the result of the request to view entities. */
360
+ export declare interface EntityListResult {
361
+ /** The list of entities. */
362
+ value?: EntityInfo[];
363
+ /**
364
+ * Total count of records that match the filter
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
366
+ */
367
+ readonly count?: number;
368
+ /**
369
+ * The URL to use for getting the next set of results.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
371
+ */
372
+ readonly nextLink?: string;
373
+ }
374
+
375
+ /** (Optional) The ID of the parent management group. */
376
+ export declare interface EntityParentGroupInfo {
377
+ /** The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
378
+ id?: string;
379
+ }
380
+
381
+ /**
382
+ * Defines values for Enum0. \
383
+ * {@link KnownEnum0} can be used interchangeably with Enum0,
384
+ * this enum contains the known values that the service supports.
385
+ * ### Known values supported by the service
386
+ * **children** \
387
+ * **path** \
388
+ * **ancestors**
389
+ */
390
+ export declare type Enum0 = string;
391
+
392
+ /**
393
+ * Defines values for Enum2. \
394
+ * {@link KnownEnum2} can be used interchangeably with Enum2,
395
+ * this enum contains the known values that the service supports.
396
+ * ### Known values supported by the service
397
+ * **AllowedParents** \
398
+ * **AllowedChildren** \
399
+ * **ParentAndFirstLevelChildren** \
400
+ * **ParentOnly** \
401
+ * **ChildrenOnly**
402
+ */
403
+ export declare type Enum2 = string;
404
+
405
+ /**
406
+ * Defines values for Enum3. \
407
+ * {@link KnownEnum3} can be used interchangeably with Enum3,
408
+ * this enum contains the known values that the service supports.
409
+ * ### Known values supported by the service
410
+ * **FullHierarchy** \
411
+ * **GroupsOnly** \
412
+ * **SubscriptionsOnly** \
413
+ * **Audit**
414
+ */
415
+ export declare type Enum3 = string;
416
+
417
+ /** The details of the error. */
418
+ export declare interface ErrorDetails {
419
+ /** One of a server-defined set of error codes. */
420
+ code?: string;
421
+ /** A human-readable representation of the error. */
422
+ message?: string;
423
+ /** A human-readable representation of the error's details. */
424
+ details?: string;
425
+ }
426
+
427
+ /** The error object. */
428
+ export declare interface ErrorResponse {
429
+ /** The details of the error. */
430
+ error?: ErrorDetails;
431
+ }
432
+
433
+ /** Settings defined at the Management Group scope. */
434
+ export declare interface HierarchySettings {
435
+ /**
436
+ * The fully qualified ID for the settings object. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/settings/default.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
+ */
439
+ readonly id?: string;
440
+ /**
441
+ * The type of the resource. For example, Microsoft.Management/managementGroups/settings.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
+ */
444
+ readonly type?: string;
445
+ /**
446
+ * The name of the object. In this case, default.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
448
+ */
449
+ readonly name?: string;
450
+ /** The AAD Tenant ID associated with the hierarchy settings. For example, 00000000-0000-0000-0000-000000000000 */
451
+ tenantId?: string;
452
+ /** Indicates whether RBAC access is required upon group creation under the root Management Group. If set to true, user will require Microsoft.Management/managementGroups/write action on the root Management Group scope in order to create new Groups directly under the root. This will prevent new users from creating new Management Groups, unless they are given access. */
453
+ requireAuthorizationForGroupCreation?: boolean;
454
+ /** Settings that sets the default Management Group under which new subscriptions get added in this tenant. For example, /providers/Microsoft.Management/managementGroups/defaultGroup */
455
+ defaultManagementGroup?: string;
456
+ }
457
+
458
+ /** Optional parameters. */
459
+ export declare interface HierarchySettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
460
+ }
461
+
462
+ /** Contains response data for the createOrUpdate operation. */
463
+ export declare type HierarchySettingsCreateOrUpdateResponse = HierarchySettings;
464
+
465
+ /** Optional parameters. */
466
+ export declare interface HierarchySettingsDeleteOptionalParams extends coreClient.OperationOptions {
467
+ }
468
+
469
+ /** Optional parameters. */
470
+ export declare interface HierarchySettingsGetOptionalParams extends coreClient.OperationOptions {
471
+ }
472
+
473
+ /** Contains response data for the get operation. */
474
+ export declare type HierarchySettingsGetResponse = HierarchySettings;
475
+
476
+ /** The hierarchy settings resource. */
477
+ export declare interface HierarchySettingsInfo {
478
+ /**
479
+ * The fully qualified ID for the settings object. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/settings/default.
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly id?: string;
483
+ /**
484
+ * The type of the resource. For example, Microsoft.Management/managementGroups/settings.
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly type?: string;
488
+ /**
489
+ * The name of the object. In this case, default.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly name?: string;
493
+ /** The AAD Tenant ID associated with the hierarchy settings. For example, 00000000-0000-0000-0000-000000000000 */
494
+ tenantId?: string;
495
+ /** Indicates whether RBAC access is required upon group creation under the root Management Group. If set to true, user will require Microsoft.Management/managementGroups/write action on the root Management Group scope in order to create new Groups directly under the root. This will prevent new users from creating new Management Groups, unless they are given access. */
496
+ requireAuthorizationForGroupCreation?: boolean;
497
+ /** Settings that sets the default Management Group under which new subscriptions get added in this tenant. For example, /providers/Microsoft.Management/managementGroups/defaultGroup */
498
+ defaultManagementGroup?: string;
499
+ }
500
+
501
+ /** Lists all hierarchy settings. */
502
+ export declare interface HierarchySettingsList {
503
+ /** The list of hierarchy settings. */
504
+ value?: HierarchySettingsInfo[];
505
+ /**
506
+ * The URL to use for getting the next set of results.
507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
508
+ */
509
+ readonly nextLink?: string;
510
+ }
511
+
512
+ /** Optional parameters. */
513
+ export declare interface HierarchySettingsListOptionalParams extends coreClient.OperationOptions {
514
+ }
515
+
516
+ /** Contains response data for the list operation. */
517
+ export declare type HierarchySettingsListResponse = HierarchySettingsList;
518
+
519
+ /** Interface representing a HierarchySettingsOperations. */
520
+ export declare interface HierarchySettingsOperations {
521
+ /**
522
+ * Gets all the hierarchy settings defined at the Management Group level. Settings can only be set on
523
+ * the root Management Group of the hierarchy.
524
+ *
525
+ * @param groupId Management Group ID.
526
+ * @param options The options parameters.
527
+ */
528
+ list(groupId: string, options?: HierarchySettingsListOptionalParams): Promise<HierarchySettingsListResponse>;
529
+ /**
530
+ * Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the
531
+ * root Management Group of the hierarchy.
532
+ *
533
+ * @param groupId Management Group ID.
534
+ * @param options The options parameters.
535
+ */
536
+ get(groupId: string, options?: HierarchySettingsGetOptionalParams): Promise<HierarchySettingsGetResponse>;
537
+ /**
538
+ * Creates or updates the hierarchy settings defined at the Management Group level.
539
+ *
540
+ * @param groupId Management Group ID.
541
+ * @param createTenantSettingsRequest Tenant level settings request parameter.
542
+ * @param options The options parameters.
543
+ */
544
+ createOrUpdate(groupId: string, createTenantSettingsRequest: CreateOrUpdateSettingsRequest, options?: HierarchySettingsCreateOrUpdateOptionalParams): Promise<HierarchySettingsCreateOrUpdateResponse>;
545
+ /**
546
+ * Updates the hierarchy settings defined at the Management Group level.
547
+ *
548
+ * @param groupId Management Group ID.
549
+ * @param createTenantSettingsRequest Tenant level settings request parameter.
550
+ * @param options The options parameters.
551
+ */
552
+ update(groupId: string, createTenantSettingsRequest: CreateOrUpdateSettingsRequest, options?: HierarchySettingsUpdateOptionalParams): Promise<HierarchySettingsUpdateResponse>;
553
+ /**
554
+ * Deletes the hierarchy settings defined at the Management Group level.
555
+ *
556
+ * @param groupId Management Group ID.
557
+ * @param options The options parameters.
558
+ */
559
+ delete(groupId: string, options?: HierarchySettingsDeleteOptionalParams): Promise<void>;
560
+ }
561
+
562
+ /** Optional parameters. */
563
+ export declare interface HierarchySettingsUpdateOptionalParams extends coreClient.OperationOptions {
564
+ }
565
+
566
+ /** Contains response data for the update operation. */
567
+ export declare type HierarchySettingsUpdateResponse = HierarchySettings;
568
+
569
+ /** Known values of {@link Enum0} that the service accepts. */
570
+ export declare enum KnownEnum0 {
571
+ Children = "children",
572
+ Path = "path",
573
+ Ancestors = "ancestors"
574
+ }
575
+
576
+ /** Known values of {@link Enum2} that the service accepts. */
577
+ export declare enum KnownEnum2 {
578
+ AllowedParents = "AllowedParents",
579
+ AllowedChildren = "AllowedChildren",
580
+ ParentAndFirstLevelChildren = "ParentAndFirstLevelChildren",
581
+ ParentOnly = "ParentOnly",
582
+ ChildrenOnly = "ChildrenOnly"
583
+ }
584
+
585
+ /** Known values of {@link Enum3} that the service accepts. */
586
+ export declare enum KnownEnum3 {
587
+ FullHierarchy = "FullHierarchy",
588
+ GroupsOnly = "GroupsOnly",
589
+ SubscriptionsOnly = "SubscriptionsOnly",
590
+ Audit = "Audit"
591
+ }
592
+
593
+ /** Known values of {@link ManagementGroupChildType} that the service accepts. */
594
+ export declare enum KnownManagementGroupChildType {
595
+ MicrosoftManagementManagementGroups = "Microsoft.Management/managementGroups",
596
+ Subscriptions = "/subscriptions"
597
+ }
598
+
599
+ /** Known values of {@link Permissions} that the service accepts. */
600
+ export declare enum KnownPermissions {
601
+ Noaccess = "noaccess",
602
+ View = "view",
603
+ Edit = "edit",
604
+ Delete = "delete"
605
+ }
606
+
607
+ /** The details of all subscriptions under management group. */
608
+ export declare interface ListSubscriptionUnderManagementGroup {
609
+ /** The list of subscriptions. */
610
+ value?: SubscriptionUnderManagementGroup[];
611
+ /**
612
+ * The URL to use for getting the next set of results.
613
+ * NOTE: This property will not be serialized. It can only be populated by the server.
614
+ */
615
+ readonly nextLink?: string;
616
+ }
617
+
618
+ /** The management group details. */
619
+ export declare interface ManagementGroup {
620
+ /**
621
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
622
+ * NOTE: This property will not be serialized. It can only be populated by the server.
623
+ */
624
+ readonly id?: string;
625
+ /**
626
+ * The type of the resource. For example, Microsoft.Management/managementGroups
627
+ * NOTE: This property will not be serialized. It can only be populated by the server.
628
+ */
629
+ readonly type?: string;
630
+ /**
631
+ * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
632
+ * NOTE: This property will not be serialized. It can only be populated by the server.
633
+ */
634
+ readonly name?: string;
635
+ /** The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000 */
636
+ tenantId?: string;
637
+ /** The friendly name of the management group. */
638
+ displayName?: string;
639
+ /** The details of a management group. */
640
+ details?: ManagementGroupDetails;
641
+ /** The list of children. */
642
+ children?: ManagementGroupChildInfo[];
643
+ }
644
+
645
+ /** The child information of a management group. */
646
+ export declare interface ManagementGroupChildInfo {
647
+ /** The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups) */
648
+ type?: ManagementGroupChildType;
649
+ /** The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
650
+ id?: string;
651
+ /** The name of the child entity. */
652
+ name?: string;
653
+ /** The friendly name of the child resource. */
654
+ displayName?: string;
655
+ /** The list of children. */
656
+ children?: ManagementGroupChildInfo[];
657
+ }
658
+
659
+ /**
660
+ * Defines values for ManagementGroupChildType. \
661
+ * {@link KnownManagementGroupChildType} can be used interchangeably with ManagementGroupChildType,
662
+ * this enum contains the known values that the service supports.
663
+ * ### Known values supported by the service
664
+ * **Microsoft.Management\/managementGroups** \
665
+ * **\/subscriptions**
666
+ */
667
+ export declare type ManagementGroupChildType = string;
668
+
669
+ /** The details of a management group. */
670
+ export declare interface ManagementGroupDetails {
671
+ /** The version number of the object. */
672
+ version?: number;
673
+ /** The date and time when this object was last updated. */
674
+ updatedTime?: Date;
675
+ /** The identity of the principal or process that updated the object. */
676
+ updatedBy?: string;
677
+ /** (Optional) The ID of the parent management group. */
678
+ parent?: ParentGroupInfo;
679
+ /** The path from the root to the current group. */
680
+ path?: ManagementGroupPathElement[];
681
+ /** The ancestors of the management group. */
682
+ managementGroupAncestors?: string[];
683
+ /** The ancestors of the management group displayed in reversed order, from immediate parent to the root. */
684
+ managementGroupAncestorsChain?: ManagementGroupPathElement[];
685
+ }
686
+
687
+ /** The management group resource. */
688
+ export declare interface ManagementGroupInfo {
689
+ /**
690
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
691
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
+ */
693
+ readonly id?: string;
694
+ /**
695
+ * The type of the resource. For example, Microsoft.Management/managementGroups
696
+ * NOTE: This property will not be serialized. It can only be populated by the server.
697
+ */
698
+ readonly type?: string;
699
+ /**
700
+ * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
701
+ * NOTE: This property will not be serialized. It can only be populated by the server.
702
+ */
703
+ readonly name?: string;
704
+ /** The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000 */
705
+ tenantId?: string;
706
+ /** The friendly name of the management group. */
707
+ displayName?: string;
708
+ }
709
+
710
+ /** Describes the result of the request to list management groups. */
711
+ export declare interface ManagementGroupListResult {
712
+ /** The list of management groups. */
713
+ value?: ManagementGroupInfo[];
714
+ /**
715
+ * The URL to use for getting the next set of results.
716
+ * NOTE: This property will not be serialized. It can only be populated by the server.
717
+ */
718
+ readonly nextLink?: string;
719
+ }
720
+
721
+ /** A path element of a management group ancestors. */
722
+ export declare interface ManagementGroupPathElement {
723
+ /** The name of the group. */
724
+ name?: string;
725
+ /** The friendly name of the group. */
726
+ displayName?: string;
727
+ }
728
+
729
+ /** Interface representing a ManagementGroups. */
730
+ export declare interface ManagementGroups {
731
+ /**
732
+ * List management groups for the authenticated user.
733
+ *
734
+ * @param options The options parameters.
735
+ */
736
+ list(options?: ManagementGroupsListOptionalParams): PagedAsyncIterableIterator<ManagementGroupInfo>;
737
+ /**
738
+ * List all entities that descend from a management group.
739
+ *
740
+ * @param groupId Management Group ID.
741
+ * @param options The options parameters.
742
+ */
743
+ listDescendants(groupId: string, options?: ManagementGroupsGetDescendantsOptionalParams): PagedAsyncIterableIterator<DescendantInfo>;
744
+ /**
745
+ * Get the details of the management group.
746
+ *
747
+ * @param groupId Management Group ID.
748
+ * @param options The options parameters.
749
+ */
750
+ get(groupId: string, options?: ManagementGroupsGetOptionalParams): Promise<ManagementGroupsGetResponse>;
751
+ /**
752
+ * Create or update a management group.
753
+ * If a management group is already created and a subsequent create request is issued with different
754
+ * properties, the management group properties will be updated.
755
+ *
756
+ * @param groupId Management Group ID.
757
+ * @param createManagementGroupRequest Management group creation parameters.
758
+ * @param options The options parameters.
759
+ */
760
+ beginCreateOrUpdate(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroupsCreateOrUpdateResponse>, ManagementGroupsCreateOrUpdateResponse>>;
761
+ /**
762
+ * Create or update a management group.
763
+ * If a management group is already created and a subsequent create request is issued with different
764
+ * properties, the management group properties will be updated.
765
+ *
766
+ * @param groupId Management Group ID.
767
+ * @param createManagementGroupRequest Management group creation parameters.
768
+ * @param options The options parameters.
769
+ */
770
+ beginCreateOrUpdateAndWait(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<ManagementGroupsCreateOrUpdateResponse>;
771
+ /**
772
+ * Update a management group.
773
+ *
774
+ * @param groupId Management Group ID.
775
+ * @param patchGroupRequest Management group patch parameters.
776
+ * @param options The options parameters.
777
+ */
778
+ update(groupId: string, patchGroupRequest: PatchManagementGroupRequest, options?: ManagementGroupsUpdateOptionalParams): Promise<ManagementGroupsUpdateResponse>;
779
+ /**
780
+ * Delete management group.
781
+ * If a management group contains child resources, the request will fail.
782
+ *
783
+ * @param groupId Management Group ID.
784
+ * @param options The options parameters.
785
+ */
786
+ beginDelete(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroupsDeleteResponse>, ManagementGroupsDeleteResponse>>;
787
+ /**
788
+ * Delete management group.
789
+ * If a management group contains child resources, the request will fail.
790
+ *
791
+ * @param groupId Management Group ID.
792
+ * @param options The options parameters.
793
+ */
794
+ beginDeleteAndWait(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<ManagementGroupsDeleteResponse>;
795
+ }
796
+
797
+ export declare class ManagementGroupsAPI extends ManagementGroupsAPIContext {
798
+ /**
799
+ * Initializes a new instance of the ManagementGroupsAPI class.
800
+ * @param credentials Subscription credentials which uniquely identify client subscription.
801
+ * @param options The parameter options
802
+ */
803
+ constructor(credentials: coreAuth.TokenCredential, options?: ManagementGroupsAPIOptionalParams);
804
+ /**
805
+ * Checks if the specified management group name is valid and unique
806
+ * @param checkNameAvailabilityRequest Management group name availability check parameters.
807
+ * @param options The options parameters.
808
+ */
809
+ checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>;
810
+ /**
811
+ * Starts backfilling subscriptions for the Tenant.
812
+ * @param options The options parameters.
813
+ */
814
+ startTenantBackfill(options?: StartTenantBackfillOptionalParams): Promise<StartTenantBackfillResponse>;
815
+ /**
816
+ * Gets tenant backfill status
817
+ * @param options The options parameters.
818
+ */
819
+ tenantBackfillStatus(options?: TenantBackfillStatusOptionalParams): Promise<TenantBackfillStatusResponse>;
820
+ managementGroups: ManagementGroups;
821
+ managementGroupSubscriptions: ManagementGroupSubscriptions;
822
+ hierarchySettingsOperations: HierarchySettingsOperations;
823
+ operations: Operations;
824
+ entities: Entities;
825
+ }
826
+
827
+ export declare class ManagementGroupsAPIContext extends coreClient.ServiceClient {
828
+ $host: string;
829
+ apiVersion: string;
830
+ /**
831
+ * Initializes a new instance of the ManagementGroupsAPIContext class.
832
+ * @param credentials Subscription credentials which uniquely identify client subscription.
833
+ * @param options The parameter options
834
+ */
835
+ constructor(credentials: coreAuth.TokenCredential, options?: ManagementGroupsAPIOptionalParams);
836
+ }
837
+
838
+ /** Optional parameters. */
839
+ export declare interface ManagementGroupsAPIOptionalParams extends coreClient.ServiceClientOptions {
840
+ /** server parameter */
841
+ $host?: string;
842
+ /** Api Version */
843
+ apiVersion?: string;
844
+ /** Overrides client endpoint. */
845
+ endpoint?: string;
846
+ }
847
+
848
+ /** Defines headers for ManagementGroups_createOrUpdate operation. */
849
+ export declare interface ManagementGroupsCreateOrUpdateHeaders {
850
+ /**
851
+ * URL for determining when an operation has completed. Send a GET request to the URL in Location header.
852
+ * The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state.
853
+ *
854
+ * For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers
855
+ */
856
+ location?: string;
857
+ /**
858
+ * URL for checking the ongoing status of the operation.
859
+ * To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.
860
+ *
861
+ * For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations
862
+ */
863
+ azureAsyncOperation?: string;
864
+ }
865
+
866
+ /** Optional parameters. */
867
+ export declare interface ManagementGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
868
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
869
+ cacheControl?: string;
870
+ /** Delay to wait until next poll, in milliseconds. */
871
+ updateIntervalInMs?: number;
872
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
873
+ resumeFrom?: string;
874
+ }
875
+
876
+ /** Contains response data for the createOrUpdate operation. */
877
+ export declare type ManagementGroupsCreateOrUpdateResponse = ManagementGroup;
878
+
879
+ /** Defines headers for ManagementGroups_delete operation. */
880
+ export declare interface ManagementGroupsDeleteHeaders {
881
+ /**
882
+ * URL for determining when an operation has completed. Send a GET request to the URL in Location header.
883
+ * The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state.
884
+ *
885
+ * For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers
886
+ */
887
+ location?: string;
888
+ /**
889
+ * URL for checking the ongoing status of the operation.
890
+ * To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.
891
+ *
892
+ * For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations
893
+ */
894
+ azureAsyncOperation?: string;
895
+ }
896
+
897
+ /** Optional parameters. */
898
+ export declare interface ManagementGroupsDeleteOptionalParams extends coreClient.OperationOptions {
899
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
900
+ cacheControl?: string;
901
+ /** Delay to wait until next poll, in milliseconds. */
902
+ updateIntervalInMs?: number;
903
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
904
+ resumeFrom?: string;
905
+ }
906
+
907
+ /** Contains response data for the delete operation. */
908
+ export declare type ManagementGroupsDeleteResponse = ManagementGroupsDeleteHeaders & AzureAsyncOperationResults;
909
+
910
+ /** Optional parameters. */
911
+ export declare interface ManagementGroupsGetDescendantsNextOptionalParams extends coreClient.OperationOptions {
912
+ /**
913
+ * Page continuation token is only used if a previous operation returned a partial result.
914
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
915
+ *
916
+ */
917
+ skiptoken?: string;
918
+ /** Number of elements to return when retrieving results. Passing this in will override $skipToken. */
919
+ top?: number;
920
+ }
921
+
922
+ /** Contains response data for the getDescendantsNext operation. */
923
+ export declare type ManagementGroupsGetDescendantsNextResponse = DescendantListResult;
924
+
925
+ /** Optional parameters. */
926
+ export declare interface ManagementGroupsGetDescendantsOptionalParams extends coreClient.OperationOptions {
927
+ /**
928
+ * Page continuation token is only used if a previous operation returned a partial result.
929
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
930
+ *
931
+ */
932
+ skiptoken?: string;
933
+ /** Number of elements to return when retrieving results. Passing this in will override $skipToken. */
934
+ top?: number;
935
+ }
936
+
937
+ /** Contains response data for the getDescendants operation. */
938
+ export declare type ManagementGroupsGetDescendantsResponse = DescendantListResult;
939
+
940
+ /** Optional parameters. */
941
+ export declare interface ManagementGroupsGetOptionalParams extends coreClient.OperationOptions {
942
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
943
+ cacheControl?: string;
944
+ /** The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. */
945
+ expand?: Enum0;
946
+ /** The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. */
947
+ recurse?: boolean;
948
+ /** A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription') */
949
+ filter?: string;
950
+ }
951
+
952
+ /** Contains response data for the get operation. */
953
+ export declare type ManagementGroupsGetResponse = ManagementGroup;
954
+
955
+ /** Optional parameters. */
956
+ export declare interface ManagementGroupsListNextOptionalParams extends coreClient.OperationOptions {
957
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
958
+ cacheControl?: string;
959
+ /**
960
+ * Page continuation token is only used if a previous operation returned a partial result.
961
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
962
+ *
963
+ */
964
+ skiptoken?: string;
965
+ }
966
+
967
+ /** Contains response data for the listNext operation. */
968
+ export declare type ManagementGroupsListNextResponse = ManagementGroupListResult;
969
+
970
+ /** Optional parameters. */
971
+ export declare interface ManagementGroupsListOptionalParams extends coreClient.OperationOptions {
972
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
973
+ cacheControl?: string;
974
+ /**
975
+ * Page continuation token is only used if a previous operation returned a partial result.
976
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
977
+ *
978
+ */
979
+ skiptoken?: string;
980
+ }
981
+
982
+ /** Contains response data for the list operation. */
983
+ export declare type ManagementGroupsListResponse = ManagementGroupListResult;
984
+
985
+ /** Interface representing a ManagementGroupSubscriptions. */
986
+ export declare interface ManagementGroupSubscriptions {
987
+ /**
988
+ * Retrieves details about all subscriptions which are associated with the management group.
989
+ *
990
+ * @param groupId Management Group ID.
991
+ * @param options The options parameters.
992
+ */
993
+ listSubscriptionsUnderManagementGroup(groupId: string, options?: ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams): PagedAsyncIterableIterator<SubscriptionUnderManagementGroup>;
994
+ /**
995
+ * Associates existing subscription with the management group.
996
+ *
997
+ * @param groupId Management Group ID.
998
+ * @param subscriptionId Subscription ID.
999
+ * @param options The options parameters.
1000
+ */
1001
+ create(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsCreateOptionalParams): Promise<ManagementGroupSubscriptionsCreateResponse>;
1002
+ /**
1003
+ * De-associates subscription from the management group.
1004
+ *
1005
+ * @param groupId Management Group ID.
1006
+ * @param subscriptionId Subscription ID.
1007
+ * @param options The options parameters.
1008
+ */
1009
+ delete(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsDeleteOptionalParams): Promise<void>;
1010
+ /**
1011
+ * Retrieves details about given subscription which is associated with the management group.
1012
+ *
1013
+ * @param groupId Management Group ID.
1014
+ * @param subscriptionId Subscription ID.
1015
+ * @param options The options parameters.
1016
+ */
1017
+ getSubscription(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsGetSubscriptionOptionalParams): Promise<ManagementGroupSubscriptionsGetSubscriptionResponse>;
1018
+ }
1019
+
1020
+ /** Optional parameters. */
1021
+ export declare interface ManagementGroupSubscriptionsCreateOptionalParams extends coreClient.OperationOptions {
1022
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
1023
+ cacheControl?: string;
1024
+ }
1025
+
1026
+ /** Contains response data for the create operation. */
1027
+ export declare type ManagementGroupSubscriptionsCreateResponse = SubscriptionUnderManagementGroup;
1028
+
1029
+ /** Optional parameters. */
1030
+ export declare interface ManagementGroupSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
1031
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
1032
+ cacheControl?: string;
1033
+ }
1034
+
1035
+ /** Optional parameters. */
1036
+ export declare interface ManagementGroupSubscriptionsGetSubscriptionOptionalParams extends coreClient.OperationOptions {
1037
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
1038
+ cacheControl?: string;
1039
+ }
1040
+
1041
+ /** Contains response data for the getSubscription operation. */
1042
+ export declare type ManagementGroupSubscriptionsGetSubscriptionResponse = SubscriptionUnderManagementGroup;
1043
+
1044
+ /** Optional parameters. */
1045
+ export declare interface ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupNextOptionalParams extends coreClient.OperationOptions {
1046
+ /**
1047
+ * Page continuation token is only used if a previous operation returned a partial result.
1048
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
1049
+ *
1050
+ */
1051
+ skiptoken?: string;
1052
+ }
1053
+
1054
+ /** Contains response data for the getSubscriptionsUnderManagementGroupNext operation. */
1055
+ export declare type ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupNextResponse = ListSubscriptionUnderManagementGroup;
1056
+
1057
+ /** Optional parameters. */
1058
+ export declare interface ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams extends coreClient.OperationOptions {
1059
+ /**
1060
+ * Page continuation token is only used if a previous operation returned a partial result.
1061
+ * If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.
1062
+ *
1063
+ */
1064
+ skiptoken?: string;
1065
+ }
1066
+
1067
+ /** Contains response data for the getSubscriptionsUnderManagementGroup operation. */
1068
+ export declare type ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupResponse = ListSubscriptionUnderManagementGroup;
1069
+
1070
+ /** Optional parameters. */
1071
+ export declare interface ManagementGroupsUpdateOptionalParams extends coreClient.OperationOptions {
1072
+ /** Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. */
1073
+ cacheControl?: string;
1074
+ }
1075
+
1076
+ /** Contains response data for the update operation. */
1077
+ export declare type ManagementGroupsUpdateResponse = ManagementGroup;
1078
+
1079
+ /** Operation supported by the Microsoft.Management resource provider. */
1080
+ export declare interface Operation {
1081
+ /**
1082
+ * Operation name: {provider}/{resource}/{operation}.
1083
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1084
+ */
1085
+ readonly name?: string;
1086
+ /** The object that represents the operation. */
1087
+ display?: OperationDisplayProperties;
1088
+ }
1089
+
1090
+ /** The object that represents the operation. */
1091
+ export declare interface OperationDisplayProperties {
1092
+ /**
1093
+ * The name of the provider.
1094
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1095
+ */
1096
+ readonly provider?: string;
1097
+ /**
1098
+ * The resource on which the operation is performed.
1099
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1100
+ */
1101
+ readonly resource?: string;
1102
+ /**
1103
+ * The operation that can be performed.
1104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1105
+ */
1106
+ readonly operation?: string;
1107
+ /**
1108
+ * Operation description.
1109
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1110
+ */
1111
+ readonly description?: string;
1112
+ }
1113
+
1114
+ /** Describes the result of the request to list Microsoft.Management operations. */
1115
+ export declare interface OperationListResult {
1116
+ /**
1117
+ * List of operations supported by the Microsoft.Management resource provider.
1118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1119
+ */
1120
+ readonly value?: Operation[];
1121
+ /**
1122
+ * URL to get the next set of operation list results if there are any.
1123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1124
+ */
1125
+ readonly nextLink?: string;
1126
+ }
1127
+
1128
+ /** The results of an asynchronous operation. */
1129
+ export declare interface OperationResults {
1130
+ /**
1131
+ * The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
1132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1133
+ */
1134
+ readonly id?: string;
1135
+ /**
1136
+ * The type of the resource. For example, Microsoft.Management/managementGroups
1137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1138
+ */
1139
+ readonly type?: string;
1140
+ /**
1141
+ * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
1142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1143
+ */
1144
+ readonly name?: string;
1145
+ /** The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000 */
1146
+ tenantId?: string;
1147
+ /** The friendly name of the management group. */
1148
+ displayName?: string;
1149
+ }
1150
+
1151
+ /** Interface representing a Operations. */
1152
+ export declare interface Operations {
1153
+ /**
1154
+ * Lists all of the available Management REST API operations.
1155
+ * @param options The options parameters.
1156
+ */
1157
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1158
+ }
1159
+
1160
+ /** Optional parameters. */
1161
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1162
+ }
1163
+
1164
+ /** Contains response data for the listNext operation. */
1165
+ export declare type OperationsListNextResponse = OperationListResult;
1166
+
1167
+ /** Optional parameters. */
1168
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1169
+ }
1170
+
1171
+ /** Contains response data for the list operation. */
1172
+ export declare type OperationsListResponse = OperationListResult;
1173
+
1174
+ /** (Optional) The ID of the parent management group. */
1175
+ export declare interface ParentGroupInfo {
1176
+ /** The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
1177
+ id?: string;
1178
+ /** The name of the parent management group */
1179
+ name?: string;
1180
+ /** The friendly name of the parent management group. */
1181
+ displayName?: string;
1182
+ }
1183
+
1184
+ /** Management group patch parameters. */
1185
+ export declare interface PatchManagementGroupRequest {
1186
+ /** The friendly name of the management group. */
1187
+ displayName?: string;
1188
+ /** (Optional) The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 */
1189
+ parentGroupId?: string;
1190
+ }
1191
+
1192
+ /**
1193
+ * Defines values for Permissions. \
1194
+ * {@link KnownPermissions} can be used interchangeably with Permissions,
1195
+ * this enum contains the known values that the service supports.
1196
+ * ### Known values supported by the service
1197
+ * **noaccess** \
1198
+ * **view** \
1199
+ * **edit** \
1200
+ * **delete**
1201
+ */
1202
+ declare type Permissions_2 = string;
1203
+ export { Permissions_2 as Permissions }
1204
+
1205
+ /** Defines values for Reason. */
1206
+ export declare type Reason = "Invalid" | "AlreadyExists";
1207
+
1208
+ /** Optional parameters. */
1209
+ export declare interface StartTenantBackfillOptionalParams extends coreClient.OperationOptions {
1210
+ }
1211
+
1212
+ /** Contains response data for the startTenantBackfill operation. */
1213
+ export declare type StartTenantBackfillResponse = TenantBackfillStatusResult;
1214
+
1215
+ /** Defines values for Status. */
1216
+ export declare type Status = "NotStarted" | "NotStartedButGroupsExist" | "Started" | "Failed" | "Cancelled" | "Completed";
1217
+
1218
+ /** The details of subscription under management group. */
1219
+ export declare interface SubscriptionUnderManagementGroup {
1220
+ /**
1221
+ * The fully qualified ID for the subscription. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/subscriptions/0000000-0000-0000-0000-000000000001
1222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1223
+ */
1224
+ readonly id?: string;
1225
+ /**
1226
+ * The type of the resource. For example, Microsoft.Management/managementGroups/subscriptions
1227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1228
+ */
1229
+ readonly type?: string;
1230
+ /**
1231
+ * The stringified id of the subscription. For example, 00000000-0000-0000-0000-000000000000
1232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1233
+ */
1234
+ readonly name?: string;
1235
+ /** The AAD Tenant ID associated with the subscription. For example, 00000000-0000-0000-0000-000000000000 */
1236
+ tenant?: string;
1237
+ /** The friendly name of the subscription. */
1238
+ displayName?: string;
1239
+ /** The ID of the parent management group. */
1240
+ parent?: DescendantParentGroupInfo;
1241
+ /** The state of the subscription. */
1242
+ state?: string;
1243
+ }
1244
+
1245
+ /** Optional parameters. */
1246
+ export declare interface TenantBackfillStatusOptionalParams extends coreClient.OperationOptions {
1247
+ }
1248
+
1249
+ /** Contains response data for the tenantBackfillStatus operation. */
1250
+ export declare type TenantBackfillStatusResponse = TenantBackfillStatusResult;
1251
+
1252
+ /** The tenant backfill status */
1253
+ export declare interface TenantBackfillStatusResult {
1254
+ /**
1255
+ * The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
1256
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1257
+ */
1258
+ readonly tenantId?: string;
1259
+ /**
1260
+ * The status of the Tenant Backfill
1261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1262
+ */
1263
+ readonly status?: Status;
1264
+ }
1265
+
1266
+ export { }