@azure-rest/developer-devcenter 1.0.0-beta.3 → 1.0.0
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 +1 -1
- package/dist/browser/azureDeveloperDevCenter.d.ts +11 -0
- package/dist/browser/azureDeveloperDevCenter.d.ts.map +1 -0
- package/dist/browser/azureDeveloperDevCenter.js +29 -0
- package/dist/browser/azureDeveloperDevCenter.js.map +1 -0
- package/dist/browser/clientDefinitions.d.ts +191 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +14 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +35 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -5
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/models.d.ts +47 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +338 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +43 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +65 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +83 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/pollingHelper.js +97 -0
- package/dist/browser/pollingHelper.js.map +1 -0
- package/dist/browser/responses.d.ts +547 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/azureDeveloperDevCenter.d.ts +11 -0
- package/dist/commonjs/azureDeveloperDevCenter.d.ts.map +1 -0
- package/dist/commonjs/azureDeveloperDevCenter.js +32 -0
- package/dist/commonjs/azureDeveloperDevCenter.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +191 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +35 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +114 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +47 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +338 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +43 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +73 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +65 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +83 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +100 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +547 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/azureDeveloperDevCenter.d.ts +11 -0
- package/dist/esm/azureDeveloperDevCenter.d.ts.map +1 -0
- package/dist/esm/azureDeveloperDevCenter.js +29 -0
- package/dist/esm/azureDeveloperDevCenter.js.map +1 -0
- package/dist/esm/clientDefinitions.d.ts +191 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +35 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +111 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +47 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +338 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +43 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +70 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +65 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +83 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +97 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +547 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/azureDeveloperDevCenter.d.ts +11 -0
- package/dist/react-native/azureDeveloperDevCenter.d.ts.map +1 -0
- package/dist/react-native/azureDeveloperDevCenter.js +29 -0
- package/dist/react-native/azureDeveloperDevCenter.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +191 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +14 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +35 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +111 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +47 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +338 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +43 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +70 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +65 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +83 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +97 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +547 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +119 -100
- package/review/developer-devcenter.api.md +343 -395
- package/dist/index.js +0 -269
- package/dist/index.js.map +0 -1
- package/dist-esm/src/azureDeveloperDevCenter.js +0 -29
- package/dist-esm/src/azureDeveloperDevCenter.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/index.js +0 -14
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/pollingHelper.js +0 -43
- package/dist-esm/src/pollingHelper.js.map +0 -1
- package/dist-esm/src/responses.js.map +0 -1
- package/types/developer-devcenter.d.ts +0 -1696
- /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/responses.js +0 -0
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
+
import { AbortSignalLike } from '@azure/abort-controller';
|
|
8
|
+
import { CancelOnProgress } from '@azure/core-lro';
|
|
7
9
|
import { Client } from '@azure-rest/core-client';
|
|
8
10
|
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
11
|
import { CreateHttpPollerOptions } from '@azure/core-lro';
|
|
@@ -16,7 +18,6 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
|
16
18
|
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
17
19
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
18
20
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
19
|
-
import { SimplePollerLike } from '@azure/core-lro';
|
|
20
21
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
21
22
|
import { TokenCredential } from '@azure/core-auth';
|
|
22
23
|
|
|
@@ -27,11 +28,11 @@ export type AzureDeveloperDevCenterClient = Client & {
|
|
|
27
28
|
|
|
28
29
|
// @public
|
|
29
30
|
export interface CatalogOutput {
|
|
30
|
-
name: string;
|
|
31
|
+
readonly name: string;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
// @public
|
|
34
|
-
function createClient(
|
|
35
|
+
function createClient(endpointParam: string, credentials: TokenCredential, options?: ClientOptions): AzureDeveloperDevCenterClient;
|
|
35
36
|
export default createClient;
|
|
36
37
|
|
|
37
38
|
// @public
|
|
@@ -92,43 +93,43 @@ export interface CreateDevBoxLogicalResponse extends HttpResponse {
|
|
|
92
93
|
export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
|
|
93
94
|
|
|
94
95
|
// @public (undocumented)
|
|
95
|
-
export interface
|
|
96
|
+
export interface CreateOrReplaceEnvironment201Headers {
|
|
96
97
|
// (undocumented)
|
|
97
98
|
"operation-location": string;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
// @public
|
|
101
|
-
export interface
|
|
102
|
+
export interface CreateOrReplaceEnvironment201Response extends HttpResponse {
|
|
102
103
|
// (undocumented)
|
|
103
104
|
body: EnvironmentOutput;
|
|
104
105
|
// (undocumented)
|
|
105
|
-
headers: RawHttpHeaders &
|
|
106
|
+
headers: RawHttpHeaders & CreateOrReplaceEnvironment201Headers;
|
|
106
107
|
// (undocumented)
|
|
107
108
|
status: "201";
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
// @public (undocumented)
|
|
111
|
-
export interface
|
|
112
|
+
export interface CreateOrReplaceEnvironmentBodyParam {
|
|
112
113
|
body: Environment;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
// @public (undocumented)
|
|
116
|
-
export interface
|
|
117
|
+
export interface CreateOrReplaceEnvironmentDefaultHeaders {
|
|
117
118
|
"x-ms-error-code"?: string;
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
// @public (undocumented)
|
|
121
|
-
export interface
|
|
122
|
+
export interface CreateOrReplaceEnvironmentDefaultResponse extends HttpResponse {
|
|
122
123
|
// (undocumented)
|
|
123
124
|
body: ErrorResponse;
|
|
124
125
|
// (undocumented)
|
|
125
|
-
headers: RawHttpHeaders &
|
|
126
|
+
headers: RawHttpHeaders & CreateOrReplaceEnvironmentDefaultHeaders;
|
|
126
127
|
// (undocumented)
|
|
127
128
|
status: string;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
// @public
|
|
131
|
-
export interface
|
|
132
|
+
export interface CreateOrReplaceEnvironmentLogicalResponse extends HttpResponse {
|
|
132
133
|
// (undocumented)
|
|
133
134
|
body: EnvironmentOutput;
|
|
134
135
|
// (undocumented)
|
|
@@ -136,7 +137,7 @@ export interface CreateOrUpdateEnvironmentLogicalResponse extends HttpResponse {
|
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
// @public (undocumented)
|
|
139
|
-
export type
|
|
140
|
+
export type CreateOrReplaceEnvironmentParameters = CreateOrReplaceEnvironmentBodyParam & RequestParameters;
|
|
140
141
|
|
|
141
142
|
// @public (undocumented)
|
|
142
143
|
export interface DelayAction {
|
|
@@ -181,12 +182,12 @@ export interface DelayActionQueryParamProperties {
|
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
// @public (undocumented)
|
|
184
|
-
export interface
|
|
185
|
-
post(options:
|
|
185
|
+
export interface DelayActions {
|
|
186
|
+
post(options: DelayActionsParameters): StreamableMethod<DelayActions200Response | DelayActionsDefaultResponse>;
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
// @public
|
|
189
|
-
export interface
|
|
190
|
+
export interface DelayActions200Response extends HttpResponse {
|
|
190
191
|
// (undocumented)
|
|
191
192
|
body: PagedDevBoxActionDelayResultOutput;
|
|
192
193
|
// (undocumented)
|
|
@@ -194,31 +195,31 @@ export interface DelayAllActions200Response extends HttpResponse {
|
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
// @public (undocumented)
|
|
197
|
-
export interface
|
|
198
|
+
export interface DelayActionsDefaultHeaders {
|
|
198
199
|
"x-ms-error-code"?: string;
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
// @public (undocumented)
|
|
202
|
-
export interface
|
|
203
|
+
export interface DelayActionsDefaultResponse extends HttpResponse {
|
|
203
204
|
// (undocumented)
|
|
204
205
|
body: ErrorResponse;
|
|
205
206
|
// (undocumented)
|
|
206
|
-
headers: RawHttpHeaders &
|
|
207
|
+
headers: RawHttpHeaders & DelayActionsDefaultHeaders;
|
|
207
208
|
// (undocumented)
|
|
208
209
|
status: string;
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
// @public (undocumented)
|
|
212
|
-
export type
|
|
213
|
+
export type DelayActionsParameters = DelayActionsQueryParam & RequestParameters;
|
|
213
214
|
|
|
214
215
|
// @public (undocumented)
|
|
215
|
-
export interface
|
|
216
|
+
export interface DelayActionsQueryParam {
|
|
216
217
|
// (undocumented)
|
|
217
|
-
queryParameters:
|
|
218
|
+
queryParameters: DelayActionsQueryParamProperties;
|
|
218
219
|
}
|
|
219
220
|
|
|
220
221
|
// @public (undocumented)
|
|
221
|
-
export interface
|
|
222
|
+
export interface DelayActionsQueryParamProperties {
|
|
222
223
|
until: Date | string;
|
|
223
224
|
}
|
|
224
225
|
|
|
@@ -324,7 +325,7 @@ export type DeleteEnvironmentParameters = RequestParameters;
|
|
|
324
325
|
|
|
325
326
|
// @public
|
|
326
327
|
export interface DevBox {
|
|
327
|
-
localAdministrator?:
|
|
328
|
+
localAdministrator?: LocalAdminStatus;
|
|
328
329
|
poolName: string;
|
|
329
330
|
}
|
|
330
331
|
|
|
@@ -333,18 +334,24 @@ export interface DevBoxActionDelayResultOutput {
|
|
|
333
334
|
action?: DevBoxActionOutput;
|
|
334
335
|
error?: ErrorModel;
|
|
335
336
|
name: string;
|
|
336
|
-
result:
|
|
337
|
+
result: DevBoxActionDelayResultStatusOutput;
|
|
337
338
|
}
|
|
338
339
|
|
|
340
|
+
// @public
|
|
341
|
+
export type DevBoxActionDelayResultStatusOutput = "Succeeded" | "Failed" | string;
|
|
342
|
+
|
|
339
343
|
// @public
|
|
340
344
|
export interface DevBoxActionOutput {
|
|
341
|
-
actionType:
|
|
345
|
+
actionType: DevBoxActionTypeOutput;
|
|
342
346
|
readonly name: string;
|
|
343
347
|
next?: DevBoxNextActionOutput;
|
|
344
348
|
sourceId: string;
|
|
345
349
|
suspendedUntil?: string;
|
|
346
350
|
}
|
|
347
351
|
|
|
352
|
+
// @public
|
|
353
|
+
export type DevBoxActionTypeOutput = "Stop" | string;
|
|
354
|
+
|
|
348
355
|
// @public
|
|
349
356
|
export interface DevBoxNextActionOutput {
|
|
350
357
|
scheduledTime: string;
|
|
@@ -356,27 +363,33 @@ export interface DevBoxOutput {
|
|
|
356
363
|
readonly createdTime?: string;
|
|
357
364
|
readonly error?: ErrorModel;
|
|
358
365
|
readonly hardwareProfile?: HardwareProfileOutput;
|
|
359
|
-
readonly hibernateSupport?:
|
|
366
|
+
readonly hibernateSupport?: HibernateSupportOutput;
|
|
360
367
|
readonly imageReference?: ImageReferenceOutput;
|
|
361
|
-
localAdministrator?:
|
|
368
|
+
localAdministrator?: LocalAdminStatusOutput;
|
|
362
369
|
readonly location?: string;
|
|
363
370
|
readonly name: string;
|
|
364
|
-
readonly osType?:
|
|
371
|
+
readonly osType?: OsTypeOutput;
|
|
365
372
|
poolName: string;
|
|
366
|
-
readonly powerState?:
|
|
373
|
+
readonly powerState?: PowerStateOutput;
|
|
367
374
|
readonly projectName?: string;
|
|
368
|
-
readonly provisioningState?:
|
|
375
|
+
readonly provisioningState?: DevBoxProvisioningStateOutput;
|
|
369
376
|
readonly storageProfile?: StorageProfileOutput;
|
|
370
377
|
readonly uniqueId?: string;
|
|
371
378
|
readonly user?: string;
|
|
372
379
|
}
|
|
373
380
|
|
|
381
|
+
// @public
|
|
382
|
+
export type DevBoxProvisioningState = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Deleting" | "Updating" | "Starting" | "Stopping" | "Provisioning" | "ProvisionedWithWarning" | "InGracePeriod" | "NotProvisioned" | string;
|
|
383
|
+
|
|
384
|
+
// @public
|
|
385
|
+
export type DevBoxProvisioningStateOutput = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Deleting" | "Updating" | "Starting" | "Stopping" | "Provisioning" | "ProvisionedWithWarning" | "InGracePeriod" | "NotProvisioned" | string;
|
|
386
|
+
|
|
374
387
|
// @public
|
|
375
388
|
export interface Environment {
|
|
376
389
|
catalogName: string;
|
|
377
390
|
environmentDefinitionName: string;
|
|
378
391
|
environmentType: string;
|
|
379
|
-
parameters?: unknown
|
|
392
|
+
parameters?: Record<string, unknown>;
|
|
380
393
|
}
|
|
381
394
|
|
|
382
395
|
// @public
|
|
@@ -384,7 +397,7 @@ export interface EnvironmentDefinitionOutput {
|
|
|
384
397
|
catalogName: string;
|
|
385
398
|
description?: string;
|
|
386
399
|
id: string;
|
|
387
|
-
name: string;
|
|
400
|
+
readonly name: string;
|
|
388
401
|
parameters?: Array<EnvironmentDefinitionParameterOutput>;
|
|
389
402
|
parametersSchema?: string;
|
|
390
403
|
templatePath?: string;
|
|
@@ -399,7 +412,7 @@ export interface EnvironmentDefinitionParameterOutput {
|
|
|
399
412
|
name?: string;
|
|
400
413
|
readOnly?: boolean;
|
|
401
414
|
required: boolean;
|
|
402
|
-
type:
|
|
415
|
+
type: ParameterTypeOutput;
|
|
403
416
|
}
|
|
404
417
|
|
|
405
418
|
// @public
|
|
@@ -408,127 +421,164 @@ export interface EnvironmentOutput {
|
|
|
408
421
|
environmentDefinitionName: string;
|
|
409
422
|
environmentType: string;
|
|
410
423
|
readonly error?: ErrorModel;
|
|
411
|
-
readonly name
|
|
412
|
-
parameters?: any
|
|
413
|
-
readonly provisioningState?:
|
|
424
|
+
readonly name: string;
|
|
425
|
+
parameters?: Record<string, any>;
|
|
426
|
+
readonly provisioningState?: EnvironmentProvisioningStateOutput;
|
|
414
427
|
readonly resourceGroupId?: string;
|
|
415
428
|
readonly user?: string;
|
|
416
429
|
}
|
|
417
430
|
|
|
431
|
+
// @public
|
|
432
|
+
export type EnvironmentProvisioningState = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Accepted" | "Deleting" | "Updating" | "Preparing" | "Running" | "Syncing" | "MovingResources" | "TransientFailure" | "StorageProvisioningFailed" | string;
|
|
433
|
+
|
|
434
|
+
// @public
|
|
435
|
+
export type EnvironmentProvisioningStateOutput = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Accepted" | "Deleting" | "Updating" | "Preparing" | "Running" | "Syncing" | "MovingResources" | "TransientFailure" | "StorageProvisioningFailed" | string;
|
|
436
|
+
|
|
437
|
+
// @public
|
|
438
|
+
export type EnvironmentTypeEnableStatusOutput = "Enabled" | "Disabled" | string;
|
|
439
|
+
|
|
418
440
|
// @public
|
|
419
441
|
export interface EnvironmentTypeOutput {
|
|
420
442
|
deploymentTargetId: string;
|
|
421
|
-
name: string;
|
|
422
|
-
status:
|
|
443
|
+
readonly name: string;
|
|
444
|
+
status: EnvironmentTypeEnableStatusOutput;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// @public (undocumented)
|
|
448
|
+
export interface Get {
|
|
449
|
+
get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;
|
|
423
450
|
}
|
|
424
451
|
|
|
425
452
|
// @public
|
|
426
|
-
export
|
|
453
|
+
export interface Get200Response extends HttpResponse {
|
|
454
|
+
// (undocumented)
|
|
455
|
+
body: OperationStatusOutput;
|
|
456
|
+
// (undocumented)
|
|
457
|
+
status: "200";
|
|
458
|
+
}
|
|
427
459
|
|
|
428
460
|
// @public (undocumented)
|
|
429
|
-
export interface
|
|
430
|
-
get(options?:
|
|
461
|
+
export interface GetAction {
|
|
462
|
+
get(options?: GetActionParameters): StreamableMethod<GetAction200Response | GetActionDefaultResponse>;
|
|
431
463
|
}
|
|
432
464
|
|
|
433
465
|
// @public
|
|
434
|
-
export interface
|
|
466
|
+
export interface GetAction200Response extends HttpResponse {
|
|
435
467
|
// (undocumented)
|
|
436
|
-
body:
|
|
468
|
+
body: DevBoxActionOutput;
|
|
437
469
|
// (undocumented)
|
|
438
470
|
status: "200";
|
|
439
471
|
}
|
|
440
472
|
|
|
441
473
|
// @public (undocumented)
|
|
442
|
-
export interface
|
|
474
|
+
export interface GetActionDefaultHeaders {
|
|
443
475
|
"x-ms-error-code"?: string;
|
|
444
476
|
}
|
|
445
477
|
|
|
446
478
|
// @public (undocumented)
|
|
447
|
-
export interface
|
|
479
|
+
export interface GetActionDefaultResponse extends HttpResponse {
|
|
448
480
|
// (undocumented)
|
|
449
481
|
body: ErrorResponse;
|
|
450
482
|
// (undocumented)
|
|
451
|
-
headers: RawHttpHeaders &
|
|
483
|
+
headers: RawHttpHeaders & GetActionDefaultHeaders;
|
|
452
484
|
// (undocumented)
|
|
453
485
|
status: string;
|
|
454
486
|
}
|
|
455
487
|
|
|
456
488
|
// @public (undocumented)
|
|
457
|
-
export type
|
|
489
|
+
export type GetActionParameters = RequestParameters;
|
|
490
|
+
|
|
491
|
+
// @public
|
|
492
|
+
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
458
493
|
|
|
459
494
|
// @public (undocumented)
|
|
460
|
-
export interface
|
|
461
|
-
|
|
462
|
-
get(options?: GetDevBoxParameters): StreamableMethod<GetDevBox200Response | GetDevBoxDefaultResponse>;
|
|
463
|
-
put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
|
|
495
|
+
export interface GetCatalog {
|
|
496
|
+
get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
|
|
464
497
|
}
|
|
465
498
|
|
|
466
499
|
// @public
|
|
467
|
-
export interface
|
|
500
|
+
export interface GetCatalog200Response extends HttpResponse {
|
|
468
501
|
// (undocumented)
|
|
469
|
-
body:
|
|
502
|
+
body: CatalogOutput;
|
|
470
503
|
// (undocumented)
|
|
471
504
|
status: "200";
|
|
472
505
|
}
|
|
473
506
|
|
|
474
507
|
// @public (undocumented)
|
|
475
|
-
export interface
|
|
476
|
-
|
|
508
|
+
export interface GetCatalogDefaultHeaders {
|
|
509
|
+
"x-ms-error-code"?: string;
|
|
477
510
|
}
|
|
478
511
|
|
|
479
|
-
// @public
|
|
480
|
-
export interface
|
|
512
|
+
// @public (undocumented)
|
|
513
|
+
export interface GetCatalogDefaultResponse extends HttpResponse {
|
|
481
514
|
// (undocumented)
|
|
482
|
-
body:
|
|
515
|
+
body: ErrorResponse;
|
|
483
516
|
// (undocumented)
|
|
484
|
-
|
|
517
|
+
headers: RawHttpHeaders & GetCatalogDefaultHeaders;
|
|
518
|
+
// (undocumented)
|
|
519
|
+
status: string;
|
|
485
520
|
}
|
|
486
521
|
|
|
487
522
|
// @public (undocumented)
|
|
488
|
-
export
|
|
523
|
+
export type GetCatalogParameters = RequestParameters;
|
|
524
|
+
|
|
525
|
+
// @public (undocumented)
|
|
526
|
+
export interface GetDefaultHeaders {
|
|
489
527
|
"x-ms-error-code"?: string;
|
|
490
528
|
}
|
|
491
529
|
|
|
492
530
|
// @public (undocumented)
|
|
493
|
-
export interface
|
|
531
|
+
export interface GetDefaultResponse extends HttpResponse {
|
|
494
532
|
// (undocumented)
|
|
495
533
|
body: ErrorResponse;
|
|
496
534
|
// (undocumented)
|
|
497
|
-
headers: RawHttpHeaders &
|
|
535
|
+
headers: RawHttpHeaders & GetDefaultHeaders;
|
|
498
536
|
// (undocumented)
|
|
499
537
|
status: string;
|
|
500
538
|
}
|
|
501
539
|
|
|
502
540
|
// @public (undocumented)
|
|
503
|
-
export
|
|
541
|
+
export interface GetDevBoxByUser {
|
|
542
|
+
delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
|
|
543
|
+
get(options?: GetDevBoxByUserParameters): StreamableMethod<GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse>;
|
|
544
|
+
put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
// @public
|
|
548
|
+
export interface GetDevBoxByUser200Response extends HttpResponse {
|
|
549
|
+
// (undocumented)
|
|
550
|
+
body: DevBoxOutput;
|
|
551
|
+
// (undocumented)
|
|
552
|
+
status: "200";
|
|
553
|
+
}
|
|
504
554
|
|
|
505
555
|
// @public (undocumented)
|
|
506
|
-
export interface
|
|
556
|
+
export interface GetDevBoxByUserDefaultHeaders {
|
|
507
557
|
"x-ms-error-code"?: string;
|
|
508
558
|
}
|
|
509
559
|
|
|
510
560
|
// @public (undocumented)
|
|
511
|
-
export interface
|
|
561
|
+
export interface GetDevBoxByUserDefaultResponse extends HttpResponse {
|
|
512
562
|
// (undocumented)
|
|
513
563
|
body: ErrorResponse;
|
|
514
564
|
// (undocumented)
|
|
515
|
-
headers: RawHttpHeaders &
|
|
565
|
+
headers: RawHttpHeaders & GetDevBoxByUserDefaultHeaders;
|
|
516
566
|
// (undocumented)
|
|
517
567
|
status: string;
|
|
518
568
|
}
|
|
519
569
|
|
|
520
570
|
// @public (undocumented)
|
|
521
|
-
export type
|
|
571
|
+
export type GetDevBoxByUserParameters = RequestParameters;
|
|
522
572
|
|
|
523
573
|
// @public (undocumented)
|
|
524
|
-
export interface
|
|
574
|
+
export interface GetEnvironmentByUser {
|
|
525
575
|
delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
|
|
526
|
-
get(options?:
|
|
527
|
-
put(options:
|
|
576
|
+
get(options?: GetEnvironmentByUserParameters): StreamableMethod<GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse>;
|
|
577
|
+
put(options: CreateOrReplaceEnvironmentParameters): StreamableMethod<CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse>;
|
|
528
578
|
}
|
|
529
579
|
|
|
530
580
|
// @public
|
|
531
|
-
export interface
|
|
581
|
+
export interface GetEnvironmentByUser200Response extends HttpResponse {
|
|
532
582
|
// (undocumented)
|
|
533
583
|
body: EnvironmentOutput;
|
|
534
584
|
// (undocumented)
|
|
@@ -536,20 +586,23 @@ export interface GetEnvironment200Response extends HttpResponse {
|
|
|
536
586
|
}
|
|
537
587
|
|
|
538
588
|
// @public (undocumented)
|
|
539
|
-
export interface
|
|
589
|
+
export interface GetEnvironmentByUserDefaultHeaders {
|
|
540
590
|
"x-ms-error-code"?: string;
|
|
541
591
|
}
|
|
542
592
|
|
|
543
593
|
// @public (undocumented)
|
|
544
|
-
export interface
|
|
594
|
+
export interface GetEnvironmentByUserDefaultResponse extends HttpResponse {
|
|
545
595
|
// (undocumented)
|
|
546
596
|
body: ErrorResponse;
|
|
547
597
|
// (undocumented)
|
|
548
|
-
headers: RawHttpHeaders &
|
|
598
|
+
headers: RawHttpHeaders & GetEnvironmentByUserDefaultHeaders;
|
|
549
599
|
// (undocumented)
|
|
550
600
|
status: string;
|
|
551
601
|
}
|
|
552
602
|
|
|
603
|
+
// @public (undocumented)
|
|
604
|
+
export type GetEnvironmentByUserParameters = RequestParameters;
|
|
605
|
+
|
|
553
606
|
// @public (undocumented)
|
|
554
607
|
export interface GetEnvironmentDefinition {
|
|
555
608
|
get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
|
|
@@ -581,9 +634,6 @@ export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
|
|
|
581
634
|
// @public (undocumented)
|
|
582
635
|
export type GetEnvironmentDefinitionParameters = RequestParameters;
|
|
583
636
|
|
|
584
|
-
// @public (undocumented)
|
|
585
|
-
export type GetEnvironmentParameters = RequestParameters;
|
|
586
|
-
|
|
587
637
|
// @public
|
|
588
638
|
export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
589
639
|
|
|
@@ -600,7 +650,7 @@ export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse |
|
|
|
600
650
|
export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
601
651
|
|
|
602
652
|
// @public (undocumented)
|
|
603
|
-
export function getLongRunningPoller<TResult extends
|
|
653
|
+
export function getLongRunningPoller<TResult extends CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
604
654
|
|
|
605
655
|
// @public (undocumented)
|
|
606
656
|
export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
@@ -611,6 +661,9 @@ export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise
|
|
|
611
661
|
nextPageLink?: string;
|
|
612
662
|
}>;
|
|
613
663
|
|
|
664
|
+
// @public (undocumented)
|
|
665
|
+
export type GetParameters = RequestParameters;
|
|
666
|
+
|
|
614
667
|
// @public (undocumented)
|
|
615
668
|
export interface GetPool {
|
|
616
669
|
get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
|
|
@@ -670,37 +723,6 @@ export interface GetProjectDefaultResponse extends HttpResponse {
|
|
|
670
723
|
status: string;
|
|
671
724
|
}
|
|
672
725
|
|
|
673
|
-
// @public (undocumented)
|
|
674
|
-
export interface GetProjectOperationStatus {
|
|
675
|
-
get(options?: GetProjectOperationStatusParameters): StreamableMethod<GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse>;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
// @public
|
|
679
|
-
export interface GetProjectOperationStatus200Response extends HttpResponse {
|
|
680
|
-
// (undocumented)
|
|
681
|
-
body: OperationStatusOutput;
|
|
682
|
-
// (undocumented)
|
|
683
|
-
status: "200";
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
// @public (undocumented)
|
|
687
|
-
export interface GetProjectOperationStatusDefaultHeaders {
|
|
688
|
-
"x-ms-error-code"?: string;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
// @public (undocumented)
|
|
692
|
-
export interface GetProjectOperationStatusDefaultResponse extends HttpResponse {
|
|
693
|
-
// (undocumented)
|
|
694
|
-
body: ErrorResponse;
|
|
695
|
-
// (undocumented)
|
|
696
|
-
headers: RawHttpHeaders & GetProjectOperationStatusDefaultHeaders;
|
|
697
|
-
// (undocumented)
|
|
698
|
-
status: string;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
// @public (undocumented)
|
|
702
|
-
export type GetProjectOperationStatusParameters = RequestParameters;
|
|
703
|
-
|
|
704
726
|
// @public (undocumented)
|
|
705
727
|
export type GetProjectParameters = RequestParameters;
|
|
706
728
|
|
|
@@ -736,12 +758,12 @@ export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
|
|
|
736
758
|
export type GetRemoteConnectionParameters = RequestParameters;
|
|
737
759
|
|
|
738
760
|
// @public (undocumented)
|
|
739
|
-
export interface
|
|
740
|
-
get(options?:
|
|
761
|
+
export interface GetScheduleByPool {
|
|
762
|
+
get(options?: GetScheduleByPoolParameters): StreamableMethod<GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse>;
|
|
741
763
|
}
|
|
742
764
|
|
|
743
765
|
// @public
|
|
744
|
-
export interface
|
|
766
|
+
export interface GetScheduleByPool200Response extends HttpResponse {
|
|
745
767
|
// (undocumented)
|
|
746
768
|
body: ScheduleOutput;
|
|
747
769
|
// (undocumented)
|
|
@@ -749,22 +771,22 @@ export interface GetSchedule200Response extends HttpResponse {
|
|
|
749
771
|
}
|
|
750
772
|
|
|
751
773
|
// @public (undocumented)
|
|
752
|
-
export interface
|
|
774
|
+
export interface GetScheduleByPoolDefaultHeaders {
|
|
753
775
|
"x-ms-error-code"?: string;
|
|
754
776
|
}
|
|
755
777
|
|
|
756
778
|
// @public (undocumented)
|
|
757
|
-
export interface
|
|
779
|
+
export interface GetScheduleByPoolDefaultResponse extends HttpResponse {
|
|
758
780
|
// (undocumented)
|
|
759
781
|
body: ErrorResponse;
|
|
760
782
|
// (undocumented)
|
|
761
|
-
headers: RawHttpHeaders &
|
|
783
|
+
headers: RawHttpHeaders & GetScheduleByPoolDefaultHeaders;
|
|
762
784
|
// (undocumented)
|
|
763
785
|
status: string;
|
|
764
786
|
}
|
|
765
787
|
|
|
766
788
|
// @public (undocumented)
|
|
767
|
-
export type
|
|
789
|
+
export type GetScheduleByPoolParameters = RequestParameters;
|
|
768
790
|
|
|
769
791
|
// @public
|
|
770
792
|
export interface HardwareProfile {
|
|
@@ -773,10 +795,16 @@ export interface HardwareProfile {
|
|
|
773
795
|
// @public
|
|
774
796
|
export interface HardwareProfileOutput {
|
|
775
797
|
readonly memoryGB?: number;
|
|
776
|
-
readonly skuName?:
|
|
798
|
+
readonly skuName?: SkuNameOutput;
|
|
777
799
|
readonly vCPUs?: number;
|
|
778
800
|
}
|
|
779
801
|
|
|
802
|
+
// @public
|
|
803
|
+
export type HibernateSupport = "Enabled" | "Disabled" | "OsUnsupported" | string;
|
|
804
|
+
|
|
805
|
+
// @public
|
|
806
|
+
export type HibernateSupportOutput = "Enabled" | "Disabled" | "OsUnsupported" | string;
|
|
807
|
+
|
|
780
808
|
// @public
|
|
781
809
|
export interface ImageReference {
|
|
782
810
|
}
|
|
@@ -797,7 +825,7 @@ export function isUnexpected(response: ListProjects200Response | ListProjectsDef
|
|
|
797
825
|
export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
|
|
798
826
|
|
|
799
827
|
// @public (undocumented)
|
|
800
|
-
export function isUnexpected(response:
|
|
828
|
+
export function isUnexpected(response: Get200Response | GetDefaultResponse): response is GetDefaultResponse;
|
|
801
829
|
|
|
802
830
|
// @public (undocumented)
|
|
803
831
|
export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
|
|
@@ -806,16 +834,22 @@ export function isUnexpected(response: ListPools200Response | ListPoolsDefaultRe
|
|
|
806
834
|
export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
|
|
807
835
|
|
|
808
836
|
// @public (undocumented)
|
|
809
|
-
export function isUnexpected(response:
|
|
837
|
+
export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
|
|
838
|
+
|
|
839
|
+
// @public (undocumented)
|
|
840
|
+
export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
|
|
841
|
+
|
|
842
|
+
// @public (undocumented)
|
|
843
|
+
export function isUnexpected(response: ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse): response is ListSchedulesByPoolDefaultResponse;
|
|
810
844
|
|
|
811
845
|
// @public (undocumented)
|
|
812
|
-
export function isUnexpected(response:
|
|
846
|
+
export function isUnexpected(response: GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse): response is GetScheduleByPoolDefaultResponse;
|
|
813
847
|
|
|
814
848
|
// @public (undocumented)
|
|
815
|
-
export function isUnexpected(response:
|
|
849
|
+
export function isUnexpected(response: ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse): response is ListDevBoxesByUserDefaultResponse;
|
|
816
850
|
|
|
817
851
|
// @public (undocumented)
|
|
818
|
-
export function isUnexpected(response:
|
|
852
|
+
export function isUnexpected(response: GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse): response is GetDevBoxByUserDefaultResponse;
|
|
819
853
|
|
|
820
854
|
// @public (undocumented)
|
|
821
855
|
export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
|
|
@@ -836,10 +870,10 @@ export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxL
|
|
|
836
870
|
export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
|
|
837
871
|
|
|
838
872
|
// @public (undocumented)
|
|
839
|
-
export function isUnexpected(response:
|
|
873
|
+
export function isUnexpected(response: ListActions200Response | ListActionsDefaultResponse): response is ListActionsDefaultResponse;
|
|
840
874
|
|
|
841
875
|
// @public (undocumented)
|
|
842
|
-
export function isUnexpected(response:
|
|
876
|
+
export function isUnexpected(response: GetAction200Response | GetActionDefaultResponse): response is GetActionDefaultResponse;
|
|
843
877
|
|
|
844
878
|
// @public (undocumented)
|
|
845
879
|
export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
|
|
@@ -848,37 +882,31 @@ export function isUnexpected(response: SkipAction204Response | SkipActionDefault
|
|
|
848
882
|
export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
|
|
849
883
|
|
|
850
884
|
// @public (undocumented)
|
|
851
|
-
export function isUnexpected(response:
|
|
852
|
-
|
|
853
|
-
// @public (undocumented)
|
|
854
|
-
export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
|
|
855
|
-
|
|
856
|
-
// @public (undocumented)
|
|
857
|
-
export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
|
|
885
|
+
export function isUnexpected(response: DelayActions200Response | DelayActionsDefaultResponse): response is DelayActionsDefaultResponse;
|
|
858
886
|
|
|
859
887
|
// @public (undocumented)
|
|
860
|
-
export function isUnexpected(response:
|
|
888
|
+
export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
|
|
861
889
|
|
|
862
890
|
// @public (undocumented)
|
|
863
|
-
export function isUnexpected(response:
|
|
891
|
+
export function isUnexpected(response: ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse): response is ListEnvironmentsByUserDefaultResponse;
|
|
864
892
|
|
|
865
893
|
// @public (undocumented)
|
|
866
|
-
export function isUnexpected(response:
|
|
894
|
+
export function isUnexpected(response: GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse): response is GetEnvironmentByUserDefaultResponse;
|
|
867
895
|
|
|
868
896
|
// @public (undocumented)
|
|
869
|
-
export function isUnexpected(response:
|
|
897
|
+
export function isUnexpected(response: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse): response is CreateOrReplaceEnvironmentDefaultResponse;
|
|
870
898
|
|
|
871
899
|
// @public (undocumented)
|
|
872
900
|
export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
|
|
873
901
|
|
|
874
902
|
// @public (undocumented)
|
|
875
|
-
export function isUnexpected(response:
|
|
903
|
+
export function isUnexpected(response: ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse): response is ListCatalogsByProjectDefaultResponse;
|
|
876
904
|
|
|
877
905
|
// @public (undocumented)
|
|
878
906
|
export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
|
|
879
907
|
|
|
880
908
|
// @public (undocumented)
|
|
881
|
-
export function isUnexpected(response:
|
|
909
|
+
export function isUnexpected(response: ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse): response is ListEnvironmentDefinitionsByProjectDefaultResponse;
|
|
882
910
|
|
|
883
911
|
// @public (undocumented)
|
|
884
912
|
export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
|
|
@@ -889,6 +917,37 @@ export function isUnexpected(response: GetEnvironmentDefinition200Response | Get
|
|
|
889
917
|
// @public (undocumented)
|
|
890
918
|
export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
|
|
891
919
|
|
|
920
|
+
// @public (undocumented)
|
|
921
|
+
export interface ListActions {
|
|
922
|
+
get(options?: ListActionsParameters): StreamableMethod<ListActions200Response | ListActionsDefaultResponse>;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
// @public
|
|
926
|
+
export interface ListActions200Response extends HttpResponse {
|
|
927
|
+
// (undocumented)
|
|
928
|
+
body: PagedDevBoxActionOutput;
|
|
929
|
+
// (undocumented)
|
|
930
|
+
status: "200";
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
// @public (undocumented)
|
|
934
|
+
export interface ListActionsDefaultHeaders {
|
|
935
|
+
"x-ms-error-code"?: string;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
// @public (undocumented)
|
|
939
|
+
export interface ListActionsDefaultResponse extends HttpResponse {
|
|
940
|
+
// (undocumented)
|
|
941
|
+
body: ErrorResponse;
|
|
942
|
+
// (undocumented)
|
|
943
|
+
headers: RawHttpHeaders & ListActionsDefaultHeaders;
|
|
944
|
+
// (undocumented)
|
|
945
|
+
status: string;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
// @public (undocumented)
|
|
949
|
+
export type ListActionsParameters = RequestParameters;
|
|
950
|
+
|
|
892
951
|
// @public (undocumented)
|
|
893
952
|
export interface ListAllDevBoxes {
|
|
894
953
|
get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
|
|
@@ -931,19 +990,7 @@ export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
|
|
|
931
990
|
}
|
|
932
991
|
|
|
933
992
|
// @public (undocumented)
|
|
934
|
-
export type ListAllDevBoxesByUserParameters =
|
|
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;
|
|
946
|
-
}
|
|
993
|
+
export type ListAllDevBoxesByUserParameters = RequestParameters;
|
|
947
994
|
|
|
948
995
|
// @public (undocumented)
|
|
949
996
|
export interface ListAllDevBoxesDefaultHeaders {
|
|
@@ -961,274 +1008,175 @@ export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
|
|
|
961
1008
|
}
|
|
962
1009
|
|
|
963
1010
|
// @public (undocumented)
|
|
964
|
-
export type ListAllDevBoxesParameters =
|
|
965
|
-
|
|
966
|
-
// @public (undocumented)
|
|
967
|
-
export interface ListAllDevBoxesQueryParam {
|
|
968
|
-
// (undocumented)
|
|
969
|
-
queryParameters?: ListAllDevBoxesQueryParamProperties;
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
// @public (undocumented)
|
|
973
|
-
export interface ListAllDevBoxesQueryParamProperties {
|
|
974
|
-
filter?: string;
|
|
975
|
-
top?: number;
|
|
976
|
-
}
|
|
1011
|
+
export type ListAllDevBoxesParameters = RequestParameters;
|
|
977
1012
|
|
|
978
1013
|
// @public (undocumented)
|
|
979
|
-
export interface
|
|
980
|
-
get(options?:
|
|
1014
|
+
export interface ListCatalogsByProject {
|
|
1015
|
+
get(options?: ListCatalogsByProjectParameters): StreamableMethod<ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse>;
|
|
981
1016
|
}
|
|
982
1017
|
|
|
983
1018
|
// @public
|
|
984
|
-
export interface
|
|
1019
|
+
export interface ListCatalogsByProject200Response extends HttpResponse {
|
|
985
1020
|
// (undocumented)
|
|
986
|
-
body:
|
|
1021
|
+
body: PagedCatalogOutput;
|
|
987
1022
|
// (undocumented)
|
|
988
1023
|
status: "200";
|
|
989
1024
|
}
|
|
990
1025
|
|
|
991
1026
|
// @public (undocumented)
|
|
992
|
-
export interface
|
|
1027
|
+
export interface ListCatalogsByProjectDefaultHeaders {
|
|
993
1028
|
"x-ms-error-code"?: string;
|
|
994
1029
|
}
|
|
995
1030
|
|
|
996
1031
|
// @public (undocumented)
|
|
997
|
-
export interface
|
|
1032
|
+
export interface ListCatalogsByProjectDefaultResponse extends HttpResponse {
|
|
998
1033
|
// (undocumented)
|
|
999
1034
|
body: ErrorResponse;
|
|
1000
1035
|
// (undocumented)
|
|
1001
|
-
headers: RawHttpHeaders &
|
|
1036
|
+
headers: RawHttpHeaders & ListCatalogsByProjectDefaultHeaders;
|
|
1002
1037
|
// (undocumented)
|
|
1003
1038
|
status: string;
|
|
1004
1039
|
}
|
|
1005
1040
|
|
|
1006
1041
|
// @public (undocumented)
|
|
1007
|
-
export type
|
|
1008
|
-
|
|
1009
|
-
// @public (undocumented)
|
|
1010
|
-
export interface ListAllEnvironmentsQueryParam {
|
|
1011
|
-
// (undocumented)
|
|
1012
|
-
queryParameters?: ListAllEnvironmentsQueryParamProperties;
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
// @public (undocumented)
|
|
1016
|
-
export interface ListAllEnvironmentsQueryParamProperties {
|
|
1017
|
-
top?: number;
|
|
1018
|
-
}
|
|
1042
|
+
export type ListCatalogsByProjectParameters = RequestParameters;
|
|
1019
1043
|
|
|
1020
1044
|
// @public (undocumented)
|
|
1021
|
-
export interface
|
|
1022
|
-
get(options?:
|
|
1045
|
+
export interface ListDevBoxesByUser {
|
|
1046
|
+
get(options?: ListDevBoxesByUserParameters): StreamableMethod<ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse>;
|
|
1023
1047
|
}
|
|
1024
1048
|
|
|
1025
1049
|
// @public
|
|
1026
|
-
export interface
|
|
1050
|
+
export interface ListDevBoxesByUser200Response extends HttpResponse {
|
|
1027
1051
|
// (undocumented)
|
|
1028
|
-
body:
|
|
1052
|
+
body: PagedDevBoxOutput;
|
|
1029
1053
|
// (undocumented)
|
|
1030
1054
|
status: "200";
|
|
1031
1055
|
}
|
|
1032
1056
|
|
|
1033
1057
|
// @public (undocumented)
|
|
1034
|
-
export interface
|
|
1058
|
+
export interface ListDevBoxesByUserDefaultHeaders {
|
|
1035
1059
|
"x-ms-error-code"?: string;
|
|
1036
1060
|
}
|
|
1037
1061
|
|
|
1038
1062
|
// @public (undocumented)
|
|
1039
|
-
export interface
|
|
1063
|
+
export interface ListDevBoxesByUserDefaultResponse extends HttpResponse {
|
|
1040
1064
|
// (undocumented)
|
|
1041
1065
|
body: ErrorResponse;
|
|
1042
1066
|
// (undocumented)
|
|
1043
|
-
headers: RawHttpHeaders &
|
|
1067
|
+
headers: RawHttpHeaders & ListDevBoxesByUserDefaultHeaders;
|
|
1044
1068
|
// (undocumented)
|
|
1045
1069
|
status: string;
|
|
1046
1070
|
}
|
|
1047
1071
|
|
|
1048
1072
|
// @public (undocumented)
|
|
1049
|
-
export type
|
|
1050
|
-
|
|
1051
|
-
// @public (undocumented)
|
|
1052
|
-
export interface ListCatalogsQueryParam {
|
|
1053
|
-
// (undocumented)
|
|
1054
|
-
queryParameters?: ListCatalogsQueryParamProperties;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
// @public (undocumented)
|
|
1058
|
-
export interface ListCatalogsQueryParamProperties {
|
|
1059
|
-
top?: number;
|
|
1060
|
-
}
|
|
1073
|
+
export type ListDevBoxesByUserParameters = RequestParameters;
|
|
1061
1074
|
|
|
1062
1075
|
// @public (undocumented)
|
|
1063
|
-
export interface
|
|
1064
|
-
get(options?:
|
|
1076
|
+
export interface ListEnvironmentDefinitionsByCatalog {
|
|
1077
|
+
get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
|
|
1065
1078
|
}
|
|
1066
1079
|
|
|
1067
1080
|
// @public
|
|
1068
|
-
export interface
|
|
1081
|
+
export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
|
|
1069
1082
|
// (undocumented)
|
|
1070
|
-
body:
|
|
1083
|
+
body: PagedEnvironmentDefinitionOutput;
|
|
1071
1084
|
// (undocumented)
|
|
1072
1085
|
status: "200";
|
|
1073
1086
|
}
|
|
1074
1087
|
|
|
1075
1088
|
// @public (undocumented)
|
|
1076
|
-
export interface
|
|
1089
|
+
export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
|
|
1077
1090
|
"x-ms-error-code"?: string;
|
|
1078
1091
|
}
|
|
1079
1092
|
|
|
1080
1093
|
// @public (undocumented)
|
|
1081
|
-
export interface
|
|
1094
|
+
export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
|
|
1082
1095
|
// (undocumented)
|
|
1083
1096
|
body: ErrorResponse;
|
|
1084
1097
|
// (undocumented)
|
|
1085
|
-
headers: RawHttpHeaders &
|
|
1098
|
+
headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
|
|
1086
1099
|
// (undocumented)
|
|
1087
1100
|
status: string;
|
|
1088
1101
|
}
|
|
1089
1102
|
|
|
1090
1103
|
// @public (undocumented)
|
|
1091
|
-
export type
|
|
1104
|
+
export type ListEnvironmentDefinitionsByCatalogParameters = RequestParameters;
|
|
1092
1105
|
|
|
1093
1106
|
// @public (undocumented)
|
|
1094
|
-
export interface
|
|
1095
|
-
get(options?:
|
|
1107
|
+
export interface ListEnvironmentDefinitionsByProject {
|
|
1108
|
+
get(options?: ListEnvironmentDefinitionsByProjectParameters): StreamableMethod<ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse>;
|
|
1096
1109
|
}
|
|
1097
1110
|
|
|
1098
1111
|
// @public
|
|
1099
|
-
export interface
|
|
1112
|
+
export interface ListEnvironmentDefinitionsByProject200Response extends HttpResponse {
|
|
1100
1113
|
// (undocumented)
|
|
1101
|
-
body:
|
|
1114
|
+
body: PagedEnvironmentDefinitionOutput;
|
|
1102
1115
|
// (undocumented)
|
|
1103
1116
|
status: "200";
|
|
1104
1117
|
}
|
|
1105
1118
|
|
|
1106
1119
|
// @public (undocumented)
|
|
1107
|
-
export interface
|
|
1120
|
+
export interface ListEnvironmentDefinitionsByProjectDefaultHeaders {
|
|
1108
1121
|
"x-ms-error-code"?: string;
|
|
1109
1122
|
}
|
|
1110
1123
|
|
|
1111
1124
|
// @public (undocumented)
|
|
1112
|
-
export interface
|
|
1125
|
+
export interface ListEnvironmentDefinitionsByProjectDefaultResponse extends HttpResponse {
|
|
1113
1126
|
// (undocumented)
|
|
1114
1127
|
body: ErrorResponse;
|
|
1115
1128
|
// (undocumented)
|
|
1116
|
-
headers: RawHttpHeaders &
|
|
1129
|
+
headers: RawHttpHeaders & ListEnvironmentDefinitionsByProjectDefaultHeaders;
|
|
1117
1130
|
// (undocumented)
|
|
1118
1131
|
status: string;
|
|
1119
1132
|
}
|
|
1120
1133
|
|
|
1121
1134
|
// @public (undocumented)
|
|
1122
|
-
export type
|
|
1123
|
-
|
|
1124
|
-
// @public (undocumented)
|
|
1125
|
-
export interface ListDevBoxesQueryParam {
|
|
1126
|
-
// (undocumented)
|
|
1127
|
-
queryParameters?: ListDevBoxesQueryParamProperties;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
// @public (undocumented)
|
|
1131
|
-
export interface ListDevBoxesQueryParamProperties {
|
|
1132
|
-
filter?: string;
|
|
1133
|
-
top?: number;
|
|
1134
|
-
}
|
|
1135
|
+
export type ListEnvironmentDefinitionsByProjectParameters = RequestParameters;
|
|
1135
1136
|
|
|
1136
1137
|
// @public (undocumented)
|
|
1137
|
-
export interface
|
|
1138
|
-
get(options?:
|
|
1138
|
+
export interface ListEnvironments {
|
|
1139
|
+
get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
|
|
1139
1140
|
}
|
|
1140
1141
|
|
|
1141
1142
|
// @public
|
|
1142
|
-
export interface
|
|
1143
|
+
export interface ListEnvironments200Response extends HttpResponse {
|
|
1143
1144
|
// (undocumented)
|
|
1144
|
-
body:
|
|
1145
|
+
body: PagedEnvironmentOutput;
|
|
1145
1146
|
// (undocumented)
|
|
1146
1147
|
status: "200";
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1149
1150
|
// @public (undocumented)
|
|
1150
|
-
export interface
|
|
1151
|
-
get(options?:
|
|
1151
|
+
export interface ListEnvironmentsByUser {
|
|
1152
|
+
get(options?: ListEnvironmentsByUserParameters): StreamableMethod<ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse>;
|
|
1152
1153
|
}
|
|
1153
1154
|
|
|
1154
1155
|
// @public
|
|
1155
|
-
export interface
|
|
1156
|
+
export interface ListEnvironmentsByUser200Response extends HttpResponse {
|
|
1156
1157
|
// (undocumented)
|
|
1157
|
-
body:
|
|
1158
|
+
body: PagedEnvironmentOutput;
|
|
1158
1159
|
// (undocumented)
|
|
1159
1160
|
status: "200";
|
|
1160
1161
|
}
|
|
1161
1162
|
|
|
1162
1163
|
// @public (undocumented)
|
|
1163
|
-
export interface
|
|
1164
|
-
"x-ms-error-code"?: string;
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
// @public (undocumented)
|
|
1168
|
-
export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
|
|
1169
|
-
// (undocumented)
|
|
1170
|
-
body: ErrorResponse;
|
|
1171
|
-
// (undocumented)
|
|
1172
|
-
headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
|
|
1173
|
-
// (undocumented)
|
|
1174
|
-
status: string;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
// @public (undocumented)
|
|
1178
|
-
export type ListEnvironmentDefinitionsByCatalogParameters = ListEnvironmentDefinitionsByCatalogQueryParam & RequestParameters;
|
|
1179
|
-
|
|
1180
|
-
// @public (undocumented)
|
|
1181
|
-
export interface ListEnvironmentDefinitionsByCatalogQueryParam {
|
|
1182
|
-
// (undocumented)
|
|
1183
|
-
queryParameters?: ListEnvironmentDefinitionsByCatalogQueryParamProperties;
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
// @public (undocumented)
|
|
1187
|
-
export interface ListEnvironmentDefinitionsByCatalogQueryParamProperties {
|
|
1188
|
-
top?: number;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
// @public (undocumented)
|
|
1192
|
-
export interface ListEnvironmentDefinitionsDefaultHeaders {
|
|
1164
|
+
export interface ListEnvironmentsByUserDefaultHeaders {
|
|
1193
1165
|
"x-ms-error-code"?: string;
|
|
1194
1166
|
}
|
|
1195
1167
|
|
|
1196
1168
|
// @public (undocumented)
|
|
1197
|
-
export interface
|
|
1169
|
+
export interface ListEnvironmentsByUserDefaultResponse extends HttpResponse {
|
|
1198
1170
|
// (undocumented)
|
|
1199
1171
|
body: ErrorResponse;
|
|
1200
1172
|
// (undocumented)
|
|
1201
|
-
headers: RawHttpHeaders &
|
|
1173
|
+
headers: RawHttpHeaders & ListEnvironmentsByUserDefaultHeaders;
|
|
1202
1174
|
// (undocumented)
|
|
1203
1175
|
status: string;
|
|
1204
1176
|
}
|
|
1205
1177
|
|
|
1206
1178
|
// @public (undocumented)
|
|
1207
|
-
export type
|
|
1208
|
-
|
|
1209
|
-
// @public (undocumented)
|
|
1210
|
-
export interface ListEnvironmentDefinitionsQueryParam {
|
|
1211
|
-
// (undocumented)
|
|
1212
|
-
queryParameters?: ListEnvironmentDefinitionsQueryParamProperties;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
// @public (undocumented)
|
|
1216
|
-
export interface ListEnvironmentDefinitionsQueryParamProperties {
|
|
1217
|
-
top?: number;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
// @public (undocumented)
|
|
1221
|
-
export interface ListEnvironments {
|
|
1222
|
-
get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
// @public
|
|
1226
|
-
export interface ListEnvironments200Response extends HttpResponse {
|
|
1227
|
-
// (undocumented)
|
|
1228
|
-
body: PagedEnvironmentOutput;
|
|
1229
|
-
// (undocumented)
|
|
1230
|
-
status: "200";
|
|
1231
|
-
}
|
|
1179
|
+
export type ListEnvironmentsByUserParameters = RequestParameters;
|
|
1232
1180
|
|
|
1233
1181
|
// @public (undocumented)
|
|
1234
1182
|
export interface ListEnvironmentsDefaultHeaders {
|
|
@@ -1246,18 +1194,7 @@ export interface ListEnvironmentsDefaultResponse extends HttpResponse {
|
|
|
1246
1194
|
}
|
|
1247
1195
|
|
|
1248
1196
|
// @public (undocumented)
|
|
1249
|
-
export type ListEnvironmentsParameters =
|
|
1250
|
-
|
|
1251
|
-
// @public (undocumented)
|
|
1252
|
-
export interface ListEnvironmentsQueryParam {
|
|
1253
|
-
// (undocumented)
|
|
1254
|
-
queryParameters?: ListEnvironmentsQueryParamProperties;
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
// @public (undocumented)
|
|
1258
|
-
export interface ListEnvironmentsQueryParamProperties {
|
|
1259
|
-
top?: number;
|
|
1260
|
-
}
|
|
1197
|
+
export type ListEnvironmentsParameters = RequestParameters;
|
|
1261
1198
|
|
|
1262
1199
|
// @public (undocumented)
|
|
1263
1200
|
export interface ListEnvironmentTypes {
|
|
@@ -1288,18 +1225,7 @@ export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
|
|
|
1288
1225
|
}
|
|
1289
1226
|
|
|
1290
1227
|
// @public (undocumented)
|
|
1291
|
-
export type ListEnvironmentTypesParameters =
|
|
1292
|
-
|
|
1293
|
-
// @public (undocumented)
|
|
1294
|
-
export interface ListEnvironmentTypesQueryParam {
|
|
1295
|
-
// (undocumented)
|
|
1296
|
-
queryParameters?: ListEnvironmentTypesQueryParamProperties;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
// @public (undocumented)
|
|
1300
|
-
export interface ListEnvironmentTypesQueryParamProperties {
|
|
1301
|
-
top?: number;
|
|
1302
|
-
}
|
|
1228
|
+
export type ListEnvironmentTypesParameters = RequestParameters;
|
|
1303
1229
|
|
|
1304
1230
|
// @public (undocumented)
|
|
1305
1231
|
export interface ListPools {
|
|
@@ -1330,19 +1256,7 @@ export interface ListPoolsDefaultResponse extends HttpResponse {
|
|
|
1330
1256
|
}
|
|
1331
1257
|
|
|
1332
1258
|
// @public (undocumented)
|
|
1333
|
-
export type ListPoolsParameters =
|
|
1334
|
-
|
|
1335
|
-
// @public (undocumented)
|
|
1336
|
-
export interface ListPoolsQueryParam {
|
|
1337
|
-
// (undocumented)
|
|
1338
|
-
queryParameters?: ListPoolsQueryParamProperties;
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
// @public (undocumented)
|
|
1342
|
-
export interface ListPoolsQueryParamProperties {
|
|
1343
|
-
filter?: string;
|
|
1344
|
-
top?: number;
|
|
1345
|
-
}
|
|
1259
|
+
export type ListPoolsParameters = RequestParameters;
|
|
1346
1260
|
|
|
1347
1261
|
// @public (undocumented)
|
|
1348
1262
|
export interface ListProjects {
|
|
@@ -1373,27 +1287,15 @@ export interface ListProjectsDefaultResponse extends HttpResponse {
|
|
|
1373
1287
|
}
|
|
1374
1288
|
|
|
1375
1289
|
// @public (undocumented)
|
|
1376
|
-
export type ListProjectsParameters =
|
|
1377
|
-
|
|
1378
|
-
// @public (undocumented)
|
|
1379
|
-
export interface ListProjectsQueryParam {
|
|
1380
|
-
// (undocumented)
|
|
1381
|
-
queryParameters?: ListProjectsQueryParamProperties;
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
// @public (undocumented)
|
|
1385
|
-
export interface ListProjectsQueryParamProperties {
|
|
1386
|
-
filter?: string;
|
|
1387
|
-
top?: number;
|
|
1388
|
-
}
|
|
1290
|
+
export type ListProjectsParameters = RequestParameters;
|
|
1389
1291
|
|
|
1390
1292
|
// @public (undocumented)
|
|
1391
|
-
export interface
|
|
1392
|
-
get(options?:
|
|
1293
|
+
export interface ListSchedulesByPool {
|
|
1294
|
+
get(options?: ListSchedulesByPoolParameters): StreamableMethod<ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse>;
|
|
1393
1295
|
}
|
|
1394
1296
|
|
|
1395
1297
|
// @public
|
|
1396
|
-
export interface
|
|
1298
|
+
export interface ListSchedulesByPool200Response extends HttpResponse {
|
|
1397
1299
|
// (undocumented)
|
|
1398
1300
|
body: PagedScheduleOutput;
|
|
1399
1301
|
// (undocumented)
|
|
@@ -1401,63 +1303,60 @@ export interface ListSchedules200Response extends HttpResponse {
|
|
|
1401
1303
|
}
|
|
1402
1304
|
|
|
1403
1305
|
// @public (undocumented)
|
|
1404
|
-
export interface
|
|
1306
|
+
export interface ListSchedulesByPoolDefaultHeaders {
|
|
1405
1307
|
"x-ms-error-code"?: string;
|
|
1406
1308
|
}
|
|
1407
1309
|
|
|
1408
1310
|
// @public (undocumented)
|
|
1409
|
-
export interface
|
|
1311
|
+
export interface ListSchedulesByPoolDefaultResponse extends HttpResponse {
|
|
1410
1312
|
// (undocumented)
|
|
1411
1313
|
body: ErrorResponse;
|
|
1412
1314
|
// (undocumented)
|
|
1413
|
-
headers: RawHttpHeaders &
|
|
1315
|
+
headers: RawHttpHeaders & ListSchedulesByPoolDefaultHeaders;
|
|
1414
1316
|
// (undocumented)
|
|
1415
1317
|
status: string;
|
|
1416
1318
|
}
|
|
1417
1319
|
|
|
1418
1320
|
// @public (undocumented)
|
|
1419
|
-
export type
|
|
1321
|
+
export type ListSchedulesByPoolParameters = RequestParameters;
|
|
1420
1322
|
|
|
1421
|
-
// @public
|
|
1422
|
-
export
|
|
1423
|
-
// (undocumented)
|
|
1424
|
-
queryParameters?: ListSchedulesQueryParamProperties;
|
|
1425
|
-
}
|
|
1323
|
+
// @public
|
|
1324
|
+
export type LocalAdminStatus = "Enabled" | "Disabled" | string;
|
|
1426
1325
|
|
|
1427
|
-
// @public
|
|
1428
|
-
export
|
|
1429
|
-
filter?: string;
|
|
1430
|
-
top?: number;
|
|
1431
|
-
}
|
|
1326
|
+
// @public
|
|
1327
|
+
export type LocalAdminStatusOutput = "Enabled" | "Disabled" | string;
|
|
1432
1328
|
|
|
1433
1329
|
// @public
|
|
1434
|
-
export
|
|
1435
|
-
code?: string;
|
|
1436
|
-
message?: string;
|
|
1437
|
-
}
|
|
1330
|
+
export type OperationStateOutput = "NotStarted" | "Running" | "Succeeded" | "Failed" | "Canceled";
|
|
1438
1331
|
|
|
1439
1332
|
// @public
|
|
1440
1333
|
export interface OperationStatusOutput {
|
|
1441
1334
|
endTime?: string;
|
|
1442
|
-
error?:
|
|
1443
|
-
id
|
|
1444
|
-
name
|
|
1335
|
+
error?: ErrorModel;
|
|
1336
|
+
readonly id: string;
|
|
1337
|
+
readonly name: string;
|
|
1445
1338
|
percentComplete?: number;
|
|
1446
1339
|
properties?: any;
|
|
1447
1340
|
resourceId?: string;
|
|
1448
1341
|
startTime?: string;
|
|
1449
|
-
status:
|
|
1342
|
+
status: OperationStateOutput;
|
|
1450
1343
|
}
|
|
1451
1344
|
|
|
1452
1345
|
// @public
|
|
1453
|
-
export interface
|
|
1346
|
+
export interface OsDisk {
|
|
1454
1347
|
}
|
|
1455
1348
|
|
|
1456
1349
|
// @public
|
|
1457
|
-
export interface
|
|
1350
|
+
export interface OsDiskOutput {
|
|
1458
1351
|
readonly diskSizeGB?: number;
|
|
1459
1352
|
}
|
|
1460
1353
|
|
|
1354
|
+
// @public
|
|
1355
|
+
export type OsType = "Windows" | string;
|
|
1356
|
+
|
|
1357
|
+
// @public
|
|
1358
|
+
export type OsTypeOutput = "Windows" | string;
|
|
1359
|
+
|
|
1461
1360
|
// @public
|
|
1462
1361
|
export type PagedCatalogOutput = Paged<CatalogOutput>;
|
|
1463
1362
|
|
|
@@ -1503,20 +1402,32 @@ export interface PagingOptions<TResponse> {
|
|
|
1503
1402
|
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
1504
1403
|
}
|
|
1505
1404
|
|
|
1405
|
+
// @public
|
|
1406
|
+
export type ParameterTypeOutput = "array" | "boolean" | "integer" | "number" | "object" | "string" | string;
|
|
1407
|
+
|
|
1408
|
+
// @public
|
|
1409
|
+
export type PoolHealthStatusOutput = "Unknown" | "Pending" | "Healthy" | "Warning" | "Unhealthy" | string;
|
|
1410
|
+
|
|
1506
1411
|
// @public
|
|
1507
1412
|
export interface PoolOutput {
|
|
1508
1413
|
hardwareProfile?: HardwareProfileOutput;
|
|
1509
|
-
healthStatus:
|
|
1510
|
-
hibernateSupport?:
|
|
1414
|
+
healthStatus: PoolHealthStatusOutput;
|
|
1415
|
+
hibernateSupport?: HibernateSupportOutput;
|
|
1511
1416
|
imageReference?: ImageReferenceOutput;
|
|
1512
|
-
localAdministrator?:
|
|
1417
|
+
localAdministrator?: LocalAdminStatusOutput;
|
|
1513
1418
|
location: string;
|
|
1514
1419
|
readonly name: string;
|
|
1515
|
-
osType?:
|
|
1420
|
+
osType?: OsTypeOutput;
|
|
1516
1421
|
stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
|
|
1517
1422
|
storageProfile?: StorageProfileOutput;
|
|
1518
1423
|
}
|
|
1519
1424
|
|
|
1425
|
+
// @public
|
|
1426
|
+
export type PowerState = "Unknown" | "Running" | "Deallocated" | "PoweredOff" | "Hibernated" | string;
|
|
1427
|
+
|
|
1428
|
+
// @public
|
|
1429
|
+
export type PowerStateOutput = "Unknown" | "Running" | "Deallocated" | "PoweredOff" | "Hibernated" | string;
|
|
1430
|
+
|
|
1520
1431
|
// @public
|
|
1521
1432
|
export interface ProjectOutput {
|
|
1522
1433
|
description?: string;
|
|
@@ -1580,42 +1491,70 @@ export type RestartDevBoxParameters = RequestParameters;
|
|
|
1580
1491
|
export interface Routes {
|
|
1581
1492
|
(path: "/projects"): ListProjects;
|
|
1582
1493
|
(path: "/projects/{projectName}", projectName: string): GetProject;
|
|
1583
|
-
(path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string):
|
|
1494
|
+
(path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): Get;
|
|
1584
1495
|
(path: "/projects/{projectName}/pools", projectName: string): ListPools;
|
|
1585
1496
|
(path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
|
|
1586
|
-
(path: "/
|
|
1587
|
-
(path: "/
|
|
1588
|
-
(path: "/projects/{projectName}/
|
|
1589
|
-
(path: "/projects/{projectName}/
|
|
1497
|
+
(path: "/devboxes"): ListAllDevBoxes;
|
|
1498
|
+
(path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
|
|
1499
|
+
(path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedulesByPool;
|
|
1500
|
+
(path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetScheduleByPool;
|
|
1501
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxesByUser;
|
|
1502
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBoxByUser;
|
|
1590
1503
|
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
|
|
1591
1504
|
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
|
|
1592
1505
|
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
|
|
1593
1506
|
(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):
|
|
1595
|
-
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string):
|
|
1507
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListActions;
|
|
1508
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetAction;
|
|
1596
1509
|
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
|
|
1597
1510
|
(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):
|
|
1599
|
-
(path: "/
|
|
1600
|
-
(path: "/users/{userId}/
|
|
1601
|
-
(path: "/projects/{projectName}/environments", projectName: string):
|
|
1602
|
-
(path: "/projects/{projectName}/
|
|
1603
|
-
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironment;
|
|
1604
|
-
(path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogs;
|
|
1511
|
+
(path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayActions;
|
|
1512
|
+
(path: "/projects/{projectName}/environments", projectName: string): ListEnvironments;
|
|
1513
|
+
(path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironmentsByUser;
|
|
1514
|
+
(path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironmentByUser;
|
|
1515
|
+
(path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogsByProject;
|
|
1605
1516
|
(path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
|
|
1606
|
-
(path: "/projects/{projectName}/environmentDefinitions", projectName: string):
|
|
1517
|
+
(path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitionsByProject;
|
|
1607
1518
|
(path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
|
|
1608
1519
|
(path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
|
|
1609
1520
|
(path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
|
|
1610
1521
|
}
|
|
1611
1522
|
|
|
1523
|
+
// @public
|
|
1524
|
+
export type ScheduledFrequencyOutput = "Daily" | string;
|
|
1525
|
+
|
|
1526
|
+
// @public
|
|
1527
|
+
export type ScheduledTypeOutput = "StopDevBox" | string;
|
|
1528
|
+
|
|
1612
1529
|
// @public
|
|
1613
1530
|
export interface ScheduleOutput {
|
|
1614
|
-
frequency:
|
|
1531
|
+
frequency: ScheduledFrequencyOutput;
|
|
1615
1532
|
readonly name: string;
|
|
1616
1533
|
time: string;
|
|
1617
1534
|
timeZone: string;
|
|
1618
|
-
type:
|
|
1535
|
+
type: ScheduledTypeOutput;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
// @public
|
|
1539
|
+
export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
|
|
1540
|
+
getOperationState(): TState;
|
|
1541
|
+
getResult(): TResult | undefined;
|
|
1542
|
+
isDone(): boolean;
|
|
1543
|
+
// @deprecated
|
|
1544
|
+
isStopped(): boolean;
|
|
1545
|
+
onProgress(callback: (state: TState) => void): CancelOnProgress;
|
|
1546
|
+
poll(options?: {
|
|
1547
|
+
abortSignal?: AbortSignalLike;
|
|
1548
|
+
}): Promise<TState>;
|
|
1549
|
+
pollUntilDone(pollOptions?: {
|
|
1550
|
+
abortSignal?: AbortSignalLike;
|
|
1551
|
+
}): Promise<TResult>;
|
|
1552
|
+
serialize(): Promise<string>;
|
|
1553
|
+
// @deprecated
|
|
1554
|
+
stopPolling(): void;
|
|
1555
|
+
submitted(): Promise<void>;
|
|
1556
|
+
// @deprecated
|
|
1557
|
+
toString(): string;
|
|
1619
1558
|
}
|
|
1620
1559
|
|
|
1621
1560
|
// @public (undocumented)
|
|
@@ -1647,6 +1586,12 @@ export interface SkipActionDefaultResponse extends HttpResponse {
|
|
|
1647
1586
|
// @public (undocumented)
|
|
1648
1587
|
export type SkipActionParameters = RequestParameters;
|
|
1649
1588
|
|
|
1589
|
+
// @public
|
|
1590
|
+
export type SkuName = "general_i_8c32gb256ssd_v2" | "general_i_8c32gb512ssd_v2" | "general_i_8c32gb1024ssd_v2" | "general_i_8c32gb2048ssd_v2" | "general_i_16c64gb256ssd_v2" | "general_i_16c64gb512ssd_v2" | "general_i_16c64gb1024ssd_v2" | "general_i_16c64gb2048ssd_v2" | "general_i_32c128gb512ssd_v2" | "general_i_32c128gb1024ssd_v2" | "general_i_32c128gb2048ssd_v2" | "general_a_8c32gb256ssd_v2" | "general_a_8c32gb512ssd_v2" | "general_a_8c32gb1024ssd_v2" | "general_a_8c32gb2048ssd_v2" | "general_a_16c64gb256ssd_v2" | "general_a_16c64gb512ssd_v2" | "general_a_16c64gb1024ssd_v2" | "general_a_16c64gb2048ssd_v2" | "general_a_32c128gb512ssd_v2" | "general_a_32c128gb1024ssd_v2" | "general_a_32c128gb2048ssd_v2" | string;
|
|
1591
|
+
|
|
1592
|
+
// @public
|
|
1593
|
+
export type SkuNameOutput = "general_i_8c32gb256ssd_v2" | "general_i_8c32gb512ssd_v2" | "general_i_8c32gb1024ssd_v2" | "general_i_8c32gb2048ssd_v2" | "general_i_16c64gb256ssd_v2" | "general_i_16c64gb512ssd_v2" | "general_i_16c64gb1024ssd_v2" | "general_i_16c64gb2048ssd_v2" | "general_i_32c128gb512ssd_v2" | "general_i_32c128gb1024ssd_v2" | "general_i_32c128gb2048ssd_v2" | "general_a_8c32gb256ssd_v2" | "general_a_8c32gb512ssd_v2" | "general_a_8c32gb1024ssd_v2" | "general_a_8c32gb2048ssd_v2" | "general_a_16c64gb256ssd_v2" | "general_a_16c64gb512ssd_v2" | "general_a_16c64gb1024ssd_v2" | "general_a_16c64gb2048ssd_v2" | "general_a_32c128gb512ssd_v2" | "general_a_32c128gb1024ssd_v2" | "general_a_32c128gb2048ssd_v2" | string;
|
|
1594
|
+
|
|
1650
1595
|
// @public (undocumented)
|
|
1651
1596
|
export interface StartDevBox {
|
|
1652
1597
|
post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
|
|
@@ -1753,17 +1698,20 @@ export interface StopDevBoxQueryParamProperties {
|
|
|
1753
1698
|
// @public
|
|
1754
1699
|
export interface StopOnDisconnectConfigurationOutput {
|
|
1755
1700
|
gracePeriodMinutes?: number;
|
|
1756
|
-
status:
|
|
1701
|
+
status: StopOnDisconnectEnableStatusOutput;
|
|
1757
1702
|
}
|
|
1758
1703
|
|
|
1704
|
+
// @public
|
|
1705
|
+
export type StopOnDisconnectEnableStatusOutput = "Enabled" | "Disabled" | string;
|
|
1706
|
+
|
|
1759
1707
|
// @public
|
|
1760
1708
|
export interface StorageProfile {
|
|
1761
|
-
osDisk?:
|
|
1709
|
+
osDisk?: OsDisk;
|
|
1762
1710
|
}
|
|
1763
1711
|
|
|
1764
1712
|
// @public
|
|
1765
1713
|
export interface StorageProfileOutput {
|
|
1766
|
-
osDisk?:
|
|
1714
|
+
osDisk?: OsDiskOutput;
|
|
1767
1715
|
}
|
|
1768
1716
|
|
|
1769
1717
|
// (No @packageDocumentation comment for this package)
|