@daytonaio/api-client 0.108.1 → 0.109.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/sandbox-api.d.ts +128 -128
- package/src/api/sandbox-api.js +229 -229
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +4 -4
- package/src/models/create-sandbox.d.ts +6 -0
- package/src/models/create-sandbox.js.map +1 -1
- package/src/models/index.d.ts +1 -0
- package/src/models/index.js +1 -0
- package/src/models/index.js.map +1 -1
- package/src/models/port-preview-url.d.ts +6 -0
- package/src/models/sandbox.d.ts +6 -0
- package/src/models/sandbox.js.map +1 -1
- package/src/models/workspace-port-preview-url.d.ts +36 -0
- package/src/models/workspace-port-preview-url.js +4 -0
- package/src/models/workspace-port-preview-url.js.map +1 -0
- package/src/models/workspace.d.ts +6 -6
package/src/api/sandbox-api.d.ts
CHANGED
|
@@ -29,21 +29,21 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Archive sandbox
|
|
32
|
-
* @param {string}
|
|
32
|
+
* @param {string} sandboxIdOrName
|
|
33
33
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
archiveSandbox: (
|
|
37
|
+
archiveSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Create sandbox backup
|
|
41
|
-
* @param {string}
|
|
41
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
42
42
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
createBackup: (
|
|
46
|
+
createBackup: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @summary Create a new sandbox
|
|
@@ -56,52 +56,52 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @summary Create SSH access for sandbox
|
|
59
|
-
* @param {string}
|
|
59
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
60
60
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
61
61
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
createSshAccess: (
|
|
65
|
+
createSshAccess: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @summary Delete sandbox
|
|
69
|
-
* @param {string}
|
|
69
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
70
70
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
deleteSandbox: (
|
|
74
|
+
deleteSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @summary Get build logs
|
|
78
|
-
* @param {string}
|
|
78
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
79
79
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
80
80
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
getBuildLogs: (
|
|
84
|
+
getBuildLogs: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @summary Get preview URL for a sandbox port
|
|
88
|
-
* @param {string}
|
|
88
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
89
89
|
* @param {number} port Port number to get preview URL for
|
|
90
90
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
*/
|
|
94
|
-
getPortPreviewUrl: (
|
|
94
|
+
getPortPreviewUrl: (sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @summary Get sandbox details
|
|
98
|
-
* @param {string}
|
|
98
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
99
99
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
100
100
|
* @param {boolean} [verbose] Include verbose output
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
getSandbox: (
|
|
104
|
+
getSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @summary List all regions where sandboxes have been created
|
|
@@ -160,91 +160,91 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @summary Replace sandbox labels
|
|
163
|
-
* @param {string}
|
|
163
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
164
164
|
* @param {SandboxLabels} sandboxLabels
|
|
165
165
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
replaceLabels: (
|
|
169
|
+
replaceLabels: (sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
170
170
|
/**
|
|
171
171
|
*
|
|
172
172
|
* @summary Revoke SSH access for sandbox
|
|
173
|
-
* @param {string}
|
|
173
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
174
174
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
175
175
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
176
176
|
* @param {*} [options] Override http request option.
|
|
177
177
|
* @throws {RequiredError}
|
|
178
178
|
*/
|
|
179
|
-
revokeSshAccess: (
|
|
179
|
+
revokeSshAccess: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
180
180
|
/**
|
|
181
181
|
*
|
|
182
182
|
* @summary Set sandbox auto-archive interval
|
|
183
|
-
* @param {string}
|
|
183
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
184
184
|
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
185
185
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
188
|
*/
|
|
189
|
-
setAutoArchiveInterval: (
|
|
189
|
+
setAutoArchiveInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
190
190
|
/**
|
|
191
191
|
*
|
|
192
192
|
* @summary Set sandbox auto-delete interval
|
|
193
|
-
* @param {string}
|
|
193
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
194
194
|
* @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
195
195
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
197
197
|
* @throws {RequiredError}
|
|
198
198
|
*/
|
|
199
|
-
setAutoDeleteInterval: (
|
|
199
|
+
setAutoDeleteInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
202
|
* @summary Set sandbox auto-stop interval
|
|
203
|
-
* @param {string}
|
|
203
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
204
204
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
205
205
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
206
206
|
* @param {*} [options] Override http request option.
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
*/
|
|
209
|
-
setAutostopInterval: (
|
|
209
|
+
setAutostopInterval: (sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
210
210
|
/**
|
|
211
211
|
*
|
|
212
212
|
* @summary Start sandbox
|
|
213
|
-
* @param {string}
|
|
213
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
214
214
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
215
215
|
* @param {*} [options] Override http request option.
|
|
216
216
|
* @throws {RequiredError}
|
|
217
217
|
*/
|
|
218
|
-
startSandbox: (
|
|
218
|
+
startSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
219
219
|
/**
|
|
220
220
|
*
|
|
221
221
|
* @summary Stop sandbox
|
|
222
|
-
* @param {string}
|
|
222
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
223
223
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
224
224
|
* @param {*} [options] Override http request option.
|
|
225
225
|
* @throws {RequiredError}
|
|
226
226
|
*/
|
|
227
|
-
stopSandbox: (
|
|
227
|
+
stopSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
228
228
|
/**
|
|
229
229
|
*
|
|
230
230
|
* @summary Update public status
|
|
231
|
-
* @param {string}
|
|
231
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
232
232
|
* @param {boolean} isPublic Public status to set
|
|
233
233
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
*/
|
|
237
|
-
updatePublicStatus: (
|
|
237
|
+
updatePublicStatus: (sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
238
238
|
/**
|
|
239
239
|
*
|
|
240
240
|
* @summary Update sandbox state
|
|
241
|
-
* @param {string}
|
|
241
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
242
242
|
* @param {UpdateSandboxStateDto} updateSandboxStateDto
|
|
243
243
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
247
|
-
updateSandboxState: (
|
|
247
|
+
updateSandboxState: (sandboxIdOrName: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
248
248
|
/**
|
|
249
249
|
*
|
|
250
250
|
* @summary Validate SSH access for sandbox
|
|
@@ -263,21 +263,21 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @summary Archive sandbox
|
|
266
|
-
* @param {string}
|
|
266
|
+
* @param {string} sandboxIdOrName
|
|
267
267
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
268
268
|
* @param {*} [options] Override http request option.
|
|
269
269
|
* @throws {RequiredError}
|
|
270
270
|
*/
|
|
271
|
-
archiveSandbox(
|
|
271
|
+
archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
272
272
|
/**
|
|
273
273
|
*
|
|
274
274
|
* @summary Create sandbox backup
|
|
275
|
-
* @param {string}
|
|
275
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
276
276
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
277
277
|
* @param {*} [options] Override http request option.
|
|
278
278
|
* @throws {RequiredError}
|
|
279
279
|
*/
|
|
280
|
-
createBackup(
|
|
280
|
+
createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @summary Create a new sandbox
|
|
@@ -290,52 +290,52 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
290
290
|
/**
|
|
291
291
|
*
|
|
292
292
|
* @summary Create SSH access for sandbox
|
|
293
|
-
* @param {string}
|
|
293
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
294
294
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
295
295
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
297
297
|
* @throws {RequiredError}
|
|
298
298
|
*/
|
|
299
|
-
createSshAccess(
|
|
299
|
+
createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SshAccessDto>>;
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
302
302
|
* @summary Delete sandbox
|
|
303
|
-
* @param {string}
|
|
303
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
304
304
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
*/
|
|
308
|
-
deleteSandbox(
|
|
308
|
+
deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
309
309
|
/**
|
|
310
310
|
*
|
|
311
311
|
* @summary Get build logs
|
|
312
|
-
* @param {string}
|
|
312
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
313
313
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
314
314
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
getBuildLogs(
|
|
318
|
+
getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
319
319
|
/**
|
|
320
320
|
*
|
|
321
321
|
* @summary Get preview URL for a sandbox port
|
|
322
|
-
* @param {string}
|
|
322
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
323
323
|
* @param {number} port Port number to get preview URL for
|
|
324
324
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
325
325
|
* @param {*} [options] Override http request option.
|
|
326
326
|
* @throws {RequiredError}
|
|
327
327
|
*/
|
|
328
|
-
getPortPreviewUrl(
|
|
328
|
+
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortPreviewUrl>>;
|
|
329
329
|
/**
|
|
330
330
|
*
|
|
331
331
|
* @summary Get sandbox details
|
|
332
|
-
* @param {string}
|
|
332
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
333
333
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
334
334
|
* @param {boolean} [verbose] Include verbose output
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
getSandbox(
|
|
338
|
+
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
339
339
|
/**
|
|
340
340
|
*
|
|
341
341
|
* @summary List all regions where sandboxes have been created
|
|
@@ -394,91 +394,91 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
394
394
|
/**
|
|
395
395
|
*
|
|
396
396
|
* @summary Replace sandbox labels
|
|
397
|
-
* @param {string}
|
|
397
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
398
398
|
* @param {SandboxLabels} sandboxLabels
|
|
399
399
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
*/
|
|
403
|
-
replaceLabels(
|
|
403
|
+
replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SandboxLabels>>;
|
|
404
404
|
/**
|
|
405
405
|
*
|
|
406
406
|
* @summary Revoke SSH access for sandbox
|
|
407
|
-
* @param {string}
|
|
407
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
408
408
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
409
409
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
411
411
|
* @throws {RequiredError}
|
|
412
412
|
*/
|
|
413
|
-
revokeSshAccess(
|
|
413
|
+
revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
414
414
|
/**
|
|
415
415
|
*
|
|
416
416
|
* @summary Set sandbox auto-archive interval
|
|
417
|
-
* @param {string}
|
|
417
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
418
418
|
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
419
419
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
420
420
|
* @param {*} [options] Override http request option.
|
|
421
421
|
* @throws {RequiredError}
|
|
422
422
|
*/
|
|
423
|
-
setAutoArchiveInterval(
|
|
423
|
+
setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
424
424
|
/**
|
|
425
425
|
*
|
|
426
426
|
* @summary Set sandbox auto-delete interval
|
|
427
|
-
* @param {string}
|
|
427
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
428
428
|
* @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
429
429
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
430
430
|
* @param {*} [options] Override http request option.
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
*/
|
|
433
|
-
setAutoDeleteInterval(
|
|
433
|
+
setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
436
436
|
* @summary Set sandbox auto-stop interval
|
|
437
|
-
* @param {string}
|
|
437
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
438
438
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
439
439
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
setAutostopInterval(
|
|
443
|
+
setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
446
446
|
* @summary Start sandbox
|
|
447
|
-
* @param {string}
|
|
447
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
448
448
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
450
450
|
* @throws {RequiredError}
|
|
451
451
|
*/
|
|
452
|
-
startSandbox(
|
|
452
|
+
startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
453
453
|
/**
|
|
454
454
|
*
|
|
455
455
|
* @summary Stop sandbox
|
|
456
|
-
* @param {string}
|
|
456
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
457
457
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
459
459
|
* @throws {RequiredError}
|
|
460
460
|
*/
|
|
461
|
-
stopSandbox(
|
|
461
|
+
stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
462
462
|
/**
|
|
463
463
|
*
|
|
464
464
|
* @summary Update public status
|
|
465
|
-
* @param {string}
|
|
465
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
466
466
|
* @param {boolean} isPublic Public status to set
|
|
467
467
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
469
469
|
* @throws {RequiredError}
|
|
470
470
|
*/
|
|
471
|
-
updatePublicStatus(
|
|
471
|
+
updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
472
472
|
/**
|
|
473
473
|
*
|
|
474
474
|
* @summary Update sandbox state
|
|
475
|
-
* @param {string}
|
|
475
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
476
476
|
* @param {UpdateSandboxStateDto} updateSandboxStateDto
|
|
477
477
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
481
|
-
updateSandboxState(
|
|
481
|
+
updateSandboxState(sandboxIdOrName: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
482
482
|
/**
|
|
483
483
|
*
|
|
484
484
|
* @summary Validate SSH access for sandbox
|
|
@@ -497,21 +497,21 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
497
497
|
/**
|
|
498
498
|
*
|
|
499
499
|
* @summary Archive sandbox
|
|
500
|
-
* @param {string}
|
|
500
|
+
* @param {string} sandboxIdOrName
|
|
501
501
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
503
503
|
* @throws {RequiredError}
|
|
504
504
|
*/
|
|
505
|
-
archiveSandbox(
|
|
505
|
+
archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
508
508
|
* @summary Create sandbox backup
|
|
509
|
-
* @param {string}
|
|
509
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
510
510
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
511
511
|
* @param {*} [options] Override http request option.
|
|
512
512
|
* @throws {RequiredError}
|
|
513
513
|
*/
|
|
514
|
-
createBackup(
|
|
514
|
+
createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
515
515
|
/**
|
|
516
516
|
*
|
|
517
517
|
* @summary Create a new sandbox
|
|
@@ -524,52 +524,52 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
524
524
|
/**
|
|
525
525
|
*
|
|
526
526
|
* @summary Create SSH access for sandbox
|
|
527
|
-
* @param {string}
|
|
527
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
528
528
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
529
529
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
531
531
|
* @throws {RequiredError}
|
|
532
532
|
*/
|
|
533
|
-
createSshAccess(
|
|
533
|
+
createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): AxiosPromise<SshAccessDto>;
|
|
534
534
|
/**
|
|
535
535
|
*
|
|
536
536
|
* @summary Delete sandbox
|
|
537
|
-
* @param {string}
|
|
537
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
538
538
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
*/
|
|
542
|
-
deleteSandbox(
|
|
542
|
+
deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
543
543
|
/**
|
|
544
544
|
*
|
|
545
545
|
* @summary Get build logs
|
|
546
|
-
* @param {string}
|
|
546
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
547
547
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
548
548
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
549
549
|
* @param {*} [options] Override http request option.
|
|
550
550
|
* @throws {RequiredError}
|
|
551
551
|
*/
|
|
552
|
-
getBuildLogs(
|
|
552
|
+
getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
553
553
|
/**
|
|
554
554
|
*
|
|
555
555
|
* @summary Get preview URL for a sandbox port
|
|
556
|
-
* @param {string}
|
|
556
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
557
557
|
* @param {number} port Port number to get preview URL for
|
|
558
558
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
559
559
|
* @param {*} [options] Override http request option.
|
|
560
560
|
* @throws {RequiredError}
|
|
561
561
|
*/
|
|
562
|
-
getPortPreviewUrl(
|
|
562
|
+
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PortPreviewUrl>;
|
|
563
563
|
/**
|
|
564
564
|
*
|
|
565
565
|
* @summary Get sandbox details
|
|
566
|
-
* @param {string}
|
|
566
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
567
567
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
568
568
|
* @param {boolean} [verbose] Include verbose output
|
|
569
569
|
* @param {*} [options] Override http request option.
|
|
570
570
|
* @throws {RequiredError}
|
|
571
571
|
*/
|
|
572
|
-
getSandbox(
|
|
572
|
+
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
573
573
|
/**
|
|
574
574
|
*
|
|
575
575
|
* @summary List all regions where sandboxes have been created
|
|
@@ -628,91 +628,91 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
628
628
|
/**
|
|
629
629
|
*
|
|
630
630
|
* @summary Replace sandbox labels
|
|
631
|
-
* @param {string}
|
|
631
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
632
632
|
* @param {SandboxLabels} sandboxLabels
|
|
633
633
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
634
634
|
* @param {*} [options] Override http request option.
|
|
635
635
|
* @throws {RequiredError}
|
|
636
636
|
*/
|
|
637
|
-
replaceLabels(
|
|
637
|
+
replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SandboxLabels>;
|
|
638
638
|
/**
|
|
639
639
|
*
|
|
640
640
|
* @summary Revoke SSH access for sandbox
|
|
641
|
-
* @param {string}
|
|
641
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
642
642
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
643
643
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
644
644
|
* @param {*} [options] Override http request option.
|
|
645
645
|
* @throws {RequiredError}
|
|
646
646
|
*/
|
|
647
|
-
revokeSshAccess(
|
|
647
|
+
revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
648
648
|
/**
|
|
649
649
|
*
|
|
650
650
|
* @summary Set sandbox auto-archive interval
|
|
651
|
-
* @param {string}
|
|
651
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
652
652
|
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
653
653
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
654
654
|
* @param {*} [options] Override http request option.
|
|
655
655
|
* @throws {RequiredError}
|
|
656
656
|
*/
|
|
657
|
-
setAutoArchiveInterval(
|
|
657
|
+
setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
658
658
|
/**
|
|
659
659
|
*
|
|
660
660
|
* @summary Set sandbox auto-delete interval
|
|
661
|
-
* @param {string}
|
|
661
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
662
662
|
* @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
663
663
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
665
665
|
* @throws {RequiredError}
|
|
666
666
|
*/
|
|
667
|
-
setAutoDeleteInterval(
|
|
667
|
+
setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
668
668
|
/**
|
|
669
669
|
*
|
|
670
670
|
* @summary Set sandbox auto-stop interval
|
|
671
|
-
* @param {string}
|
|
671
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
672
672
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
673
673
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
675
675
|
* @throws {RequiredError}
|
|
676
676
|
*/
|
|
677
|
-
setAutostopInterval(
|
|
677
|
+
setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
678
678
|
/**
|
|
679
679
|
*
|
|
680
680
|
* @summary Start sandbox
|
|
681
|
-
* @param {string}
|
|
681
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
682
682
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
683
683
|
* @param {*} [options] Override http request option.
|
|
684
684
|
* @throws {RequiredError}
|
|
685
685
|
*/
|
|
686
|
-
startSandbox(
|
|
686
|
+
startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
687
687
|
/**
|
|
688
688
|
*
|
|
689
689
|
* @summary Stop sandbox
|
|
690
|
-
* @param {string}
|
|
690
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
691
691
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
692
692
|
* @param {*} [options] Override http request option.
|
|
693
693
|
* @throws {RequiredError}
|
|
694
694
|
*/
|
|
695
|
-
stopSandbox(
|
|
695
|
+
stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
696
696
|
/**
|
|
697
697
|
*
|
|
698
698
|
* @summary Update public status
|
|
699
|
-
* @param {string}
|
|
699
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
700
700
|
* @param {boolean} isPublic Public status to set
|
|
701
701
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
702
702
|
* @param {*} [options] Override http request option.
|
|
703
703
|
* @throws {RequiredError}
|
|
704
704
|
*/
|
|
705
|
-
updatePublicStatus(
|
|
705
|
+
updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
706
706
|
/**
|
|
707
707
|
*
|
|
708
708
|
* @summary Update sandbox state
|
|
709
|
-
* @param {string}
|
|
709
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
710
710
|
* @param {UpdateSandboxStateDto} updateSandboxStateDto
|
|
711
711
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
712
712
|
* @param {*} [options] Override http request option.
|
|
713
713
|
* @throws {RequiredError}
|
|
714
714
|
*/
|
|
715
|
-
updateSandboxState(
|
|
715
|
+
updateSandboxState(sandboxIdOrName: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
716
716
|
/**
|
|
717
717
|
*
|
|
718
718
|
* @summary Validate SSH access for sandbox
|
|
@@ -733,23 +733,23 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
733
733
|
/**
|
|
734
734
|
*
|
|
735
735
|
* @summary Archive sandbox
|
|
736
|
-
* @param {string}
|
|
736
|
+
* @param {string} sandboxIdOrName
|
|
737
737
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
738
738
|
* @param {*} [options] Override http request option.
|
|
739
739
|
* @throws {RequiredError}
|
|
740
740
|
* @memberof SandboxApi
|
|
741
741
|
*/
|
|
742
|
-
archiveSandbox(
|
|
742
|
+
archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
743
743
|
/**
|
|
744
744
|
*
|
|
745
745
|
* @summary Create sandbox backup
|
|
746
|
-
* @param {string}
|
|
746
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
747
747
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
748
748
|
* @param {*} [options] Override http request option.
|
|
749
749
|
* @throws {RequiredError}
|
|
750
750
|
* @memberof SandboxApi
|
|
751
751
|
*/
|
|
752
|
-
createBackup(
|
|
752
|
+
createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
753
753
|
/**
|
|
754
754
|
*
|
|
755
755
|
* @summary Create a new sandbox
|
|
@@ -763,57 +763,57 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
763
763
|
/**
|
|
764
764
|
*
|
|
765
765
|
* @summary Create SSH access for sandbox
|
|
766
|
-
* @param {string}
|
|
766
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
767
767
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
768
768
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
769
769
|
* @param {*} [options] Override http request option.
|
|
770
770
|
* @throws {RequiredError}
|
|
771
771
|
* @memberof SandboxApi
|
|
772
772
|
*/
|
|
773
|
-
createSshAccess(
|
|
773
|
+
createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessDto, any, {}>>;
|
|
774
774
|
/**
|
|
775
775
|
*
|
|
776
776
|
* @summary Delete sandbox
|
|
777
|
-
* @param {string}
|
|
777
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
778
778
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
779
779
|
* @param {*} [options] Override http request option.
|
|
780
780
|
* @throws {RequiredError}
|
|
781
781
|
* @memberof SandboxApi
|
|
782
782
|
*/
|
|
783
|
-
deleteSandbox(
|
|
783
|
+
deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
784
784
|
/**
|
|
785
785
|
*
|
|
786
786
|
* @summary Get build logs
|
|
787
|
-
* @param {string}
|
|
787
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
788
788
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
789
789
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
790
790
|
* @param {*} [options] Override http request option.
|
|
791
791
|
* @throws {RequiredError}
|
|
792
792
|
* @memberof SandboxApi
|
|
793
793
|
*/
|
|
794
|
-
getBuildLogs(
|
|
794
|
+
getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
795
795
|
/**
|
|
796
796
|
*
|
|
797
797
|
* @summary Get preview URL for a sandbox port
|
|
798
|
-
* @param {string}
|
|
798
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
799
799
|
* @param {number} port Port number to get preview URL for
|
|
800
800
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
801
801
|
* @param {*} [options] Override http request option.
|
|
802
802
|
* @throws {RequiredError}
|
|
803
803
|
* @memberof SandboxApi
|
|
804
804
|
*/
|
|
805
|
-
getPortPreviewUrl(
|
|
805
|
+
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any, {}>>;
|
|
806
806
|
/**
|
|
807
807
|
*
|
|
808
808
|
* @summary Get sandbox details
|
|
809
|
-
* @param {string}
|
|
809
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
810
810
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
811
811
|
* @param {boolean} [verbose] Include verbose output
|
|
812
812
|
* @param {*} [options] Override http request option.
|
|
813
813
|
* @throws {RequiredError}
|
|
814
814
|
* @memberof SandboxApi
|
|
815
815
|
*/
|
|
816
|
-
getSandbox(
|
|
816
|
+
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
817
817
|
/**
|
|
818
818
|
*
|
|
819
819
|
* @summary List all regions where sandboxes have been created
|
|
@@ -876,100 +876,100 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
876
876
|
/**
|
|
877
877
|
*
|
|
878
878
|
* @summary Replace sandbox labels
|
|
879
|
-
* @param {string}
|
|
879
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
880
880
|
* @param {SandboxLabels} sandboxLabels
|
|
881
881
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
882
882
|
* @param {*} [options] Override http request option.
|
|
883
883
|
* @throws {RequiredError}
|
|
884
884
|
* @memberof SandboxApi
|
|
885
885
|
*/
|
|
886
|
-
replaceLabels(
|
|
886
|
+
replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any, {}>>;
|
|
887
887
|
/**
|
|
888
888
|
*
|
|
889
889
|
* @summary Revoke SSH access for sandbox
|
|
890
|
-
* @param {string}
|
|
890
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
891
891
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
892
892
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
893
893
|
* @param {*} [options] Override http request option.
|
|
894
894
|
* @throws {RequiredError}
|
|
895
895
|
* @memberof SandboxApi
|
|
896
896
|
*/
|
|
897
|
-
revokeSshAccess(
|
|
897
|
+
revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
898
898
|
/**
|
|
899
899
|
*
|
|
900
900
|
* @summary Set sandbox auto-archive interval
|
|
901
|
-
* @param {string}
|
|
901
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
902
902
|
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
903
903
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
904
904
|
* @param {*} [options] Override http request option.
|
|
905
905
|
* @throws {RequiredError}
|
|
906
906
|
* @memberof SandboxApi
|
|
907
907
|
*/
|
|
908
|
-
setAutoArchiveInterval(
|
|
908
|
+
setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
909
909
|
/**
|
|
910
910
|
*
|
|
911
911
|
* @summary Set sandbox auto-delete interval
|
|
912
|
-
* @param {string}
|
|
912
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
913
913
|
* @param {number} interval Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
914
914
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
915
915
|
* @param {*} [options] Override http request option.
|
|
916
916
|
* @throws {RequiredError}
|
|
917
917
|
* @memberof SandboxApi
|
|
918
918
|
*/
|
|
919
|
-
setAutoDeleteInterval(
|
|
919
|
+
setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
920
920
|
/**
|
|
921
921
|
*
|
|
922
922
|
* @summary Set sandbox auto-stop interval
|
|
923
|
-
* @param {string}
|
|
923
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
924
924
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
925
925
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
926
926
|
* @param {*} [options] Override http request option.
|
|
927
927
|
* @throws {RequiredError}
|
|
928
928
|
* @memberof SandboxApi
|
|
929
929
|
*/
|
|
930
|
-
setAutostopInterval(
|
|
930
|
+
setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
931
931
|
/**
|
|
932
932
|
*
|
|
933
933
|
* @summary Start sandbox
|
|
934
|
-
* @param {string}
|
|
934
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
935
935
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
936
936
|
* @param {*} [options] Override http request option.
|
|
937
937
|
* @throws {RequiredError}
|
|
938
938
|
* @memberof SandboxApi
|
|
939
939
|
*/
|
|
940
|
-
startSandbox(
|
|
940
|
+
startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
941
941
|
/**
|
|
942
942
|
*
|
|
943
943
|
* @summary Stop sandbox
|
|
944
|
-
* @param {string}
|
|
944
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
945
945
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
946
946
|
* @param {*} [options] Override http request option.
|
|
947
947
|
* @throws {RequiredError}
|
|
948
948
|
* @memberof SandboxApi
|
|
949
949
|
*/
|
|
950
|
-
stopSandbox(
|
|
950
|
+
stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
951
951
|
/**
|
|
952
952
|
*
|
|
953
953
|
* @summary Update public status
|
|
954
|
-
* @param {string}
|
|
954
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
955
955
|
* @param {boolean} isPublic Public status to set
|
|
956
956
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
957
957
|
* @param {*} [options] Override http request option.
|
|
958
958
|
* @throws {RequiredError}
|
|
959
959
|
* @memberof SandboxApi
|
|
960
960
|
*/
|
|
961
|
-
updatePublicStatus(
|
|
961
|
+
updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
962
962
|
/**
|
|
963
963
|
*
|
|
964
964
|
* @summary Update sandbox state
|
|
965
|
-
* @param {string}
|
|
965
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
966
966
|
* @param {UpdateSandboxStateDto} updateSandboxStateDto
|
|
967
967
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
968
968
|
* @param {*} [options] Override http request option.
|
|
969
969
|
* @throws {RequiredError}
|
|
970
970
|
* @memberof SandboxApi
|
|
971
971
|
*/
|
|
972
|
-
updateSandboxState(
|
|
972
|
+
updateSandboxState(sandboxIdOrName: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
973
973
|
/**
|
|
974
974
|
*
|
|
975
975
|
* @summary Validate SSH access for sandbox
|