@@ -131,6 +131,12 @@ export interface CreateNodesRequest {
131131 */
132132 cloud_init_user_data ?: string ;
133133
134+ /**
135+ * **Experimental — subject to change or removal without notice.** Enables
136+ * InfiniBand. Requires hardware in the chosen zone that supports InfiniBand.
137+ */
138+ enable_infiniband ?: boolean ;
139+
134140 /**
135141 * End time as Unix timestamp in seconds If provided, end time must be aligned to
136142 * the hour If not provided, the node will be created as an autoreserved node
@@ -149,7 +155,7 @@ export interface CreateNodesRequest {
149155
150156 /**
151157 * Custom node names Names cannot begin with 'vm*' or 'n*' as this is reserved for
152- * system-generated IDs Names cannot be numeric strings Names cannot exceed 128
158+ * system-generated IDs Names cannot be numeric strings Names cannot exceed 256
153159 * characters
154160 */
155161 names ?: Array < string > ;
@@ -194,10 +200,6 @@ export interface ErrorDetail {
194200 field ?: string | null ;
195201}
196202
197- export interface ErrorObject {
198- error : ErrorContent ;
199- }
200-
201203export type ErrorType =
202204 | 'api_error'
203205 | 'invalid_request_error'
@@ -211,7 +213,8 @@ export type ErrorType =
211213 | 'upgrade_required'
212214 | 'payment_required'
213215 | 'service_unavailable'
214- | 'unprocessable_entity' ;
216+ | 'unprocessable_entity'
217+ | 'gone' ;
215218
216219export interface ExtendNodeRequest {
217220 /**
@@ -482,6 +485,12 @@ export interface NodeCreateParams {
482485 */
483486 cloud_init_user_data ?: string ;
484487
488+ /**
489+ * **Experimental — subject to change or removal without notice.** Enables
490+ * InfiniBand. Requires hardware in the chosen zone that supports InfiniBand.
491+ */
492+ enable_infiniband ?: boolean ;
493+
485494 /**
486495 * End time as Unix timestamp in seconds If provided, end time must be aligned to
487496 * the hour If not provided, the node will be created as an autoreserved node
@@ -500,7 +509,7 @@ export interface NodeCreateParams {
500509
501510 /**
502511 * Custom node names Names cannot begin with 'vm*' or 'n*' as this is reserved for
503- * system-generated IDs Names cannot be numeric strings Names cannot exceed 128
512+ * system-generated IDs Names cannot be numeric strings Names cannot exceed 256
504513 * characters
505514 */
506515 names ?: Array < string > ;
@@ -581,7 +590,6 @@ export declare namespace Nodes {
581590 type CreateNodesRequest as CreateNodesRequest ,
582591 type ErrorContent as ErrorContent ,
583592 type ErrorDetail as ErrorDetail ,
584- type ErrorObject as ErrorObject ,
585593 type ErrorType as ErrorType ,
586594 type ExtendNodeRequest as ExtendNodeRequest ,
587595 type ListResponseNode as ListResponseNode ,
0 commit comments