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