Skip to content

Commit 2178909

Browse files
feat(api): api update
1 parent 8f6458e commit 2178909

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-94404552501d1e6ece9700dbddd3cd49ddc555fdb3a303747b79aea2329cf10c.yml
3-
openapi_spec_hash: edc38468ad76935dc4b0d6af44e84d44
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-7b8926270dd633f25f2dc7df2abe3b2c05d72a4ce49be054d238f8fd25fe1391.yml
3+
openapi_spec_hash: 366ff997c3486d6c681e5a3ccddda2e2
44
config_hash: cf202573c712b5d91a4d496f35f0ff57

src/resources/nodes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export interface CreateNodesRequest {
151151

152152
/**
153153
* Start time as Unix timestamp in seconds Optional for reserved nodes. If not
154-
* provided, defaults to current time
154+
* provided, defaults to now
155155
*/
156156
start_at?: number;
157157
}
@@ -483,7 +483,7 @@ export interface NodeCreateParams {
483483

484484
/**
485485
* Start time as Unix timestamp in seconds Optional for reserved nodes. If not
486-
* provided, defaults to current time
486+
* provided, defaults to now
487487
*/
488488
start_at?: number;
489489
}

src/resources/vms/vms.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ export interface VMSSHResponse {
4949

5050
ssh_port: number;
5151

52+
/**
53+
* Unix timestamp in seconds since epoch
54+
*/
55+
last_attempted_key_update?: number | null;
56+
57+
/**
58+
* Unix timestamp in seconds since epoch
59+
*/
60+
last_successful_key_update?: number | null;
61+
5262
ssh_host_keys?: Array<VMSSHResponse.SSHHostKey> | null;
5363
}
5464

0 commit comments

Comments
 (0)