@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.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. 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
- /** ID of the contract. */
9
+ /**
10
+ * ID of the contract.
11
+ */
10
12
  id: string;
11
- /** The type of the contract. */
13
+ /**
14
+ * The type of the contract.
15
+ */
12
16
  type: ContractType;
13
- /** The name of the contract. */
17
+ /**
18
+ * The name of the contract.
19
+ */
14
20
  name: string;
15
- /** The version of the contract. */
21
+ /**
22
+ * The version of the contract.
23
+ */
16
24
  version: number;
17
- /** The creation date of the contract. */
25
+ /**
26
+ * The creation date of the contract.
27
+ */
18
28
  createdAt?: Date;
19
- /** The last modification date of the contract. */
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
- /** ID of the contract signature. */
55
+ /**
56
+ * ID of the contract signature.
57
+ */
44
58
  id: string;
45
- /** The Organization ID which signed the contract. */
59
+ /**
60
+ * The Organization ID which signed the contract.
61
+ */
46
62
  organizationId: string;
47
- /** The creation date of the contract signature. */
63
+ /**
64
+ * The creation date of the contract signature.
65
+ */
48
66
  createdAt?: Date;
49
- /** The signing date of the contract signature. */
67
+ /**
68
+ * The signing date of the contract signature.
69
+ */
50
70
  signedAt?: Date;
51
- /** The expiration date of the contract signature. */
71
+ /**
72
+ * The expiration date of the contract signature.
73
+ */
52
74
  expiresAt?: Date;
53
- /** The contract signed. */
75
+ /**
76
+ * The contract signed.
77
+ */
54
78
  contract?: Contract;
55
79
  }
56
80
  export interface Project {
57
- /** ID of the Project. */
81
+ /**
82
+ * ID of the Project.
83
+ */
58
84
  id: string;
59
- /** Name of the Project. */
85
+ /**
86
+ * Name of the Project.
87
+ */
60
88
  name: string;
61
- /** Organization ID of the Project. */
89
+ /**
90
+ * Organization ID of the Project.
91
+ */
62
92
  organizationId: string;
63
- /** Creation date of the Project. */
93
+ /**
94
+ * Creation date of the Project.
95
+ */
64
96
  createdAt?: Date;
65
- /** Update date of the Project. */
97
+ /**
98
+ * Update date of the Project.
99
+ */
66
100
  updatedAt?: Date;
67
- /** Description of the Project. */
101
+ /**
102
+ * Description of the Project.
103
+ */
68
104
  description: string;
69
105
  }
70
106
  export interface Qualification {
71
- /** Architecture type of the qualification. */
107
+ /**
108
+ * Architecture type of the qualification.
109
+ */
72
110
  architectureType: QualificationArchitectureType;
73
111
  /**
74
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- * One-of ('useCase'): at most one of 'hostWebsite', 'hostApplication',
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
- /** Whether a signature has been requested for this contract. */
158
+ /**
159
+ * Whether a signature has been requested for this contract.
160
+ */
130
161
  created: boolean;
131
- /** Whether the signature for this contract has been validated. */
162
+ /**
163
+ * Whether the signature for this contract has been validated.
164
+ */
132
165
  validated: boolean;
133
166
  }
134
167
  export type ContractApiCheckContractSignatureRequest = {
135
- /** ID of the Organization to check the contract signature for. */
168
+ /**
169
+ * ID of the Organization to check the contract signature for.
170
+ */
136
171
  organizationId?: string;
137
- /** Filter on contract type. */
172
+ /**
173
+ * Filter on contract type.
174
+ */
138
175
  contractType?: ContractType;
139
- /** Filter on contract name. */
176
+ /**
177
+ * Filter on contract name.
178
+ */
140
179
  contractName: string;
141
180
  };
142
181
  export type ContractApiCreateContractSignatureRequest = {
143
- /** The type of the contract. */
182
+ /**
183
+ * The type of the contract.
184
+ */
144
185
  contractType?: ContractType;
145
- /** The name of the contract. */
186
+ /**
187
+ * The name of the contract.
188
+ */
146
189
  contractName: string;
147
- /** Whether the contract is validated at creation. */
190
+ /**
191
+ * Whether the contract is validated at creation.
192
+ */
148
193
  validated: boolean;
149
- /** ID of the Organization. */
194
+ /**
195
+ * ID of the Organization.
196
+ */
150
197
  organizationId?: string;
151
198
  };
152
199
  export type ContractApiDownloadContractSignatureRequest = {
153
- /** The contract signature ID. */
200
+ /**
201
+ * The contract signature ID.
202
+ */
154
203
  contractSignatureId: string;
155
- /** The locale requested for the content of the contract. */
204
+ /**
205
+ * The locale requested for the content of the contract.
206
+ */
156
207
  locale?: StdLanguageCode;
157
208
  };
158
209
  export type ContractApiListContractSignaturesRequest = {
159
- /** The page number for the returned contracts. */
210
+ /**
211
+ * The page number for the returned contracts.
212
+ */
160
213
  page?: number;
161
- /** The maximum number of contracts per page. */
214
+ /**
215
+ * The maximum number of contracts per page.
216
+ */
162
217
  pageSize?: number;
163
- /** How the contracts are ordered in the response. */
218
+ /**
219
+ * How the contracts are ordered in the response.
220
+ */
164
221
  orderBy?: ListContractSignaturesRequestOrderBy;
165
- /** Filter on Organization ID. */
222
+ /**
223
+ * Filter on Organization ID.
224
+ */
166
225
  organizationId?: string;
167
226
  };
168
227
  export type ContractApiValidateContractSignatureRequest = {
169
- /** The contract linked to your Organization you want to sign. */
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
- /** The total number of contract signatures. */
234
+ /**
235
+ * The total number of contract signatures.
236
+ */
174
237
  totalCount: number;
175
- /** The paginated returned contract signatures. */
238
+ /**
239
+ * The paginated returned contract signatures.
240
+ */
176
241
  contractSignatures: ContractSignature[];
177
242
  }
178
243
  export interface ListProjectsResponse {
179
- /** Total number of Projects. */
244
+ /**
245
+ * Total number of Projects.
246
+ */
180
247
  totalCount: number;
181
- /** Paginated returned Projects. */
248
+ /**
249
+ * Paginated returned Projects.
250
+ */
182
251
  projects: Project[];
183
252
  }
184
253
  export type ProjectApiCreateProjectRequest = {
185
- /** Name of the Project. */
254
+ /**
255
+ * Name of the Project.
256
+ */
186
257
  name?: string;
187
- /** Organization ID of the Project. */
258
+ /**
259
+ * Organization ID of the Project.
260
+ */
188
261
  organizationId?: string;
189
- /** Description of the Project. */
262
+ /**
263
+ * Description of the Project.
264
+ */
190
265
  description: string;
191
266
  };
192
267
  export type ProjectApiDeleteProjectRequest = {
193
- /** Project ID of the Project. */
268
+ /**
269
+ * Project ID of the Project.
270
+ */
194
271
  projectId?: string;
195
272
  };
196
273
  export type ProjectApiGetProjectRequest = {
197
- /** Project ID of the Project. */
274
+ /**
275
+ * Project ID of the Project.
276
+ */
198
277
  projectId?: string;
199
278
  };
200
279
  export type ProjectApiListProjectsRequest = {
201
- /** Organization ID of the Project. */
280
+ /**
281
+ * Organization ID of the Project.
282
+ */
202
283
  organizationId?: string;
203
- /** Name of the Project. */
284
+ /**
285
+ * Name of the Project.
286
+ */
204
287
  name?: string;
205
- /** Page number for the returned Projects. */
288
+ /**
289
+ * Page number for the returned Projects.
290
+ */
206
291
  page?: number;
207
- /** Maximum number of Project per page. */
292
+ /**
293
+ * Maximum number of Project per page.
294
+ */
208
295
  pageSize?: number;
209
- /** Sort order of the returned Projects. */
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
- /** Project ID. */
306
+ /**
307
+ * Project ID.
308
+ */
219
309
  projectId?: string;
220
- /** Use case chosen for the Project. */
310
+ /**
311
+ * Use case chosen for the Project.
312
+ */
221
313
  qualification?: Qualification;
222
314
  };
223
315
  export type ProjectApiUpdateProjectRequest = {
224
- /** Project ID of the Project. */
316
+ /**
317
+ * Project ID of the Project.
318
+ */
225
319
  projectId?: string;
226
- /** Name of the Project. */
320
+ /**
321
+ * Name of the Project.
322
+ */
227
323
  name?: string;
228
- /** Description of the Project. */
324
+ /**
325
+ * Description of the Project.
326
+ */
229
327
  description?: string;
230
328
  };
231
329
  export interface ProjectQualification {
232
- /** Project ID. */
330
+ /**
331
+ * Project ID.
332
+ */
233
333
  projectId: string;
234
- /** Qualification of the Project. */
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). The response
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",