@scaleway/sdk 2.72.0 → 2.73.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/types.gen.d.ts +187 -85
- 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 +100 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
- package/dist/api/cockpit/v1/api.gen.js +100 -156
- package/dist/api/cockpit/v1/types.gen.d.ts +567 -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/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/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 +8 -11
- package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1beta1/api.gen.js +8 -11
- 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/types.gen.d.ts +1351 -598
- 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/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/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/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- 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
|
@@ -4,42 +4,47 @@ export type ListDeploymentsRequestOrderBy = 'created_at_desc' | 'created_at_asc'
|
|
|
4
4
|
export type ListModelsRequestOrderBy = 'display_rank_asc' | 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
5
5
|
export type NodeTypeStock = 'unknown_stock' | 'low_stock' | 'out_of_stock' | 'available';
|
|
6
6
|
export interface EndpointPrivateNetworkDetails {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* ID of the Private Network.
|
|
9
|
+
*/
|
|
8
10
|
privateNetworkId: string;
|
|
9
11
|
}
|
|
10
12
|
export interface EndpointPublicAccessDetails {
|
|
11
13
|
}
|
|
12
14
|
export interface EndpointSpecPrivateNetwork {
|
|
13
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* ID of the Private Network.
|
|
17
|
+
*/
|
|
14
18
|
privateNetworkId: string;
|
|
15
19
|
}
|
|
16
20
|
export interface EndpointSpecPublic {
|
|
17
21
|
}
|
|
18
22
|
export interface Endpoint {
|
|
19
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier.
|
|
25
|
+
*/
|
|
20
26
|
id: string;
|
|
21
27
|
/**
|
|
22
|
-
* For private endpoints, the URL will be accessible only from the Private
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* retrieved using the `GetDeploymentCertificate` API call.
|
|
28
|
+
* For private endpoints, the URL will be accessible only from the Private Network.
|
|
29
|
+
In addition, private endpoints will expose a CA certificate that can be used to verify the server's identity.
|
|
30
|
+
This CA certificate can be retrieved using the `GetDeploymentCertificate` API call.
|
|
26
31
|
*/
|
|
27
32
|
url: string;
|
|
28
33
|
/**
|
|
29
34
|
* Defines whether the endpoint is public.
|
|
30
35
|
*
|
|
31
|
-
* One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could
|
|
32
|
-
* be set.
|
|
36
|
+
* One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could be set.
|
|
33
37
|
*/
|
|
34
38
|
publicAccess?: EndpointPublicAccessDetails;
|
|
35
39
|
/**
|
|
36
40
|
* Details of the Private Network.
|
|
37
41
|
*
|
|
38
|
-
* One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could
|
|
39
|
-
* be set.
|
|
42
|
+
* One-of ('details'): at most one of 'publicAccess', 'privateNetwork' could be set.
|
|
40
43
|
*/
|
|
41
44
|
privateNetwork?: EndpointPrivateNetworkDetails;
|
|
42
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Defines whether the authentication is disabled.
|
|
47
|
+
*/
|
|
43
48
|
disableAuth: boolean;
|
|
44
49
|
}
|
|
45
50
|
export interface ModelS3Model {
|
|
@@ -50,19 +55,26 @@ export interface ModelS3Model {
|
|
|
50
55
|
}
|
|
51
56
|
export interface ACLRuleRequest {
|
|
52
57
|
/**
|
|
53
|
-
* It can be specified as a single IP address or a range of IP addresses in
|
|
54
|
-
* CIDR notation.
|
|
58
|
+
* It can be specified as a single IP address or a range of IP addresses in CIDR notation.
|
|
55
59
|
*/
|
|
56
60
|
ip: string;
|
|
57
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Description of the ACL rule.
|
|
63
|
+
*/
|
|
58
64
|
description: string;
|
|
59
65
|
}
|
|
60
66
|
export interface ACLRule {
|
|
61
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Unique identifier.
|
|
69
|
+
*/
|
|
62
70
|
id: string;
|
|
63
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Allowed IP address or CIDR range.
|
|
73
|
+
*/
|
|
64
74
|
ip: string;
|
|
65
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Description of the ACL rule.
|
|
77
|
+
*/
|
|
66
78
|
description: string;
|
|
67
79
|
}
|
|
68
80
|
export interface EndpointSpec {
|
|
@@ -79,65 +91,117 @@ export interface EndpointSpec {
|
|
|
79
91
|
*/
|
|
80
92
|
privateNetwork?: EndpointSpecPrivateNetwork;
|
|
81
93
|
/**
|
|
82
|
-
* By default, deployments are protected by IAM authentication.
|
|
83
|
-
|
|
94
|
+
* By default, deployments are protected by IAM authentication.
|
|
95
|
+
When setting this field to true, the authentication will be disabled.
|
|
84
96
|
*/
|
|
85
97
|
disableAuth: boolean;
|
|
86
98
|
}
|
|
87
99
|
export interface Deployment {
|
|
88
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier.
|
|
102
|
+
*/
|
|
89
103
|
id: string;
|
|
90
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Name of the deployment.
|
|
106
|
+
*/
|
|
91
107
|
name: string;
|
|
92
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Project ID.
|
|
110
|
+
*/
|
|
93
111
|
projectId: string;
|
|
94
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Status of the deployment.
|
|
114
|
+
*/
|
|
95
115
|
status: DeploymentStatus;
|
|
96
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* List of tags applied to the deployment.
|
|
118
|
+
*/
|
|
97
119
|
tags: string[];
|
|
98
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Node type of the deployment.
|
|
122
|
+
*/
|
|
99
123
|
nodeType: string;
|
|
100
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* List of endpoints.
|
|
126
|
+
*/
|
|
101
127
|
endpoints: Endpoint[];
|
|
102
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Current size of the pool.
|
|
130
|
+
*/
|
|
103
131
|
size: number;
|
|
104
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Defines the minimum size of the pool.
|
|
134
|
+
*/
|
|
105
135
|
minSize: number;
|
|
106
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Defines the maximum size of the pool.
|
|
138
|
+
*/
|
|
107
139
|
maxSize: number;
|
|
108
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Displays information if your deployment is in error state.
|
|
142
|
+
*/
|
|
109
143
|
errorMessage?: string;
|
|
110
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* The inference model used for the deployment.
|
|
146
|
+
*/
|
|
111
147
|
modelName: string;
|
|
112
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* ID of the model used for the deployment.
|
|
150
|
+
*/
|
|
113
151
|
modelId: string;
|
|
114
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Creation date of the deployment.
|
|
154
|
+
*/
|
|
115
155
|
createdAt?: Date;
|
|
116
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Last modification date of the deployment.
|
|
158
|
+
*/
|
|
117
159
|
updatedAt?: Date;
|
|
118
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Region of the deployment.
|
|
162
|
+
*/
|
|
119
163
|
region: ScwRegion;
|
|
120
164
|
}
|
|
121
165
|
export interface Model {
|
|
122
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Unique identifier.
|
|
168
|
+
*/
|
|
123
169
|
id: string;
|
|
124
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* Unique Name identifier.
|
|
172
|
+
*/
|
|
125
173
|
name: string;
|
|
126
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Project ID.
|
|
176
|
+
*/
|
|
127
177
|
projectId: string;
|
|
128
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* Name of the model provider.
|
|
180
|
+
*/
|
|
129
181
|
provider: string;
|
|
130
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* List of tags applied to the model.
|
|
184
|
+
*/
|
|
131
185
|
tags: string[];
|
|
132
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* Purpose of the model.
|
|
188
|
+
*/
|
|
133
189
|
description: string;
|
|
134
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Defines whether the model has an end user license agreement.
|
|
192
|
+
*/
|
|
135
193
|
hasEula: boolean;
|
|
136
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Creation date of the model.
|
|
196
|
+
*/
|
|
137
197
|
createdAt?: Date;
|
|
138
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Last modification date of the model.
|
|
200
|
+
*/
|
|
139
201
|
updatedAt?: Date;
|
|
140
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* Region of the model.
|
|
204
|
+
*/
|
|
141
205
|
region: ScwRegion;
|
|
142
206
|
/**
|
|
143
207
|
* Object Storage URL pointing to the model source weight.
|
|
@@ -145,291 +209,414 @@ export interface Model {
|
|
|
145
209
|
* One-of ('source'): at most one of 's3Model' could be set.
|
|
146
210
|
*/
|
|
147
211
|
s3Model?: ModelS3Model;
|
|
148
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Defines whether the model is public or not.
|
|
214
|
+
*/
|
|
149
215
|
isPublic: boolean;
|
|
150
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Names of the node types compatible with the model.
|
|
218
|
+
*/
|
|
151
219
|
compatibleNodeTypes: string[];
|
|
152
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Quantization level of the model.
|
|
222
|
+
*/
|
|
153
223
|
quantizationLevel: string;
|
|
154
224
|
}
|
|
155
225
|
export interface NodeType {
|
|
156
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Name of the node type.
|
|
228
|
+
*/
|
|
157
229
|
name: string;
|
|
158
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* Current stock status for the node type.
|
|
232
|
+
*/
|
|
159
233
|
stockStatus: NodeTypeStock;
|
|
160
|
-
/**
|
|
234
|
+
/**
|
|
235
|
+
* Current specs of the offer.
|
|
236
|
+
*/
|
|
161
237
|
description: string;
|
|
162
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Number of virtual CPUs.
|
|
240
|
+
*/
|
|
163
241
|
vcpus: number;
|
|
164
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Quantity of RAM.
|
|
244
|
+
*/
|
|
165
245
|
memory: number;
|
|
166
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Quantity of GPU RAM.
|
|
248
|
+
*/
|
|
167
249
|
vram: number;
|
|
168
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* The node type is currently disabled.
|
|
252
|
+
*/
|
|
169
253
|
disabled: boolean;
|
|
170
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* The node type is currently in beta.
|
|
256
|
+
*/
|
|
171
257
|
beta: boolean;
|
|
172
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Creation date of the node type.
|
|
260
|
+
*/
|
|
173
261
|
createdAt?: Date;
|
|
174
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Last modification date of the node type.
|
|
264
|
+
*/
|
|
175
265
|
updatedAt?: Date;
|
|
176
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Number of GPUs.
|
|
268
|
+
*/
|
|
177
269
|
gpus: number;
|
|
178
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Region of the node type.
|
|
272
|
+
*/
|
|
179
273
|
region: ScwRegion;
|
|
180
274
|
}
|
|
181
275
|
export type AddDeploymentACLRulesRequest = {
|
|
182
276
|
/**
|
|
183
|
-
* Region to target. If none is passed will use default region from the
|
|
184
|
-
* config.
|
|
277
|
+
* Region to target. If none is passed will use default region from the config.
|
|
185
278
|
*/
|
|
186
279
|
region?: ScwRegion;
|
|
187
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* ID of the deployment to add ACL rules to.
|
|
282
|
+
*/
|
|
188
283
|
deploymentId: string;
|
|
189
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* List of ACL rules to add.
|
|
286
|
+
*/
|
|
190
287
|
acls?: ACLRuleRequest[];
|
|
191
288
|
};
|
|
192
289
|
export interface AddDeploymentACLRulesResponse {
|
|
193
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* List of ACL rules added.
|
|
292
|
+
*/
|
|
194
293
|
rules: ACLRule[];
|
|
195
294
|
}
|
|
196
295
|
export type CreateDeploymentRequest = {
|
|
197
296
|
/**
|
|
198
|
-
* Region to target. If none is passed will use default region from the
|
|
199
|
-
* config.
|
|
297
|
+
* Region to target. If none is passed will use default region from the config.
|
|
200
298
|
*/
|
|
201
299
|
region?: ScwRegion;
|
|
202
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* Name of the deployment.
|
|
302
|
+
*/
|
|
203
303
|
name?: string;
|
|
204
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* ID of the Project to create the deployment in.
|
|
306
|
+
*/
|
|
205
307
|
projectId?: string;
|
|
206
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* Name of the model to use.
|
|
310
|
+
*/
|
|
207
311
|
modelName: string;
|
|
208
312
|
/**
|
|
209
|
-
* If the model has an EULA, you must accept it before proceeding.
|
|
210
|
-
|
|
313
|
+
* If the model has an EULA, you must accept it before proceeding.
|
|
314
|
+
The terms of the EULA can be retrieved using the `GetModelEula` API call.
|
|
211
315
|
*/
|
|
212
316
|
acceptEula?: boolean;
|
|
213
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* Name of the node type to use.
|
|
319
|
+
*/
|
|
214
320
|
nodeType: string;
|
|
215
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* List of tags to apply to the deployment.
|
|
323
|
+
*/
|
|
216
324
|
tags?: string[];
|
|
217
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* Defines the minimum size of the pool.
|
|
327
|
+
*/
|
|
218
328
|
minSize?: number;
|
|
219
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Defines the maximum size of the pool.
|
|
331
|
+
*/
|
|
220
332
|
maxSize?: number;
|
|
221
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* List of endpoints to create.
|
|
335
|
+
*/
|
|
222
336
|
endpoints: EndpointSpec[];
|
|
223
337
|
};
|
|
224
338
|
export type CreateEndpointRequest = {
|
|
225
339
|
/**
|
|
226
|
-
* Region to target. If none is passed will use default region from the
|
|
227
|
-
* config.
|
|
340
|
+
* Region to target. If none is passed will use default region from the config.
|
|
228
341
|
*/
|
|
229
342
|
region?: ScwRegion;
|
|
230
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* ID of the deployment to create the endpoint for.
|
|
345
|
+
*/
|
|
231
346
|
deploymentId: string;
|
|
232
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* Specification of the endpoint.
|
|
349
|
+
*/
|
|
233
350
|
endpoint: EndpointSpec;
|
|
234
351
|
};
|
|
235
352
|
export type DeleteDeploymentACLRuleRequest = {
|
|
236
353
|
/**
|
|
237
|
-
* Region to target. If none is passed will use default region from the
|
|
238
|
-
* config.
|
|
354
|
+
* Region to target. If none is passed will use default region from the config.
|
|
239
355
|
*/
|
|
240
356
|
region?: ScwRegion;
|
|
241
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* ID of the ACL rule to delete.
|
|
359
|
+
*/
|
|
242
360
|
aclId: string;
|
|
243
361
|
};
|
|
244
362
|
export type DeleteDeploymentRequest = {
|
|
245
363
|
/**
|
|
246
|
-
* Region to target. If none is passed will use default region from the
|
|
247
|
-
* config.
|
|
364
|
+
* Region to target. If none is passed will use default region from the config.
|
|
248
365
|
*/
|
|
249
366
|
region?: ScwRegion;
|
|
250
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of the deployment to delete.
|
|
369
|
+
*/
|
|
251
370
|
deploymentId: string;
|
|
252
371
|
};
|
|
253
372
|
export type DeleteEndpointRequest = {
|
|
254
373
|
/**
|
|
255
|
-
* Region to target. If none is passed will use default region from the
|
|
256
|
-
* config.
|
|
374
|
+
* Region to target. If none is passed will use default region from the config.
|
|
257
375
|
*/
|
|
258
376
|
region?: ScwRegion;
|
|
259
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* ID of the endpoint to delete.
|
|
379
|
+
*/
|
|
260
380
|
endpointId: string;
|
|
261
381
|
};
|
|
262
382
|
export interface Eula {
|
|
263
|
-
/**
|
|
383
|
+
/**
|
|
384
|
+
* Content of the end user license agreement.
|
|
385
|
+
*/
|
|
264
386
|
content: string;
|
|
265
387
|
}
|
|
266
388
|
export type GetDeploymentCertificateRequest = {
|
|
267
389
|
/**
|
|
268
|
-
* Region to target. If none is passed will use default region from the
|
|
269
|
-
* config.
|
|
390
|
+
* Region to target. If none is passed will use default region from the config.
|
|
270
391
|
*/
|
|
271
392
|
region?: ScwRegion;
|
|
272
393
|
deploymentId: string;
|
|
273
394
|
};
|
|
274
395
|
export type GetDeploymentRequest = {
|
|
275
396
|
/**
|
|
276
|
-
* Region to target. If none is passed will use default region from the
|
|
277
|
-
* config.
|
|
397
|
+
* Region to target. If none is passed will use default region from the config.
|
|
278
398
|
*/
|
|
279
399
|
region?: ScwRegion;
|
|
280
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* ID of the deployment to get.
|
|
402
|
+
*/
|
|
281
403
|
deploymentId: string;
|
|
282
404
|
};
|
|
283
405
|
export type GetModelEulaRequest = {
|
|
284
406
|
/**
|
|
285
|
-
* Region to target. If none is passed will use default region from the
|
|
286
|
-
* config.
|
|
407
|
+
* Region to target. If none is passed will use default region from the config.
|
|
287
408
|
*/
|
|
288
409
|
region?: ScwRegion;
|
|
289
410
|
modelId: string;
|
|
290
411
|
};
|
|
291
412
|
export type GetModelRequest = {
|
|
292
413
|
/**
|
|
293
|
-
* Region to target. If none is passed will use default region from the
|
|
294
|
-
* config.
|
|
414
|
+
* Region to target. If none is passed will use default region from the config.
|
|
295
415
|
*/
|
|
296
416
|
region?: ScwRegion;
|
|
297
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* ID of the model to get.
|
|
419
|
+
*/
|
|
298
420
|
modelId: string;
|
|
299
421
|
};
|
|
300
422
|
export type ListDeploymentACLRulesRequest = {
|
|
301
423
|
/**
|
|
302
|
-
* Region to target. If none is passed will use default region from the
|
|
303
|
-
* config.
|
|
424
|
+
* Region to target. If none is passed will use default region from the config.
|
|
304
425
|
*/
|
|
305
426
|
region?: ScwRegion;
|
|
306
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* ID of the deployment to list ACL rules for.
|
|
429
|
+
*/
|
|
307
430
|
deploymentId: string;
|
|
308
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* Page number to return.
|
|
433
|
+
*/
|
|
309
434
|
page?: number;
|
|
310
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Maximum number of ACL rules to return per page.
|
|
437
|
+
*/
|
|
311
438
|
pageSize?: number;
|
|
312
439
|
};
|
|
313
440
|
export interface ListDeploymentACLRulesResponse {
|
|
314
|
-
/**
|
|
441
|
+
/**
|
|
442
|
+
* List of ACL rules on the current page.
|
|
443
|
+
*/
|
|
315
444
|
rules: ACLRule[];
|
|
316
|
-
/**
|
|
445
|
+
/**
|
|
446
|
+
* Total number of ACL rules.
|
|
447
|
+
*/
|
|
317
448
|
totalCount: number;
|
|
318
449
|
}
|
|
319
450
|
export type ListDeploymentsRequest = {
|
|
320
451
|
/**
|
|
321
|
-
* Region to target. If none is passed will use default region from the
|
|
322
|
-
* config.
|
|
452
|
+
* Region to target. If none is passed will use default region from the config.
|
|
323
453
|
*/
|
|
324
454
|
region?: ScwRegion;
|
|
325
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* Page number to return.
|
|
457
|
+
*/
|
|
326
458
|
page?: number;
|
|
327
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* Maximum number of deployments to return per page.
|
|
461
|
+
*/
|
|
328
462
|
pageSize?: number;
|
|
329
|
-
/**
|
|
463
|
+
/**
|
|
464
|
+
* Order in which to return results.
|
|
465
|
+
*/
|
|
330
466
|
orderBy?: ListDeploymentsRequestOrderBy;
|
|
331
|
-
/**
|
|
467
|
+
/**
|
|
468
|
+
* Filter by Project ID.
|
|
469
|
+
*/
|
|
332
470
|
projectId?: string;
|
|
333
|
-
/**
|
|
471
|
+
/**
|
|
472
|
+
* Filter by Organization ID.
|
|
473
|
+
*/
|
|
334
474
|
organizationId?: string;
|
|
335
|
-
/**
|
|
475
|
+
/**
|
|
476
|
+
* Filter by deployment name.
|
|
477
|
+
*/
|
|
336
478
|
name?: string;
|
|
337
|
-
/**
|
|
479
|
+
/**
|
|
480
|
+
* Filter by tags.
|
|
481
|
+
*/
|
|
338
482
|
tags?: string[];
|
|
339
483
|
};
|
|
340
484
|
export interface ListDeploymentsResponse {
|
|
341
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* List of deployments on the current page.
|
|
487
|
+
*/
|
|
342
488
|
deployments: Deployment[];
|
|
343
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* Total number of deployments.
|
|
491
|
+
*/
|
|
344
492
|
totalCount: number;
|
|
345
493
|
}
|
|
346
494
|
export type ListModelsRequest = {
|
|
347
495
|
/**
|
|
348
|
-
* Region to target. If none is passed will use default region from the
|
|
349
|
-
* config.
|
|
496
|
+
* Region to target. If none is passed will use default region from the config.
|
|
350
497
|
*/
|
|
351
498
|
region?: ScwRegion;
|
|
352
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Order in which to return results.
|
|
501
|
+
*/
|
|
353
502
|
orderBy?: ListModelsRequestOrderBy;
|
|
354
|
-
/**
|
|
503
|
+
/**
|
|
504
|
+
* Page number to return.
|
|
505
|
+
*/
|
|
355
506
|
page?: number;
|
|
356
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* Maximum number of models to return per page.
|
|
509
|
+
*/
|
|
357
510
|
pageSize?: number;
|
|
358
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* Filter by Project ID.
|
|
513
|
+
*/
|
|
359
514
|
projectId?: string;
|
|
360
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* Filter by model name.
|
|
517
|
+
*/
|
|
361
518
|
name?: string;
|
|
362
|
-
/**
|
|
519
|
+
/**
|
|
520
|
+
* Filter by tags.
|
|
521
|
+
*/
|
|
363
522
|
tags?: string[];
|
|
364
523
|
};
|
|
365
524
|
export interface ListModelsResponse {
|
|
366
|
-
/**
|
|
525
|
+
/**
|
|
526
|
+
* List of models on the current page.
|
|
527
|
+
*/
|
|
367
528
|
models: Model[];
|
|
368
|
-
/**
|
|
529
|
+
/**
|
|
530
|
+
* Total number of models.
|
|
531
|
+
*/
|
|
369
532
|
totalCount: number;
|
|
370
533
|
}
|
|
371
534
|
export type ListNodeTypesRequest = {
|
|
372
535
|
/**
|
|
373
|
-
* Region to target. If none is passed will use default region from the
|
|
374
|
-
* config.
|
|
536
|
+
* Region to target. If none is passed will use default region from the config.
|
|
375
537
|
*/
|
|
376
538
|
region?: ScwRegion;
|
|
377
|
-
/**
|
|
539
|
+
/**
|
|
540
|
+
* Page number to return.
|
|
541
|
+
*/
|
|
378
542
|
page?: number;
|
|
379
|
-
/**
|
|
543
|
+
/**
|
|
544
|
+
* Maximum number of node types to return per page.
|
|
545
|
+
*/
|
|
380
546
|
pageSize?: number;
|
|
381
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* Include disabled node types in the response.
|
|
549
|
+
*/
|
|
382
550
|
includeDisabledTypes: boolean;
|
|
383
551
|
};
|
|
384
552
|
export interface ListNodeTypesResponse {
|
|
385
|
-
/**
|
|
553
|
+
/**
|
|
554
|
+
* List of node types.
|
|
555
|
+
*/
|
|
386
556
|
nodeTypes: NodeType[];
|
|
387
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Total number of node types.
|
|
559
|
+
*/
|
|
388
560
|
totalCount: number;
|
|
389
561
|
}
|
|
390
562
|
export type SetDeploymentACLRulesRequest = {
|
|
391
563
|
/**
|
|
392
|
-
* Region to target. If none is passed will use default region from the
|
|
393
|
-
* config.
|
|
564
|
+
* Region to target. If none is passed will use default region from the config.
|
|
394
565
|
*/
|
|
395
566
|
region?: ScwRegion;
|
|
396
|
-
/**
|
|
567
|
+
/**
|
|
568
|
+
* ID of the deployment to set ACL rules for.
|
|
569
|
+
*/
|
|
397
570
|
deploymentId: string;
|
|
398
|
-
/**
|
|
571
|
+
/**
|
|
572
|
+
* All existing ACL rules will be replaced by the new ones.
|
|
573
|
+
*/
|
|
399
574
|
acls?: ACLRuleRequest[];
|
|
400
575
|
};
|
|
401
576
|
export interface SetDeploymentACLRulesResponse {
|
|
402
|
-
/**
|
|
577
|
+
/**
|
|
578
|
+
* List of ACL rules that were set.
|
|
579
|
+
*/
|
|
403
580
|
rules: ACLRule[];
|
|
404
581
|
}
|
|
405
582
|
export type UpdateDeploymentRequest = {
|
|
406
583
|
/**
|
|
407
|
-
* Region to target. If none is passed will use default region from the
|
|
408
|
-
* config.
|
|
584
|
+
* Region to target. If none is passed will use default region from the config.
|
|
409
585
|
*/
|
|
410
586
|
region?: ScwRegion;
|
|
411
|
-
/**
|
|
587
|
+
/**
|
|
588
|
+
* ID of the deployment to update.
|
|
589
|
+
*/
|
|
412
590
|
deploymentId: string;
|
|
413
|
-
/**
|
|
591
|
+
/**
|
|
592
|
+
* Name of the deployment.
|
|
593
|
+
*/
|
|
414
594
|
name?: string;
|
|
415
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* List of tags to apply to the deployment.
|
|
597
|
+
*/
|
|
416
598
|
tags?: string[];
|
|
417
|
-
/**
|
|
599
|
+
/**
|
|
600
|
+
* Defines the new minimum size of the pool.
|
|
601
|
+
*/
|
|
418
602
|
minSize?: number;
|
|
419
|
-
/**
|
|
603
|
+
/**
|
|
604
|
+
* Defines the new maximum size of the pool.
|
|
605
|
+
*/
|
|
420
606
|
maxSize?: number;
|
|
421
607
|
};
|
|
422
608
|
export type UpdateEndpointRequest = {
|
|
423
609
|
/**
|
|
424
|
-
* Region to target. If none is passed will use default region from the
|
|
425
|
-
* config.
|
|
610
|
+
* Region to target. If none is passed will use default region from the config.
|
|
426
611
|
*/
|
|
427
612
|
region?: ScwRegion;
|
|
428
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* ID of the endpoint to update.
|
|
615
|
+
*/
|
|
429
616
|
endpointId: string;
|
|
430
617
|
/**
|
|
431
|
-
* By default, deployments are protected by IAM authentication.
|
|
432
|
-
|
|
618
|
+
* By default, deployments are protected by IAM authentication.
|
|
619
|
+
When setting this field to true, the authentication will be disabled.
|
|
433
620
|
*/
|
|
434
621
|
disableAuth?: boolean;
|
|
435
622
|
};
|