Skip to content

Commit 41d0397

Browse files
feat(api): api update
1 parent 35f91a2 commit 41d0397

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company/sfc-nodes-71baf9659e6453321d625c04c51cce57254aac96463f4f4da5e8d62f1dce870f.yml
3-
openapi_spec_hash: 008a2733d50d6b759261d39c2ff82ea4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company/sfc-nodes-1674ab68979e9479cf0a4b6b87108ac50e6268b5c6776b87a3db72316a98a497.yml
3+
openapi_spec_hash: 2112ce03c976c58ffc349c6bde956a54
44
config_hash: 8457a42ab599fb499cdacdb3ff40cfe9

src/resources/nodes.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ export interface CreateNodesRequest {
127127
_preview_enable_infiniband?: boolean;
128128

129129
/**
130-
* Allow auto reserved nodes to be created in any zone that meets the requirements
130+
* @deprecated Deprecated: no longer supported. Requests with `any_zone: true` are
131+
* rejected; specify a zone instead.
131132
*/
132133
any_zone?: boolean;
133134

@@ -169,8 +170,7 @@ export interface CreateNodesRequest {
169170
start_at?: number;
170171

171172
/**
172-
* Zone to create the nodes in. Required for auto reserved nodes if any_zone is
173-
* false.
173+
* Zone to create the nodes in. Required for reserved and auto reserved nodes.
174174
*/
175175
zone?: string;
176176
}
@@ -481,7 +481,8 @@ export interface NodeCreateParams {
481481
_preview_enable_infiniband?: boolean;
482482

483483
/**
484-
* Allow auto reserved nodes to be created in any zone that meets the requirements
484+
* @deprecated Deprecated: no longer supported. Requests with `any_zone: true` are
485+
* rejected; specify a zone instead.
485486
*/
486487
any_zone?: boolean;
487488

@@ -523,8 +524,7 @@ export interface NodeCreateParams {
523524
start_at?: number;
524525

525526
/**
526-
* Zone to create the nodes in. Required for auto reserved nodes if any_zone is
527-
* false.
527+
* Zone to create the nodes in. Required for reserved and auto reserved nodes.
528528
*/
529529
zone?: string;
530530
}

0 commit comments

Comments
 (0)