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