Optional
const box = await gboxSDK.create({ type: 'android', config: { labels: { FOO: 'bar' }, envs: { FOO: 'bar' } },}); Copy
const box = await gboxSDK.create({ type: 'android', config: { labels: { FOO: 'bar' }, envs: { FOO: 'bar' } },});
const box = await gboxSDK.create({ type: 'linux', config: { envs: { FOO: 'bar' } },}); Copy
const box = await gboxSDK.create({ type: 'linux', config: { envs: { FOO: 'bar' } },});
const box = await gboxSDK.get('975fed9f-bb28-4718-a2c5-e01f72864bd1'); Copy
const box = await gboxSDK.get('975fed9f-bb28-4718-a2c5-e01f72864bd1');
const boxInfo = await gboxSDK.get('975fed9f-bb28-4718-a2c5-e01f72864bd1'); Copy
const boxInfo = await gboxSDK.get('975fed9f-bb28-4718-a2c5-e01f72864bd1');
const boxes = await gboxSDK.list();orconst boxes = await gboxSDK.list({ page: 1, pageSize: 10,}); Copy
const boxes = await gboxSDK.list();orconst boxes = await gboxSDK.list({ page: 1, pageSize: 10,});
const boxes = await gboxSDK.listInfo();orconst boxes = await gboxSDK.listInfo({ page: 1, pageSize: 10,}); Copy
const boxes = await gboxSDK.listInfo();orconst boxes = await gboxSDK.listInfo({ page: 1, pageSize: 10,});
const response = await gboxSDK.terminate('box_id'); Copy
const response = await gboxSDK.terminate('box_id');
Example