@ornncompute/cli 1.0.381 → 1.0.383
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1148,6 +1148,13 @@ async function listStaffVirtualMachines(request, input, signal) {
|
|
|
1148
1148
|
cursor = page.next_cursor;
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
|
+
function getStaffVirtualMachineSpinUp(request, input, signal) {
|
|
1152
|
+
const query = input.organization_id ? `?${new URLSearchParams({ organization_id: input.organization_id })}` : "";
|
|
1153
|
+
return request(`/v1/staff/virtual-machines/metrics/spin-up${query}`, {
|
|
1154
|
+
method: "GET",
|
|
1155
|
+
signal
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1151
1158
|
function listReservationVirtualMachines(request, reservationId, signal) {
|
|
1152
1159
|
return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/virtual-machines`, { method: "GET", ...signal ? { signal } : {} });
|
|
1153
1160
|
}
|
|
@@ -1326,6 +1333,7 @@ export {
|
|
|
1326
1333
|
getReservationAccessSwitch,
|
|
1327
1334
|
getReservationVirtualMachine,
|
|
1328
1335
|
getSoftwareCatalog,
|
|
1336
|
+
getStaffVirtualMachineSpinUp,
|
|
1329
1337
|
getStorageUsage,
|
|
1330
1338
|
getSupplierConnectionConfig,
|
|
1331
1339
|
getSupplierGateway,
|