@scaleway/sdk 2.72.0 → 2.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +94 -65
- package/dist/api/account/v3/marshalling.gen.js +94 -65
- package/dist/api/account/v3/types.gen.d.ts +224 -104
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +132 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
- package/dist/api/cockpit/v1/api.gen.js +133 -157
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
- package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
- package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
- package/dist/api/file/index.gen.cjs +4 -0
- package/dist/api/file/index.gen.d.ts +5 -0
- package/dist/api/file/index.gen.js +4 -0
- package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
- package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
- package/dist/api/file/v1alpha1/api.gen.js +142 -0
- package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
- package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
- package/dist/api/file/v1alpha1/content.gen.js +7 -0
- package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
- package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
- package/dist/api/file/v1alpha1/index.gen.js +8 -0
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
- package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
- package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
- package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
- package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
- package/dist/api/iam/v1alpha1/api.gen.js +4 -4
- package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/index.gen.d.ts +3 -1
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
- package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
- package/dist/api/inference/v1beta1/api.gen.js +9 -12
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -1
- package/dist/api/instance/v1/types.gen.d.ts +1368 -600
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
- package/dist/api/lb/v1/marshalling.gen.js +4 -2
- package/dist/api/lb/v1/types.gen.d.ts +4 -0
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/product_catalog/index.gen.cjs +4 -0
- package/dist/api/product_catalog/index.gen.d.ts +5 -0
- package/dist/api/product_catalog/index.gen.js +4 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
- package/dist/api/vpcgw/v1/api.gen.js +37 -0
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/dist/index.cjs +36 -32
- package/dist/index.js +36 -32
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -17,393 +17,681 @@ export type SessionAccess = 'unknown_access' | 'full' | 'read_session' | 'read_w
|
|
|
17
17
|
export type SessionOriginType = 'unknown_origin_type' | 'customer' | 'process';
|
|
18
18
|
export type SessionStatus = 'unknown_status' | 'running' | 'stopped' | 'starting' | 'stopping';
|
|
19
19
|
export interface PlatformHardware {
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Product name of the hardware.
|
|
22
|
+
*/
|
|
21
23
|
name: string;
|
|
22
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Number of vCPUs available.
|
|
26
|
+
*/
|
|
23
27
|
vcpus: number;
|
|
24
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Number of GPUs available (0 if no GPU).
|
|
30
|
+
*/
|
|
25
31
|
gpus: number;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Network topology of GPUs (PCIe, NVLink...).
|
|
34
|
+
*/
|
|
27
35
|
gpusNetwork: string;
|
|
28
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Amount of RAM available in byte.
|
|
38
|
+
*/
|
|
29
39
|
ram: number;
|
|
30
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Amount of VRAM available in byte (0 if no GPU).
|
|
42
|
+
*/
|
|
31
43
|
vram: number;
|
|
32
44
|
}
|
|
33
45
|
export interface JobCircuit {
|
|
34
46
|
/**
|
|
35
47
|
* Circuit generated by Perceval that should be executed.
|
|
36
48
|
*
|
|
37
|
-
* One-of ('circuitSerialization'): at most one of 'percevalCircuit',
|
|
38
|
-
* 'qiskitCircuit' could be set.
|
|
49
|
+
* One-of ('circuitSerialization'): at most one of 'percevalCircuit', 'qiskitCircuit' could be set.
|
|
39
50
|
*/
|
|
40
51
|
percevalCircuit?: string;
|
|
41
52
|
/**
|
|
42
53
|
* Circuit generated by Qiskit that should be executed.
|
|
43
54
|
*
|
|
44
|
-
* One-of ('circuitSerialization'): at most one of 'percevalCircuit',
|
|
45
|
-
* 'qiskitCircuit' could be set.
|
|
55
|
+
* One-of ('circuitSerialization'): at most one of 'percevalCircuit', 'qiskitCircuit' could be set.
|
|
46
56
|
*/
|
|
47
57
|
qiskitCircuit?: string;
|
|
48
58
|
}
|
|
49
59
|
export interface Application {
|
|
50
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* Unique ID of the application.
|
|
62
|
+
*/
|
|
51
63
|
id: string;
|
|
52
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Name of the application.
|
|
66
|
+
*/
|
|
53
67
|
name: string;
|
|
54
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Type of the application.
|
|
70
|
+
*/
|
|
55
71
|
type: ApplicationType;
|
|
56
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* List of compatible platform (by IDs) able to run this application.
|
|
74
|
+
*/
|
|
57
75
|
compatiblePlatformIds: string[];
|
|
58
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* JSON format describing the expected input.
|
|
78
|
+
*/
|
|
59
79
|
inputTemplate: string;
|
|
60
80
|
}
|
|
61
81
|
export interface JobResult {
|
|
62
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* ID of the parent job.
|
|
84
|
+
*/
|
|
63
85
|
jobId: string;
|
|
64
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Result in JSON format.
|
|
88
|
+
*/
|
|
65
89
|
result?: string;
|
|
66
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* URL to download a large result (optional).
|
|
92
|
+
*/
|
|
67
93
|
url?: string;
|
|
68
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Creation time of the result.
|
|
96
|
+
*/
|
|
69
97
|
createdAt?: Date;
|
|
70
98
|
}
|
|
71
99
|
export interface Job {
|
|
72
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Unique ID of the job.
|
|
102
|
+
*/
|
|
73
103
|
id: string;
|
|
74
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Job name.
|
|
106
|
+
*/
|
|
75
107
|
name: string;
|
|
76
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Tags of the job.
|
|
110
|
+
*/
|
|
77
111
|
tags?: string[];
|
|
78
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Session ID in which the job is executed.
|
|
114
|
+
*/
|
|
79
115
|
sessionId: string;
|
|
80
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Time at which the job was created.
|
|
118
|
+
*/
|
|
81
119
|
createdAt?: Date;
|
|
82
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Time at which the job was started.
|
|
122
|
+
*/
|
|
83
123
|
startedAt?: Date;
|
|
84
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Time at which the job was updated.
|
|
126
|
+
*/
|
|
85
127
|
updatedAt?: Date;
|
|
86
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Job status.
|
|
130
|
+
*/
|
|
87
131
|
status: JobStatus;
|
|
88
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Last progress message, if the job has started.
|
|
134
|
+
*/
|
|
89
135
|
progressMessage?: string;
|
|
90
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Duration of the job, if the job is finished.
|
|
138
|
+
*/
|
|
91
139
|
jobDuration?: string;
|
|
92
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Result of the job, if the job is finished.
|
|
142
|
+
*/
|
|
93
143
|
resultDistribution?: string;
|
|
94
144
|
}
|
|
95
145
|
export interface Platform {
|
|
96
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* Unique ID of the platform.
|
|
148
|
+
*/
|
|
97
149
|
id: string;
|
|
98
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Version of the platform.
|
|
152
|
+
*/
|
|
99
153
|
version: string;
|
|
100
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Name of the platform.
|
|
156
|
+
*/
|
|
101
157
|
name: string;
|
|
102
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Provider name of the platform.
|
|
160
|
+
*/
|
|
103
161
|
providerName: string;
|
|
104
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Name of the running backend over the platform (ascella, qsim, aer...).
|
|
164
|
+
*/
|
|
105
165
|
backendName: string;
|
|
106
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Type of the platform.
|
|
168
|
+
*/
|
|
107
169
|
type: PlatformType;
|
|
108
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* Technology used by the platform.
|
|
172
|
+
*/
|
|
109
173
|
technology: PlatformTechnology;
|
|
110
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Estimated maximum number of qubits supported by the platform.
|
|
176
|
+
*/
|
|
111
177
|
maxQubitCount: number;
|
|
112
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* Availability of the platform.
|
|
180
|
+
*/
|
|
113
181
|
availability: PlatformAvailability;
|
|
114
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* Metadata provided by the platform.
|
|
184
|
+
*/
|
|
115
185
|
metadata: string;
|
|
116
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* Price to be paid per hour (excluding free tiers).
|
|
188
|
+
*/
|
|
117
189
|
pricePerHour?: Money;
|
|
118
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Specifications of the underlying hardware.
|
|
192
|
+
*/
|
|
119
193
|
hardware?: PlatformHardware;
|
|
120
194
|
}
|
|
121
195
|
export interface ProcessResult {
|
|
122
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* ID of the parent process.
|
|
198
|
+
*/
|
|
123
199
|
processId: string;
|
|
124
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* Result in JSON format.
|
|
202
|
+
*/
|
|
125
203
|
result: string;
|
|
126
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Creation time of the result.
|
|
206
|
+
*/
|
|
127
207
|
createdAt?: Date;
|
|
128
208
|
}
|
|
129
209
|
export interface Process {
|
|
130
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Unique ID of the process.
|
|
212
|
+
*/
|
|
131
213
|
id: string;
|
|
132
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Name of the process.
|
|
216
|
+
*/
|
|
133
217
|
name: string;
|
|
134
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Application ID for which the process has been created.
|
|
220
|
+
*/
|
|
135
221
|
applicationId?: string;
|
|
136
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* Platform ID for which the process has been created.
|
|
224
|
+
*/
|
|
137
225
|
platformId?: string;
|
|
138
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* List of sessions generated by the process.
|
|
228
|
+
*/
|
|
139
229
|
attachedSessionIds: string[];
|
|
140
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* Tme at which the process was created.
|
|
232
|
+
*/
|
|
141
233
|
createdAt?: Date;
|
|
142
|
-
/**
|
|
234
|
+
/**
|
|
235
|
+
* Time at which the process started.
|
|
236
|
+
*/
|
|
143
237
|
startedAt?: Date;
|
|
144
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Time at which the process was updated.
|
|
240
|
+
*/
|
|
145
241
|
updatedAt?: Date;
|
|
146
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Time at which the process was finished.
|
|
244
|
+
*/
|
|
147
245
|
finishedAt?: Date;
|
|
148
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Status of the process.
|
|
248
|
+
*/
|
|
149
249
|
status: ProcessStatus;
|
|
150
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Project ID in which the process has been created.
|
|
252
|
+
*/
|
|
151
253
|
projectId: string;
|
|
152
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Tags of the process.
|
|
256
|
+
*/
|
|
153
257
|
tags: string[];
|
|
154
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Progress of the process, from 0 to 1.
|
|
260
|
+
*/
|
|
155
261
|
progress?: number;
|
|
156
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Any progress of the process.
|
|
264
|
+
*/
|
|
157
265
|
progressMessage?: string;
|
|
158
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Input payload of the process as JSON string.
|
|
268
|
+
*/
|
|
159
269
|
input?: string;
|
|
160
270
|
}
|
|
161
271
|
export interface Session {
|
|
162
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* Unique ID of the session.
|
|
274
|
+
*/
|
|
163
275
|
id: string;
|
|
164
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Name of the session.
|
|
278
|
+
*/
|
|
165
279
|
name: string;
|
|
166
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* Platform ID for which the session has been created.
|
|
282
|
+
*/
|
|
167
283
|
platformId: string;
|
|
168
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* The time at which the session was created.
|
|
286
|
+
*/
|
|
169
287
|
createdAt?: Date;
|
|
170
|
-
/**
|
|
288
|
+
/**
|
|
289
|
+
* The time at which the session started.
|
|
290
|
+
*/
|
|
171
291
|
startedAt?: Date;
|
|
172
|
-
/**
|
|
292
|
+
/**
|
|
293
|
+
* The time at which the session was updated.
|
|
294
|
+
*/
|
|
173
295
|
updatedAt?: Date;
|
|
174
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* The time at which the session was terminated.
|
|
298
|
+
*/
|
|
175
299
|
terminatedAt?: Date;
|
|
176
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* Maximum idle time before the session ends.
|
|
302
|
+
*/
|
|
177
303
|
maxIdleDuration?: string;
|
|
178
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Maximum duration before the session ends.
|
|
306
|
+
*/
|
|
179
307
|
maxDuration?: string;
|
|
180
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* Number of waiting jobs linked to the session.
|
|
310
|
+
*/
|
|
181
311
|
waitingJobCount: number;
|
|
182
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* Number of finished jobs linked to the session.
|
|
314
|
+
*/
|
|
183
315
|
finishedJobCount: number;
|
|
184
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Status of the session.
|
|
318
|
+
*/
|
|
185
319
|
status: SessionStatus;
|
|
186
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Project ID in which the session has been created.
|
|
322
|
+
*/
|
|
187
323
|
projectId: string;
|
|
188
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* Tags of the session.
|
|
326
|
+
*/
|
|
189
327
|
tags?: string[];
|
|
190
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* Deduplication ID of the session.
|
|
330
|
+
*/
|
|
191
331
|
deduplicationId: string;
|
|
192
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Resource type that creates the session.
|
|
334
|
+
*/
|
|
193
335
|
originType: SessionOriginType;
|
|
194
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* Unique ID of the session's origin resource (if exists).
|
|
338
|
+
*/
|
|
195
339
|
originId?: string;
|
|
196
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* Any progress of the session.
|
|
342
|
+
*/
|
|
197
343
|
progressMessage?: string;
|
|
198
344
|
}
|
|
199
345
|
export type CancelJobRequest = {
|
|
200
|
-
/**
|
|
346
|
+
/**
|
|
347
|
+
* Unique ID of the job.
|
|
348
|
+
*/
|
|
201
349
|
jobId: string;
|
|
202
350
|
};
|
|
203
351
|
export type CancelProcessRequest = {
|
|
204
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* Unique ID of the process.
|
|
354
|
+
*/
|
|
205
355
|
processId: string;
|
|
206
356
|
};
|
|
207
357
|
export type CreateJobRequest = {
|
|
208
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* Name of the job.
|
|
360
|
+
*/
|
|
209
361
|
name: string;
|
|
210
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Tags of the job.
|
|
364
|
+
*/
|
|
211
365
|
tags?: string[];
|
|
212
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* Session in which the job is executed.
|
|
368
|
+
*/
|
|
213
369
|
sessionId: string;
|
|
214
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* Quantum circuit that should be executed.
|
|
372
|
+
*/
|
|
215
373
|
circuit: JobCircuit;
|
|
216
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* Maximum duration of the job.
|
|
376
|
+
*/
|
|
217
377
|
maxDuration?: string;
|
|
218
378
|
};
|
|
219
379
|
export type CreateProcessRequest = {
|
|
220
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of the project in which the process was created.
|
|
382
|
+
*/
|
|
221
383
|
projectId?: string;
|
|
222
|
-
/**
|
|
384
|
+
/**
|
|
385
|
+
* ID of the platform for which the process was created.
|
|
386
|
+
*/
|
|
223
387
|
platformId?: string;
|
|
224
|
-
/**
|
|
388
|
+
/**
|
|
389
|
+
* ID of the application for which the process was created.
|
|
390
|
+
*/
|
|
225
391
|
applicationId?: string;
|
|
226
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* Name of the process.
|
|
394
|
+
*/
|
|
227
395
|
name: string;
|
|
228
|
-
/**
|
|
396
|
+
/**
|
|
397
|
+
* Process parameters in JSON format.
|
|
398
|
+
*/
|
|
229
399
|
input?: string;
|
|
230
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* Tags of the process.
|
|
402
|
+
*/
|
|
231
403
|
tags?: string[];
|
|
232
404
|
};
|
|
233
405
|
export type CreateSessionRequest = {
|
|
234
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* ID of the Project in which the session was created.
|
|
408
|
+
*/
|
|
235
409
|
projectId?: string;
|
|
236
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* ID of the Platform for which the session was created.
|
|
412
|
+
*/
|
|
237
413
|
platformId: string;
|
|
238
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* Name of the session.
|
|
416
|
+
*/
|
|
239
417
|
name?: string;
|
|
240
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* Maximum idle duration before the session ends.
|
|
420
|
+
*/
|
|
241
421
|
maxIdleDuration?: string;
|
|
242
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* Maximum duration before the session ends.
|
|
424
|
+
*/
|
|
243
425
|
maxDuration?: string;
|
|
244
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* Tags of the session.
|
|
428
|
+
*/
|
|
245
429
|
tags?: string[];
|
|
246
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* Deduplication ID of the session.
|
|
432
|
+
*/
|
|
247
433
|
deduplicationId?: string;
|
|
248
434
|
};
|
|
249
435
|
export type DeleteJobRequest = {
|
|
250
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* Unique ID of the job.
|
|
438
|
+
*/
|
|
251
439
|
jobId: string;
|
|
252
440
|
};
|
|
253
441
|
export type DeleteProcessRequest = {
|
|
254
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* Unique ID of the process.
|
|
444
|
+
*/
|
|
255
445
|
processId: string;
|
|
256
446
|
};
|
|
257
447
|
export type DeleteSessionRequest = {
|
|
258
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* Unique ID of the session.
|
|
450
|
+
*/
|
|
259
451
|
sessionId: string;
|
|
260
452
|
};
|
|
261
453
|
export type GetApplicationRequest = {
|
|
262
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* Unique ID of the application.
|
|
456
|
+
*/
|
|
263
457
|
applicationId: string;
|
|
264
458
|
};
|
|
265
459
|
export type GetJobCircuitRequest = {
|
|
266
|
-
/**
|
|
460
|
+
/**
|
|
461
|
+
* Unique ID of the job.
|
|
462
|
+
*/
|
|
267
463
|
jobId: string;
|
|
268
464
|
};
|
|
269
465
|
export type GetJobRequest = {
|
|
270
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* Unique ID of the job you want to get.
|
|
468
|
+
*/
|
|
271
469
|
jobId: string;
|
|
272
470
|
};
|
|
273
471
|
export type GetPlatformRequest = {
|
|
274
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* Unique ID of the platform.
|
|
474
|
+
*/
|
|
275
475
|
platformId: string;
|
|
276
476
|
};
|
|
277
477
|
export type GetProcessRequest = {
|
|
278
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* Unique ID of the process.
|
|
480
|
+
*/
|
|
279
481
|
processId: string;
|
|
280
482
|
};
|
|
281
483
|
export type GetSessionRequest = {
|
|
282
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* Unique ID of the session.
|
|
486
|
+
*/
|
|
283
487
|
sessionId: string;
|
|
284
488
|
};
|
|
285
489
|
export type ListApplicationsRequest = {
|
|
286
|
-
/**
|
|
490
|
+
/**
|
|
491
|
+
* List applications with this name.
|
|
492
|
+
*/
|
|
287
493
|
name?: string;
|
|
288
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* List applications with this type.
|
|
496
|
+
*/
|
|
289
497
|
applicationType?: ApplicationType;
|
|
290
|
-
/**
|
|
498
|
+
/**
|
|
499
|
+
* Page number.
|
|
500
|
+
*/
|
|
291
501
|
page?: number;
|
|
292
|
-
/**
|
|
502
|
+
/**
|
|
503
|
+
* Maximum number of applications a to return per page.
|
|
504
|
+
*/
|
|
293
505
|
pageSize?: number;
|
|
294
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* Sort order of the returned applications.
|
|
508
|
+
*/
|
|
295
509
|
orderBy?: ListApplicationsRequestOrderBy;
|
|
296
510
|
};
|
|
297
511
|
export interface ListApplicationsResponse {
|
|
298
|
-
/**
|
|
512
|
+
/**
|
|
513
|
+
* Total number of applications.
|
|
514
|
+
*/
|
|
299
515
|
totalCount: number;
|
|
300
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* List of applications.
|
|
518
|
+
*/
|
|
301
519
|
applications: Application[];
|
|
302
520
|
}
|
|
303
521
|
export type ListJobResultsRequest = {
|
|
304
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* ID of the job.
|
|
524
|
+
*/
|
|
305
525
|
jobId: string;
|
|
306
|
-
/**
|
|
526
|
+
/**
|
|
527
|
+
* Page number.
|
|
528
|
+
*/
|
|
307
529
|
page?: number;
|
|
308
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* Maximum number of results to return per page.
|
|
532
|
+
*/
|
|
309
533
|
pageSize?: number;
|
|
310
|
-
/**
|
|
534
|
+
/**
|
|
535
|
+
* Sort order of the returned results.
|
|
536
|
+
*/
|
|
311
537
|
orderBy?: ListJobResultsRequestOrderBy;
|
|
312
538
|
};
|
|
313
539
|
export interface ListJobResultsResponse {
|
|
314
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* Total number of results.
|
|
542
|
+
*/
|
|
315
543
|
totalCount: number;
|
|
316
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* List of results.
|
|
546
|
+
*/
|
|
317
547
|
jobResults: JobResult[];
|
|
318
548
|
}
|
|
319
549
|
export type ListJobsRequest = {
|
|
320
550
|
/**
|
|
321
551
|
* List jobs with this session ID.
|
|
322
552
|
*
|
|
323
|
-
* One-of ('resourceId'): at most one of 'sessionId', 'projectId' could be
|
|
324
|
-
* set.
|
|
553
|
+
* One-of ('resourceId'): at most one of 'sessionId', 'projectId' could be set.
|
|
325
554
|
*/
|
|
326
555
|
sessionId?: string;
|
|
327
556
|
/**
|
|
328
557
|
* List jobs with this project ID.
|
|
329
558
|
*
|
|
330
|
-
* One-of ('resourceId'): at most one of 'sessionId', 'projectId' could be
|
|
331
|
-
* set.
|
|
559
|
+
* One-of ('resourceId'): at most one of 'sessionId', 'projectId' could be set.
|
|
332
560
|
*/
|
|
333
561
|
projectId?: string;
|
|
334
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* List jobs with these tags.
|
|
564
|
+
*/
|
|
335
565
|
tags?: string[];
|
|
336
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* Page number.
|
|
568
|
+
*/
|
|
337
569
|
page?: number;
|
|
338
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* Maximum number of jobs to return per page.
|
|
572
|
+
*/
|
|
339
573
|
pageSize?: number;
|
|
340
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* Sort order of the returned jobs.
|
|
576
|
+
*/
|
|
341
577
|
orderBy?: ListJobsRequestOrderBy;
|
|
342
578
|
};
|
|
343
579
|
export interface ListJobsResponse {
|
|
344
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* Total number of jobs.
|
|
582
|
+
*/
|
|
345
583
|
totalCount: number;
|
|
346
|
-
/**
|
|
584
|
+
/**
|
|
585
|
+
* List of jobs.
|
|
586
|
+
*/
|
|
347
587
|
jobs: Job[];
|
|
348
588
|
}
|
|
349
589
|
export type ListPlatformsRequest = {
|
|
350
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* List platforms with this provider name.
|
|
592
|
+
*/
|
|
351
593
|
providerName?: string;
|
|
352
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* List platforms with this backend name.
|
|
596
|
+
*/
|
|
353
597
|
backendName?: string;
|
|
354
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* List platforms with this name.
|
|
600
|
+
*/
|
|
355
601
|
name?: string;
|
|
356
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* List platforms with this type.
|
|
604
|
+
*/
|
|
357
605
|
platformType?: PlatformType;
|
|
358
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* List platforms with this technology.
|
|
608
|
+
*/
|
|
359
609
|
platformTechnology?: PlatformTechnology;
|
|
360
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* Page number.
|
|
612
|
+
*/
|
|
361
613
|
page?: number;
|
|
362
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Maximum number of platforms to return per page.
|
|
616
|
+
*/
|
|
363
617
|
pageSize?: number;
|
|
364
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Sort order of the returned platforms.
|
|
620
|
+
*/
|
|
365
621
|
orderBy?: ListPlatformsRequestOrderBy;
|
|
366
622
|
};
|
|
367
623
|
export interface ListPlatformsResponse {
|
|
368
|
-
/**
|
|
624
|
+
/**
|
|
625
|
+
* Total number of platforms.
|
|
626
|
+
*/
|
|
369
627
|
totalCount: number;
|
|
370
|
-
/**
|
|
628
|
+
/**
|
|
629
|
+
* List of platforms.
|
|
630
|
+
*/
|
|
371
631
|
platforms: Platform[];
|
|
372
632
|
}
|
|
373
633
|
export type ListProcessResultsRequest = {
|
|
374
|
-
/**
|
|
634
|
+
/**
|
|
635
|
+
* ID of the process.
|
|
636
|
+
*/
|
|
375
637
|
processId: string;
|
|
376
|
-
/**
|
|
638
|
+
/**
|
|
639
|
+
* Page number.
|
|
640
|
+
*/
|
|
377
641
|
page?: number;
|
|
378
|
-
/**
|
|
642
|
+
/**
|
|
643
|
+
* Maximum number of results to return per page.
|
|
644
|
+
*/
|
|
379
645
|
pageSize?: number;
|
|
380
|
-
/**
|
|
646
|
+
/**
|
|
647
|
+
* Sort order of the returned results.
|
|
648
|
+
*/
|
|
381
649
|
orderBy?: ListProcessResultsRequestOrderBy;
|
|
382
650
|
};
|
|
383
651
|
export interface ListProcessResultsResponse {
|
|
384
|
-
/**
|
|
652
|
+
/**
|
|
653
|
+
* Total number of results.
|
|
654
|
+
*/
|
|
385
655
|
totalCount: number;
|
|
386
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* List of results.
|
|
658
|
+
*/
|
|
387
659
|
processResults: ProcessResult[];
|
|
388
660
|
}
|
|
389
661
|
export type ListProcessesRequest = {
|
|
390
|
-
/**
|
|
662
|
+
/**
|
|
663
|
+
* List processes that have been created for this application.
|
|
664
|
+
*/
|
|
391
665
|
applicationId?: string;
|
|
392
|
-
/**
|
|
666
|
+
/**
|
|
667
|
+
* List processes with these tags.
|
|
668
|
+
*/
|
|
393
669
|
tags?: string[];
|
|
394
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* Page number.
|
|
672
|
+
*/
|
|
395
673
|
page?: number;
|
|
396
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of processes to return per page.
|
|
676
|
+
*/
|
|
397
677
|
pageSize?: number;
|
|
398
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Sort order of the returned processes.
|
|
680
|
+
*/
|
|
399
681
|
orderBy?: ListProcessesRequestOrderBy;
|
|
400
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* List processes belonging to this project ID.
|
|
684
|
+
*/
|
|
401
685
|
projectId?: string;
|
|
402
686
|
};
|
|
403
687
|
export interface ListProcessesResponse {
|
|
404
|
-
/**
|
|
688
|
+
/**
|
|
689
|
+
* Total number of processes.
|
|
690
|
+
*/
|
|
405
691
|
totalCount: number;
|
|
406
|
-
/**
|
|
692
|
+
/**
|
|
693
|
+
* List of processes.
|
|
694
|
+
*/
|
|
407
695
|
processes: Process[];
|
|
408
696
|
}
|
|
409
697
|
export type ListSessionACLsRequest = {
|
|
@@ -417,54 +705,94 @@ export interface ListSessionACLsResponse {
|
|
|
417
705
|
acls: SessionAccess[];
|
|
418
706
|
}
|
|
419
707
|
export type ListSessionsRequest = {
|
|
420
|
-
/**
|
|
708
|
+
/**
|
|
709
|
+
* List sessions that have been created for this platform.
|
|
710
|
+
*/
|
|
421
711
|
platformId?: string;
|
|
422
|
-
/**
|
|
712
|
+
/**
|
|
713
|
+
* List sessions with these tags.
|
|
714
|
+
*/
|
|
423
715
|
tags?: string[];
|
|
424
|
-
/**
|
|
716
|
+
/**
|
|
717
|
+
* Page number.
|
|
718
|
+
*/
|
|
425
719
|
page?: number;
|
|
426
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* Maximum number of sessions to return per page.
|
|
722
|
+
*/
|
|
427
723
|
pageSize?: number;
|
|
428
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* Sort order of the returned sessions.
|
|
726
|
+
*/
|
|
429
727
|
orderBy?: ListSessionsRequestOrderBy;
|
|
430
|
-
/**
|
|
728
|
+
/**
|
|
729
|
+
* List sessions belonging to this project ID.
|
|
730
|
+
*/
|
|
431
731
|
projectId?: string;
|
|
432
732
|
};
|
|
433
733
|
export interface ListSessionsResponse {
|
|
434
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* Total number of sessions.
|
|
736
|
+
*/
|
|
435
737
|
totalCount: number;
|
|
436
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* List of sessions.
|
|
740
|
+
*/
|
|
437
741
|
sessions: Session[];
|
|
438
742
|
}
|
|
439
743
|
export type TerminateSessionRequest = {
|
|
440
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* Unique ID of the session.
|
|
746
|
+
*/
|
|
441
747
|
sessionId: string;
|
|
442
748
|
};
|
|
443
749
|
export type UpdateJobRequest = {
|
|
444
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Unique ID of the job.
|
|
752
|
+
*/
|
|
445
753
|
jobId: string;
|
|
446
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Name of the job.
|
|
756
|
+
*/
|
|
447
757
|
name?: string;
|
|
448
|
-
/**
|
|
758
|
+
/**
|
|
759
|
+
* Tags of the job.
|
|
760
|
+
*/
|
|
449
761
|
tags?: string[];
|
|
450
762
|
};
|
|
451
763
|
export type UpdateProcessRequest = {
|
|
452
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* Unique ID of the process.
|
|
766
|
+
*/
|
|
453
767
|
processId: string;
|
|
454
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* Name of the process.
|
|
770
|
+
*/
|
|
455
771
|
name?: string;
|
|
456
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Tags of the process.
|
|
774
|
+
*/
|
|
457
775
|
tags?: string[];
|
|
458
776
|
};
|
|
459
777
|
export type UpdateSessionRequest = {
|
|
460
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* Unique ID of the session.
|
|
780
|
+
*/
|
|
461
781
|
sessionId: string;
|
|
462
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* Name of the session.
|
|
784
|
+
*/
|
|
463
785
|
name?: string;
|
|
464
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* Maximum idle duration before the session ends.
|
|
788
|
+
*/
|
|
465
789
|
maxIdleDuration?: string;
|
|
466
|
-
/**
|
|
790
|
+
/**
|
|
791
|
+
* Maximum time before the session ends.
|
|
792
|
+
*/
|
|
467
793
|
maxDuration?: string;
|
|
468
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Tags of the session.
|
|
796
|
+
*/
|
|
469
797
|
tags?: string[];
|
|
470
798
|
};
|