@azure-rest/developer-devcenter 1.0.0-alpha.20230508.2 → 1.0.0-alpha.20231120.3
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/README.md +11 -10
- package/dist/index.js +96 -150
- package/dist/index.js.map +1 -1
- package/dist-esm/src/{generated/azureDevCenter.js → azureDeveloperDevCenter.js} +13 -10
- package/dist-esm/src/azureDeveloperDevCenter.js.map +1 -0
- package/dist-esm/src/clientDefinitions.js.map +1 -0
- package/dist-esm/src/index.js +11 -11
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/isUnexpected.js +111 -0
- package/dist-esm/src/isUnexpected.js.map +1 -0
- package/dist-esm/src/logger.js +5 -0
- package/dist-esm/src/logger.js.map +1 -0
- package/dist-esm/src/models.js.map +1 -0
- package/dist-esm/src/outputModels.js.map +1 -0
- package/dist-esm/src/{generated/paginateHelper.js → paginateHelper.js} +4 -17
- package/dist-esm/src/paginateHelper.js.map +1 -0
- package/dist-esm/src/parameters.js.map +1 -0
- package/dist-esm/src/{generated/pollingHelper.js → pollingHelper.js} +11 -19
- package/dist-esm/src/pollingHelper.js.map +1 -0
- package/dist-esm/src/responses.js.map +1 -0
- package/package.json +33 -29
- package/review/developer-devcenter.api.md +930 -935
- package/types/developer-devcenter.d.ts +1138 -1177
- package/dist-esm/src/generated/azureDevCenter.js.map +0 -1
- package/dist-esm/src/generated/clientDefinitions.js.map +0 -1
- package/dist-esm/src/generated/index.js +0 -14
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/isUnexpected.js +0 -155
- package/dist-esm/src/generated/isUnexpected.js.map +0 -1
- package/dist-esm/src/generated/models.js.map +0 -1
- package/dist-esm/src/generated/outputModels.js.map +0 -1
- package/dist-esm/src/generated/paginateHelper.js.map +0 -1
- package/dist-esm/src/generated/parameters.js.map +0 -1
- package/dist-esm/src/generated/pollingHelper.js.map +0 -1
- package/dist-esm/src/generated/responses.js.map +0 -1
- /package/dist-esm/src/{generated/clientDefinitions.js → clientDefinitions.js} +0 -0
- /package/dist-esm/src/{generated/models.js → models.js} +0 -0
- /package/dist-esm/src/{generated/outputModels.js → outputModels.js} +0 -0
- /package/dist-esm/src/{generated/parameters.js → parameters.js} +0 -0
- /package/dist-esm/src/{generated/responses.js → responses.js} +0 -0
|
@@ -6,1743 +6,1754 @@
|
|
|
6
6
|
|
|
7
7
|
import { Client } from '@azure-rest/core-client';
|
|
8
8
|
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import { CreateHttpPollerOptions } from '@azure/core-lro';
|
|
10
|
+
import { ErrorModel } from '@azure-rest/core-client';
|
|
11
|
+
import { ErrorResponse } from '@azure-rest/core-client';
|
|
9
12
|
import { HttpResponse } from '@azure-rest/core-client';
|
|
10
|
-
import {
|
|
13
|
+
import { OperationState } from '@azure/core-lro';
|
|
14
|
+
import { Paged } from '@azure/core-paging';
|
|
11
15
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
12
16
|
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
13
|
-
import { PollerLike } from '@azure/core-lro';
|
|
14
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
15
17
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
16
18
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
19
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
17
20
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
18
21
|
import { TokenCredential } from '@azure/core-auth';
|
|
19
22
|
|
|
20
|
-
// @public
|
|
21
|
-
export interface ActionRequest {
|
|
22
|
-
actionId: string;
|
|
23
|
-
parameters?: Record<string, unknown>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
23
|
// @public (undocumented)
|
|
27
|
-
export type
|
|
24
|
+
export type AzureDeveloperDevCenterClient = Client & {
|
|
28
25
|
path: Routes;
|
|
29
26
|
};
|
|
30
27
|
|
|
31
28
|
// @public
|
|
32
|
-
export interface
|
|
33
|
-
|
|
34
|
-
id?: string;
|
|
35
|
-
name?: string;
|
|
36
|
-
parameters?: Array<CatalogItemParameterOutput>;
|
|
37
|
-
parametersSchema?: string;
|
|
38
|
-
runner?: string;
|
|
39
|
-
type?: "Custom" | "Deploy" | "Delete";
|
|
40
|
-
typeName?: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// @public
|
|
44
|
-
export interface CatalogItemListResultOutput {
|
|
45
|
-
nextLink?: string;
|
|
46
|
-
value: Array<CatalogItemOutput>;
|
|
29
|
+
export interface CatalogOutput {
|
|
30
|
+
name: string;
|
|
47
31
|
}
|
|
48
32
|
|
|
49
33
|
// @public
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
id?: string;
|
|
53
|
-
name?: string;
|
|
54
|
-
}
|
|
34
|
+
function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureDeveloperDevCenterClient;
|
|
35
|
+
export default createClient;
|
|
55
36
|
|
|
56
37
|
// @public
|
|
57
|
-
export interface
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
name?: string;
|
|
63
|
-
readOnly?: boolean;
|
|
64
|
-
required?: boolean;
|
|
65
|
-
type?: "array" | "boolean" | "integer" | "null" | "number" | "object" | "string";
|
|
38
|
+
export interface CreateDevBox200Response extends HttpResponse {
|
|
39
|
+
// (undocumented)
|
|
40
|
+
body: DevBoxOutput;
|
|
41
|
+
// (undocumented)
|
|
42
|
+
status: "200";
|
|
66
43
|
}
|
|
67
44
|
|
|
68
|
-
// @public
|
|
69
|
-
export interface
|
|
70
|
-
|
|
71
|
-
|
|
45
|
+
// @public (undocumented)
|
|
46
|
+
export interface CreateDevBox201Headers {
|
|
47
|
+
// (undocumented)
|
|
48
|
+
"operation-location": string;
|
|
49
|
+
// (undocumented)
|
|
50
|
+
location: string;
|
|
72
51
|
}
|
|
73
52
|
|
|
74
53
|
// @public
|
|
75
|
-
export interface
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
parameters?: Array<CatalogItemParameterOutput>;
|
|
83
|
-
parametersSchema?: string;
|
|
84
|
-
runner?: string;
|
|
85
|
-
status?: "Enabled" | "Disabled";
|
|
86
|
-
summary?: string;
|
|
87
|
-
templatePath?: string;
|
|
88
|
-
version?: string;
|
|
54
|
+
export interface CreateDevBox201Response extends HttpResponse {
|
|
55
|
+
// (undocumented)
|
|
56
|
+
body: DevBoxOutput;
|
|
57
|
+
// (undocumented)
|
|
58
|
+
headers: RawHttpHeaders & CreateDevBox201Headers;
|
|
59
|
+
// (undocumented)
|
|
60
|
+
status: "201";
|
|
89
61
|
}
|
|
90
62
|
|
|
91
|
-
// @public
|
|
92
|
-
export interface
|
|
93
|
-
|
|
94
|
-
details?: Array<CloudErrorBodyOutput>;
|
|
95
|
-
message: string;
|
|
96
|
-
target?: string;
|
|
63
|
+
// @public (undocumented)
|
|
64
|
+
export interface CreateDevBoxBodyParam {
|
|
65
|
+
body: DevBox;
|
|
97
66
|
}
|
|
98
67
|
|
|
99
|
-
// @public
|
|
100
|
-
export interface
|
|
101
|
-
error
|
|
68
|
+
// @public (undocumented)
|
|
69
|
+
export interface CreateDevBoxDefaultHeaders {
|
|
70
|
+
"x-ms-error-code"?: string;
|
|
102
71
|
}
|
|
103
72
|
|
|
104
|
-
// @public
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
errorDetails?: ProvisioningError;
|
|
113
|
-
hardwareProfile?: HardwareProfile;
|
|
114
|
-
hibernateSupport?: "Disabled" | "Enabled";
|
|
115
|
-
imageReference?: ImageReference;
|
|
116
|
-
localAdministrator?: "Enabled" | "Disabled";
|
|
117
|
-
location?: string;
|
|
118
|
-
name?: string;
|
|
119
|
-
osType?: "Windows";
|
|
120
|
-
poolName: string;
|
|
121
|
-
powerState?: "Unknown" | "Deallocated" | "PoweredOff" | "Running" | "Hibernated";
|
|
122
|
-
projectName?: string;
|
|
123
|
-
provisioningState?: string;
|
|
124
|
-
storageProfile?: StorageProfile;
|
|
125
|
-
uniqueId?: string;
|
|
126
|
-
user?: string;
|
|
73
|
+
// @public (undocumented)
|
|
74
|
+
export interface CreateDevBoxDefaultResponse extends HttpResponse {
|
|
75
|
+
// (undocumented)
|
|
76
|
+
body: ErrorResponse;
|
|
77
|
+
// (undocumented)
|
|
78
|
+
headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
|
|
79
|
+
// (undocumented)
|
|
80
|
+
status: string;
|
|
127
81
|
}
|
|
128
82
|
|
|
129
83
|
// @public
|
|
130
|
-
export interface
|
|
84
|
+
export interface CreateDevBoxLogicalResponse extends HttpResponse {
|
|
131
85
|
// (undocumented)
|
|
132
86
|
body: DevBoxOutput;
|
|
133
87
|
// (undocumented)
|
|
134
88
|
status: "200";
|
|
135
89
|
}
|
|
136
90
|
|
|
91
|
+
// @public (undocumented)
|
|
92
|
+
export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
|
|
93
|
+
|
|
94
|
+
// @public (undocumented)
|
|
95
|
+
export interface CreateOrUpdateEnvironment201Headers {
|
|
96
|
+
// (undocumented)
|
|
97
|
+
"operation-location": string;
|
|
98
|
+
}
|
|
99
|
+
|
|
137
100
|
// @public
|
|
138
|
-
export interface
|
|
101
|
+
export interface CreateOrUpdateEnvironment201Response extends HttpResponse {
|
|
139
102
|
// (undocumented)
|
|
140
|
-
body:
|
|
103
|
+
body: EnvironmentOutput;
|
|
104
|
+
// (undocumented)
|
|
105
|
+
headers: RawHttpHeaders & CreateOrUpdateEnvironment201Headers;
|
|
141
106
|
// (undocumented)
|
|
142
107
|
status: "201";
|
|
143
108
|
}
|
|
144
109
|
|
|
145
110
|
// @public (undocumented)
|
|
146
|
-
export interface
|
|
147
|
-
body:
|
|
111
|
+
export interface CreateOrUpdateEnvironmentBodyParam {
|
|
112
|
+
body: Environment;
|
|
148
113
|
}
|
|
149
114
|
|
|
150
115
|
// @public (undocumented)
|
|
151
|
-
export interface
|
|
116
|
+
export interface CreateOrUpdateEnvironmentDefaultHeaders {
|
|
152
117
|
"x-ms-error-code"?: string;
|
|
153
118
|
}
|
|
154
119
|
|
|
155
|
-
// @public
|
|
156
|
-
export interface
|
|
120
|
+
// @public (undocumented)
|
|
121
|
+
export interface CreateOrUpdateEnvironmentDefaultResponse extends HttpResponse {
|
|
157
122
|
// (undocumented)
|
|
158
|
-
body:
|
|
123
|
+
body: ErrorResponse;
|
|
159
124
|
// (undocumented)
|
|
160
|
-
headers: RawHttpHeaders &
|
|
125
|
+
headers: RawHttpHeaders & CreateOrUpdateEnvironmentDefaultHeaders;
|
|
161
126
|
// (undocumented)
|
|
162
127
|
status: string;
|
|
163
128
|
}
|
|
164
129
|
|
|
165
|
-
// @public
|
|
166
|
-
export interface
|
|
167
|
-
|
|
130
|
+
// @public
|
|
131
|
+
export interface CreateOrUpdateEnvironmentLogicalResponse extends HttpResponse {
|
|
132
|
+
// (undocumented)
|
|
133
|
+
body: EnvironmentOutput;
|
|
134
|
+
// (undocumented)
|
|
135
|
+
status: "200";
|
|
168
136
|
}
|
|
169
137
|
|
|
170
138
|
// @public (undocumented)
|
|
171
|
-
export type
|
|
139
|
+
export type CreateOrUpdateEnvironmentParameters = CreateOrUpdateEnvironmentBodyParam & RequestParameters;
|
|
172
140
|
|
|
173
141
|
// @public (undocumented)
|
|
174
|
-
export interface
|
|
175
|
-
post(options:
|
|
142
|
+
export interface DelayAction {
|
|
143
|
+
post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
|
|
176
144
|
}
|
|
177
145
|
|
|
178
146
|
// @public
|
|
179
|
-
export interface
|
|
147
|
+
export interface DelayAction200Response extends HttpResponse {
|
|
180
148
|
// (undocumented)
|
|
181
|
-
body:
|
|
149
|
+
body: DevBoxActionOutput;
|
|
182
150
|
// (undocumented)
|
|
183
151
|
status: "200";
|
|
184
152
|
}
|
|
185
153
|
|
|
186
154
|
// @public (undocumented)
|
|
187
|
-
export interface
|
|
155
|
+
export interface DelayActionDefaultHeaders {
|
|
188
156
|
"x-ms-error-code"?: string;
|
|
189
157
|
}
|
|
190
158
|
|
|
191
|
-
// @public
|
|
192
|
-
export interface
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export interface DelayActionDefaultResponse extends HttpResponse {
|
|
193
161
|
// (undocumented)
|
|
194
|
-
body:
|
|
162
|
+
body: ErrorResponse;
|
|
195
163
|
// (undocumented)
|
|
196
|
-
headers: RawHttpHeaders &
|
|
164
|
+
headers: RawHttpHeaders & DelayActionDefaultHeaders;
|
|
197
165
|
// (undocumented)
|
|
198
166
|
status: string;
|
|
199
167
|
}
|
|
200
168
|
|
|
201
169
|
// @public (undocumented)
|
|
202
|
-
export type
|
|
170
|
+
export type DelayActionParameters = DelayActionQueryParam & RequestParameters;
|
|
203
171
|
|
|
204
172
|
// @public (undocumented)
|
|
205
|
-
export interface
|
|
173
|
+
export interface DelayActionQueryParam {
|
|
206
174
|
// (undocumented)
|
|
207
|
-
queryParameters:
|
|
175
|
+
queryParameters: DelayActionQueryParamProperties;
|
|
208
176
|
}
|
|
209
177
|
|
|
210
178
|
// @public (undocumented)
|
|
211
|
-
export interface
|
|
212
|
-
|
|
179
|
+
export interface DelayActionQueryParamProperties {
|
|
180
|
+
until: Date | string;
|
|
213
181
|
}
|
|
214
182
|
|
|
215
183
|
// @public (undocumented)
|
|
216
|
-
export interface
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
// @public
|
|
221
|
-
export interface DevBoxesDeleteDevBox202Response extends HttpResponse {
|
|
222
|
-
// (undocumented)
|
|
223
|
-
body: Record<string, unknown>;
|
|
224
|
-
// (undocumented)
|
|
225
|
-
headers: RawHttpHeaders & DevBoxesDeleteDevBox202Headers;
|
|
226
|
-
// (undocumented)
|
|
227
|
-
status: "202";
|
|
184
|
+
export interface DelayAllActions {
|
|
185
|
+
post(options: DelayAllActionsParameters): StreamableMethod<DelayAllActions200Response | DelayAllActionsDefaultResponse>;
|
|
228
186
|
}
|
|
229
187
|
|
|
230
188
|
// @public
|
|
231
|
-
export interface
|
|
189
|
+
export interface DelayAllActions200Response extends HttpResponse {
|
|
232
190
|
// (undocumented)
|
|
233
|
-
body:
|
|
191
|
+
body: PagedDevBoxActionDelayResultOutput;
|
|
234
192
|
// (undocumented)
|
|
235
|
-
status: "
|
|
193
|
+
status: "200";
|
|
236
194
|
}
|
|
237
195
|
|
|
238
196
|
// @public (undocumented)
|
|
239
|
-
export interface
|
|
197
|
+
export interface DelayAllActionsDefaultHeaders {
|
|
240
198
|
"x-ms-error-code"?: string;
|
|
241
199
|
}
|
|
242
200
|
|
|
243
|
-
// @public
|
|
244
|
-
export interface
|
|
201
|
+
// @public (undocumented)
|
|
202
|
+
export interface DelayAllActionsDefaultResponse extends HttpResponse {
|
|
245
203
|
// (undocumented)
|
|
246
|
-
body:
|
|
204
|
+
body: ErrorResponse;
|
|
247
205
|
// (undocumented)
|
|
248
|
-
headers: RawHttpHeaders &
|
|
206
|
+
headers: RawHttpHeaders & DelayAllActionsDefaultHeaders;
|
|
249
207
|
// (undocumented)
|
|
250
208
|
status: string;
|
|
251
209
|
}
|
|
252
210
|
|
|
253
211
|
// @public (undocumented)
|
|
254
|
-
export type
|
|
212
|
+
export type DelayAllActionsParameters = DelayAllActionsQueryParam & RequestParameters;
|
|
255
213
|
|
|
256
214
|
// @public (undocumented)
|
|
257
|
-
export interface
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
put(options: DevBoxesCreateDevBoxParameters): StreamableMethod<DevBoxesCreateDevBox200Response | DevBoxesCreateDevBox201Response | DevBoxesCreateDevBoxDefaultResponse>;
|
|
215
|
+
export interface DelayAllActionsQueryParam {
|
|
216
|
+
// (undocumented)
|
|
217
|
+
queryParameters: DelayAllActionsQueryParamProperties;
|
|
261
218
|
}
|
|
262
219
|
|
|
263
|
-
// @public
|
|
264
|
-
export interface
|
|
265
|
-
|
|
266
|
-
body: DevBoxOutput;
|
|
267
|
-
// (undocumented)
|
|
268
|
-
status: "200";
|
|
220
|
+
// @public (undocumented)
|
|
221
|
+
export interface DelayAllActionsQueryParamProperties {
|
|
222
|
+
until: Date | string;
|
|
269
223
|
}
|
|
270
224
|
|
|
271
225
|
// @public (undocumented)
|
|
272
|
-
export interface
|
|
273
|
-
|
|
226
|
+
export interface DeleteDevBox202Headers {
|
|
227
|
+
// (undocumented)
|
|
228
|
+
"operation-location": string;
|
|
229
|
+
// (undocumented)
|
|
230
|
+
location: string;
|
|
274
231
|
}
|
|
275
232
|
|
|
276
233
|
// @public
|
|
277
|
-
export interface
|
|
234
|
+
export interface DeleteDevBox202Response extends HttpResponse {
|
|
278
235
|
// (undocumented)
|
|
279
|
-
body:
|
|
236
|
+
body: OperationStatusOutput;
|
|
280
237
|
// (undocumented)
|
|
281
|
-
headers: RawHttpHeaders &
|
|
238
|
+
headers: RawHttpHeaders & DeleteDevBox202Headers;
|
|
282
239
|
// (undocumented)
|
|
283
|
-
status:
|
|
240
|
+
status: "202";
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// @public
|
|
244
|
+
export interface DeleteDevBox204Response extends HttpResponse {
|
|
245
|
+
// (undocumented)
|
|
246
|
+
status: "204";
|
|
284
247
|
}
|
|
285
248
|
|
|
286
249
|
// @public (undocumented)
|
|
287
|
-
export
|
|
250
|
+
export interface DeleteDevBoxDefaultHeaders {
|
|
251
|
+
"x-ms-error-code"?: string;
|
|
252
|
+
}
|
|
288
253
|
|
|
289
254
|
// @public (undocumented)
|
|
290
|
-
export interface
|
|
291
|
-
|
|
255
|
+
export interface DeleteDevBoxDefaultResponse extends HttpResponse {
|
|
256
|
+
// (undocumented)
|
|
257
|
+
body: ErrorResponse;
|
|
258
|
+
// (undocumented)
|
|
259
|
+
headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
|
|
260
|
+
// (undocumented)
|
|
261
|
+
status: string;
|
|
292
262
|
}
|
|
293
263
|
|
|
294
264
|
// @public
|
|
295
|
-
export interface
|
|
265
|
+
export interface DeleteDevBoxLogicalResponse extends HttpResponse {
|
|
296
266
|
// (undocumented)
|
|
297
|
-
body:
|
|
267
|
+
body: OperationStatusOutput;
|
|
298
268
|
// (undocumented)
|
|
299
269
|
status: "200";
|
|
300
270
|
}
|
|
301
271
|
|
|
302
272
|
// @public (undocumented)
|
|
303
|
-
export
|
|
304
|
-
|
|
273
|
+
export type DeleteDevBoxParameters = RequestParameters;
|
|
274
|
+
|
|
275
|
+
// @public (undocumented)
|
|
276
|
+
export interface DeleteEnvironment202Headers {
|
|
277
|
+
// (undocumented)
|
|
278
|
+
"operation-location": string;
|
|
279
|
+
// (undocumented)
|
|
280
|
+
location: string;
|
|
305
281
|
}
|
|
306
282
|
|
|
307
283
|
// @public
|
|
308
|
-
export interface
|
|
284
|
+
export interface DeleteEnvironment202Response extends HttpResponse {
|
|
309
285
|
// (undocumented)
|
|
310
|
-
body:
|
|
286
|
+
body: OperationStatusOutput;
|
|
311
287
|
// (undocumented)
|
|
312
|
-
headers: RawHttpHeaders &
|
|
288
|
+
headers: RawHttpHeaders & DeleteEnvironment202Headers;
|
|
313
289
|
// (undocumented)
|
|
314
|
-
status:
|
|
290
|
+
status: "202";
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// @public
|
|
294
|
+
export interface DeleteEnvironment204Response extends HttpResponse {
|
|
295
|
+
// (undocumented)
|
|
296
|
+
status: "204";
|
|
315
297
|
}
|
|
316
298
|
|
|
317
299
|
// @public (undocumented)
|
|
318
|
-
export
|
|
300
|
+
export interface DeleteEnvironmentDefaultHeaders {
|
|
301
|
+
"x-ms-error-code"?: string;
|
|
302
|
+
}
|
|
319
303
|
|
|
320
304
|
// @public (undocumented)
|
|
321
|
-
export interface
|
|
322
|
-
|
|
305
|
+
export interface DeleteEnvironmentDefaultResponse extends HttpResponse {
|
|
306
|
+
// (undocumented)
|
|
307
|
+
body: ErrorResponse;
|
|
308
|
+
// (undocumented)
|
|
309
|
+
headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
|
|
310
|
+
// (undocumented)
|
|
311
|
+
status: string;
|
|
323
312
|
}
|
|
324
313
|
|
|
325
314
|
// @public
|
|
326
|
-
export interface
|
|
315
|
+
export interface DeleteEnvironmentLogicalResponse extends HttpResponse {
|
|
327
316
|
// (undocumented)
|
|
328
|
-
body:
|
|
317
|
+
body: OperationStatusOutput;
|
|
329
318
|
// (undocumented)
|
|
330
319
|
status: "200";
|
|
331
320
|
}
|
|
332
321
|
|
|
333
322
|
// @public (undocumented)
|
|
334
|
-
export
|
|
335
|
-
|
|
323
|
+
export type DeleteEnvironmentParameters = RequestParameters;
|
|
324
|
+
|
|
325
|
+
// @public
|
|
326
|
+
export interface DevBox {
|
|
327
|
+
localAdministrator?: string;
|
|
328
|
+
poolName: string;
|
|
336
329
|
}
|
|
337
330
|
|
|
338
331
|
// @public
|
|
339
|
-
export interface
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
// (undocumented)
|
|
345
|
-
status: string;
|
|
332
|
+
export interface DevBoxActionDelayResultOutput {
|
|
333
|
+
action?: DevBoxActionOutput;
|
|
334
|
+
error?: ErrorModel;
|
|
335
|
+
name: string;
|
|
336
|
+
result: string;
|
|
346
337
|
}
|
|
347
338
|
|
|
348
|
-
// @public
|
|
349
|
-
export
|
|
339
|
+
// @public
|
|
340
|
+
export interface DevBoxActionOutput {
|
|
341
|
+
actionType: string;
|
|
342
|
+
readonly name: string;
|
|
343
|
+
next?: DevBoxNextActionOutput;
|
|
344
|
+
sourceId: string;
|
|
345
|
+
suspendedUntil?: string;
|
|
346
|
+
}
|
|
350
347
|
|
|
351
|
-
// @public
|
|
352
|
-
export interface
|
|
353
|
-
|
|
348
|
+
// @public
|
|
349
|
+
export interface DevBoxNextActionOutput {
|
|
350
|
+
scheduledTime: string;
|
|
354
351
|
}
|
|
355
352
|
|
|
356
353
|
// @public
|
|
357
|
-
export interface
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
354
|
+
export interface DevBoxOutput {
|
|
355
|
+
readonly actionState?: string;
|
|
356
|
+
readonly createdTime?: string;
|
|
357
|
+
readonly error?: ErrorModel;
|
|
358
|
+
readonly hardwareProfile?: HardwareProfileOutput;
|
|
359
|
+
readonly hibernateSupport?: string;
|
|
360
|
+
readonly imageReference?: ImageReferenceOutput;
|
|
361
|
+
localAdministrator?: string;
|
|
362
|
+
readonly location?: string;
|
|
363
|
+
readonly name: string;
|
|
364
|
+
readonly osType?: string;
|
|
365
|
+
poolName: string;
|
|
366
|
+
readonly powerState?: string;
|
|
367
|
+
readonly projectName?: string;
|
|
368
|
+
readonly provisioningState?: string;
|
|
369
|
+
readonly storageProfile?: StorageProfileOutput;
|
|
370
|
+
readonly uniqueId?: string;
|
|
371
|
+
readonly user?: string;
|
|
362
372
|
}
|
|
363
373
|
|
|
364
|
-
// @public
|
|
365
|
-
export interface
|
|
366
|
-
|
|
374
|
+
// @public
|
|
375
|
+
export interface Environment {
|
|
376
|
+
catalogName: string;
|
|
377
|
+
environmentDefinitionName: string;
|
|
378
|
+
environmentType: string;
|
|
379
|
+
parameters?: unknown;
|
|
367
380
|
}
|
|
368
381
|
|
|
369
382
|
// @public
|
|
370
|
-
export interface
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
383
|
+
export interface EnvironmentDefinitionOutput {
|
|
384
|
+
catalogName: string;
|
|
385
|
+
description?: string;
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
parameters?: Array<EnvironmentDefinitionParameterOutput>;
|
|
389
|
+
parametersSchema?: string;
|
|
390
|
+
templatePath?: string;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// @public
|
|
394
|
+
export interface EnvironmentDefinitionParameterOutput {
|
|
395
|
+
allowed?: string[];
|
|
396
|
+
default?: string;
|
|
397
|
+
description?: string;
|
|
398
|
+
id: string;
|
|
399
|
+
name?: string;
|
|
400
|
+
readOnly?: boolean;
|
|
401
|
+
required: boolean;
|
|
402
|
+
type: string;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// @public
|
|
406
|
+
export interface EnvironmentOutput {
|
|
407
|
+
catalogName: string;
|
|
408
|
+
environmentDefinitionName: string;
|
|
409
|
+
environmentType: string;
|
|
410
|
+
readonly error?: ErrorModel;
|
|
411
|
+
readonly name?: string;
|
|
412
|
+
parameters?: any;
|
|
413
|
+
readonly provisioningState?: string;
|
|
414
|
+
readonly resourceGroupId?: string;
|
|
415
|
+
readonly user?: string;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// @public
|
|
419
|
+
export interface EnvironmentTypeOutput {
|
|
420
|
+
deploymentTargetId: string;
|
|
421
|
+
name: string;
|
|
376
422
|
status: string;
|
|
377
423
|
}
|
|
378
424
|
|
|
379
|
-
// @public
|
|
380
|
-
export type
|
|
425
|
+
// @public
|
|
426
|
+
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
381
427
|
|
|
382
428
|
// @public (undocumented)
|
|
383
|
-
export interface
|
|
384
|
-
get(options?:
|
|
429
|
+
export interface GetCatalog {
|
|
430
|
+
get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
|
|
385
431
|
}
|
|
386
432
|
|
|
387
433
|
// @public
|
|
388
|
-
export interface
|
|
434
|
+
export interface GetCatalog200Response extends HttpResponse {
|
|
389
435
|
// (undocumented)
|
|
390
|
-
body:
|
|
436
|
+
body: CatalogOutput;
|
|
391
437
|
// (undocumented)
|
|
392
438
|
status: "200";
|
|
393
439
|
}
|
|
394
440
|
|
|
395
441
|
// @public (undocumented)
|
|
396
|
-
export interface
|
|
442
|
+
export interface GetCatalogDefaultHeaders {
|
|
397
443
|
"x-ms-error-code"?: string;
|
|
398
444
|
}
|
|
399
445
|
|
|
400
|
-
// @public
|
|
401
|
-
export interface
|
|
446
|
+
// @public (undocumented)
|
|
447
|
+
export interface GetCatalogDefaultResponse extends HttpResponse {
|
|
402
448
|
// (undocumented)
|
|
403
|
-
body:
|
|
449
|
+
body: ErrorResponse;
|
|
404
450
|
// (undocumented)
|
|
405
|
-
headers: RawHttpHeaders &
|
|
451
|
+
headers: RawHttpHeaders & GetCatalogDefaultHeaders;
|
|
406
452
|
// (undocumented)
|
|
407
453
|
status: string;
|
|
408
454
|
}
|
|
409
455
|
|
|
410
456
|
// @public (undocumented)
|
|
411
|
-
export type
|
|
457
|
+
export type GetCatalogParameters = RequestParameters;
|
|
412
458
|
|
|
413
459
|
// @public (undocumented)
|
|
414
|
-
export interface
|
|
415
|
-
|
|
460
|
+
export interface GetDevBox {
|
|
461
|
+
delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
|
|
462
|
+
get(options?: GetDevBoxParameters): StreamableMethod<GetDevBox200Response | GetDevBoxDefaultResponse>;
|
|
463
|
+
put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
|
|
416
464
|
}
|
|
417
465
|
|
|
418
466
|
// @public
|
|
419
|
-
export interface
|
|
467
|
+
export interface GetDevBox200Response extends HttpResponse {
|
|
420
468
|
// (undocumented)
|
|
421
|
-
body:
|
|
469
|
+
body: DevBoxOutput;
|
|
422
470
|
// (undocumented)
|
|
423
471
|
status: "200";
|
|
424
472
|
}
|
|
425
473
|
|
|
426
474
|
// @public (undocumented)
|
|
427
|
-
export interface
|
|
428
|
-
|
|
475
|
+
export interface GetDevBoxAction {
|
|
476
|
+
get(options?: GetDevBoxActionParameters): StreamableMethod<GetDevBoxAction200Response | GetDevBoxActionDefaultResponse>;
|
|
429
477
|
}
|
|
430
478
|
|
|
431
479
|
// @public
|
|
432
|
-
export interface
|
|
480
|
+
export interface GetDevBoxAction200Response extends HttpResponse {
|
|
433
481
|
// (undocumented)
|
|
434
|
-
body:
|
|
482
|
+
body: DevBoxActionOutput;
|
|
435
483
|
// (undocumented)
|
|
436
|
-
|
|
437
|
-
// (undocumented)
|
|
438
|
-
status: string;
|
|
484
|
+
status: "200";
|
|
439
485
|
}
|
|
440
486
|
|
|
441
487
|
// @public (undocumented)
|
|
442
|
-
export
|
|
488
|
+
export interface GetDevBoxActionDefaultHeaders {
|
|
489
|
+
"x-ms-error-code"?: string;
|
|
490
|
+
}
|
|
443
491
|
|
|
444
492
|
// @public (undocumented)
|
|
445
|
-
export interface
|
|
493
|
+
export interface GetDevBoxActionDefaultResponse extends HttpResponse {
|
|
494
|
+
// (undocumented)
|
|
495
|
+
body: ErrorResponse;
|
|
446
496
|
// (undocumented)
|
|
447
|
-
|
|
497
|
+
headers: RawHttpHeaders & GetDevBoxActionDefaultHeaders;
|
|
498
|
+
// (undocumented)
|
|
499
|
+
status: string;
|
|
448
500
|
}
|
|
449
501
|
|
|
450
502
|
// @public (undocumented)
|
|
451
|
-
export
|
|
452
|
-
filter?: string;
|
|
453
|
-
top?: number;
|
|
454
|
-
}
|
|
503
|
+
export type GetDevBoxActionParameters = RequestParameters;
|
|
455
504
|
|
|
456
505
|
// @public (undocumented)
|
|
457
|
-
export interface
|
|
458
|
-
|
|
506
|
+
export interface GetDevBoxDefaultHeaders {
|
|
507
|
+
"x-ms-error-code"?: string;
|
|
459
508
|
}
|
|
460
509
|
|
|
461
|
-
// @public
|
|
462
|
-
export interface
|
|
510
|
+
// @public (undocumented)
|
|
511
|
+
export interface GetDevBoxDefaultResponse extends HttpResponse {
|
|
463
512
|
// (undocumented)
|
|
464
|
-
body:
|
|
513
|
+
body: ErrorResponse;
|
|
465
514
|
// (undocumented)
|
|
466
|
-
|
|
515
|
+
headers: RawHttpHeaders & GetDevBoxDefaultHeaders;
|
|
516
|
+
// (undocumented)
|
|
517
|
+
status: string;
|
|
467
518
|
}
|
|
468
519
|
|
|
469
520
|
// @public (undocumented)
|
|
470
|
-
export
|
|
471
|
-
|
|
521
|
+
export type GetDevBoxParameters = RequestParameters;
|
|
522
|
+
|
|
523
|
+
// @public (undocumented)
|
|
524
|
+
export interface GetEnvironment {
|
|
525
|
+
delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
|
|
526
|
+
get(options?: GetEnvironmentParameters): StreamableMethod<GetEnvironment200Response | GetEnvironmentDefaultResponse>;
|
|
527
|
+
put(options: CreateOrUpdateEnvironmentParameters): StreamableMethod<CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse>;
|
|
472
528
|
}
|
|
473
529
|
|
|
474
530
|
// @public
|
|
475
|
-
export interface
|
|
531
|
+
export interface GetEnvironment200Response extends HttpResponse {
|
|
476
532
|
// (undocumented)
|
|
477
|
-
body:
|
|
478
|
-
// (undocumented)
|
|
479
|
-
headers: RawHttpHeaders & DevBoxesListPoolsDefaultHeaders;
|
|
533
|
+
body: EnvironmentOutput;
|
|
480
534
|
// (undocumented)
|
|
481
|
-
status:
|
|
535
|
+
status: "200";
|
|
482
536
|
}
|
|
483
537
|
|
|
484
538
|
// @public (undocumented)
|
|
485
|
-
export
|
|
486
|
-
|
|
487
|
-
// @public (undocumented)
|
|
488
|
-
export interface DevBoxesListPoolsQueryParam {
|
|
489
|
-
// (undocumented)
|
|
490
|
-
queryParameters?: DevBoxesListPoolsQueryParamProperties;
|
|
539
|
+
export interface GetEnvironmentDefaultHeaders {
|
|
540
|
+
"x-ms-error-code"?: string;
|
|
491
541
|
}
|
|
492
542
|
|
|
493
543
|
// @public (undocumented)
|
|
494
|
-
export interface
|
|
495
|
-
|
|
496
|
-
|
|
544
|
+
export interface GetEnvironmentDefaultResponse extends HttpResponse {
|
|
545
|
+
// (undocumented)
|
|
546
|
+
body: ErrorResponse;
|
|
547
|
+
// (undocumented)
|
|
548
|
+
headers: RawHttpHeaders & GetEnvironmentDefaultHeaders;
|
|
549
|
+
// (undocumented)
|
|
550
|
+
status: string;
|
|
497
551
|
}
|
|
498
552
|
|
|
499
553
|
// @public (undocumented)
|
|
500
|
-
export interface
|
|
501
|
-
get(options?:
|
|
554
|
+
export interface GetEnvironmentDefinition {
|
|
555
|
+
get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
|
|
502
556
|
}
|
|
503
557
|
|
|
504
558
|
// @public
|
|
505
|
-
export interface
|
|
559
|
+
export interface GetEnvironmentDefinition200Response extends HttpResponse {
|
|
506
560
|
// (undocumented)
|
|
507
|
-
body:
|
|
561
|
+
body: EnvironmentDefinitionOutput;
|
|
508
562
|
// (undocumented)
|
|
509
563
|
status: "200";
|
|
510
564
|
}
|
|
511
565
|
|
|
512
566
|
// @public (undocumented)
|
|
513
|
-
export interface
|
|
567
|
+
export interface GetEnvironmentDefinitionDefaultHeaders {
|
|
514
568
|
"x-ms-error-code"?: string;
|
|
515
569
|
}
|
|
516
570
|
|
|
517
|
-
// @public
|
|
518
|
-
export interface
|
|
571
|
+
// @public (undocumented)
|
|
572
|
+
export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
|
|
519
573
|
// (undocumented)
|
|
520
|
-
body:
|
|
574
|
+
body: ErrorResponse;
|
|
521
575
|
// (undocumented)
|
|
522
|
-
headers: RawHttpHeaders &
|
|
576
|
+
headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
|
|
523
577
|
// (undocumented)
|
|
524
578
|
status: string;
|
|
525
579
|
}
|
|
526
580
|
|
|
527
581
|
// @public (undocumented)
|
|
528
|
-
export type
|
|
582
|
+
export type GetEnvironmentDefinitionParameters = RequestParameters;
|
|
529
583
|
|
|
530
584
|
// @public (undocumented)
|
|
531
|
-
export
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
585
|
+
export type GetEnvironmentParameters = RequestParameters;
|
|
586
|
+
|
|
587
|
+
// @public
|
|
588
|
+
export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
535
589
|
|
|
536
590
|
// @public (undocumented)
|
|
537
|
-
export
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
591
|
+
export function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
592
|
+
|
|
593
|
+
// @public (undocumented)
|
|
594
|
+
export function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
595
|
+
|
|
596
|
+
// @public (undocumented)
|
|
597
|
+
export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
598
|
+
|
|
599
|
+
// @public (undocumented)
|
|
600
|
+
export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
601
|
+
|
|
602
|
+
// @public (undocumented)
|
|
603
|
+
export function getLongRunningPoller<TResult extends CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
604
|
+
|
|
605
|
+
// @public (undocumented)
|
|
606
|
+
export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
607
|
+
|
|
608
|
+
// @public
|
|
609
|
+
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
610
|
+
page: TPage;
|
|
611
|
+
nextPageLink?: string;
|
|
612
|
+
}>;
|
|
541
613
|
|
|
542
614
|
// @public (undocumented)
|
|
543
|
-
export interface
|
|
544
|
-
get(options?:
|
|
615
|
+
export interface GetPool {
|
|
616
|
+
get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
|
|
545
617
|
}
|
|
546
618
|
|
|
547
619
|
// @public
|
|
548
|
-
export interface
|
|
620
|
+
export interface GetPool200Response extends HttpResponse {
|
|
549
621
|
// (undocumented)
|
|
550
|
-
body:
|
|
622
|
+
body: PoolOutput;
|
|
551
623
|
// (undocumented)
|
|
552
624
|
status: "200";
|
|
553
625
|
}
|
|
554
626
|
|
|
555
627
|
// @public (undocumented)
|
|
556
|
-
export interface
|
|
628
|
+
export interface GetPoolDefaultHeaders {
|
|
557
629
|
"x-ms-error-code"?: string;
|
|
558
630
|
}
|
|
559
631
|
|
|
560
|
-
// @public
|
|
561
|
-
export interface
|
|
632
|
+
// @public (undocumented)
|
|
633
|
+
export interface GetPoolDefaultResponse extends HttpResponse {
|
|
562
634
|
// (undocumented)
|
|
563
|
-
body:
|
|
635
|
+
body: ErrorResponse;
|
|
564
636
|
// (undocumented)
|
|
565
|
-
headers: RawHttpHeaders &
|
|
637
|
+
headers: RawHttpHeaders & GetPoolDefaultHeaders;
|
|
566
638
|
// (undocumented)
|
|
567
639
|
status: string;
|
|
568
640
|
}
|
|
569
641
|
|
|
570
642
|
// @public (undocumented)
|
|
571
|
-
export type
|
|
643
|
+
export type GetPoolParameters = RequestParameters;
|
|
572
644
|
|
|
573
645
|
// @public (undocumented)
|
|
574
|
-
export interface
|
|
575
|
-
|
|
646
|
+
export interface GetProject {
|
|
647
|
+
get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
|
|
576
648
|
}
|
|
577
649
|
|
|
578
650
|
// @public
|
|
579
|
-
export interface
|
|
651
|
+
export interface GetProject200Response extends HttpResponse {
|
|
580
652
|
// (undocumented)
|
|
581
|
-
body:
|
|
653
|
+
body: ProjectOutput;
|
|
582
654
|
// (undocumented)
|
|
583
|
-
status: "
|
|
655
|
+
status: "200";
|
|
584
656
|
}
|
|
585
657
|
|
|
586
658
|
// @public (undocumented)
|
|
587
|
-
export interface
|
|
659
|
+
export interface GetProjectDefaultHeaders {
|
|
588
660
|
"x-ms-error-code"?: string;
|
|
589
661
|
}
|
|
590
662
|
|
|
591
|
-
// @public
|
|
592
|
-
export interface
|
|
663
|
+
// @public (undocumented)
|
|
664
|
+
export interface GetProjectDefaultResponse extends HttpResponse {
|
|
593
665
|
// (undocumented)
|
|
594
|
-
body:
|
|
666
|
+
body: ErrorResponse;
|
|
595
667
|
// (undocumented)
|
|
596
|
-
headers: RawHttpHeaders &
|
|
668
|
+
headers: RawHttpHeaders & GetProjectDefaultHeaders;
|
|
597
669
|
// (undocumented)
|
|
598
670
|
status: string;
|
|
599
671
|
}
|
|
600
672
|
|
|
601
673
|
// @public (undocumented)
|
|
602
|
-
export
|
|
603
|
-
|
|
604
|
-
// @public (undocumented)
|
|
605
|
-
export interface DevBoxesStartDevBox {
|
|
606
|
-
post(options?: DevBoxesStartDevBoxParameters): StreamableMethod<DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse>;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
// @public (undocumented)
|
|
610
|
-
export interface DevBoxesStartDevBox202Headers {
|
|
611
|
-
"operation-location"?: string;
|
|
674
|
+
export interface GetProjectOperationStatus {
|
|
675
|
+
get(options?: GetProjectOperationStatusParameters): StreamableMethod<GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse>;
|
|
612
676
|
}
|
|
613
677
|
|
|
614
678
|
// @public
|
|
615
|
-
export interface
|
|
679
|
+
export interface GetProjectOperationStatus200Response extends HttpResponse {
|
|
616
680
|
// (undocumented)
|
|
617
|
-
body:
|
|
681
|
+
body: OperationStatusOutput;
|
|
618
682
|
// (undocumented)
|
|
619
|
-
|
|
620
|
-
// (undocumented)
|
|
621
|
-
status: "202";
|
|
683
|
+
status: "200";
|
|
622
684
|
}
|
|
623
685
|
|
|
624
686
|
// @public (undocumented)
|
|
625
|
-
export interface
|
|
687
|
+
export interface GetProjectOperationStatusDefaultHeaders {
|
|
626
688
|
"x-ms-error-code"?: string;
|
|
627
689
|
}
|
|
628
690
|
|
|
629
|
-
// @public
|
|
630
|
-
export interface
|
|
691
|
+
// @public (undocumented)
|
|
692
|
+
export interface GetProjectOperationStatusDefaultResponse extends HttpResponse {
|
|
631
693
|
// (undocumented)
|
|
632
|
-
body:
|
|
694
|
+
body: ErrorResponse;
|
|
633
695
|
// (undocumented)
|
|
634
|
-
headers: RawHttpHeaders &
|
|
696
|
+
headers: RawHttpHeaders & GetProjectOperationStatusDefaultHeaders;
|
|
635
697
|
// (undocumented)
|
|
636
698
|
status: string;
|
|
637
699
|
}
|
|
638
700
|
|
|
639
701
|
// @public (undocumented)
|
|
640
|
-
export type
|
|
702
|
+
export type GetProjectOperationStatusParameters = RequestParameters;
|
|
641
703
|
|
|
642
704
|
// @public (undocumented)
|
|
643
|
-
export
|
|
644
|
-
post(options?: DevBoxesStopDevBoxParameters): StreamableMethod<DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse>;
|
|
645
|
-
}
|
|
705
|
+
export type GetProjectParameters = RequestParameters;
|
|
646
706
|
|
|
647
707
|
// @public (undocumented)
|
|
648
|
-
export interface
|
|
649
|
-
|
|
708
|
+
export interface GetRemoteConnection {
|
|
709
|
+
get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
|
|
650
710
|
}
|
|
651
711
|
|
|
652
712
|
// @public
|
|
653
|
-
export interface
|
|
713
|
+
export interface GetRemoteConnection200Response extends HttpResponse {
|
|
654
714
|
// (undocumented)
|
|
655
|
-
body:
|
|
656
|
-
// (undocumented)
|
|
657
|
-
headers: RawHttpHeaders & DevBoxesStopDevBox202Headers;
|
|
715
|
+
body: RemoteConnectionOutput;
|
|
658
716
|
// (undocumented)
|
|
659
|
-
status: "
|
|
717
|
+
status: "200";
|
|
660
718
|
}
|
|
661
719
|
|
|
662
720
|
// @public (undocumented)
|
|
663
|
-
export interface
|
|
721
|
+
export interface GetRemoteConnectionDefaultHeaders {
|
|
664
722
|
"x-ms-error-code"?: string;
|
|
665
723
|
}
|
|
666
724
|
|
|
667
|
-
// @public
|
|
668
|
-
export interface
|
|
725
|
+
// @public (undocumented)
|
|
726
|
+
export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
|
|
669
727
|
// (undocumented)
|
|
670
|
-
body:
|
|
728
|
+
body: ErrorResponse;
|
|
671
729
|
// (undocumented)
|
|
672
|
-
headers: RawHttpHeaders &
|
|
730
|
+
headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
|
|
673
731
|
// (undocumented)
|
|
674
732
|
status: string;
|
|
675
733
|
}
|
|
676
734
|
|
|
677
735
|
// @public (undocumented)
|
|
678
|
-
export type
|
|
736
|
+
export type GetRemoteConnectionParameters = RequestParameters;
|
|
679
737
|
|
|
680
738
|
// @public (undocumented)
|
|
681
|
-
export interface
|
|
739
|
+
export interface GetSchedule {
|
|
740
|
+
get(options?: GetScheduleParameters): StreamableMethod<GetSchedule200Response | GetScheduleDefaultResponse>;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// @public
|
|
744
|
+
export interface GetSchedule200Response extends HttpResponse {
|
|
745
|
+
// (undocumented)
|
|
746
|
+
body: ScheduleOutput;
|
|
682
747
|
// (undocumented)
|
|
683
|
-
|
|
748
|
+
status: "200";
|
|
684
749
|
}
|
|
685
750
|
|
|
686
751
|
// @public (undocumented)
|
|
687
|
-
export interface
|
|
688
|
-
|
|
752
|
+
export interface GetScheduleDefaultHeaders {
|
|
753
|
+
"x-ms-error-code"?: string;
|
|
689
754
|
}
|
|
690
755
|
|
|
691
|
-
// @public
|
|
692
|
-
export interface
|
|
693
|
-
|
|
694
|
-
|
|
756
|
+
// @public (undocumented)
|
|
757
|
+
export interface GetScheduleDefaultResponse extends HttpResponse {
|
|
758
|
+
// (undocumented)
|
|
759
|
+
body: ErrorResponse;
|
|
760
|
+
// (undocumented)
|
|
761
|
+
headers: RawHttpHeaders & GetScheduleDefaultHeaders;
|
|
762
|
+
// (undocumented)
|
|
763
|
+
status: string;
|
|
695
764
|
}
|
|
696
765
|
|
|
766
|
+
// @public (undocumented)
|
|
767
|
+
export type GetScheduleParameters = RequestParameters;
|
|
768
|
+
|
|
697
769
|
// @public
|
|
698
|
-
export interface
|
|
699
|
-
actionState?: string;
|
|
700
|
-
createdTime?: string;
|
|
701
|
-
errorDetails?: ProvisioningErrorOutput;
|
|
702
|
-
hardwareProfile?: HardwareProfileOutput;
|
|
703
|
-
hibernateSupport?: "Disabled" | "Enabled";
|
|
704
|
-
imageReference?: ImageReferenceOutput;
|
|
705
|
-
localAdministrator?: "Enabled" | "Disabled";
|
|
706
|
-
location?: string;
|
|
707
|
-
name?: string;
|
|
708
|
-
osType?: "Windows";
|
|
709
|
-
poolName: string;
|
|
710
|
-
powerState?: "Unknown" | "Deallocated" | "PoweredOff" | "Running" | "Hibernated";
|
|
711
|
-
projectName?: string;
|
|
712
|
-
provisioningState?: string;
|
|
713
|
-
storageProfile?: StorageProfileOutput;
|
|
714
|
-
uniqueId?: string;
|
|
715
|
-
user?: string;
|
|
770
|
+
export interface HardwareProfile {
|
|
716
771
|
}
|
|
717
772
|
|
|
718
|
-
// @public
|
|
719
|
-
export interface
|
|
720
|
-
|
|
773
|
+
// @public
|
|
774
|
+
export interface HardwareProfileOutput {
|
|
775
|
+
readonly memoryGB?: number;
|
|
776
|
+
readonly skuName?: string;
|
|
777
|
+
readonly vCPUs?: number;
|
|
721
778
|
}
|
|
722
779
|
|
|
723
780
|
// @public
|
|
724
|
-
export interface
|
|
725
|
-
// (undocumented)
|
|
726
|
-
body: ProjectOutput;
|
|
727
|
-
// (undocumented)
|
|
728
|
-
status: "200";
|
|
781
|
+
export interface ImageReference {
|
|
729
782
|
}
|
|
730
783
|
|
|
731
784
|
// @public
|
|
732
|
-
export interface
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
785
|
+
export interface ImageReferenceOutput {
|
|
786
|
+
readonly name?: string;
|
|
787
|
+
readonly operatingSystem?: string;
|
|
788
|
+
readonly osBuildNumber?: string;
|
|
789
|
+
readonly publishedDate?: string;
|
|
790
|
+
readonly version?: string;
|
|
737
791
|
}
|
|
738
792
|
|
|
739
793
|
// @public (undocumented)
|
|
740
|
-
export
|
|
794
|
+
export function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;
|
|
741
795
|
|
|
742
796
|
// @public (undocumented)
|
|
743
|
-
export
|
|
744
|
-
get(options?: DevCenterListAllDevBoxesParameters): StreamableMethod<DevCenterListAllDevBoxes200Response | DevCenterListAllDevBoxesDefaultResponse>;
|
|
745
|
-
}
|
|
797
|
+
export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
|
|
746
798
|
|
|
747
|
-
// @public
|
|
748
|
-
export
|
|
749
|
-
// (undocumented)
|
|
750
|
-
body: DevBoxListResultOutput;
|
|
751
|
-
// (undocumented)
|
|
752
|
-
status: "200";
|
|
753
|
-
}
|
|
799
|
+
// @public (undocumented)
|
|
800
|
+
export function isUnexpected(response: GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse): response is GetProjectOperationStatusDefaultResponse;
|
|
754
801
|
|
|
755
802
|
// @public (undocumented)
|
|
756
|
-
export
|
|
757
|
-
get(options?: DevCenterListAllDevBoxesByUserParameters): StreamableMethod<DevCenterListAllDevBoxesByUser200Response | DevCenterListAllDevBoxesByUserDefaultResponse>;
|
|
758
|
-
}
|
|
803
|
+
export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
|
|
759
804
|
|
|
760
|
-
// @public
|
|
761
|
-
export
|
|
762
|
-
// (undocumented)
|
|
763
|
-
body: DevBoxListResultOutput;
|
|
764
|
-
// (undocumented)
|
|
765
|
-
status: "200";
|
|
766
|
-
}
|
|
805
|
+
// @public (undocumented)
|
|
806
|
+
export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
|
|
767
807
|
|
|
768
808
|
// @public (undocumented)
|
|
769
|
-
export
|
|
770
|
-
"x-ms-error-code"?: string;
|
|
771
|
-
}
|
|
809
|
+
export function isUnexpected(response: ListSchedules200Response | ListSchedulesDefaultResponse): response is ListSchedulesDefaultResponse;
|
|
772
810
|
|
|
773
|
-
// @public
|
|
774
|
-
export
|
|
775
|
-
// (undocumented)
|
|
776
|
-
body: CloudErrorOutput;
|
|
777
|
-
// (undocumented)
|
|
778
|
-
headers: RawHttpHeaders & DevCenterListAllDevBoxesByUserDefaultHeaders;
|
|
779
|
-
// (undocumented)
|
|
780
|
-
status: string;
|
|
781
|
-
}
|
|
811
|
+
// @public (undocumented)
|
|
812
|
+
export function isUnexpected(response: GetSchedule200Response | GetScheduleDefaultResponse): response is GetScheduleDefaultResponse;
|
|
782
813
|
|
|
783
814
|
// @public (undocumented)
|
|
784
|
-
export
|
|
815
|
+
export function isUnexpected(response: ListDevBoxes200Response | ListDevBoxesDefaultResponse): response is ListDevBoxesDefaultResponse;
|
|
785
816
|
|
|
786
817
|
// @public (undocumented)
|
|
787
|
-
export
|
|
788
|
-
// (undocumented)
|
|
789
|
-
queryParameters?: DevCenterListAllDevBoxesByUserQueryParamProperties;
|
|
790
|
-
}
|
|
818
|
+
export function isUnexpected(response: GetDevBox200Response | GetDevBoxDefaultResponse): response is GetDevBoxDefaultResponse;
|
|
791
819
|
|
|
792
820
|
// @public (undocumented)
|
|
793
|
-
export
|
|
794
|
-
filter?: string;
|
|
795
|
-
top?: number;
|
|
796
|
-
}
|
|
821
|
+
export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
|
|
797
822
|
|
|
798
823
|
// @public (undocumented)
|
|
799
|
-
export
|
|
800
|
-
"x-ms-error-code"?: string;
|
|
801
|
-
}
|
|
824
|
+
export function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;
|
|
802
825
|
|
|
803
|
-
// @public
|
|
804
|
-
export
|
|
805
|
-
// (undocumented)
|
|
806
|
-
body: CloudErrorOutput;
|
|
807
|
-
// (undocumented)
|
|
808
|
-
headers: RawHttpHeaders & DevCenterListAllDevBoxesDefaultHeaders;
|
|
809
|
-
// (undocumented)
|
|
810
|
-
status: string;
|
|
811
|
-
}
|
|
826
|
+
// @public (undocumented)
|
|
827
|
+
export function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;
|
|
812
828
|
|
|
813
829
|
// @public (undocumented)
|
|
814
|
-
export
|
|
830
|
+
export function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;
|
|
815
831
|
|
|
816
832
|
// @public (undocumented)
|
|
817
|
-
export
|
|
818
|
-
// (undocumented)
|
|
819
|
-
queryParameters?: DevCenterListAllDevBoxesQueryParamProperties;
|
|
820
|
-
}
|
|
833
|
+
export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;
|
|
821
834
|
|
|
822
835
|
// @public (undocumented)
|
|
823
|
-
export
|
|
824
|
-
filter?: string;
|
|
825
|
-
top?: number;
|
|
826
|
-
}
|
|
836
|
+
export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
|
|
827
837
|
|
|
828
838
|
// @public (undocumented)
|
|
829
|
-
export
|
|
830
|
-
get(options?: DevCenterListProjectsParameters): StreamableMethod<DevCenterListProjects200Response | DevCenterListProjectsDefaultResponse>;
|
|
831
|
-
}
|
|
839
|
+
export function isUnexpected(response: ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse): response is ListDevBoxActionsDefaultResponse;
|
|
832
840
|
|
|
833
|
-
// @public
|
|
834
|
-
export
|
|
835
|
-
// (undocumented)
|
|
836
|
-
body: ProjectListResultOutput;
|
|
837
|
-
// (undocumented)
|
|
838
|
-
status: "200";
|
|
839
|
-
}
|
|
841
|
+
// @public (undocumented)
|
|
842
|
+
export function isUnexpected(response: GetDevBoxAction200Response | GetDevBoxActionDefaultResponse): response is GetDevBoxActionDefaultResponse;
|
|
840
843
|
|
|
841
|
-
// @public
|
|
842
|
-
export
|
|
843
|
-
// (undocumented)
|
|
844
|
-
body: CloudErrorOutput;
|
|
845
|
-
// (undocumented)
|
|
846
|
-
status: string;
|
|
847
|
-
}
|
|
844
|
+
// @public (undocumented)
|
|
845
|
+
export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
|
|
848
846
|
|
|
849
847
|
// @public (undocumented)
|
|
850
|
-
export
|
|
848
|
+
export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
|
|
851
849
|
|
|
852
850
|
// @public (undocumented)
|
|
853
|
-
export
|
|
854
|
-
// (undocumented)
|
|
855
|
-
queryParameters?: DevCenterListProjectsQueryParamProperties;
|
|
856
|
-
}
|
|
851
|
+
export function isUnexpected(response: DelayAllActions200Response | DelayAllActionsDefaultResponse): response is DelayAllActionsDefaultResponse;
|
|
857
852
|
|
|
858
853
|
// @public (undocumented)
|
|
859
|
-
export
|
|
860
|
-
filter?: string;
|
|
861
|
-
top?: number;
|
|
862
|
-
}
|
|
854
|
+
export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
|
|
863
855
|
|
|
864
|
-
// @public
|
|
865
|
-
export
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
856
|
+
// @public (undocumented)
|
|
857
|
+
export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
|
|
858
|
+
|
|
859
|
+
// @public (undocumented)
|
|
860
|
+
export function isUnexpected(response: ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse): response is ListAllEnvironmentsDefaultResponse;
|
|
861
|
+
|
|
862
|
+
// @public (undocumented)
|
|
863
|
+
export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
|
|
864
|
+
|
|
865
|
+
// @public (undocumented)
|
|
866
|
+
export function isUnexpected(response: GetEnvironment200Response | GetEnvironmentDefaultResponse): response is GetEnvironmentDefaultResponse;
|
|
867
|
+
|
|
868
|
+
// @public (undocumented)
|
|
869
|
+
export function isUnexpected(response: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse): response is CreateOrUpdateEnvironmentDefaultResponse;
|
|
870
|
+
|
|
871
|
+
// @public (undocumented)
|
|
872
|
+
export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
|
|
873
|
+
|
|
874
|
+
// @public (undocumented)
|
|
875
|
+
export function isUnexpected(response: ListCatalogs200Response | ListCatalogsDefaultResponse): response is ListCatalogsDefaultResponse;
|
|
876
|
+
|
|
877
|
+
// @public (undocumented)
|
|
878
|
+
export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
|
|
879
|
+
|
|
880
|
+
// @public (undocumented)
|
|
881
|
+
export function isUnexpected(response: ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse): response is ListEnvironmentDefinitionsDefaultResponse;
|
|
882
|
+
|
|
883
|
+
// @public (undocumented)
|
|
884
|
+
export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
|
|
885
|
+
|
|
886
|
+
// @public (undocumented)
|
|
887
|
+
export function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;
|
|
888
|
+
|
|
889
|
+
// @public (undocumented)
|
|
890
|
+
export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
|
|
891
|
+
|
|
892
|
+
// @public (undocumented)
|
|
893
|
+
export interface ListAllDevBoxes {
|
|
894
|
+
get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
|
|
871
895
|
}
|
|
872
896
|
|
|
873
897
|
// @public
|
|
874
|
-
export interface
|
|
875
|
-
|
|
876
|
-
|
|
898
|
+
export interface ListAllDevBoxes200Response extends HttpResponse {
|
|
899
|
+
// (undocumented)
|
|
900
|
+
body: PagedDevBoxOutput;
|
|
901
|
+
// (undocumented)
|
|
902
|
+
status: "200";
|
|
877
903
|
}
|
|
878
904
|
|
|
879
|
-
// @public
|
|
880
|
-
export interface
|
|
881
|
-
|
|
882
|
-
name?: string;
|
|
883
|
-
provisioningState?: string;
|
|
884
|
-
resourceGroupId?: string;
|
|
885
|
-
user?: string;
|
|
905
|
+
// @public (undocumented)
|
|
906
|
+
export interface ListAllDevBoxesByUser {
|
|
907
|
+
get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
|
|
886
908
|
}
|
|
887
909
|
|
|
888
910
|
// @public
|
|
889
|
-
export interface
|
|
911
|
+
export interface ListAllDevBoxesByUser200Response extends HttpResponse {
|
|
890
912
|
// (undocumented)
|
|
891
|
-
body:
|
|
913
|
+
body: PagedDevBoxOutput;
|
|
892
914
|
// (undocumented)
|
|
893
915
|
status: "200";
|
|
894
916
|
}
|
|
895
917
|
|
|
896
918
|
// @public (undocumented)
|
|
897
|
-
export interface
|
|
898
|
-
"
|
|
919
|
+
export interface ListAllDevBoxesByUserDefaultHeaders {
|
|
920
|
+
"x-ms-error-code"?: string;
|
|
899
921
|
}
|
|
900
922
|
|
|
901
|
-
// @public
|
|
902
|
-
export interface
|
|
923
|
+
// @public (undocumented)
|
|
924
|
+
export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
|
|
903
925
|
// (undocumented)
|
|
904
|
-
body:
|
|
926
|
+
body: ErrorResponse;
|
|
905
927
|
// (undocumented)
|
|
906
|
-
headers: RawHttpHeaders &
|
|
928
|
+
headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
|
|
907
929
|
// (undocumented)
|
|
908
|
-
status:
|
|
930
|
+
status: string;
|
|
909
931
|
}
|
|
910
932
|
|
|
911
933
|
// @public (undocumented)
|
|
912
|
-
export
|
|
913
|
-
|
|
934
|
+
export type ListAllDevBoxesByUserParameters = ListAllDevBoxesByUserQueryParam & RequestParameters;
|
|
935
|
+
|
|
936
|
+
// @public (undocumented)
|
|
937
|
+
export interface ListAllDevBoxesByUserQueryParam {
|
|
938
|
+
// (undocumented)
|
|
939
|
+
queryParameters?: ListAllDevBoxesByUserQueryParamProperties;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
// @public (undocumented)
|
|
943
|
+
export interface ListAllDevBoxesByUserQueryParamProperties {
|
|
944
|
+
filter?: string;
|
|
945
|
+
top?: number;
|
|
914
946
|
}
|
|
915
947
|
|
|
916
948
|
// @public (undocumented)
|
|
917
|
-
export interface
|
|
949
|
+
export interface ListAllDevBoxesDefaultHeaders {
|
|
918
950
|
"x-ms-error-code"?: string;
|
|
919
951
|
}
|
|
920
952
|
|
|
921
|
-
// @public
|
|
922
|
-
export interface
|
|
953
|
+
// @public (undocumented)
|
|
954
|
+
export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
|
|
923
955
|
// (undocumented)
|
|
924
|
-
body:
|
|
956
|
+
body: ErrorResponse;
|
|
925
957
|
// (undocumented)
|
|
926
|
-
headers: RawHttpHeaders &
|
|
958
|
+
headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
|
|
927
959
|
// (undocumented)
|
|
928
960
|
status: string;
|
|
929
961
|
}
|
|
930
962
|
|
|
931
963
|
// @public (undocumented)
|
|
932
|
-
export
|
|
933
|
-
contentType?: "application/json";
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
// @public (undocumented)
|
|
937
|
-
export type EnvironmentsCreateOrUpdateEnvironmentParameters = EnvironmentsCreateOrUpdateEnvironmentMediaTypesParam & EnvironmentsCreateOrUpdateEnvironmentBodyParam & RequestParameters;
|
|
964
|
+
export type ListAllDevBoxesParameters = ListAllDevBoxesQueryParam & RequestParameters;
|
|
938
965
|
|
|
939
966
|
// @public (undocumented)
|
|
940
|
-
export interface
|
|
941
|
-
|
|
967
|
+
export interface ListAllDevBoxesQueryParam {
|
|
968
|
+
// (undocumented)
|
|
969
|
+
queryParameters?: ListAllDevBoxesQueryParamProperties;
|
|
942
970
|
}
|
|
943
971
|
|
|
944
|
-
// @public
|
|
945
|
-
export interface
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
// (undocumented)
|
|
949
|
-
status: "200";
|
|
972
|
+
// @public (undocumented)
|
|
973
|
+
export interface ListAllDevBoxesQueryParamProperties {
|
|
974
|
+
filter?: string;
|
|
975
|
+
top?: number;
|
|
950
976
|
}
|
|
951
977
|
|
|
952
978
|
// @public (undocumented)
|
|
953
|
-
export interface
|
|
954
|
-
|
|
979
|
+
export interface ListAllEnvironments {
|
|
980
|
+
get(options?: ListAllEnvironmentsParameters): StreamableMethod<ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse>;
|
|
955
981
|
}
|
|
956
982
|
|
|
957
983
|
// @public
|
|
958
|
-
export interface
|
|
959
|
-
// (undocumented)
|
|
960
|
-
body: Record<string, unknown>;
|
|
984
|
+
export interface ListAllEnvironments200Response extends HttpResponse {
|
|
961
985
|
// (undocumented)
|
|
962
|
-
|
|
986
|
+
body: PagedEnvironmentOutput;
|
|
963
987
|
// (undocumented)
|
|
964
|
-
status: "
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
// @public (undocumented)
|
|
968
|
-
export interface EnvironmentsCustomEnvironmentActionBodyParam {
|
|
969
|
-
body: ActionRequest;
|
|
988
|
+
status: "200";
|
|
970
989
|
}
|
|
971
990
|
|
|
972
991
|
// @public (undocumented)
|
|
973
|
-
export interface
|
|
992
|
+
export interface ListAllEnvironmentsDefaultHeaders {
|
|
974
993
|
"x-ms-error-code"?: string;
|
|
975
994
|
}
|
|
976
995
|
|
|
977
|
-
// @public
|
|
978
|
-
export interface
|
|
996
|
+
// @public (undocumented)
|
|
997
|
+
export interface ListAllEnvironmentsDefaultResponse extends HttpResponse {
|
|
979
998
|
// (undocumented)
|
|
980
|
-
body:
|
|
999
|
+
body: ErrorResponse;
|
|
981
1000
|
// (undocumented)
|
|
982
|
-
headers: RawHttpHeaders &
|
|
1001
|
+
headers: RawHttpHeaders & ListAllEnvironmentsDefaultHeaders;
|
|
983
1002
|
// (undocumented)
|
|
984
1003
|
status: string;
|
|
985
1004
|
}
|
|
986
1005
|
|
|
987
1006
|
// @public (undocumented)
|
|
988
|
-
export
|
|
989
|
-
contentType?: "application/json";
|
|
990
|
-
}
|
|
1007
|
+
export type ListAllEnvironmentsParameters = ListAllEnvironmentsQueryParam & RequestParameters;
|
|
991
1008
|
|
|
992
1009
|
// @public (undocumented)
|
|
993
|
-
export
|
|
994
|
-
|
|
995
|
-
// @public
|
|
996
|
-
export interface EnvironmentsDeleteEnvironment200Response extends HttpResponse {
|
|
997
|
-
// (undocumented)
|
|
998
|
-
body: Record<string, unknown>;
|
|
1010
|
+
export interface ListAllEnvironmentsQueryParam {
|
|
999
1011
|
// (undocumented)
|
|
1000
|
-
|
|
1012
|
+
queryParameters?: ListAllEnvironmentsQueryParamProperties;
|
|
1001
1013
|
}
|
|
1002
1014
|
|
|
1003
1015
|
// @public (undocumented)
|
|
1004
|
-
export interface
|
|
1005
|
-
|
|
1016
|
+
export interface ListAllEnvironmentsQueryParamProperties {
|
|
1017
|
+
top?: number;
|
|
1006
1018
|
}
|
|
1007
1019
|
|
|
1008
|
-
// @public
|
|
1009
|
-
export interface
|
|
1010
|
-
|
|
1011
|
-
body: Record<string, unknown>;
|
|
1012
|
-
// (undocumented)
|
|
1013
|
-
headers: RawHttpHeaders & EnvironmentsDeleteEnvironment202Headers;
|
|
1014
|
-
// (undocumented)
|
|
1015
|
-
status: "202";
|
|
1020
|
+
// @public (undocumented)
|
|
1021
|
+
export interface ListCatalogs {
|
|
1022
|
+
get(options?: ListCatalogsParameters): StreamableMethod<ListCatalogs200Response | ListCatalogsDefaultResponse>;
|
|
1016
1023
|
}
|
|
1017
1024
|
|
|
1018
1025
|
// @public
|
|
1019
|
-
export interface
|
|
1026
|
+
export interface ListCatalogs200Response extends HttpResponse {
|
|
1020
1027
|
// (undocumented)
|
|
1021
|
-
body:
|
|
1028
|
+
body: PagedCatalogOutput;
|
|
1022
1029
|
// (undocumented)
|
|
1023
|
-
status: "
|
|
1030
|
+
status: "200";
|
|
1024
1031
|
}
|
|
1025
1032
|
|
|
1026
1033
|
// @public (undocumented)
|
|
1027
|
-
export interface
|
|
1034
|
+
export interface ListCatalogsDefaultHeaders {
|
|
1028
1035
|
"x-ms-error-code"?: string;
|
|
1029
1036
|
}
|
|
1030
1037
|
|
|
1031
|
-
// @public
|
|
1032
|
-
export interface
|
|
1038
|
+
// @public (undocumented)
|
|
1039
|
+
export interface ListCatalogsDefaultResponse extends HttpResponse {
|
|
1033
1040
|
// (undocumented)
|
|
1034
|
-
body:
|
|
1041
|
+
body: ErrorResponse;
|
|
1035
1042
|
// (undocumented)
|
|
1036
|
-
headers: RawHttpHeaders &
|
|
1043
|
+
headers: RawHttpHeaders & ListCatalogsDefaultHeaders;
|
|
1037
1044
|
// (undocumented)
|
|
1038
1045
|
status: string;
|
|
1039
1046
|
}
|
|
1040
1047
|
|
|
1041
1048
|
// @public (undocumented)
|
|
1042
|
-
export type
|
|
1049
|
+
export type ListCatalogsParameters = ListCatalogsQueryParam & RequestParameters;
|
|
1043
1050
|
|
|
1044
1051
|
// @public (undocumented)
|
|
1045
|
-
export interface
|
|
1046
|
-
|
|
1052
|
+
export interface ListCatalogsQueryParam {
|
|
1053
|
+
// (undocumented)
|
|
1054
|
+
queryParameters?: ListCatalogsQueryParamProperties;
|
|
1047
1055
|
}
|
|
1048
1056
|
|
|
1049
|
-
// @public
|
|
1050
|
-
export interface
|
|
1051
|
-
|
|
1052
|
-
body: Record<string, unknown>;
|
|
1053
|
-
// (undocumented)
|
|
1054
|
-
status: "200";
|
|
1057
|
+
// @public (undocumented)
|
|
1058
|
+
export interface ListCatalogsQueryParamProperties {
|
|
1059
|
+
top?: number;
|
|
1055
1060
|
}
|
|
1056
1061
|
|
|
1057
1062
|
// @public (undocumented)
|
|
1058
|
-
export interface
|
|
1059
|
-
|
|
1063
|
+
export interface ListDevBoxActions {
|
|
1064
|
+
get(options?: ListDevBoxActionsParameters): StreamableMethod<ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse>;
|
|
1060
1065
|
}
|
|
1061
1066
|
|
|
1062
1067
|
// @public
|
|
1063
|
-
export interface
|
|
1064
|
-
// (undocumented)
|
|
1065
|
-
body: Record<string, unknown>;
|
|
1068
|
+
export interface ListDevBoxActions200Response extends HttpResponse {
|
|
1066
1069
|
// (undocumented)
|
|
1067
|
-
|
|
1070
|
+
body: PagedDevBoxActionOutput;
|
|
1068
1071
|
// (undocumented)
|
|
1069
|
-
status: "
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
// @public (undocumented)
|
|
1073
|
-
export interface EnvironmentsDeployEnvironmentActionBodyParam {
|
|
1074
|
-
body: ActionRequest;
|
|
1072
|
+
status: "200";
|
|
1075
1073
|
}
|
|
1076
1074
|
|
|
1077
1075
|
// @public (undocumented)
|
|
1078
|
-
export interface
|
|
1076
|
+
export interface ListDevBoxActionsDefaultHeaders {
|
|
1079
1077
|
"x-ms-error-code"?: string;
|
|
1080
1078
|
}
|
|
1081
1079
|
|
|
1082
|
-
// @public
|
|
1083
|
-
export interface
|
|
1080
|
+
// @public (undocumented)
|
|
1081
|
+
export interface ListDevBoxActionsDefaultResponse extends HttpResponse {
|
|
1084
1082
|
// (undocumented)
|
|
1085
|
-
body:
|
|
1083
|
+
body: ErrorResponse;
|
|
1086
1084
|
// (undocumented)
|
|
1087
|
-
headers: RawHttpHeaders &
|
|
1085
|
+
headers: RawHttpHeaders & ListDevBoxActionsDefaultHeaders;
|
|
1088
1086
|
// (undocumented)
|
|
1089
1087
|
status: string;
|
|
1090
1088
|
}
|
|
1091
1089
|
|
|
1092
1090
|
// @public (undocumented)
|
|
1093
|
-
export
|
|
1094
|
-
contentType?: "application/json";
|
|
1095
|
-
}
|
|
1091
|
+
export type ListDevBoxActionsParameters = RequestParameters;
|
|
1096
1092
|
|
|
1097
1093
|
// @public (undocumented)
|
|
1098
|
-
export
|
|
1099
|
-
|
|
1100
|
-
// @public (undocumented)
|
|
1101
|
-
export interface EnvironmentsGetCatalogItem {
|
|
1102
|
-
get(options?: EnvironmentsGetCatalogItemParameters): StreamableMethod<EnvironmentsGetCatalogItem200Response | EnvironmentsGetCatalogItemDefaultResponse>;
|
|
1094
|
+
export interface ListDevBoxes {
|
|
1095
|
+
get(options?: ListDevBoxesParameters): StreamableMethod<ListDevBoxes200Response | ListDevBoxesDefaultResponse>;
|
|
1103
1096
|
}
|
|
1104
1097
|
|
|
1105
1098
|
// @public
|
|
1106
|
-
export interface
|
|
1099
|
+
export interface ListDevBoxes200Response extends HttpResponse {
|
|
1107
1100
|
// (undocumented)
|
|
1108
|
-
body:
|
|
1101
|
+
body: PagedDevBoxOutput;
|
|
1109
1102
|
// (undocumented)
|
|
1110
1103
|
status: "200";
|
|
1111
1104
|
}
|
|
1112
1105
|
|
|
1113
1106
|
// @public (undocumented)
|
|
1114
|
-
export interface
|
|
1107
|
+
export interface ListDevBoxesDefaultHeaders {
|
|
1115
1108
|
"x-ms-error-code"?: string;
|
|
1116
1109
|
}
|
|
1117
1110
|
|
|
1118
|
-
// @public
|
|
1119
|
-
export interface
|
|
1111
|
+
// @public (undocumented)
|
|
1112
|
+
export interface ListDevBoxesDefaultResponse extends HttpResponse {
|
|
1120
1113
|
// (undocumented)
|
|
1121
|
-
body:
|
|
1114
|
+
body: ErrorResponse;
|
|
1122
1115
|
// (undocumented)
|
|
1123
|
-
headers: RawHttpHeaders &
|
|
1116
|
+
headers: RawHttpHeaders & ListDevBoxesDefaultHeaders;
|
|
1124
1117
|
// (undocumented)
|
|
1125
1118
|
status: string;
|
|
1126
1119
|
}
|
|
1127
1120
|
|
|
1128
1121
|
// @public (undocumented)
|
|
1129
|
-
export type
|
|
1122
|
+
export type ListDevBoxesParameters = ListDevBoxesQueryParam & RequestParameters;
|
|
1130
1123
|
|
|
1131
1124
|
// @public (undocumented)
|
|
1132
|
-
export interface
|
|
1133
|
-
|
|
1125
|
+
export interface ListDevBoxesQueryParam {
|
|
1126
|
+
// (undocumented)
|
|
1127
|
+
queryParameters?: ListDevBoxesQueryParamProperties;
|
|
1134
1128
|
}
|
|
1135
1129
|
|
|
1136
|
-
// @public
|
|
1137
|
-
export interface
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
// (undocumented)
|
|
1141
|
-
status: "200";
|
|
1130
|
+
// @public (undocumented)
|
|
1131
|
+
export interface ListDevBoxesQueryParamProperties {
|
|
1132
|
+
filter?: string;
|
|
1133
|
+
top?: number;
|
|
1142
1134
|
}
|
|
1143
1135
|
|
|
1144
1136
|
// @public (undocumented)
|
|
1145
|
-
export interface
|
|
1146
|
-
|
|
1137
|
+
export interface ListEnvironmentDefinitions {
|
|
1138
|
+
get(options?: ListEnvironmentDefinitionsParameters): StreamableMethod<ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse>;
|
|
1147
1139
|
}
|
|
1148
1140
|
|
|
1149
1141
|
// @public
|
|
1150
|
-
export interface
|
|
1142
|
+
export interface ListEnvironmentDefinitions200Response extends HttpResponse {
|
|
1151
1143
|
// (undocumented)
|
|
1152
|
-
body:
|
|
1144
|
+
body: PagedEnvironmentDefinitionOutput;
|
|
1153
1145
|
// (undocumented)
|
|
1154
|
-
|
|
1155
|
-
// (undocumented)
|
|
1156
|
-
status: string;
|
|
1146
|
+
status: "200";
|
|
1157
1147
|
}
|
|
1158
1148
|
|
|
1159
1149
|
// @public (undocumented)
|
|
1160
|
-
export
|
|
1161
|
-
|
|
1162
|
-
// @public (undocumented)
|
|
1163
|
-
export interface EnvironmentsGetEnvironmentByUser {
|
|
1164
|
-
delete(options?: EnvironmentsDeleteEnvironmentParameters): StreamableMethod<EnvironmentsDeleteEnvironment200Response | EnvironmentsDeleteEnvironment202Response | EnvironmentsDeleteEnvironment204Response | EnvironmentsDeleteEnvironmentDefaultResponse>;
|
|
1165
|
-
get(options?: EnvironmentsGetEnvironmentByUserParameters): StreamableMethod<EnvironmentsGetEnvironmentByUser200Response | EnvironmentsGetEnvironmentByUserDefaultResponse>;
|
|
1166
|
-
patch(options: EnvironmentsUpdateEnvironmentParameters): StreamableMethod<EnvironmentsUpdateEnvironment200Response | EnvironmentsUpdateEnvironmentDefaultResponse>;
|
|
1167
|
-
put(options: EnvironmentsCreateOrUpdateEnvironmentParameters): StreamableMethod<EnvironmentsCreateOrUpdateEnvironment200Response | EnvironmentsCreateOrUpdateEnvironment201Response | EnvironmentsCreateOrUpdateEnvironmentDefaultResponse>;
|
|
1150
|
+
export interface ListEnvironmentDefinitionsByCatalog {
|
|
1151
|
+
get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
|
|
1168
1152
|
}
|
|
1169
1153
|
|
|
1170
1154
|
// @public
|
|
1171
|
-
export interface
|
|
1155
|
+
export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
|
|
1172
1156
|
// (undocumented)
|
|
1173
|
-
body:
|
|
1157
|
+
body: PagedEnvironmentDefinitionOutput;
|
|
1174
1158
|
// (undocumented)
|
|
1175
1159
|
status: "200";
|
|
1176
1160
|
}
|
|
1177
1161
|
|
|
1178
1162
|
// @public (undocumented)
|
|
1179
|
-
export interface
|
|
1163
|
+
export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
|
|
1180
1164
|
"x-ms-error-code"?: string;
|
|
1181
1165
|
}
|
|
1182
1166
|
|
|
1183
|
-
// @public
|
|
1184
|
-
export interface
|
|
1167
|
+
// @public (undocumented)
|
|
1168
|
+
export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
|
|
1185
1169
|
// (undocumented)
|
|
1186
|
-
body:
|
|
1170
|
+
body: ErrorResponse;
|
|
1187
1171
|
// (undocumented)
|
|
1188
|
-
headers: RawHttpHeaders &
|
|
1172
|
+
headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
|
|
1189
1173
|
// (undocumented)
|
|
1190
1174
|
status: string;
|
|
1191
1175
|
}
|
|
1192
1176
|
|
|
1193
1177
|
// @public (undocumented)
|
|
1194
|
-
export type
|
|
1178
|
+
export type ListEnvironmentDefinitionsByCatalogParameters = ListEnvironmentDefinitionsByCatalogQueryParam & RequestParameters;
|
|
1195
1179
|
|
|
1196
1180
|
// @public (undocumented)
|
|
1197
|
-
export interface
|
|
1198
|
-
|
|
1181
|
+
export interface ListEnvironmentDefinitionsByCatalogQueryParam {
|
|
1182
|
+
// (undocumented)
|
|
1183
|
+
queryParameters?: ListEnvironmentDefinitionsByCatalogQueryParamProperties;
|
|
1199
1184
|
}
|
|
1200
1185
|
|
|
1201
|
-
// @public
|
|
1202
|
-
export interface
|
|
1203
|
-
|
|
1204
|
-
body: CatalogItemListResultOutput;
|
|
1205
|
-
// (undocumented)
|
|
1206
|
-
status: "200";
|
|
1186
|
+
// @public (undocumented)
|
|
1187
|
+
export interface ListEnvironmentDefinitionsByCatalogQueryParamProperties {
|
|
1188
|
+
top?: number;
|
|
1207
1189
|
}
|
|
1208
1190
|
|
|
1209
1191
|
// @public (undocumented)
|
|
1210
|
-
export interface
|
|
1192
|
+
export interface ListEnvironmentDefinitionsDefaultHeaders {
|
|
1211
1193
|
"x-ms-error-code"?: string;
|
|
1212
1194
|
}
|
|
1213
1195
|
|
|
1214
|
-
// @public
|
|
1215
|
-
export interface
|
|
1196
|
+
// @public (undocumented)
|
|
1197
|
+
export interface ListEnvironmentDefinitionsDefaultResponse extends HttpResponse {
|
|
1216
1198
|
// (undocumented)
|
|
1217
|
-
body:
|
|
1199
|
+
body: ErrorResponse;
|
|
1218
1200
|
// (undocumented)
|
|
1219
|
-
headers: RawHttpHeaders &
|
|
1201
|
+
headers: RawHttpHeaders & ListEnvironmentDefinitionsDefaultHeaders;
|
|
1220
1202
|
// (undocumented)
|
|
1221
1203
|
status: string;
|
|
1222
1204
|
}
|
|
1223
1205
|
|
|
1224
1206
|
// @public (undocumented)
|
|
1225
|
-
export type
|
|
1207
|
+
export type ListEnvironmentDefinitionsParameters = ListEnvironmentDefinitionsQueryParam & RequestParameters;
|
|
1226
1208
|
|
|
1227
1209
|
// @public (undocumented)
|
|
1228
|
-
export interface
|
|
1210
|
+
export interface ListEnvironmentDefinitionsQueryParam {
|
|
1229
1211
|
// (undocumented)
|
|
1230
|
-
queryParameters?:
|
|
1212
|
+
queryParameters?: ListEnvironmentDefinitionsQueryParamProperties;
|
|
1231
1213
|
}
|
|
1232
1214
|
|
|
1233
1215
|
// @public (undocumented)
|
|
1234
|
-
export interface
|
|
1216
|
+
export interface ListEnvironmentDefinitionsQueryParamProperties {
|
|
1235
1217
|
top?: number;
|
|
1236
1218
|
}
|
|
1237
1219
|
|
|
1238
1220
|
// @public (undocumented)
|
|
1239
|
-
export interface
|
|
1240
|
-
get(options?:
|
|
1221
|
+
export interface ListEnvironments {
|
|
1222
|
+
get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
|
|
1241
1223
|
}
|
|
1242
1224
|
|
|
1243
1225
|
// @public
|
|
1244
|
-
export interface
|
|
1226
|
+
export interface ListEnvironments200Response extends HttpResponse {
|
|
1245
1227
|
// (undocumented)
|
|
1246
|
-
body:
|
|
1228
|
+
body: PagedEnvironmentOutput;
|
|
1247
1229
|
// (undocumented)
|
|
1248
1230
|
status: "200";
|
|
1249
1231
|
}
|
|
1250
1232
|
|
|
1251
1233
|
// @public (undocumented)
|
|
1252
|
-
export interface
|
|
1234
|
+
export interface ListEnvironmentsDefaultHeaders {
|
|
1253
1235
|
"x-ms-error-code"?: string;
|
|
1254
1236
|
}
|
|
1255
1237
|
|
|
1256
|
-
// @public
|
|
1257
|
-
export interface
|
|
1238
|
+
// @public (undocumented)
|
|
1239
|
+
export interface ListEnvironmentsDefaultResponse extends HttpResponse {
|
|
1258
1240
|
// (undocumented)
|
|
1259
|
-
body:
|
|
1241
|
+
body: ErrorResponse;
|
|
1260
1242
|
// (undocumented)
|
|
1261
|
-
headers: RawHttpHeaders &
|
|
1243
|
+
headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
|
|
1262
1244
|
// (undocumented)
|
|
1263
1245
|
status: string;
|
|
1264
1246
|
}
|
|
1265
1247
|
|
|
1266
1248
|
// @public (undocumented)
|
|
1267
|
-
export type
|
|
1249
|
+
export type ListEnvironmentsParameters = ListEnvironmentsQueryParam & RequestParameters;
|
|
1268
1250
|
|
|
1269
1251
|
// @public (undocumented)
|
|
1270
|
-
export interface
|
|
1252
|
+
export interface ListEnvironmentsQueryParam {
|
|
1271
1253
|
// (undocumented)
|
|
1272
|
-
queryParameters?:
|
|
1254
|
+
queryParameters?: ListEnvironmentsQueryParamProperties;
|
|
1273
1255
|
}
|
|
1274
1256
|
|
|
1275
1257
|
// @public (undocumented)
|
|
1276
|
-
export interface
|
|
1258
|
+
export interface ListEnvironmentsQueryParamProperties {
|
|
1277
1259
|
top?: number;
|
|
1278
1260
|
}
|
|
1279
1261
|
|
|
1280
1262
|
// @public (undocumented)
|
|
1281
|
-
export interface
|
|
1282
|
-
get(options?:
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
// @public
|
|
1286
|
-
export interface EnvironmentsListEnvironments200Response extends HttpResponse {
|
|
1287
|
-
// (undocumented)
|
|
1288
|
-
body: EnvironmentListResultOutput;
|
|
1289
|
-
// (undocumented)
|
|
1290
|
-
status: "200";
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
// @public (undocumented)
|
|
1294
|
-
export interface EnvironmentsListEnvironmentsByUser {
|
|
1295
|
-
get(options?: EnvironmentsListEnvironmentsByUserParameters): StreamableMethod<EnvironmentsListEnvironmentsByUser200Response | EnvironmentsListEnvironmentsByUserDefaultResponse>;
|
|
1263
|
+
export interface ListEnvironmentTypes {
|
|
1264
|
+
get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
|
|
1296
1265
|
}
|
|
1297
1266
|
|
|
1298
1267
|
// @public
|
|
1299
|
-
export interface
|
|
1268
|
+
export interface ListEnvironmentTypes200Response extends HttpResponse {
|
|
1300
1269
|
// (undocumented)
|
|
1301
|
-
body:
|
|
1270
|
+
body: PagedEnvironmentTypeOutput;
|
|
1302
1271
|
// (undocumented)
|
|
1303
1272
|
status: "200";
|
|
1304
1273
|
}
|
|
1305
1274
|
|
|
1306
1275
|
// @public (undocumented)
|
|
1307
|
-
export interface
|
|
1276
|
+
export interface ListEnvironmentTypesDefaultHeaders {
|
|
1308
1277
|
"x-ms-error-code"?: string;
|
|
1309
1278
|
}
|
|
1310
1279
|
|
|
1311
|
-
// @public
|
|
1312
|
-
export interface
|
|
1280
|
+
// @public (undocumented)
|
|
1281
|
+
export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
|
|
1313
1282
|
// (undocumented)
|
|
1314
|
-
body:
|
|
1283
|
+
body: ErrorResponse;
|
|
1315
1284
|
// (undocumented)
|
|
1316
|
-
headers: RawHttpHeaders &
|
|
1285
|
+
headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
|
|
1317
1286
|
// (undocumented)
|
|
1318
1287
|
status: string;
|
|
1319
1288
|
}
|
|
1320
1289
|
|
|
1321
1290
|
// @public (undocumented)
|
|
1322
|
-
export type
|
|
1291
|
+
export type ListEnvironmentTypesParameters = ListEnvironmentTypesQueryParam & RequestParameters;
|
|
1323
1292
|
|
|
1324
1293
|
// @public (undocumented)
|
|
1325
|
-
export interface
|
|
1294
|
+
export interface ListEnvironmentTypesQueryParam {
|
|
1326
1295
|
// (undocumented)
|
|
1327
|
-
queryParameters?:
|
|
1296
|
+
queryParameters?: ListEnvironmentTypesQueryParamProperties;
|
|
1328
1297
|
}
|
|
1329
1298
|
|
|
1330
1299
|
// @public (undocumented)
|
|
1331
|
-
export interface
|
|
1300
|
+
export interface ListEnvironmentTypesQueryParamProperties {
|
|
1332
1301
|
top?: number;
|
|
1333
1302
|
}
|
|
1334
1303
|
|
|
1335
1304
|
// @public (undocumented)
|
|
1336
|
-
export interface
|
|
1337
|
-
|
|
1305
|
+
export interface ListPools {
|
|
1306
|
+
get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
|
|
1338
1307
|
}
|
|
1339
1308
|
|
|
1340
1309
|
// @public
|
|
1341
|
-
export interface
|
|
1310
|
+
export interface ListPools200Response extends HttpResponse {
|
|
1311
|
+
// (undocumented)
|
|
1312
|
+
body: PagedPoolOutput;
|
|
1342
1313
|
// (undocumented)
|
|
1343
|
-
|
|
1314
|
+
status: "200";
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
// @public (undocumented)
|
|
1318
|
+
export interface ListPoolsDefaultHeaders {
|
|
1319
|
+
"x-ms-error-code"?: string;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
// @public (undocumented)
|
|
1323
|
+
export interface ListPoolsDefaultResponse extends HttpResponse {
|
|
1344
1324
|
// (undocumented)
|
|
1345
|
-
|
|
1325
|
+
body: ErrorResponse;
|
|
1326
|
+
// (undocumented)
|
|
1327
|
+
headers: RawHttpHeaders & ListPoolsDefaultHeaders;
|
|
1346
1328
|
// (undocumented)
|
|
1347
1329
|
status: string;
|
|
1348
1330
|
}
|
|
1349
1331
|
|
|
1350
1332
|
// @public (undocumented)
|
|
1351
|
-
export type
|
|
1333
|
+
export type ListPoolsParameters = ListPoolsQueryParam & RequestParameters;
|
|
1352
1334
|
|
|
1353
1335
|
// @public (undocumented)
|
|
1354
|
-
export interface
|
|
1336
|
+
export interface ListPoolsQueryParam {
|
|
1355
1337
|
// (undocumented)
|
|
1356
|
-
queryParameters?:
|
|
1338
|
+
queryParameters?: ListPoolsQueryParamProperties;
|
|
1357
1339
|
}
|
|
1358
1340
|
|
|
1359
1341
|
// @public (undocumented)
|
|
1360
|
-
export interface
|
|
1342
|
+
export interface ListPoolsQueryParamProperties {
|
|
1343
|
+
filter?: string;
|
|
1361
1344
|
top?: number;
|
|
1362
1345
|
}
|
|
1363
1346
|
|
|
1364
1347
|
// @public (undocumented)
|
|
1365
|
-
export interface
|
|
1366
|
-
get(options?:
|
|
1348
|
+
export interface ListProjects {
|
|
1349
|
+
get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
|
|
1367
1350
|
}
|
|
1368
1351
|
|
|
1369
1352
|
// @public
|
|
1370
|
-
export interface
|
|
1353
|
+
export interface ListProjects200Response extends HttpResponse {
|
|
1371
1354
|
// (undocumented)
|
|
1372
|
-
body:
|
|
1355
|
+
body: PagedProjectOutput;
|
|
1373
1356
|
// (undocumented)
|
|
1374
1357
|
status: "200";
|
|
1375
1358
|
}
|
|
1376
1359
|
|
|
1377
1360
|
// @public (undocumented)
|
|
1378
|
-
export interface
|
|
1361
|
+
export interface ListProjectsDefaultHeaders {
|
|
1379
1362
|
"x-ms-error-code"?: string;
|
|
1380
1363
|
}
|
|
1381
1364
|
|
|
1382
|
-
// @public
|
|
1383
|
-
export interface
|
|
1365
|
+
// @public (undocumented)
|
|
1366
|
+
export interface ListProjectsDefaultResponse extends HttpResponse {
|
|
1384
1367
|
// (undocumented)
|
|
1385
|
-
body:
|
|
1368
|
+
body: ErrorResponse;
|
|
1386
1369
|
// (undocumented)
|
|
1387
|
-
headers: RawHttpHeaders &
|
|
1370
|
+
headers: RawHttpHeaders & ListProjectsDefaultHeaders;
|
|
1388
1371
|
// (undocumented)
|
|
1389
1372
|
status: string;
|
|
1390
1373
|
}
|
|
1391
1374
|
|
|
1392
1375
|
// @public (undocumented)
|
|
1393
|
-
export type
|
|
1376
|
+
export type ListProjectsParameters = ListProjectsQueryParam & RequestParameters;
|
|
1394
1377
|
|
|
1395
1378
|
// @public (undocumented)
|
|
1396
|
-
export interface
|
|
1379
|
+
export interface ListProjectsQueryParam {
|
|
1397
1380
|
// (undocumented)
|
|
1398
|
-
queryParameters?:
|
|
1381
|
+
queryParameters?: ListProjectsQueryParamProperties;
|
|
1399
1382
|
}
|
|
1400
1383
|
|
|
1401
1384
|
// @public (undocumented)
|
|
1402
|
-
export interface
|
|
1385
|
+
export interface ListProjectsQueryParamProperties {
|
|
1386
|
+
filter?: string;
|
|
1403
1387
|
top?: number;
|
|
1404
1388
|
}
|
|
1405
1389
|
|
|
1390
|
+
// @public (undocumented)
|
|
1391
|
+
export interface ListSchedules {
|
|
1392
|
+
get(options?: ListSchedulesParameters): StreamableMethod<ListSchedules200Response | ListSchedulesDefaultResponse>;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1406
1395
|
// @public
|
|
1407
|
-
export interface
|
|
1396
|
+
export interface ListSchedules200Response extends HttpResponse {
|
|
1408
1397
|
// (undocumented)
|
|
1409
|
-
body:
|
|
1398
|
+
body: PagedScheduleOutput;
|
|
1410
1399
|
// (undocumented)
|
|
1411
1400
|
status: "200";
|
|
1412
1401
|
}
|
|
1413
1402
|
|
|
1414
1403
|
// @public (undocumented)
|
|
1415
|
-
export interface
|
|
1416
|
-
body: EnvironmentUpdateProperties;
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
// @public (undocumented)
|
|
1420
|
-
export interface EnvironmentsUpdateEnvironmentDefaultHeaders {
|
|
1404
|
+
export interface ListSchedulesDefaultHeaders {
|
|
1421
1405
|
"x-ms-error-code"?: string;
|
|
1422
1406
|
}
|
|
1423
1407
|
|
|
1424
|
-
// @public
|
|
1425
|
-
export interface
|
|
1408
|
+
// @public (undocumented)
|
|
1409
|
+
export interface ListSchedulesDefaultResponse extends HttpResponse {
|
|
1426
1410
|
// (undocumented)
|
|
1427
|
-
body:
|
|
1411
|
+
body: ErrorResponse;
|
|
1428
1412
|
// (undocumented)
|
|
1429
|
-
headers: RawHttpHeaders &
|
|
1413
|
+
headers: RawHttpHeaders & ListSchedulesDefaultHeaders;
|
|
1430
1414
|
// (undocumented)
|
|
1431
1415
|
status: string;
|
|
1432
1416
|
}
|
|
1433
1417
|
|
|
1434
1418
|
// @public (undocumented)
|
|
1435
|
-
export
|
|
1436
|
-
|
|
1419
|
+
export type ListSchedulesParameters = ListSchedulesQueryParam & RequestParameters;
|
|
1420
|
+
|
|
1421
|
+
// @public (undocumented)
|
|
1422
|
+
export interface ListSchedulesQueryParam {
|
|
1423
|
+
// (undocumented)
|
|
1424
|
+
queryParameters?: ListSchedulesQueryParamProperties;
|
|
1437
1425
|
}
|
|
1438
1426
|
|
|
1439
1427
|
// @public (undocumented)
|
|
1440
|
-
export
|
|
1428
|
+
export interface ListSchedulesQueryParamProperties {
|
|
1429
|
+
filter?: string;
|
|
1430
|
+
top?: number;
|
|
1431
|
+
}
|
|
1441
1432
|
|
|
1442
1433
|
// @public
|
|
1443
|
-
export interface
|
|
1444
|
-
|
|
1445
|
-
|
|
1434
|
+
export interface OperationStatusErrorOutput {
|
|
1435
|
+
code?: string;
|
|
1436
|
+
message?: string;
|
|
1446
1437
|
}
|
|
1447
1438
|
|
|
1448
1439
|
// @public
|
|
1449
|
-
export interface
|
|
1450
|
-
|
|
1440
|
+
export interface OperationStatusOutput {
|
|
1441
|
+
endTime?: string;
|
|
1442
|
+
error?: OperationStatusErrorOutput;
|
|
1443
|
+
id?: string;
|
|
1451
1444
|
name?: string;
|
|
1452
|
-
|
|
1445
|
+
percentComplete?: number;
|
|
1446
|
+
properties?: any;
|
|
1447
|
+
resourceId?: string;
|
|
1448
|
+
startTime?: string;
|
|
1449
|
+
status: string;
|
|
1453
1450
|
}
|
|
1454
1451
|
|
|
1455
1452
|
// @public
|
|
1456
|
-
export interface
|
|
1457
|
-
catalogItemName?: string;
|
|
1458
|
-
catalogName?: string;
|
|
1459
|
-
description?: string;
|
|
1460
|
-
parameters?: Record<string, unknown>;
|
|
1461
|
-
scheduledTasks?: Record<string, ScheduledTask>;
|
|
1462
|
-
tags?: Record<string, string>;
|
|
1453
|
+
export interface OSDisk {
|
|
1463
1454
|
}
|
|
1464
1455
|
|
|
1465
1456
|
// @public
|
|
1466
|
-
export interface
|
|
1467
|
-
|
|
1468
|
-
catalogName?: string;
|
|
1469
|
-
description?: string;
|
|
1470
|
-
parameters?: Record<string, unknown>;
|
|
1471
|
-
scheduledTasks?: Record<string, ScheduledTaskOutput>;
|
|
1472
|
-
tags?: Record<string, string>;
|
|
1457
|
+
export interface OSDiskOutput {
|
|
1458
|
+
readonly diskSizeGB?: number;
|
|
1473
1459
|
}
|
|
1474
1460
|
|
|
1475
1461
|
// @public
|
|
1476
|
-
export type
|
|
1462
|
+
export type PagedCatalogOutput = Paged<CatalogOutput>;
|
|
1477
1463
|
|
|
1478
1464
|
// @public
|
|
1479
|
-
export
|
|
1465
|
+
export type PagedDevBoxActionDelayResultOutput = Paged<DevBoxActionDelayResultOutput>;
|
|
1480
1466
|
|
|
1481
1467
|
// @public
|
|
1482
|
-
export type
|
|
1483
|
-
page: TPage;
|
|
1484
|
-
nextPageLink?: string;
|
|
1485
|
-
}>;
|
|
1468
|
+
export type PagedDevBoxActionOutput = Paged<DevBoxActionOutput>;
|
|
1486
1469
|
|
|
1487
1470
|
// @public
|
|
1488
|
-
export
|
|
1489
|
-
memoryGB?: number;
|
|
1490
|
-
skuName?: string;
|
|
1491
|
-
vCPUs?: number;
|
|
1492
|
-
}
|
|
1471
|
+
export type PagedDevBoxOutput = Paged<DevBoxOutput>;
|
|
1493
1472
|
|
|
1494
1473
|
// @public
|
|
1495
|
-
export
|
|
1496
|
-
memoryGB?: number;
|
|
1497
|
-
skuName?: string;
|
|
1498
|
-
vCPUs?: number;
|
|
1499
|
-
}
|
|
1474
|
+
export type PagedEnvironmentDefinitionOutput = Paged<EnvironmentDefinitionOutput>;
|
|
1500
1475
|
|
|
1501
1476
|
// @public
|
|
1502
|
-
export
|
|
1503
|
-
name?: string;
|
|
1504
|
-
operatingSystem?: string;
|
|
1505
|
-
osBuildNumber?: string;
|
|
1506
|
-
publishedDate?: Date | string;
|
|
1507
|
-
version?: string;
|
|
1508
|
-
}
|
|
1477
|
+
export type PagedEnvironmentOutput = Paged<EnvironmentOutput>;
|
|
1509
1478
|
|
|
1510
1479
|
// @public
|
|
1511
|
-
export
|
|
1512
|
-
name?: string;
|
|
1513
|
-
operatingSystem?: string;
|
|
1514
|
-
osBuildNumber?: string;
|
|
1515
|
-
publishedDate?: string;
|
|
1516
|
-
version?: string;
|
|
1517
|
-
}
|
|
1480
|
+
export type PagedEnvironmentTypeOutput = Paged<EnvironmentTypeOutput>;
|
|
1518
1481
|
|
|
1519
|
-
// @public
|
|
1520
|
-
export
|
|
1521
|
-
|
|
1522
|
-
// @public (undocumented)
|
|
1523
|
-
export function isUnexpected(response: DevCenterGetProject200Response | DevCenterGetProjectDefaultResponse): response is DevCenterGetProjectDefaultResponse;
|
|
1524
|
-
|
|
1525
|
-
// @public (undocumented)
|
|
1526
|
-
export function isUnexpected(response: DevCenterListAllDevBoxes200Response | DevCenterListAllDevBoxesDefaultResponse): response is DevCenterListAllDevBoxesDefaultResponse;
|
|
1527
|
-
|
|
1528
|
-
// @public (undocumented)
|
|
1529
|
-
export function isUnexpected(response: DevCenterListAllDevBoxesByUser200Response | DevCenterListAllDevBoxesByUserDefaultResponse): response is DevCenterListAllDevBoxesByUserDefaultResponse;
|
|
1530
|
-
|
|
1531
|
-
// @public (undocumented)
|
|
1532
|
-
export function isUnexpected(response: DevBoxesListPools200Response | DevBoxesListPoolsDefaultResponse): response is DevBoxesListPoolsDefaultResponse;
|
|
1533
|
-
|
|
1534
|
-
// @public (undocumented)
|
|
1535
|
-
export function isUnexpected(response: DevBoxesGetPool200Response | DevBoxesGetPoolDefaultResponse): response is DevBoxesGetPoolDefaultResponse;
|
|
1536
|
-
|
|
1537
|
-
// @public (undocumented)
|
|
1538
|
-
export function isUnexpected(response: DevBoxesListSchedulesByPool200Response | DevBoxesListSchedulesByPoolDefaultResponse): response is DevBoxesListSchedulesByPoolDefaultResponse;
|
|
1539
|
-
|
|
1540
|
-
// @public (undocumented)
|
|
1541
|
-
export function isUnexpected(response: DevBoxesGetScheduleByPool200Response | DevBoxesGetScheduleByPoolDefaultResponse): response is DevBoxesGetScheduleByPoolDefaultResponse;
|
|
1482
|
+
// @public
|
|
1483
|
+
export type PagedPoolOutput = Paged<PoolOutput>;
|
|
1542
1484
|
|
|
1543
|
-
// @public
|
|
1544
|
-
export
|
|
1485
|
+
// @public
|
|
1486
|
+
export type PagedProjectOutput = Paged<ProjectOutput>;
|
|
1545
1487
|
|
|
1546
|
-
// @public
|
|
1547
|
-
export
|
|
1488
|
+
// @public
|
|
1489
|
+
export type PagedScheduleOutput = Paged<ScheduleOutput>;
|
|
1548
1490
|
|
|
1549
|
-
// @public
|
|
1550
|
-
export function
|
|
1491
|
+
// @public
|
|
1492
|
+
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
1551
1493
|
|
|
1552
|
-
// @public
|
|
1553
|
-
export
|
|
1494
|
+
// @public
|
|
1495
|
+
export type PaginateReturn<TResult> = TResult extends {
|
|
1496
|
+
body: {
|
|
1497
|
+
value?: infer TPage;
|
|
1498
|
+
};
|
|
1499
|
+
} ? GetArrayType<TPage> : Array<unknown>;
|
|
1554
1500
|
|
|
1555
|
-
// @public
|
|
1556
|
-
export
|
|
1501
|
+
// @public
|
|
1502
|
+
export interface PagingOptions<TResponse> {
|
|
1503
|
+
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
1504
|
+
}
|
|
1557
1505
|
|
|
1558
|
-
// @public
|
|
1559
|
-
export
|
|
1506
|
+
// @public
|
|
1507
|
+
export interface PoolOutput {
|
|
1508
|
+
hardwareProfile?: HardwareProfileOutput;
|
|
1509
|
+
healthStatus: string;
|
|
1510
|
+
hibernateSupport?: string;
|
|
1511
|
+
imageReference?: ImageReferenceOutput;
|
|
1512
|
+
localAdministrator?: string;
|
|
1513
|
+
location: string;
|
|
1514
|
+
readonly name: string;
|
|
1515
|
+
osType?: string;
|
|
1516
|
+
stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
|
|
1517
|
+
storageProfile?: StorageProfileOutput;
|
|
1518
|
+
}
|
|
1560
1519
|
|
|
1561
|
-
// @public
|
|
1562
|
-
export
|
|
1520
|
+
// @public
|
|
1521
|
+
export interface ProjectOutput {
|
|
1522
|
+
description?: string;
|
|
1523
|
+
maxDevBoxesPerUser?: number;
|
|
1524
|
+
readonly name: string;
|
|
1525
|
+
}
|
|
1563
1526
|
|
|
1564
|
-
// @public
|
|
1565
|
-
export
|
|
1527
|
+
// @public
|
|
1528
|
+
export interface RemoteConnectionOutput {
|
|
1529
|
+
rdpConnectionUrl?: string;
|
|
1530
|
+
webUrl?: string;
|
|
1531
|
+
}
|
|
1566
1532
|
|
|
1567
1533
|
// @public (undocumented)
|
|
1568
|
-
export
|
|
1534
|
+
export interface RestartDevBox {
|
|
1535
|
+
post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
|
|
1536
|
+
}
|
|
1569
1537
|
|
|
1570
1538
|
// @public (undocumented)
|
|
1571
|
-
export
|
|
1539
|
+
export interface RestartDevBox202Headers {
|
|
1540
|
+
"operation-location": string;
|
|
1541
|
+
}
|
|
1572
1542
|
|
|
1573
|
-
// @public
|
|
1574
|
-
export
|
|
1543
|
+
// @public
|
|
1544
|
+
export interface RestartDevBox202Response extends HttpResponse {
|
|
1545
|
+
// (undocumented)
|
|
1546
|
+
body: OperationStatusOutput;
|
|
1547
|
+
// (undocumented)
|
|
1548
|
+
headers: RawHttpHeaders & RestartDevBox202Headers;
|
|
1549
|
+
// (undocumented)
|
|
1550
|
+
status: "202";
|
|
1551
|
+
}
|
|
1575
1552
|
|
|
1576
1553
|
// @public (undocumented)
|
|
1577
|
-
export
|
|
1554
|
+
export interface RestartDevBoxDefaultHeaders {
|
|
1555
|
+
"x-ms-error-code"?: string;
|
|
1556
|
+
}
|
|
1578
1557
|
|
|
1579
1558
|
// @public (undocumented)
|
|
1580
|
-
export
|
|
1559
|
+
export interface RestartDevBoxDefaultResponse extends HttpResponse {
|
|
1560
|
+
// (undocumented)
|
|
1561
|
+
body: ErrorResponse;
|
|
1562
|
+
// (undocumented)
|
|
1563
|
+
headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
|
|
1564
|
+
// (undocumented)
|
|
1565
|
+
status: string;
|
|
1566
|
+
}
|
|
1581
1567
|
|
|
1582
|
-
// @public
|
|
1583
|
-
export
|
|
1568
|
+
// @public
|
|
1569
|
+
export interface RestartDevBoxLogicalResponse extends HttpResponse {
|
|
1570
|
+
// (undocumented)
|
|
1571
|
+
body: OperationStatusOutput;
|
|
1572
|
+
// (undocumented)
|
|
1573
|
+
status: "200";
|
|
1574
|
+
}
|
|
1584
1575
|
|
|
1585
1576
|
// @public (undocumented)
|
|
1586
|
-
export
|
|
1577
|
+
export type RestartDevBoxParameters = RequestParameters;
|
|
1587
1578
|
|
|
1588
1579
|
// @public (undocumented)
|
|
1589
|
-
export
|
|
1580
|
+
export interface Routes {
|
|
1581
|
+
(path: "/projects"): ListProjects;
|
|
1582
|
+
(path: "/projects/{projectName}", projectName: string): GetProject;
|
|
1583
|
+
(path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): GetProjectOperationStatus;
|
|
1584
|
+
(path: "/projects/{projectName}/pools", projectName: string): ListPools;
|
|
1585
|
+
(path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
|
|
1586
|
+
(path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedules;
|
|
1587
|
+
(path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetSchedule;
|
|
1588
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxes;
|
|
1589
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBox;
|
|
1590
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
|
|
1591
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
|
|
1592
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
|
|
1593
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
|
|
1594
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListDevBoxActions;
|
|
1595
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetDevBoxAction;
|
|
1596
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
|
|
1597
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
|
|
1598
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayAllActions;
|
|
1599
|
+
(path: "/devboxes"): ListAllDevBoxes;
|
|
1600
|
+
(path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
|
|
1601
|
+
(path: "/projects/{projectName}/environments", projectName: string): ListAllEnvironments;
|
|
1602
|
+
(path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironments;
|
|
1603
|
+
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironment;
|
|
1604
|
+
(path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogs;
|
|
1605
|
+
(path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
|
|
1606
|
+
(path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitions;
|
|
1607
|
+
(path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
|
|
1608
|
+
(path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
|
|
1609
|
+
(path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
|
|
1610
|
+
}
|
|
1590
1611
|
|
|
1591
|
-
// @public
|
|
1592
|
-
export
|
|
1612
|
+
// @public
|
|
1613
|
+
export interface ScheduleOutput {
|
|
1614
|
+
frequency: string;
|
|
1615
|
+
readonly name: string;
|
|
1616
|
+
time: string;
|
|
1617
|
+
timeZone: string;
|
|
1618
|
+
type: string;
|
|
1619
|
+
}
|
|
1593
1620
|
|
|
1594
1621
|
// @public (undocumented)
|
|
1595
|
-
export
|
|
1622
|
+
export interface SkipAction {
|
|
1623
|
+
post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
|
|
1624
|
+
}
|
|
1596
1625
|
|
|
1597
|
-
// @public
|
|
1598
|
-
export
|
|
1626
|
+
// @public
|
|
1627
|
+
export interface SkipAction204Response extends HttpResponse {
|
|
1628
|
+
// (undocumented)
|
|
1629
|
+
status: "204";
|
|
1630
|
+
}
|
|
1599
1631
|
|
|
1600
1632
|
// @public (undocumented)
|
|
1601
|
-
export
|
|
1633
|
+
export interface SkipActionDefaultHeaders {
|
|
1634
|
+
"x-ms-error-code"?: string;
|
|
1635
|
+
}
|
|
1602
1636
|
|
|
1603
1637
|
// @public (undocumented)
|
|
1604
|
-
export
|
|
1638
|
+
export interface SkipActionDefaultResponse extends HttpResponse {
|
|
1639
|
+
// (undocumented)
|
|
1640
|
+
body: ErrorResponse;
|
|
1641
|
+
// (undocumented)
|
|
1642
|
+
headers: RawHttpHeaders & SkipActionDefaultHeaders;
|
|
1643
|
+
// (undocumented)
|
|
1644
|
+
status: string;
|
|
1645
|
+
}
|
|
1605
1646
|
|
|
1606
1647
|
// @public (undocumented)
|
|
1607
|
-
export
|
|
1648
|
+
export type SkipActionParameters = RequestParameters;
|
|
1608
1649
|
|
|
1609
1650
|
// @public (undocumented)
|
|
1610
|
-
export
|
|
1651
|
+
export interface StartDevBox {
|
|
1652
|
+
post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
|
|
1653
|
+
}
|
|
1611
1654
|
|
|
1612
1655
|
// @public (undocumented)
|
|
1613
|
-
export
|
|
1614
|
-
|
|
1615
|
-
// @public
|
|
1616
|
-
export interface OSDisk {
|
|
1617
|
-
diskSizeGB?: number;
|
|
1656
|
+
export interface StartDevBox202Headers {
|
|
1657
|
+
"operation-location": string;
|
|
1618
1658
|
}
|
|
1619
1659
|
|
|
1620
1660
|
// @public
|
|
1621
|
-
export interface
|
|
1622
|
-
|
|
1661
|
+
export interface StartDevBox202Response extends HttpResponse {
|
|
1662
|
+
// (undocumented)
|
|
1663
|
+
body: OperationStatusOutput;
|
|
1664
|
+
// (undocumented)
|
|
1665
|
+
headers: RawHttpHeaders & StartDevBox202Headers;
|
|
1666
|
+
// (undocumented)
|
|
1667
|
+
status: "202";
|
|
1623
1668
|
}
|
|
1624
1669
|
|
|
1625
|
-
// @public
|
|
1626
|
-
export
|
|
1627
|
-
|
|
1628
|
-
// @public
|
|
1629
|
-
export type PaginateReturn<TResult> = TResult extends {
|
|
1630
|
-
body: {
|
|
1631
|
-
value?: infer TPage;
|
|
1632
|
-
};
|
|
1633
|
-
} ? GetArrayType<TPage> : Array<unknown>;
|
|
1634
|
-
|
|
1635
|
-
// @public
|
|
1636
|
-
export interface PagingOptions<TResponse> {
|
|
1637
|
-
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
1670
|
+
// @public (undocumented)
|
|
1671
|
+
export interface StartDevBoxDefaultHeaders {
|
|
1672
|
+
"x-ms-error-code"?: string;
|
|
1638
1673
|
}
|
|
1639
1674
|
|
|
1640
|
-
// @public
|
|
1641
|
-
export interface
|
|
1642
|
-
|
|
1643
|
-
|
|
1675
|
+
// @public (undocumented)
|
|
1676
|
+
export interface StartDevBoxDefaultResponse extends HttpResponse {
|
|
1677
|
+
// (undocumented)
|
|
1678
|
+
body: ErrorResponse;
|
|
1679
|
+
// (undocumented)
|
|
1680
|
+
headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
|
|
1681
|
+
// (undocumented)
|
|
1682
|
+
status: string;
|
|
1644
1683
|
}
|
|
1645
1684
|
|
|
1646
1685
|
// @public
|
|
1647
|
-
export interface
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
location?: string;
|
|
1653
|
-
name?: string;
|
|
1654
|
-
osType?: "Windows";
|
|
1655
|
-
storageProfile?: StorageProfileOutput;
|
|
1686
|
+
export interface StartDevBoxLogicalResponse extends HttpResponse {
|
|
1687
|
+
// (undocumented)
|
|
1688
|
+
body: OperationStatusOutput;
|
|
1689
|
+
// (undocumented)
|
|
1690
|
+
status: "200";
|
|
1656
1691
|
}
|
|
1657
1692
|
|
|
1658
|
-
// @public
|
|
1659
|
-
export
|
|
1660
|
-
nextLink?: string;
|
|
1661
|
-
value: Array<ProjectOutput>;
|
|
1662
|
-
}
|
|
1693
|
+
// @public (undocumented)
|
|
1694
|
+
export type StartDevBoxParameters = RequestParameters;
|
|
1663
1695
|
|
|
1664
|
-
// @public
|
|
1665
|
-
export interface
|
|
1666
|
-
|
|
1667
|
-
name?: string;
|
|
1696
|
+
// @public (undocumented)
|
|
1697
|
+
export interface StopDevBox {
|
|
1698
|
+
post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
|
|
1668
1699
|
}
|
|
1669
1700
|
|
|
1670
|
-
// @public
|
|
1671
|
-
export interface
|
|
1672
|
-
|
|
1673
|
-
message?: string;
|
|
1701
|
+
// @public (undocumented)
|
|
1702
|
+
export interface StopDevBox202Headers {
|
|
1703
|
+
"operation-location": string;
|
|
1674
1704
|
}
|
|
1675
1705
|
|
|
1676
1706
|
// @public
|
|
1677
|
-
export interface
|
|
1678
|
-
|
|
1679
|
-
|
|
1707
|
+
export interface StopDevBox202Response extends HttpResponse {
|
|
1708
|
+
// (undocumented)
|
|
1709
|
+
body: OperationStatusOutput;
|
|
1710
|
+
// (undocumented)
|
|
1711
|
+
headers: RawHttpHeaders & StopDevBox202Headers;
|
|
1712
|
+
// (undocumented)
|
|
1713
|
+
status: "202";
|
|
1680
1714
|
}
|
|
1681
1715
|
|
|
1682
|
-
// @public
|
|
1683
|
-
export interface
|
|
1684
|
-
|
|
1685
|
-
webUrl?: string;
|
|
1716
|
+
// @public (undocumented)
|
|
1717
|
+
export interface StopDevBoxDefaultHeaders {
|
|
1718
|
+
"x-ms-error-code"?: string;
|
|
1686
1719
|
}
|
|
1687
1720
|
|
|
1688
1721
|
// @public (undocumented)
|
|
1689
|
-
export interface
|
|
1690
|
-
(
|
|
1691
|
-
|
|
1692
|
-
(
|
|
1693
|
-
|
|
1694
|
-
(
|
|
1695
|
-
|
|
1696
|
-
(path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): DevBoxesListSchedulesByPool;
|
|
1697
|
-
(path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): DevBoxesGetScheduleByPool;
|
|
1698
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): DevBoxesListDevBoxesByUser;
|
|
1699
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): DevBoxesGetDevBoxByUser;
|
|
1700
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): DevBoxesStartDevBox;
|
|
1701
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): DevBoxesStopDevBox;
|
|
1702
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): DevBoxesGetRemoteConnection;
|
|
1703
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions", projectName: string, userId: string, devBoxName: string): DevBoxesListUpcomingActions;
|
|
1704
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesGetUpcomingAction;
|
|
1705
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:skip", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesSkipUpcomingAction;
|
|
1706
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:delay", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesDelayUpcomingAction;
|
|
1707
|
-
(path: "/projects/{projectName}/environments", projectName: string): EnvironmentsListEnvironments;
|
|
1708
|
-
(path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): EnvironmentsListEnvironmentsByUser;
|
|
1709
|
-
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): EnvironmentsGetEnvironmentByUser;
|
|
1710
|
-
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:deploy", projectName: string, userId: string, environmentName: string): EnvironmentsDeployEnvironmentAction;
|
|
1711
|
-
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:custom", projectName: string, userId: string, environmentName: string): EnvironmentsCustomEnvironmentAction;
|
|
1712
|
-
(path: "/projects/{projectName}/catalogItems", projectName: string): EnvironmentsListCatalogItems;
|
|
1713
|
-
(path: "/projects/{projectName}/catalogItems/{catalogItemId}", projectName: string, catalogItemId: string): EnvironmentsGetCatalogItem;
|
|
1714
|
-
(path: "/projects/{projectName}/catalogItems/{catalogItemId}/versions", projectName: string, catalogItemId: string): EnvironmentsListCatalogItemVersions;
|
|
1715
|
-
(path: "/projects/{projectName}/catalogItems/{catalogItemId}/versions/{version}", projectName: string, catalogItemId: string, version: string): EnvironmentsGetCatalogItemVersion;
|
|
1716
|
-
(path: "/projects/{projectName}/environmentTypes", projectName: string): EnvironmentsListEnvironmentTypes;
|
|
1722
|
+
export interface StopDevBoxDefaultResponse extends HttpResponse {
|
|
1723
|
+
// (undocumented)
|
|
1724
|
+
body: ErrorResponse;
|
|
1725
|
+
// (undocumented)
|
|
1726
|
+
headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
|
|
1727
|
+
// (undocumented)
|
|
1728
|
+
status: string;
|
|
1717
1729
|
}
|
|
1718
1730
|
|
|
1719
1731
|
// @public
|
|
1720
|
-
export interface
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1732
|
+
export interface StopDevBoxLogicalResponse extends HttpResponse {
|
|
1733
|
+
// (undocumented)
|
|
1734
|
+
body: OperationStatusOutput;
|
|
1735
|
+
// (undocumented)
|
|
1736
|
+
status: "200";
|
|
1724
1737
|
}
|
|
1725
1738
|
|
|
1726
|
-
// @public
|
|
1727
|
-
export
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1739
|
+
// @public (undocumented)
|
|
1740
|
+
export type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;
|
|
1741
|
+
|
|
1742
|
+
// @public (undocumented)
|
|
1743
|
+
export interface StopDevBoxQueryParam {
|
|
1744
|
+
// (undocumented)
|
|
1745
|
+
queryParameters?: StopDevBoxQueryParamProperties;
|
|
1731
1746
|
}
|
|
1732
1747
|
|
|
1733
|
-
// @public
|
|
1734
|
-
export interface
|
|
1735
|
-
|
|
1736
|
-
value: Array<ScheduleOutput>;
|
|
1748
|
+
// @public (undocumented)
|
|
1749
|
+
export interface StopDevBoxQueryParamProperties {
|
|
1750
|
+
hibernate?: boolean;
|
|
1737
1751
|
}
|
|
1738
1752
|
|
|
1739
1753
|
// @public
|
|
1740
|
-
export interface
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
time?: string;
|
|
1744
|
-
timeZone?: string;
|
|
1745
|
-
type?: "StopDevBox";
|
|
1754
|
+
export interface StopOnDisconnectConfigurationOutput {
|
|
1755
|
+
gracePeriodMinutes?: number;
|
|
1756
|
+
status: string;
|
|
1746
1757
|
}
|
|
1747
1758
|
|
|
1748
1759
|
// @public
|
|
@@ -1755,22 +1766,6 @@ export interface StorageProfileOutput {
|
|
|
1755
1766
|
osDisk?: OSDiskOutput;
|
|
1756
1767
|
}
|
|
1757
1768
|
|
|
1758
|
-
// @public
|
|
1759
|
-
export interface UpcomingActionOutput {
|
|
1760
|
-
actionType?: "Stop";
|
|
1761
|
-
id?: string;
|
|
1762
|
-
originalScheduledTime?: string;
|
|
1763
|
-
reason?: "Schedule";
|
|
1764
|
-
scheduledTime?: string;
|
|
1765
|
-
sourceId?: string;
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
// @public
|
|
1769
|
-
export interface UpcomingActionsListResultOutput {
|
|
1770
|
-
nextLink?: string;
|
|
1771
|
-
value: Array<UpcomingActionOutput>;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
1769
|
// (No @packageDocumentation comment for this package)
|
|
1775
1770
|
|
|
1776
1771
|
```
|