@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
|
@@ -6,17 +6,29 @@ export type QualificationArchitectureType = 'unknown_architecture_type' | 'objec
|
|
|
6
6
|
export type QualificationHostApplicationSubUseCase = 'unknown_sub_use_case' | 'saas_app' | 'government_app';
|
|
7
7
|
export type QualificationHostWebsiteSubUseCase = 'unknown_sub_use_case' | 'information_website' | 'ecommerce_website' | 'high_website' | 'other_sub_use_case';
|
|
8
8
|
export interface Contract {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* ID of the contract.
|
|
11
|
+
*/
|
|
10
12
|
id: string;
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The type of the contract.
|
|
15
|
+
*/
|
|
12
16
|
type: ContractType;
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The name of the contract.
|
|
19
|
+
*/
|
|
14
20
|
name: string;
|
|
15
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The version of the contract.
|
|
23
|
+
*/
|
|
16
24
|
version: number;
|
|
17
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The creation date of the contract.
|
|
27
|
+
*/
|
|
18
28
|
createdAt?: Date;
|
|
19
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* The last modification date of the contract.
|
|
31
|
+
*/
|
|
20
32
|
updatedAt?: Date;
|
|
21
33
|
}
|
|
22
34
|
export interface QualificationAiMachine {
|
|
@@ -40,197 +52,287 @@ export interface QualificationSetScalewayEnvironment {
|
|
|
40
52
|
export interface QualificationShareData {
|
|
41
53
|
}
|
|
42
54
|
export interface ContractSignature {
|
|
43
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* ID of the contract signature.
|
|
57
|
+
*/
|
|
44
58
|
id: string;
|
|
45
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* The Organization ID which signed the contract.
|
|
61
|
+
*/
|
|
46
62
|
organizationId: string;
|
|
47
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* The creation date of the contract signature.
|
|
65
|
+
*/
|
|
48
66
|
createdAt?: Date;
|
|
49
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* The signing date of the contract signature.
|
|
69
|
+
*/
|
|
50
70
|
signedAt?: Date;
|
|
51
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* The expiration date of the contract signature.
|
|
73
|
+
*/
|
|
52
74
|
expiresAt?: Date;
|
|
53
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* The contract signed.
|
|
77
|
+
*/
|
|
54
78
|
contract?: Contract;
|
|
55
79
|
}
|
|
56
80
|
export interface Project {
|
|
57
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* ID of the Project.
|
|
83
|
+
*/
|
|
58
84
|
id: string;
|
|
59
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Name of the Project.
|
|
87
|
+
*/
|
|
60
88
|
name: string;
|
|
61
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Organization ID of the Project.
|
|
91
|
+
*/
|
|
62
92
|
organizationId: string;
|
|
63
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Creation date of the Project.
|
|
95
|
+
*/
|
|
64
96
|
createdAt?: Date;
|
|
65
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Update date of the Project.
|
|
99
|
+
*/
|
|
66
100
|
updatedAt?: Date;
|
|
67
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Description of the Project.
|
|
103
|
+
*/
|
|
68
104
|
description: string;
|
|
69
105
|
}
|
|
70
106
|
export interface Qualification {
|
|
71
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* Architecture type of the qualification.
|
|
109
|
+
*/
|
|
72
110
|
architectureType: QualificationArchitectureType;
|
|
73
111
|
/**
|
|
74
|
-
*
|
|
75
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
76
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
112
|
+
*
|
|
113
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
77
114
|
*/
|
|
78
115
|
hostWebsite?: QualificationHostWebsite;
|
|
79
116
|
/**
|
|
80
|
-
*
|
|
81
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
82
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
117
|
+
*
|
|
118
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
83
119
|
*/
|
|
84
120
|
hostApplication?: QualificationHostApplication;
|
|
85
121
|
/**
|
|
86
|
-
*
|
|
87
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
88
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
122
|
+
*
|
|
123
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
89
124
|
*/
|
|
90
125
|
deploySoftware?: QualificationDeploySoftware;
|
|
91
126
|
/**
|
|
92
|
-
*
|
|
93
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
94
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
127
|
+
*
|
|
128
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
95
129
|
*/
|
|
96
130
|
setScalewayEnvironment?: QualificationSetScalewayEnvironment;
|
|
97
131
|
/**
|
|
98
|
-
*
|
|
99
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
100
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
132
|
+
*
|
|
133
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
101
134
|
*/
|
|
102
135
|
aiMachine?: QualificationAiMachine;
|
|
103
136
|
/**
|
|
104
|
-
*
|
|
105
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
106
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
137
|
+
*
|
|
138
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
107
139
|
*/
|
|
108
140
|
container?: QualificationContainer;
|
|
109
141
|
/**
|
|
110
|
-
*
|
|
111
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
112
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
142
|
+
*
|
|
143
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
113
144
|
*/
|
|
114
145
|
archiveData?: QualificationArchiveData;
|
|
115
146
|
/**
|
|
116
|
-
*
|
|
117
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
118
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
147
|
+
*
|
|
148
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
119
149
|
*/
|
|
120
150
|
shareData?: QualificationShareData;
|
|
121
151
|
/**
|
|
122
|
-
*
|
|
123
|
-
* 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container',
|
|
124
|
-
* 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
152
|
+
*
|
|
153
|
+
* One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication', 'deploySoftware', 'setScalewayEnvironment', 'aiMachine', 'container', 'archiveData', 'shareData', 'otherUseCase' could be set.
|
|
125
154
|
*/
|
|
126
155
|
otherUseCase?: QualificationOtherUseCase;
|
|
127
156
|
}
|
|
128
157
|
export interface CheckContractSignatureResponse {
|
|
129
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Whether a signature has been requested for this contract.
|
|
160
|
+
*/
|
|
130
161
|
created: boolean;
|
|
131
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Whether the signature for this contract has been validated.
|
|
164
|
+
*/
|
|
132
165
|
validated: boolean;
|
|
133
166
|
}
|
|
134
167
|
export type ContractApiCheckContractSignatureRequest = {
|
|
135
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* ID of the Organization to check the contract signature for.
|
|
170
|
+
*/
|
|
136
171
|
organizationId?: string;
|
|
137
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Filter on contract type.
|
|
174
|
+
*/
|
|
138
175
|
contractType?: ContractType;
|
|
139
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Filter on contract name.
|
|
178
|
+
*/
|
|
140
179
|
contractName: string;
|
|
141
180
|
};
|
|
142
181
|
export type ContractApiCreateContractSignatureRequest = {
|
|
143
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* The type of the contract.
|
|
184
|
+
*/
|
|
144
185
|
contractType?: ContractType;
|
|
145
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* The name of the contract.
|
|
188
|
+
*/
|
|
146
189
|
contractName: string;
|
|
147
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Whether the contract is validated at creation.
|
|
192
|
+
*/
|
|
148
193
|
validated: boolean;
|
|
149
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* ID of the Organization.
|
|
196
|
+
*/
|
|
150
197
|
organizationId?: string;
|
|
151
198
|
};
|
|
152
199
|
export type ContractApiDownloadContractSignatureRequest = {
|
|
153
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* The contract signature ID.
|
|
202
|
+
*/
|
|
154
203
|
contractSignatureId: string;
|
|
155
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* The locale requested for the content of the contract.
|
|
206
|
+
*/
|
|
156
207
|
locale?: StdLanguageCode;
|
|
157
208
|
};
|
|
158
209
|
export type ContractApiListContractSignaturesRequest = {
|
|
159
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* The page number for the returned contracts.
|
|
212
|
+
*/
|
|
160
213
|
page?: number;
|
|
161
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* The maximum number of contracts per page.
|
|
216
|
+
*/
|
|
162
217
|
pageSize?: number;
|
|
163
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* How the contracts are ordered in the response.
|
|
220
|
+
*/
|
|
164
221
|
orderBy?: ListContractSignaturesRequestOrderBy;
|
|
165
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* Filter on Organization ID.
|
|
224
|
+
*/
|
|
166
225
|
organizationId?: string;
|
|
167
226
|
};
|
|
168
227
|
export type ContractApiValidateContractSignatureRequest = {
|
|
169
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* The contract linked to your Organization you want to sign.
|
|
230
|
+
*/
|
|
170
231
|
contractSignatureId: string;
|
|
171
232
|
};
|
|
172
233
|
export interface ListContractSignaturesResponse {
|
|
173
|
-
/**
|
|
234
|
+
/**
|
|
235
|
+
* The total number of contract signatures.
|
|
236
|
+
*/
|
|
174
237
|
totalCount: number;
|
|
175
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* The paginated returned contract signatures.
|
|
240
|
+
*/
|
|
176
241
|
contractSignatures: ContractSignature[];
|
|
177
242
|
}
|
|
178
243
|
export interface ListProjectsResponse {
|
|
179
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* Total number of Projects.
|
|
246
|
+
*/
|
|
180
247
|
totalCount: number;
|
|
181
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Paginated returned Projects.
|
|
250
|
+
*/
|
|
182
251
|
projects: Project[];
|
|
183
252
|
}
|
|
184
253
|
export type ProjectApiCreateProjectRequest = {
|
|
185
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Name of the Project.
|
|
256
|
+
*/
|
|
186
257
|
name?: string;
|
|
187
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Organization ID of the Project.
|
|
260
|
+
*/
|
|
188
261
|
organizationId?: string;
|
|
189
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Description of the Project.
|
|
264
|
+
*/
|
|
190
265
|
description: string;
|
|
191
266
|
};
|
|
192
267
|
export type ProjectApiDeleteProjectRequest = {
|
|
193
|
-
/**
|
|
268
|
+
/**
|
|
269
|
+
* Project ID of the Project.
|
|
270
|
+
*/
|
|
194
271
|
projectId?: string;
|
|
195
272
|
};
|
|
196
273
|
export type ProjectApiGetProjectRequest = {
|
|
197
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Project ID of the Project.
|
|
276
|
+
*/
|
|
198
277
|
projectId?: string;
|
|
199
278
|
};
|
|
200
279
|
export type ProjectApiListProjectsRequest = {
|
|
201
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* Organization ID of the Project.
|
|
282
|
+
*/
|
|
202
283
|
organizationId?: string;
|
|
203
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* Name of the Project.
|
|
286
|
+
*/
|
|
204
287
|
name?: string;
|
|
205
|
-
/**
|
|
288
|
+
/**
|
|
289
|
+
* Page number for the returned Projects.
|
|
290
|
+
*/
|
|
206
291
|
page?: number;
|
|
207
|
-
/**
|
|
292
|
+
/**
|
|
293
|
+
* Maximum number of Project per page.
|
|
294
|
+
*/
|
|
208
295
|
pageSize?: number;
|
|
209
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Sort order of the returned Projects.
|
|
298
|
+
*/
|
|
210
299
|
orderBy?: ListProjectsRequestOrderBy;
|
|
211
300
|
/**
|
|
212
|
-
* Project IDs to filter for. The results will be limited to any Projects with
|
|
213
|
-
* an ID in this array.
|
|
301
|
+
* Project IDs to filter for. The results will be limited to any Projects with an ID in this array.
|
|
214
302
|
*/
|
|
215
303
|
projectIds?: string[];
|
|
216
304
|
};
|
|
217
305
|
export type ProjectApiSetProjectQualificationRequest = {
|
|
218
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Project ID.
|
|
308
|
+
*/
|
|
219
309
|
projectId?: string;
|
|
220
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* Use case chosen for the Project.
|
|
312
|
+
*/
|
|
221
313
|
qualification?: Qualification;
|
|
222
314
|
};
|
|
223
315
|
export type ProjectApiUpdateProjectRequest = {
|
|
224
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Project ID of the Project.
|
|
318
|
+
*/
|
|
225
319
|
projectId?: string;
|
|
226
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Name of the Project.
|
|
322
|
+
*/
|
|
227
323
|
name?: string;
|
|
228
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* Description of the Project.
|
|
326
|
+
*/
|
|
229
327
|
description?: string;
|
|
230
328
|
};
|
|
231
329
|
export interface ProjectQualification {
|
|
232
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* Project ID.
|
|
332
|
+
*/
|
|
233
333
|
projectId: string;
|
|
234
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* Qualification of the Project.
|
|
336
|
+
*/
|
|
235
337
|
qualification?: Qualification;
|
|
236
338
|
}
|
|
@@ -15,9 +15,7 @@ class API extends api.API {
|
|
|
15
15
|
/** Lists the available zones of the API. */
|
|
16
16
|
static LOCALITIES = ["fr-par-3"];
|
|
17
17
|
/**
|
|
18
|
-
* List server types. List all technical details about Apple silicon server
|
|
19
|
-
* types available in the specified zone. Since there is only one Availability
|
|
20
|
-
* Zone for Apple silicon servers, the targeted value is `fr-par-3`.
|
|
18
|
+
* List server types. List all technical details about Apple silicon server types available in the specified zone. Since there is only one Availability Zone for Apple silicon servers, the targeted value is `fr-par-3`.
|
|
21
19
|
*
|
|
22
20
|
* @param request - The request {@link ListServerTypesRequest}
|
|
23
21
|
* @returns A Promise of ListServerTypesResponse
|
|
@@ -30,8 +28,7 @@ class API extends api.API {
|
|
|
30
28
|
marshalling_gen.unmarshalListServerTypesResponse
|
|
31
29
|
);
|
|
32
30
|
/**
|
|
33
|
-
* Get a server type. Get technical details (CPU, disk size etc.) of a server
|
|
34
|
-
* type.
|
|
31
|
+
* Get a server type. Get technical details (CPU, disk size etc.) of a server type.
|
|
35
32
|
*
|
|
36
33
|
* @param request - The request {@link GetServerTypeRequest}
|
|
37
34
|
* @returns A Promise of ServerType
|
|
@@ -44,8 +41,7 @@ class API extends api.API {
|
|
|
44
41
|
marshalling_gen.unmarshalServerType
|
|
45
42
|
);
|
|
46
43
|
/**
|
|
47
|
-
* Create a server. Create a new server in the targeted zone, specifying its
|
|
48
|
-
* configuration including name and type.
|
|
44
|
+
* Create a server. Create a new server in the targeted zone, specifying its configuration including name and type.
|
|
49
45
|
*
|
|
50
46
|
* @param request - The request {@link CreateServerRequest}
|
|
51
47
|
* @returns A Promise of Server
|
|
@@ -79,9 +75,7 @@ class API extends api.API {
|
|
|
79
75
|
marshalling_gen.unmarshalListServersResponse
|
|
80
76
|
);
|
|
81
77
|
/**
|
|
82
|
-
* List all servers. List all servers in the specified zone. By default,
|
|
83
|
-
* returned servers in the list are ordered by creation date in ascending
|
|
84
|
-
* order, though this can be modified via the `order_by` field.
|
|
78
|
+
* List all servers. List all servers in the specified zone. By default, returned servers in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
85
79
|
*
|
|
86
80
|
* @param request - The request {@link ListServersRequest}
|
|
87
81
|
* @returns A Promise of ListServersResponse
|
|
@@ -104,17 +98,14 @@ class API extends api.API {
|
|
|
104
98
|
marshalling_gen.unmarshalListOSResponse
|
|
105
99
|
);
|
|
106
100
|
/**
|
|
107
|
-
* List all Operating Systems (OS). List all Operating Systems (OS). The
|
|
108
|
-
* response will include the total number of OS as well as their associated
|
|
109
|
-
* IDs, names and labels.
|
|
101
|
+
* List all Operating Systems (OS). List all Operating Systems (OS). The response will include the total number of OS as well as their associated IDs, names and labels.
|
|
110
102
|
*
|
|
111
103
|
* @param request - The request {@link ListOSRequest}
|
|
112
104
|
* @returns A Promise of ListOSResponse
|
|
113
105
|
*/
|
|
114
106
|
listOS = (request = {}) => resourcePaginator.enrichForPagination("os", this.pageOfListOS, request);
|
|
115
107
|
/**
|
|
116
|
-
* Get an Operating System (OS). Get an Operating System (OS).
|
|
117
|
-
* will include the OS's unique ID as well as its name and label.
|
|
108
|
+
* Get an Operating System (OS). Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label.
|
|
118
109
|
*
|
|
119
110
|
* @param request - The request {@link GetOSRequest}
|
|
120
111
|
* @returns A Promise of OS
|
|
@@ -127,9 +118,7 @@ class API extends api.API {
|
|
|
127
118
|
marshalling_gen.unmarshalOS
|
|
128
119
|
);
|
|
129
120
|
/**
|
|
130
|
-
* Get a server. Retrieve information about an existing Apple silicon server,
|
|
131
|
-
* specified by its server ID. Its full details, including name, status and IP
|
|
132
|
-
* address, are returned in the response object.
|
|
121
|
+
* Get a server. Retrieve information about an existing Apple silicon server, specified by its server ID. Its full details, including name, status and IP address, are returned in the response object.
|
|
133
122
|
*
|
|
134
123
|
* @param request - The request {@link GetServerRequest}
|
|
135
124
|
* @returns A Promise of Server
|
|
@@ -157,8 +146,7 @@ class API extends api.API {
|
|
|
157
146
|
options
|
|
158
147
|
);
|
|
159
148
|
/**
|
|
160
|
-
* Update a server. Update the parameters of an existing Apple silicon server,
|
|
161
|
-
* specified by its server ID.
|
|
149
|
+
* Update a server. Update the parameters of an existing Apple silicon server, specified by its server ID.
|
|
162
150
|
*
|
|
163
151
|
* @param request - The request {@link UpdateServerRequest}
|
|
164
152
|
* @returns A Promise of Server
|
|
@@ -175,10 +163,7 @@ class API extends api.API {
|
|
|
175
163
|
marshalling_gen.unmarshalServer
|
|
176
164
|
);
|
|
177
165
|
/**
|
|
178
|
-
* Delete a server. Delete an existing Apple silicon server, specified by its
|
|
179
|
-
* server ID. Deleting a server is permanent, and cannot be undone. Note that
|
|
180
|
-
* the minimum allocation period for Apple silicon-as-a-service is 24 hours,
|
|
181
|
-
* meaning you cannot delete your server prior to that.
|
|
166
|
+
* Delete a server. Delete an existing Apple silicon server, specified by its server ID. Deleting a server is permanent, and cannot be undone. Note that the minimum allocation period for Apple silicon-as-a-service is 24 hours, meaning you cannot delete your server prior to that.
|
|
182
167
|
*
|
|
183
168
|
* @param request - The request {@link DeleteServerRequest}
|
|
184
169
|
*/
|
|
@@ -187,8 +172,7 @@ class API extends api.API {
|
|
|
187
172
|
path: `/apple-silicon/v1alpha1/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${marshalling.validatePathParam("serverId", request.serverId)}`
|
|
188
173
|
});
|
|
189
174
|
/**
|
|
190
|
-
* Reboot a server. Reboot an existing Apple silicon server, specified by its
|
|
191
|
-
* server ID.
|
|
175
|
+
* Reboot a server. Reboot an existing Apple silicon server, specified by its server ID.
|
|
192
176
|
*
|
|
193
177
|
* @param request - The request {@link RebootServerRequest}
|
|
194
178
|
* @returns A Promise of Server
|
|
@@ -203,10 +187,7 @@ class API extends api.API {
|
|
|
203
187
|
marshalling_gen.unmarshalServer
|
|
204
188
|
);
|
|
205
189
|
/**
|
|
206
|
-
* Reinstall a server. Reinstall an existing Apple silicon server (specified
|
|
207
|
-
* by its server ID) from a new image (OS). All the data on the disk is
|
|
208
|
-
* deleted and all configuration is reset to the defailt configuration values
|
|
209
|
-
* of the image (OS).
|
|
190
|
+
* Reinstall a server. Reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
|
|
210
191
|
*
|
|
211
192
|
* @param request - The request {@link ReinstallServerRequest}
|
|
212
193
|
* @returns A Promise of Server
|
|
@@ -257,8 +238,7 @@ class PrivateNetworkAPI extends api.API {
|
|
|
257
238
|
/**
|
|
258
239
|
* Waits for {@link ServerPrivateNetwork} to be in a final state.
|
|
259
240
|
*
|
|
260
|
-
* @param request - The request
|
|
261
|
-
* {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
|
|
241
|
+
* @param request - The request {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
|
|
262
242
|
* @param options - The waiting options
|
|
263
243
|
* @returns A Promise of ServerPrivateNetwork
|
|
264
244
|
*/
|
|
@@ -273,11 +253,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
273
253
|
options
|
|
274
254
|
);
|
|
275
255
|
/**
|
|
276
|
-
* Add a server to a Private Network. Add an Apple silicon server to a Private
|
|
277
|
-
* Network.
|
|
256
|
+
* Add a server to a Private Network. Add an Apple silicon server to a Private Network.
|
|
278
257
|
*
|
|
279
|
-
* @param request - The request
|
|
280
|
-
* {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
258
|
+
* @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
281
259
|
* @returns A Promise of ServerPrivateNetwork
|
|
282
260
|
*/
|
|
283
261
|
addServerPrivateNetwork = (request) => this.client.fetch(
|
|
@@ -295,11 +273,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
295
273
|
marshalling_gen.unmarshalServerPrivateNetwork
|
|
296
274
|
);
|
|
297
275
|
/**
|
|
298
|
-
* Set multiple Private Networks on a server. Configure multiple Private
|
|
299
|
-
* Networks on an Apple silicon server.
|
|
276
|
+
* Set multiple Private Networks on a server. Configure multiple Private Networks on an Apple silicon server.
|
|
300
277
|
*
|
|
301
|
-
* @param request - The request
|
|
302
|
-
* {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
278
|
+
* @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
303
279
|
* @returns A Promise of SetServerPrivateNetworksResponse
|
|
304
280
|
*/
|
|
305
281
|
setServerPrivateNetworks = (request) => this.client.fetch(
|
|
@@ -337,11 +313,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
337
313
|
marshalling_gen.unmarshalListServerPrivateNetworksResponse
|
|
338
314
|
);
|
|
339
315
|
/**
|
|
340
|
-
* List the Private Networks of a server. List the Private Networks of an
|
|
341
|
-
* Apple silicon server.
|
|
316
|
+
* List the Private Networks of a server. List the Private Networks of an Apple silicon server.
|
|
342
317
|
*
|
|
343
|
-
* @param request - The request
|
|
344
|
-
* {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
318
|
+
* @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
345
319
|
* @returns A Promise of ListServerPrivateNetworksResponse
|
|
346
320
|
*/
|
|
347
321
|
listServerPrivateNetworks = (request = {}) => resourcePaginator.enrichForPagination(
|
|
@@ -352,8 +326,7 @@ class PrivateNetworkAPI extends api.API {
|
|
|
352
326
|
/**
|
|
353
327
|
* Delete a Private Network.
|
|
354
328
|
*
|
|
355
|
-
* @param request - The request
|
|
356
|
-
* {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
329
|
+
* @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
357
330
|
*/
|
|
358
331
|
deleteServerPrivateNetwork = (request) => this.client.fetch({
|
|
359
332
|
method: "DELETE",
|