@azure/arm-managementgroups 1.1.0 → 2.0.0-alpha.20211214.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +78 -77
- package/dist/index.js +2881 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/managementGroupsAPI.d.ts +34 -0
- package/dist-esm/src/managementGroupsAPI.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPI.js +102 -0
- package/dist-esm/src/managementGroupsAPI.js.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts +14 -0
- package/dist-esm/src/managementGroupsAPIContext.d.ts.map +1 -0
- package/dist-esm/src/managementGroupsAPIContext.js +43 -0
- package/dist-esm/src/managementGroupsAPIContext.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +956 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +46 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +39 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +776 -396
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +24 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +200 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +34 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +142 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts +52 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js +154 -0
- package/dist-esm/src/operations/hierarchySettingsOperations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts +62 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js +215 -0
- package/dist-esm/src/operations/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/managementGroups.d.ts +109 -0
- package/dist-esm/src/operations/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/managementGroups.js +462 -0
- package/dist-esm/src/operations/managementGroups.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/hierarchySettingsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroupSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -25
- package/review/arm-managementgroups.api.md +667 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/managementGroupsAPI.ts +160 -0
- package/src/managementGroupsAPIContext.ts +62 -0
- package/src/models/index.ts +1082 -0
- package/{lib → src}/models/mappers.ts +792 -400
- package/src/models/parameters.ts +232 -0
- package/src/operations/entities.ts +159 -0
- package/src/operations/hierarchySettingsOperations.ts +214 -0
- package/{lib → src}/operations/index.ts +4 -5
- package/src/operations/managementGroupSubscriptions.ts +294 -0
- package/src/operations/managementGroups.ts +592 -0
- package/src/operations/operations.ts +137 -0
- package/src/operationsInterfaces/entities.ts +23 -0
- package/src/operationsInterfaces/hierarchySettingsOperations.ts +80 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/managementGroupSubscriptions.ts +69 -0
- package/src/operationsInterfaces/managementGroups.ts +131 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +4 -4
- package/types/arm-managementgroups.d.ts +1266 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-managementgroups.js +0 -2007
- package/dist/arm-managementgroups.js.map +0 -1
- package/dist/arm-managementgroups.min.js +0 -1
- package/dist/arm-managementgroups.min.js.map +0 -1
- package/esm/managementGroupsAPI.d.ts +0 -68
- package/esm/managementGroupsAPI.d.ts.map +0 -1
- package/esm/managementGroupsAPI.js +0 -115
- package/esm/managementGroupsAPI.js.map +0 -1
- package/esm/managementGroupsAPIContext.d.ts +0 -14
- package/esm/managementGroupsAPIContext.d.ts.map +0 -1
- package/esm/managementGroupsAPIContext.js +0 -51
- package/esm/managementGroupsAPIContext.js.map +0 -1
- package/esm/models/entitiesMappers.d.ts +0 -2
- package/esm/models/entitiesMappers.d.ts.map +0 -1
- package/esm/models/entitiesMappers.js +0 -11
- package/esm/models/entitiesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1390
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.d.ts +0 -2
- package/esm/models/managementGroupSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupSubscriptionsMappers.js +0 -11
- package/esm/models/managementGroupSubscriptionsMappers.js.map +0 -1
- package/esm/models/managementGroupsMappers.d.ts +0 -2
- package/esm/models/managementGroupsMappers.d.ts.map +0 -1
- package/esm/models/managementGroupsMappers.js +0 -11
- package/esm/models/managementGroupsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -28
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -194
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/entities.d.ts +0 -46
- package/esm/operations/entities.d.ts.map +0 -1
- package/esm/operations/entities.js +0 -87
- package/esm/operations/entities.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementGroupSubscriptions.d.ts +0 -55
- package/esm/operations/managementGroupSubscriptions.d.ts.map +0 -1
- package/esm/operations/managementGroupSubscriptions.js +0 -85
- package/esm/operations/managementGroupSubscriptions.js.map +0 -1
- package/esm/operations/managementGroups.d.ts +0 -120
- package/esm/operations/managementGroups.d.ts.map +0 -1
- package/esm/operations/managementGroups.js +0 -252
- package/esm/operations/managementGroups.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/lib/managementGroupsAPI.ts +0 -191
- package/lib/managementGroupsAPIContext.ts +0 -56
- package/lib/models/entitiesMappers.ts +0 -18
- package/lib/models/index.ts +0 -1466
- package/lib/models/managementGroupSubscriptionsMappers.ts +0 -15
- package/lib/models/managementGroupsMappers.ts +0 -29
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -196
- package/lib/operations/entities.ts +0 -133
- package/lib/operations/managementGroupSubscriptions.ts +0 -140
- package/lib/operations/managementGroups.ts +0 -365
- package/lib/operations/operations.ts +0 -123
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
## API Report File for "@azure/arm-managementgroups"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
import { PollerLike } from '@azure/core-lro';
|
|
11
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export interface AzureAsyncOperationResults {
|
|
15
|
+
displayName?: string;
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
readonly name?: string;
|
|
18
|
+
readonly status?: string;
|
|
19
|
+
tenantId?: string;
|
|
20
|
+
readonly type?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// @public
|
|
24
|
+
export interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// @public
|
|
28
|
+
export interface CheckNameAvailabilityRequest {
|
|
29
|
+
name?: string;
|
|
30
|
+
type?: "Microsoft.Management/managementGroups";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// @public
|
|
34
|
+
export type CheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
35
|
+
|
|
36
|
+
// @public
|
|
37
|
+
export interface CheckNameAvailabilityResult {
|
|
38
|
+
readonly message?: string;
|
|
39
|
+
readonly nameAvailable?: boolean;
|
|
40
|
+
readonly reason?: Reason;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// @public
|
|
44
|
+
export interface CreateManagementGroupChildInfo {
|
|
45
|
+
readonly children?: CreateManagementGroupChildInfo[];
|
|
46
|
+
readonly displayName?: string;
|
|
47
|
+
readonly id?: string;
|
|
48
|
+
readonly name?: string;
|
|
49
|
+
readonly type?: ManagementGroupChildType;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// @public
|
|
53
|
+
export interface CreateManagementGroupDetails {
|
|
54
|
+
parent?: CreateParentGroupInfo;
|
|
55
|
+
readonly updatedBy?: string;
|
|
56
|
+
readonly updatedTime?: Date;
|
|
57
|
+
readonly version?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public
|
|
61
|
+
export interface CreateManagementGroupRequest {
|
|
62
|
+
readonly children?: CreateManagementGroupChildInfo[];
|
|
63
|
+
details?: CreateManagementGroupDetails;
|
|
64
|
+
displayName?: string;
|
|
65
|
+
readonly id?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
readonly tenantId?: string;
|
|
68
|
+
readonly type?: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export interface CreateOrUpdateSettingsRequest {
|
|
73
|
+
defaultManagementGroup?: string;
|
|
74
|
+
requireAuthorizationForGroupCreation?: boolean;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @public
|
|
78
|
+
export interface CreateParentGroupInfo {
|
|
79
|
+
readonly displayName?: string;
|
|
80
|
+
id?: string;
|
|
81
|
+
readonly name?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// @public
|
|
85
|
+
export interface DescendantInfo {
|
|
86
|
+
displayName?: string;
|
|
87
|
+
readonly id?: string;
|
|
88
|
+
readonly name?: string;
|
|
89
|
+
parent?: DescendantParentGroupInfo;
|
|
90
|
+
readonly type?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// @public
|
|
94
|
+
export interface DescendantListResult {
|
|
95
|
+
readonly nextLink?: string;
|
|
96
|
+
value?: DescendantInfo[];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// @public
|
|
100
|
+
export interface DescendantParentGroupInfo {
|
|
101
|
+
id?: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// @public
|
|
105
|
+
export interface Entities {
|
|
106
|
+
list(options?: EntitiesListOptionalParams): PagedAsyncIterableIterator<EntityInfo>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// @public
|
|
110
|
+
export interface EntitiesListNextOptionalParams extends coreClient.OperationOptions {
|
|
111
|
+
cacheControl?: string;
|
|
112
|
+
filter?: string;
|
|
113
|
+
groupName?: string;
|
|
114
|
+
search?: Enum2;
|
|
115
|
+
select?: string;
|
|
116
|
+
skip?: number;
|
|
117
|
+
skiptoken?: string;
|
|
118
|
+
top?: number;
|
|
119
|
+
view?: Enum3;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// @public
|
|
123
|
+
export type EntitiesListNextResponse = EntityListResult;
|
|
124
|
+
|
|
125
|
+
// @public
|
|
126
|
+
export interface EntitiesListOptionalParams extends coreClient.OperationOptions {
|
|
127
|
+
cacheControl?: string;
|
|
128
|
+
filter?: string;
|
|
129
|
+
groupName?: string;
|
|
130
|
+
search?: Enum2;
|
|
131
|
+
select?: string;
|
|
132
|
+
skip?: number;
|
|
133
|
+
skiptoken?: string;
|
|
134
|
+
top?: number;
|
|
135
|
+
view?: Enum3;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// @public
|
|
139
|
+
export type EntitiesListResponse = EntityListResult;
|
|
140
|
+
|
|
141
|
+
// @public
|
|
142
|
+
export interface EntityHierarchyItem {
|
|
143
|
+
children?: EntityHierarchyItem[];
|
|
144
|
+
displayName?: string;
|
|
145
|
+
readonly id?: string;
|
|
146
|
+
readonly name?: string;
|
|
147
|
+
permissions?: Permissions_2;
|
|
148
|
+
readonly type?: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// @public
|
|
152
|
+
export interface EntityInfo {
|
|
153
|
+
displayName?: string;
|
|
154
|
+
readonly id?: string;
|
|
155
|
+
inheritedPermissions?: Permissions_2;
|
|
156
|
+
readonly name?: string;
|
|
157
|
+
numberOfChildGroups?: number;
|
|
158
|
+
numberOfChildren?: number;
|
|
159
|
+
numberOfDescendants?: number;
|
|
160
|
+
parent?: EntityParentGroupInfo;
|
|
161
|
+
parentDisplayNameChain?: string[];
|
|
162
|
+
parentNameChain?: string[];
|
|
163
|
+
permissions?: Permissions_2;
|
|
164
|
+
tenantId?: string;
|
|
165
|
+
readonly type?: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// @public
|
|
169
|
+
export interface EntityListResult {
|
|
170
|
+
readonly count?: number;
|
|
171
|
+
readonly nextLink?: string;
|
|
172
|
+
value?: EntityInfo[];
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// @public
|
|
176
|
+
export interface EntityParentGroupInfo {
|
|
177
|
+
id?: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export type Enum0 = string;
|
|
182
|
+
|
|
183
|
+
// @public
|
|
184
|
+
export type Enum2 = string;
|
|
185
|
+
|
|
186
|
+
// @public
|
|
187
|
+
export type Enum3 = string;
|
|
188
|
+
|
|
189
|
+
// @public
|
|
190
|
+
export interface ErrorDetails {
|
|
191
|
+
code?: string;
|
|
192
|
+
details?: string;
|
|
193
|
+
message?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// @public
|
|
197
|
+
export interface ErrorResponse {
|
|
198
|
+
error?: ErrorDetails;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// @public
|
|
202
|
+
export interface HierarchySettings {
|
|
203
|
+
defaultManagementGroup?: string;
|
|
204
|
+
readonly id?: string;
|
|
205
|
+
readonly name?: string;
|
|
206
|
+
requireAuthorizationForGroupCreation?: boolean;
|
|
207
|
+
tenantId?: string;
|
|
208
|
+
readonly type?: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// @public
|
|
212
|
+
export interface HierarchySettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// @public
|
|
216
|
+
export type HierarchySettingsCreateOrUpdateResponse = HierarchySettings;
|
|
217
|
+
|
|
218
|
+
// @public
|
|
219
|
+
export interface HierarchySettingsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// @public
|
|
223
|
+
export interface HierarchySettingsGetOptionalParams extends coreClient.OperationOptions {
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// @public
|
|
227
|
+
export type HierarchySettingsGetResponse = HierarchySettings;
|
|
228
|
+
|
|
229
|
+
// @public
|
|
230
|
+
export interface HierarchySettingsInfo {
|
|
231
|
+
defaultManagementGroup?: string;
|
|
232
|
+
readonly id?: string;
|
|
233
|
+
readonly name?: string;
|
|
234
|
+
requireAuthorizationForGroupCreation?: boolean;
|
|
235
|
+
tenantId?: string;
|
|
236
|
+
readonly type?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// @public
|
|
240
|
+
export interface HierarchySettingsList {
|
|
241
|
+
readonly nextLink?: string;
|
|
242
|
+
value?: HierarchySettingsInfo[];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// @public
|
|
246
|
+
export interface HierarchySettingsListOptionalParams extends coreClient.OperationOptions {
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// @public
|
|
250
|
+
export type HierarchySettingsListResponse = HierarchySettingsList;
|
|
251
|
+
|
|
252
|
+
// @public
|
|
253
|
+
export interface HierarchySettingsOperations {
|
|
254
|
+
createOrUpdate(groupId: string, createTenantSettingsRequest: CreateOrUpdateSettingsRequest, options?: HierarchySettingsCreateOrUpdateOptionalParams): Promise<HierarchySettingsCreateOrUpdateResponse>;
|
|
255
|
+
delete(groupId: string, options?: HierarchySettingsDeleteOptionalParams): Promise<void>;
|
|
256
|
+
get(groupId: string, options?: HierarchySettingsGetOptionalParams): Promise<HierarchySettingsGetResponse>;
|
|
257
|
+
list(groupId: string, options?: HierarchySettingsListOptionalParams): Promise<HierarchySettingsListResponse>;
|
|
258
|
+
update(groupId: string, createTenantSettingsRequest: CreateOrUpdateSettingsRequest, options?: HierarchySettingsUpdateOptionalParams): Promise<HierarchySettingsUpdateResponse>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// @public
|
|
262
|
+
export interface HierarchySettingsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// @public
|
|
266
|
+
export type HierarchySettingsUpdateResponse = HierarchySettings;
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export enum KnownEnum0 {
|
|
270
|
+
// (undocumented)
|
|
271
|
+
Ancestors = "ancestors",
|
|
272
|
+
// (undocumented)
|
|
273
|
+
Children = "children",
|
|
274
|
+
// (undocumented)
|
|
275
|
+
Path = "path"
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export enum KnownEnum2 {
|
|
280
|
+
// (undocumented)
|
|
281
|
+
AllowedChildren = "AllowedChildren",
|
|
282
|
+
// (undocumented)
|
|
283
|
+
AllowedParents = "AllowedParents",
|
|
284
|
+
// (undocumented)
|
|
285
|
+
ChildrenOnly = "ChildrenOnly",
|
|
286
|
+
// (undocumented)
|
|
287
|
+
ParentAndFirstLevelChildren = "ParentAndFirstLevelChildren",
|
|
288
|
+
// (undocumented)
|
|
289
|
+
ParentOnly = "ParentOnly"
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// @public
|
|
293
|
+
export enum KnownEnum3 {
|
|
294
|
+
// (undocumented)
|
|
295
|
+
Audit = "Audit",
|
|
296
|
+
// (undocumented)
|
|
297
|
+
FullHierarchy = "FullHierarchy",
|
|
298
|
+
// (undocumented)
|
|
299
|
+
GroupsOnly = "GroupsOnly",
|
|
300
|
+
// (undocumented)
|
|
301
|
+
SubscriptionsOnly = "SubscriptionsOnly"
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// @public
|
|
305
|
+
export enum KnownManagementGroupChildType {
|
|
306
|
+
// (undocumented)
|
|
307
|
+
MicrosoftManagementManagementGroups = "Microsoft.Management/managementGroups",
|
|
308
|
+
// (undocumented)
|
|
309
|
+
Subscriptions = "/subscriptions"
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
// @public
|
|
313
|
+
export enum KnownPermissions {
|
|
314
|
+
// (undocumented)
|
|
315
|
+
Delete = "delete",
|
|
316
|
+
// (undocumented)
|
|
317
|
+
Edit = "edit",
|
|
318
|
+
// (undocumented)
|
|
319
|
+
Noaccess = "noaccess",
|
|
320
|
+
// (undocumented)
|
|
321
|
+
View = "view"
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// @public
|
|
325
|
+
export interface ListSubscriptionUnderManagementGroup {
|
|
326
|
+
readonly nextLink?: string;
|
|
327
|
+
value?: SubscriptionUnderManagementGroup[];
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// @public
|
|
331
|
+
export interface ManagementGroup {
|
|
332
|
+
children?: ManagementGroupChildInfo[];
|
|
333
|
+
details?: ManagementGroupDetails;
|
|
334
|
+
displayName?: string;
|
|
335
|
+
readonly id?: string;
|
|
336
|
+
readonly name?: string;
|
|
337
|
+
tenantId?: string;
|
|
338
|
+
readonly type?: string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
// @public
|
|
342
|
+
export interface ManagementGroupChildInfo {
|
|
343
|
+
children?: ManagementGroupChildInfo[];
|
|
344
|
+
displayName?: string;
|
|
345
|
+
id?: string;
|
|
346
|
+
name?: string;
|
|
347
|
+
type?: ManagementGroupChildType;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// @public
|
|
351
|
+
export type ManagementGroupChildType = string;
|
|
352
|
+
|
|
353
|
+
// @public
|
|
354
|
+
export interface ManagementGroupDetails {
|
|
355
|
+
managementGroupAncestors?: string[];
|
|
356
|
+
managementGroupAncestorsChain?: ManagementGroupPathElement[];
|
|
357
|
+
parent?: ParentGroupInfo;
|
|
358
|
+
path?: ManagementGroupPathElement[];
|
|
359
|
+
updatedBy?: string;
|
|
360
|
+
updatedTime?: Date;
|
|
361
|
+
version?: number;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
// @public
|
|
365
|
+
export interface ManagementGroupInfo {
|
|
366
|
+
displayName?: string;
|
|
367
|
+
readonly id?: string;
|
|
368
|
+
readonly name?: string;
|
|
369
|
+
tenantId?: string;
|
|
370
|
+
readonly type?: string;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// @public
|
|
374
|
+
export interface ManagementGroupListResult {
|
|
375
|
+
readonly nextLink?: string;
|
|
376
|
+
value?: ManagementGroupInfo[];
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// @public
|
|
380
|
+
export interface ManagementGroupPathElement {
|
|
381
|
+
displayName?: string;
|
|
382
|
+
name?: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
// @public
|
|
386
|
+
export interface ManagementGroups {
|
|
387
|
+
beginCreateOrUpdate(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroupsCreateOrUpdateResponse>, ManagementGroupsCreateOrUpdateResponse>>;
|
|
388
|
+
beginCreateOrUpdateAndWait(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<ManagementGroupsCreateOrUpdateResponse>;
|
|
389
|
+
beginDelete(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroupsDeleteResponse>, ManagementGroupsDeleteResponse>>;
|
|
390
|
+
beginDeleteAndWait(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<ManagementGroupsDeleteResponse>;
|
|
391
|
+
get(groupId: string, options?: ManagementGroupsGetOptionalParams): Promise<ManagementGroupsGetResponse>;
|
|
392
|
+
list(options?: ManagementGroupsListOptionalParams): PagedAsyncIterableIterator<ManagementGroupInfo>;
|
|
393
|
+
listDescendants(groupId: string, options?: ManagementGroupsGetDescendantsOptionalParams): PagedAsyncIterableIterator<DescendantInfo>;
|
|
394
|
+
update(groupId: string, patchGroupRequest: PatchManagementGroupRequest, options?: ManagementGroupsUpdateOptionalParams): Promise<ManagementGroupsUpdateResponse>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// @public (undocumented)
|
|
398
|
+
export class ManagementGroupsAPI extends ManagementGroupsAPIContext {
|
|
399
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ManagementGroupsAPIOptionalParams);
|
|
400
|
+
checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>;
|
|
401
|
+
// (undocumented)
|
|
402
|
+
entities: Entities;
|
|
403
|
+
// (undocumented)
|
|
404
|
+
hierarchySettingsOperations: HierarchySettingsOperations;
|
|
405
|
+
// (undocumented)
|
|
406
|
+
managementGroups: ManagementGroups;
|
|
407
|
+
// (undocumented)
|
|
408
|
+
managementGroupSubscriptions: ManagementGroupSubscriptions;
|
|
409
|
+
// (undocumented)
|
|
410
|
+
operations: Operations;
|
|
411
|
+
startTenantBackfill(options?: StartTenantBackfillOptionalParams): Promise<StartTenantBackfillResponse>;
|
|
412
|
+
tenantBackfillStatus(options?: TenantBackfillStatusOptionalParams): Promise<TenantBackfillStatusResponse>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// @public (undocumented)
|
|
416
|
+
export class ManagementGroupsAPIContext extends coreClient.ServiceClient {
|
|
417
|
+
// (undocumented)
|
|
418
|
+
$host: string;
|
|
419
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ManagementGroupsAPIOptionalParams);
|
|
420
|
+
// (undocumented)
|
|
421
|
+
apiVersion: string;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// @public
|
|
425
|
+
export interface ManagementGroupsAPIOptionalParams extends coreClient.ServiceClientOptions {
|
|
426
|
+
$host?: string;
|
|
427
|
+
apiVersion?: string;
|
|
428
|
+
endpoint?: string;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// @public
|
|
432
|
+
export interface ManagementGroupsCreateOrUpdateHeaders {
|
|
433
|
+
azureAsyncOperation?: string;
|
|
434
|
+
location?: string;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// @public
|
|
438
|
+
export interface ManagementGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
439
|
+
cacheControl?: string;
|
|
440
|
+
resumeFrom?: string;
|
|
441
|
+
updateIntervalInMs?: number;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
// @public
|
|
445
|
+
export type ManagementGroupsCreateOrUpdateResponse = ManagementGroup;
|
|
446
|
+
|
|
447
|
+
// @public
|
|
448
|
+
export interface ManagementGroupsDeleteHeaders {
|
|
449
|
+
azureAsyncOperation?: string;
|
|
450
|
+
location?: string;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// @public
|
|
454
|
+
export interface ManagementGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
455
|
+
cacheControl?: string;
|
|
456
|
+
resumeFrom?: string;
|
|
457
|
+
updateIntervalInMs?: number;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
// @public
|
|
461
|
+
export type ManagementGroupsDeleteResponse = ManagementGroupsDeleteHeaders & AzureAsyncOperationResults;
|
|
462
|
+
|
|
463
|
+
// @public
|
|
464
|
+
export interface ManagementGroupsGetDescendantsNextOptionalParams extends coreClient.OperationOptions {
|
|
465
|
+
skiptoken?: string;
|
|
466
|
+
top?: number;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// @public
|
|
470
|
+
export type ManagementGroupsGetDescendantsNextResponse = DescendantListResult;
|
|
471
|
+
|
|
472
|
+
// @public
|
|
473
|
+
export interface ManagementGroupsGetDescendantsOptionalParams extends coreClient.OperationOptions {
|
|
474
|
+
skiptoken?: string;
|
|
475
|
+
top?: number;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
// @public
|
|
479
|
+
export type ManagementGroupsGetDescendantsResponse = DescendantListResult;
|
|
480
|
+
|
|
481
|
+
// @public
|
|
482
|
+
export interface ManagementGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
483
|
+
cacheControl?: string;
|
|
484
|
+
expand?: Enum0;
|
|
485
|
+
filter?: string;
|
|
486
|
+
recurse?: boolean;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// @public
|
|
490
|
+
export type ManagementGroupsGetResponse = ManagementGroup;
|
|
491
|
+
|
|
492
|
+
// @public
|
|
493
|
+
export interface ManagementGroupsListNextOptionalParams extends coreClient.OperationOptions {
|
|
494
|
+
cacheControl?: string;
|
|
495
|
+
skiptoken?: string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// @public
|
|
499
|
+
export type ManagementGroupsListNextResponse = ManagementGroupListResult;
|
|
500
|
+
|
|
501
|
+
// @public
|
|
502
|
+
export interface ManagementGroupsListOptionalParams extends coreClient.OperationOptions {
|
|
503
|
+
cacheControl?: string;
|
|
504
|
+
skiptoken?: string;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// @public
|
|
508
|
+
export type ManagementGroupsListResponse = ManagementGroupListResult;
|
|
509
|
+
|
|
510
|
+
// @public
|
|
511
|
+
export interface ManagementGroupSubscriptions {
|
|
512
|
+
create(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsCreateOptionalParams): Promise<ManagementGroupSubscriptionsCreateResponse>;
|
|
513
|
+
delete(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsDeleteOptionalParams): Promise<void>;
|
|
514
|
+
getSubscription(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsGetSubscriptionOptionalParams): Promise<ManagementGroupSubscriptionsGetSubscriptionResponse>;
|
|
515
|
+
listSubscriptionsUnderManagementGroup(groupId: string, options?: ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams): PagedAsyncIterableIterator<SubscriptionUnderManagementGroup>;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
// @public
|
|
519
|
+
export interface ManagementGroupSubscriptionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
520
|
+
cacheControl?: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
// @public
|
|
524
|
+
export type ManagementGroupSubscriptionsCreateResponse = SubscriptionUnderManagementGroup;
|
|
525
|
+
|
|
526
|
+
// @public
|
|
527
|
+
export interface ManagementGroupSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
528
|
+
cacheControl?: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// @public
|
|
532
|
+
export interface ManagementGroupSubscriptionsGetSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
533
|
+
cacheControl?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
// @public
|
|
537
|
+
export type ManagementGroupSubscriptionsGetSubscriptionResponse = SubscriptionUnderManagementGroup;
|
|
538
|
+
|
|
539
|
+
// @public
|
|
540
|
+
export interface ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
541
|
+
skiptoken?: string;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// @public
|
|
545
|
+
export type ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupNextResponse = ListSubscriptionUnderManagementGroup;
|
|
546
|
+
|
|
547
|
+
// @public
|
|
548
|
+
export interface ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
549
|
+
skiptoken?: string;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// @public
|
|
553
|
+
export type ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupResponse = ListSubscriptionUnderManagementGroup;
|
|
554
|
+
|
|
555
|
+
// @public
|
|
556
|
+
export interface ManagementGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
557
|
+
cacheControl?: string;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// @public
|
|
561
|
+
export type ManagementGroupsUpdateResponse = ManagementGroup;
|
|
562
|
+
|
|
563
|
+
// @public
|
|
564
|
+
export interface Operation {
|
|
565
|
+
display?: OperationDisplayProperties;
|
|
566
|
+
readonly name?: string;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
// @public
|
|
570
|
+
export interface OperationDisplayProperties {
|
|
571
|
+
readonly description?: string;
|
|
572
|
+
readonly operation?: string;
|
|
573
|
+
readonly provider?: string;
|
|
574
|
+
readonly resource?: string;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
// @public
|
|
578
|
+
export interface OperationListResult {
|
|
579
|
+
readonly nextLink?: string;
|
|
580
|
+
readonly value?: Operation[];
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// @public
|
|
584
|
+
export interface OperationResults {
|
|
585
|
+
displayName?: string;
|
|
586
|
+
readonly id?: string;
|
|
587
|
+
readonly name?: string;
|
|
588
|
+
tenantId?: string;
|
|
589
|
+
readonly type?: string;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
// @public
|
|
593
|
+
export interface Operations {
|
|
594
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// @public
|
|
598
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// @public
|
|
602
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
603
|
+
|
|
604
|
+
// @public
|
|
605
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
// @public
|
|
609
|
+
export type OperationsListResponse = OperationListResult;
|
|
610
|
+
|
|
611
|
+
// @public
|
|
612
|
+
export interface ParentGroupInfo {
|
|
613
|
+
displayName?: string;
|
|
614
|
+
id?: string;
|
|
615
|
+
name?: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// @public
|
|
619
|
+
export interface PatchManagementGroupRequest {
|
|
620
|
+
displayName?: string;
|
|
621
|
+
parentGroupId?: string;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
// @public
|
|
625
|
+
type Permissions_2 = string;
|
|
626
|
+
export { Permissions_2 as Permissions }
|
|
627
|
+
|
|
628
|
+
// @public
|
|
629
|
+
export type Reason = "Invalid" | "AlreadyExists";
|
|
630
|
+
|
|
631
|
+
// @public
|
|
632
|
+
export interface StartTenantBackfillOptionalParams extends coreClient.OperationOptions {
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
// @public
|
|
636
|
+
export type StartTenantBackfillResponse = TenantBackfillStatusResult;
|
|
637
|
+
|
|
638
|
+
// @public
|
|
639
|
+
export type Status = "NotStarted" | "NotStartedButGroupsExist" | "Started" | "Failed" | "Cancelled" | "Completed";
|
|
640
|
+
|
|
641
|
+
// @public
|
|
642
|
+
export interface SubscriptionUnderManagementGroup {
|
|
643
|
+
displayName?: string;
|
|
644
|
+
readonly id?: string;
|
|
645
|
+
readonly name?: string;
|
|
646
|
+
parent?: DescendantParentGroupInfo;
|
|
647
|
+
state?: string;
|
|
648
|
+
tenant?: string;
|
|
649
|
+
readonly type?: string;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
// @public
|
|
653
|
+
export interface TenantBackfillStatusOptionalParams extends coreClient.OperationOptions {
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
// @public
|
|
657
|
+
export type TenantBackfillStatusResponse = TenantBackfillStatusResult;
|
|
658
|
+
|
|
659
|
+
// @public
|
|
660
|
+
export interface TenantBackfillStatusResult {
|
|
661
|
+
readonly status?: Status;
|
|
662
|
+
readonly tenantId?: string;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
// (No @packageDocumentation comment for this package)
|
|
666
|
+
|
|
667
|
+
```
|