File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
tests/api-resources/instances Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 30
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-28e78b73c796f9ee866671ed946402b5d569e683c3207d57c9143eb7d6f83fb6 .yml
3- openapi_spec_hash : fce0ac8713369a5f048bac684ed34fc8
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-cfdd18a303e2e6c87d671e6ae3ecdcd1d9642b053c2ef6bc507eee3f55cc6aa8 .yml
3+ openapi_spec_hash : 0b038c955d95740ace74103a9c18d5a3
44config_hash : f65a6a2bcef49a9f623212f9de6d6f6f
Original file line number Diff line number Diff line change @@ -208,6 +208,11 @@ export interface Instance {
208208 */
209209 hotplug_size ?: string ;
210210
211+ /**
212+ * Hypervisor running this instance
213+ */
214+ hypervisor ?: 'cloud-hypervisor' | 'qemu' ;
215+
211216 /**
212217 * Network configuration of the instance
213218 */
@@ -392,6 +397,11 @@ export interface InstanceCreateParams {
392397 */
393398 hotplug_size ?: string ;
394399
400+ /**
401+ * Hypervisor to use for this instance. Defaults to server configuration.
402+ */
403+ hypervisor ?: 'cloud-hypervisor' | 'qemu' ;
404+
395405 /**
396406 * Network configuration for the instance
397407 */
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ describe('resource instances', () => {
3131 devices : [ 'l4-gpu' ] ,
3232 env : { PORT : '3000' , NODE_ENV : 'production' } ,
3333 hotplug_size : '2GB' ,
34+ hypervisor : 'cloud-hypervisor' ,
3435 network : { enabled : true } ,
3536 overlay_size : '20GB' ,
3637 size : '2GB' ,
You can’t perform that action at this time.
0 commit comments