Download OpenAPI specification:Download
The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| count required | integer <int64> The number of VMs to create. If multiple locations are specified, this will be the number of VMs created in each location. |
| instance_group_id | string The ID of the instance group the VMs will be created in. |
object (InstanceTemplate defines the specifications of VMs to be created during bulk VM creation.) | |
| instance_template_id | string The ID of the instance template to use for creating the VMs. |
Array of objects (BulkCreateLocationInfo) The locations to create the VMs in. This will override any location specified in the instance template. | |
| name_prefix required | string The name prefix for the VMs to be created. E.g. "my-vm" will create VMs with names "my-vm-1", |
object (ReservationSpecification) |
{- "count": 6,
- "instance_group_id": "cda562c4-6162-4565-95f3-ce06a8220c07",
- "instance_template": {
- "custom_image_name": "ubuntu:20.04",
- "disks": [
- {
- "size": "10GiB",
- "type": "persistent-ssd"
}
], - "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "image_name": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "placement_policy": "spread",
- "public_ip_address_type": "static",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "shutdown_script": "\"#!/bin/bash\\necho'goodbye'\"",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "\"#!/bin/bash\\necho'hello'\"",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "template_name": "my-instance-template",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}, - "instance_template_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "locations": [
- {
- "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "location": "us-southcentral1-a",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1"
}
], - "name_prefix": "my-vm",
- "reservation_specification": {
- "id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "selection_strategy": "lowest_cost"
}
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| ids | string Example: ids=ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| names | string Example: names=my-first-vm |
| types | string Example: types=l40s-48gb.2x,l40s-48gb.8x |
| locations | string Example: locations=us-east1,us-southcentral1 |
| states | string Example: states=STATE_RUNNING |
| limit | string Example: limit=20 |
| sort | string Example: sort=name |
| next_token | string Example: next_token=bXktZmlyc3Qtdm0 |
| prev_token | string Example: prev_token=bXktZmlyc3Qtdm0 |
{- "items": [
- {
- "commitment_end": "string",
- "commitment_period": 0,
- "created_at": "2021-12-03T19:58:34Z",
- "disks": [
- {
- "attachment_type": "os | data",
- "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "location": "us-southcentral1-a",
- "mode": "read-write | read-only",
- "name": "my-disk",
- "serial_number": "96FD14FDBCF7E21E8EC",
- "size": "10GiB",
- "type": "persistent-ssd",
- "updated_at": "2021-12-03T19:58:34Z"
}
], - "host_channel_adapters": [
- {
- "guid": "946d:ae03:0021:69aa",
- "ib_network_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "ib_partition_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "type": "infiniband"
}
], - "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "instance_group_id": "707749bd-ecad-4de8-aa00-1ae2fdb99e19",
- "instance_template_id": "75c6712a-8da8-463c-a72d-fc65cf922959",
- "location": "us-centralnorth1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-first-vm",
- "network_interfaces": [
- {
- "access_type": "string",
- "external_dns_name": "string",
- "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "interface_type": "ethernet",
- "ips": [
- {
- "private_ipv4": {
- "address": "10.1.2.3"
}, - "public_ipv4": {
- "address": "121.0.0.0",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "type": "dynamic"
}
}
], - "mac_address": "00:00:5e:00:53:af",
- "name": "network-interface-1",
- "network": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "subnet": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
], - "pod_id": "29d20dc4-90ad-4365-ab05-83f5f5e52d94",
- "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "state": "RUNNING",
- "type": "a100.2x",
- "updated_at": "2023-08-14T09:00:35Z",
- "virtualization_features": {
- "nested_virtualization": true
}
}
], - "next_page_token": "bXktbGFzdC12bQ",
- "prev_page_token": "bXktZmlyc3Qtdm0"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| commitment_period | integer <int64> commitment is no longer supported |
| custom_image | string either image or custom image should be supplied, not both. |
Array of objects (DiskAttachment) | |
Array of objects (PartialHostChannelAdapter is used when POSTing and PATCHing VMs to assign IB Partitions.) | |
| image | string |
| location required | string |
| maintenance_policy | string The Host Maintenance Policy to use. |
| name required | string |
Array of objects (NetworkInterface) | |
object (ReservationSpecification) | |
| shutdown_script | string |
| ssh_public_key required | string |
| startup_script | string |
| type required | string |
object (VirtualizationFeatures) |
{- "commitment_period": 0,
- "custom_image": "string",
- "disks": "[{disk_id: \"09ae8411-0fbb-411c-898c-2b8f19622ae1\", mode: \"read-write\", attach_type: \"data\"},",
- "host_channel_adapters": [
- {
- "ib_partition_id": "string"
}
], - "image": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-first-vm",
- "network_interfaces": [
- {
- "access_type": "string",
- "external_dns_name": "string",
- "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "interface_type": "ethernet",
- "ips": [
- {
- "private_ipv4": {
- "address": "10.1.2.3"
}, - "public_ipv4": {
- "address": "121.0.0.0",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "type": "dynamic"
}
}
], - "mac_address": "00:00:5e:00:53:af",
- "name": "network-interface-1",
- "network": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "subnet": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
], - "reservation_specification": {
- "id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "selection_strategy": "lowest_cost"
}, - "shutdown_script": "#!/bin/bash\\necho'goodbye'",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "#!/bin/bash\\necho'hello'",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "commitment_end": "string",
- "commitment_period": 0,
- "created_at": "2021-12-03T19:58:34Z",
- "disks": [
- {
- "attachment_type": "os | data",
- "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "location": "us-southcentral1-a",
- "mode": "read-write | read-only",
- "name": "my-disk",
- "serial_number": "96FD14FDBCF7E21E8EC",
- "size": "10GiB",
- "type": "persistent-ssd",
- "updated_at": "2021-12-03T19:58:34Z"
}
], - "host_channel_adapters": [
- {
- "guid": "946d:ae03:0021:69aa",
- "ib_network_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "ib_partition_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "type": "infiniband"
}
], - "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "instance_group_id": "707749bd-ecad-4de8-aa00-1ae2fdb99e19",
- "instance_template_id": "75c6712a-8da8-463c-a72d-fc65cf922959",
- "location": "us-centralnorth1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-first-vm",
- "network_interfaces": [
- {
- "access_type": "string",
- "external_dns_name": "string",
- "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "interface_type": "ethernet",
- "ips": [
- {
- "private_ipv4": {
- "address": "10.1.2.3"
}, - "public_ipv4": {
- "address": "121.0.0.0",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "type": "dynamic"
}
}
], - "mac_address": "00:00:5e:00:53:af",
- "name": "network-interface-1",
- "network": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "subnet": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
], - "pod_id": "29d20dc4-90ad-4365-ab05-83f5f5e52d94",
- "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "state": "RUNNING",
- "type": "a100.2x",
- "updated_at": "2023-08-14T09:00:35Z",
- "virtualization_features": {
- "nested_virtualization": true
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| action required | string Enum: "START" "STOP" "RESET" "RESERVE" "UNRESERVE" "UPDATE" The action to perform on the VM. RESERVE and UNRESERVE operations are done synchronously, and so will have succeeded with a 200 response. |
| commitment_period | integer <int64> CommitmentPeriod is deprecated, please use reservationID instead |
Array of objects (PartialHostChannelAdapter is used when POSTing and PATCHing VMs to assign IB Partitions.) | |
| maintenance_policy | string The host maintenance policy to use. |
Array of objects (NetworkInterface) | |
| reservation_id | string |
| type | string |
{- "action": "START",
- "commitment_period": 0,
- "host_channel_adapters": [
- {
- "ib_partition_id": "string"
}
], - "maintenance_policy": "stop-vm",
- "network_interfaces": [
- {
- "access_type": "string",
- "external_dns_name": "string",
- "id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "interface_type": "ethernet",
- "ips": [
- {
- "private_ipv4": {
- "address": "10.1.2.3"
}, - "public_ipv4": {
- "address": "121.0.0.0",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "type": "dynamic"
}
}
], - "mac_address": "00:00:5e:00:53:af",
- "name": "network-interface-1",
- "network": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "subnet": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
], - "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "type": "a100.2x"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
required | Array of objects (DiskAttachment) | ||||||
Array
| |||||||
{- "attach_disks": "[{disk_id: \"09ae8411-0fbb-411c-898c-2b8f19622ae1\", mode: \"read-write\", attachment_type: \"data\"}, {disk_id: \"b1f86d1b-42d2-490d-adb0-cc1029abf653\", mode: \"read-only\", attachment_type: \"data\"}]"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| detach_disks required | Array of strings |
{- "detach_disks": [
- "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "123e4567-e89b-12d3-a456-426614174000"
]
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "cpu_cores": 4,
- "cpu_type": "intel",
- "description": "2x Nvidia A100",
- "disk_gb": 8,
- "disk_type": "SSD",
- "gpu_type": "A100",
- "memory_gb": 16,
- "memory_type": "RAM",
- "num_gpu": 2,
- "product_name": "a100.2x"
}
]
}This resource retrieves information about the status of asynchronous operations initiated by the instances resource. All operations that are either in-flight or completed but not yet queried will be returned.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
| lower_time_bound | string Example: lower_time_bound=2021-12-03T19:58:34Z |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the instances resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}{- "items": [
- {
- "created_at": "2023-06-29T20:03:26Z",
- "description": "base Ubuntu 20.04 image",
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "locations": "[us-east1, us-southcentral1]",
- "name": "ubuntu",
- "tags": "[20.4, latest]"
}
]
}| image_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "created_at": "2023-06-29T20:03:26Z",
- "description": "base Ubuntu 20.04 image",
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "locations": "[us-east1, us-southcentral1]",
- "name": "ubuntu",
- "tags": "[20.4, latest]"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "created_at": "2024-01-01T00:00:00Z",
- "custom_image_name": "ubuntu:20.04",
- "disks": [
- {
- "size": "10GiB",
- "type": "persistent-ssd"
}
], - "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "image_name": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-instance-template",
- "placement_policy": "spread",
- "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "public_ip_address_type": "static",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "shutdown_script": "#!/bin/bash\\necho'goodbye'",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "#!/bin/bash\\necho'hello'",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}
]
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| custom_image_name | string Custom image to use for all VMs created from this instance template. Only one of Image or CustomImage should be supplied at once. |
Array of objects (DiskTemplate defines a disk to create for each VM during bulk VM creation.) Disks to create for all VMs created from this instance template. | |
| ib_partition_id | string IB Partition to use for all VMs created from this instance template. Should only be provided for IB-enabled VM types. This is location-specific and must be provided if location is provided. |
| image_name | string OS Image to use for all VMs created from this instance template. |
| location | string Location to use for all VMs created from this instance template. If provided, all location-specific resources must also be provided. |
| maintenance_policy | string THe Host Maintenance Policy to use. |
| placement_policy | string The VM Placement Policy to use. |
| public_ip_address_type | string Public IP address type to use for all VMs created from this instance template. Must either be "static" or "dynamic". |
| reservation_id | string |
| shutdown_script | string Shutdown script to use for all VMs created from this instance template. |
| ssh_public_key required | string SSH public key to use for all VMs created from this instance template. |
| startup_script | string Startup script to use for all VMs created from this instance template. |
| subnet_id | string Subnet to use for all VMs created from this instance template. This is location-specific and must be provided if location is provided. |
| template_name required | string Name of the instance template. (This is not the name of the VMs created from this instance template.) |
| type required | string Product name of the VM type we want to create from this instance template. |
object (VirtualizationFeatures) |
{- "custom_image_name": "ubuntu:20.04",
- "disks": [
- {
- "size": "10GiB",
- "type": "persistent-ssd"
}
], - "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "image_name": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "placement_policy": "spread",
- "public_ip_address_type": "static",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "shutdown_script": "\"#!/bin/bash\\necho'goodbye'\"",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "\"#!/bin/bash\\necho'hello'\"",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "template_name": "my-instance-template",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}{- "created_at": "2024-01-01T00:00:00Z",
- "custom_image_name": "ubuntu:20.04",
- "disks": [
- {
- "size": "10GiB",
- "type": "persistent-ssd"
}
], - "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "image_name": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-instance-template",
- "placement_policy": "spread",
- "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "public_ip_address_type": "static",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "shutdown_script": "#!/bin/bash\\necho'goodbye'",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "#!/bin/bash\\necho'hello'",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}| instance_template_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "created_at": "2024-01-01T00:00:00Z",
- "custom_image_name": "ubuntu:20.04",
- "disks": [
- {
- "size": "10GiB",
- "type": "persistent-ssd"
}
], - "ib_partition_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "image_name": "ubuntu:20.04",
- "location": "us-southcentral1-a",
- "maintenance_policy": "stop-vm",
- "name": "my-instance-template",
- "placement_policy": "spread",
- "project_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "public_ip_address_type": "static",
- "reservation_id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "shutdown_script": "#!/bin/bash\\necho'goodbye'",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "startup_script": "#!/bin/bash\\necho'hello'",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "type": "a100.2x",
- "virtualization_features": {
- "nested_virtualization": true
}
}| instance_template_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "code": "400",
- "message": "bad_request"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "created_at": "2023-06-29T20:03:26Z",
- "description": "base Ubuntu 20.04 image",
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "locations": "[us-east1, us-southcentral1]",
- "name": "ubuntu",
- "tags": "[20.4, latest]"
}
]
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| DiskID required | string |
| description | string |
| name required | string |
| tags | Array of strings |
{- "DiskID": "182d01c7-d3fe-424b-af13-8775aeead194",
- "description": "Ubuntu is the modern, open source operating system on Linux for ...",
- "name": "ubuntu",
- "tags": "22.04,latest"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| image_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "created_at": "2023-06-29T20:03:26Z",
- "description": "base Ubuntu 20.04 image",
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "locations": "[us-east1, us-southcentral1]",
- "name": "ubuntu",
- "tags": "[20.4, latest]"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| image_id required | string |
| project_id required | string |
| description required | string |
{- "description": "\"Ubuntu is the modern, open source operating system on Linux for ...\""
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| image_id required | string |
| project_id required | string |
| tags required | Array of strings |
{- "tags": "[latest]"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This resource retrieves information about the status of asynchronous operations initiated by the custom images resource. All operations that are either in-flight or completed but not yet queried will be returned.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the custom image resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}If querying for projects within an organization, the logged in user must be the owner of the organization.
| org_id | string Example: org_id=ee2a6bc3-aed5-4756-8995-9990a53d3a17 |
| project_name | string Example: project_name=default |
{- "items": [
- {
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "name": "Admin",
- "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "relation": "owner",
- "resources": {
- "disks": {
- "count": 5
}, - "images": {
- "count": 5
}, - "instances": {
- "count": 5
}, - "snapshots": {
- "count": 5
}, - "vpc_networks": {
- "count": 5
}
}
}
]
}Requests to this resource must contain the json-encoded representation of the changes they want to make to the project. Currently only the project's name can be changed.
| project_id required | string Example: project_id=f058d0db-2fa4-4cf2-8cf1-dfbcfe05a814 |
| name required | string |
{- "name": "Crusoe Energy"
}{- "project": {
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "name": "Admin",
- "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "relation": "owner",
- "resources": {
- "disks": {
- "count": 5
}, - "images": {
- "count": 5
}, - "instances": {
- "count": 5
}, - "snapshots": {
- "count": 5
}, - "vpc_networks": {
- "count": 5
}
}
}
}The logged in user must have the permission to create projects within the organization. A successful response from this resource contains details of the created project.
| name required | string |
| organization_id required | string |
{- "name": "Admin",
- "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
}{- "project": {
- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "name": "Admin",
- "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "relation": "owner",
- "resources": {
- "disks": {
- "count": 5
}, - "images": {
- "count": 5
}, - "instances": {
- "count": 5
}, - "snapshots": {
- "count": 5
}, - "vpc_networks": {
- "count": 5
}
}
}
}| project_id required | string Example: ee2a6bc3-aed5-4756-8995-9990a53d3a17 |
{- "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "name": "Admin",
- "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "relation": "owner",
- "resources": {
- "disks": {
- "count": 5
}, - "images": {
- "count": 5
}, - "instances": {
- "count": 5
}, - "snapshots": {
- "count": 5
}, - "vpc_networks": {
- "count": 5
}
}
}Delete operations cascade to VMs created under that project.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "code": "401",
- "message": "bad_credential"
}{- "items": [
- {
- "billing": {
- "balance": "$1000.00",
- "delinquent": false,
- "has_valid_payment_method": true
}, - "billing_addr": {
- "address_line1": "123 Main Street",
- "address_line2": "Suite 400",
- "city": "Denver",
- "country": "US",
- "postal_code": "80202",
- "state_or_region": "Colorado"
}, - "features": {
- "property1": null,
- "property2": null
}, - "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "mfa_methods": [
- {
- "created_at": "2021-12-03T19:58:34Z",
- "method": "totp"
}
], - "name": "Crusoe Energy",
- "organization_type": "standard",
- "registration_type": "waitlist",
- "relation": "owner",
- "state": "string",
- "state_reason": "string"
}
]
}A successful response from this resource will contain the updated organization details.
| org_id required | string Example: org_id=ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
object (BillingAddress contains sensitive information related to the billing address for an entity.) | |
| organization_name | string |
{- "billing_addr": {
- "address_line1": "123 Main Street",
- "address_line2": "Suite 400",
- "city": "Denver",
- "country": "US",
- "postal_code": "80202",
- "state_or_region": "Colorado"
}, - "organization_name": "Crusoe Energy"
}{- "entity": {
- "billing": {
- "balance": "$1000.00",
- "delinquent": false,
- "has_valid_payment_method": true
}, - "billing_addr": {
- "address_line1": "123 Main Street",
- "address_line2": "Suite 400",
- "city": "Denver",
- "country": "US",
- "postal_code": "80202",
- "state_or_region": "Colorado"
}, - "features": {
- "property1": null,
- "property2": null
}, - "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "mfa_methods": [
- {
- "created_at": "2021-12-03T19:58:34Z",
- "method": "totp"
}
], - "name": "Crusoe Energy",
- "organization_type": "standard",
- "registration_type": "waitlist",
- "relation": "owner",
- "state": "string",
- "state_reason": "string"
}
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "data": [
- {
- "billable_metric": "\"gpu-hours\"",
- "cost": 12.34,
- "date": "\"2022-07-01\"",
- "project_id": "\"d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb\"",
- "quantity": 2.123,
- "region": "\"us-southcentral1\"",
- "resource_type": "\"l40s-48gb.1x\"",
- "unit_price": 1.23
}
], - "last_updated": "string"
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| format | Array of strings Example: format="json","csv" |
| projects | Array of strings Example: projects=d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb |
| resources | Array of strings Example: resources=d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb |
| resource_types | Array of strings Example: resource_types=persistent-ssd,l40s-48gb.1x |
| regions | Array of strings Example: regions=us-east1,us-southcentral1 |
| start_date required | string Example: start_date="2022-07-01" |
| end_date required | string Example: end_date="2023-08-08" |
{- "data": [
- {
- "billable_metric": "\"instance-hours\"",
- "date": "\"2025-07-04\"",
- "project_id": "\"d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb\"",
- "project_name": "\"Apollo 11\"",
- "quantity": "\"2.123\"",
- "region": "\"us-southcentral1\"",
- "resource_id": "\"d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb\"",
- "resource_name": "\"My H200\"",
- "resource_type": "\"h200-141gb-sxm-ib.8x\"",
- "total_price": "\"12.34\"",
- "unit_price": "\"1.23\""
}
]
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| start_date | string Example: start_date="2025-05-01" |
| end_date | string Example: end_date="2025-05-20" |
{- "end_date": "\"2023-08-08\"",
- "projects": [
- "d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb"
], - "regions": [
- "us-east1",
- "us-southcentral1"
], - "resource_types": [
- "persistent-ssd",
- "l40s-48gb.1x"
], - "start_date": "\"2022-07-01\""
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| projects required | Array of strings Example: projects=d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb |
| resource_types required | Array of strings Example: resource_types=persistent-ssd,l40s-48gb.1x |
| regions required | Array of strings Example: regions=us-east1,us-southcentral1 |
| start_date required | string Example: start_date="2022-07-01" |
| end_date required | string Example: end_date="2023-08-08" |
{- "items": [
- {
- "billable_metric": "\"gpu-hours\"",
- "date": "\"2022-07-01\"",
- "project_id": "\"d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb\"",
- "quantity": 2.123,
- "region": "\"us-southcentral1\"",
- "reservation_id": "\"d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb\"",
- "resource_type": "\"l40s-48gb.1x\""
}
]
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| projects required | Array of strings Example: projects=d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb |
| resources required | Array of strings Example: resources=d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb |
| resource_types required | Array of strings Example: resource_types=persistent-ssd,l40s-48gb.1x |
| regions required | Array of strings Example: regions=us-east1,us-southcentral1 |
| start_date required | string Example: start_date="2022-07-01" |
| end_date required | string Example: end_date="2023-08-08" |
{- "code": "400",
- "message": "bad_request"
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "end_date": "\"2023-08-08\"",
- "projects": [
- "d8f58dfd-dd86-4ee4-8f01-643e6d0f15bb"
], - "regions": [
- "us-east1",
- "us-southcentral1"
], - "resource_types": [
- "persistent-ssd",
- "l40s-48gb.1x"
], - "start_date": "\"2022-07-01\""
}| organization_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "quotas": [
- {
- "available": 6,
- "description": "Users",
- "max": 10,
- "programmatic_name": "users",
- "type": "ORG_QUOTAS_MAXIMUM_USERS",
- "used": 4
}
]
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "quotas": [
- {
- "available": 6,
- "category": "GPU Instance, Storage",
- "description": "A40 PCIe",
- "max": 10,
- "programmatic_name": "l40s",
- "type": "PROJECT_QUOTA_TYPE_MAXIMUM_VM_SLICES_VCPU_6_MEM_60_A40_PCIE_48GB_1",
- "used": 4
}
]
}| organization_id required | string Example: de8f27fe-8438-45e7-a2c2-a2767660625f |
| project_ids | Array of strings Example: project_ids=f934fbdb-7e3a-4b92-b7d2-da0f91d768e8,8c29f3f3-830f-4a44-9b6b-a51fcf6a6b5d |
| start_time | string Example: start_time=2022-09-01T14:25:36-07:00 |
| end_time | string Example: end_time=2022-09-06T14:25:36-07:00 |
| actions | Array of strings Example: actions=Create,Update |
| actor_ids | Array of strings Example: actor_ids=f934fbdb-7e3a-4b92-b7d2-da0f91d768e8,8c29f3f3-830f-4a44-9b6b-a51fcf6a6b5d |
| actor_emails | Array of strings Example: [email protected],[email protected], only support filter by user email, not by crusoe admin email. |
| actor_types | Array of strings Example: actor_types=User,Crusoe Admin, please ensure URL encoding for values with space. |
| target_ids | Array of strings Example: target_ids=f934fbdb-7e3a-4b92-b7d2-da0f91d768e8,8c29f3f3-830f-4a44-9b6b-a51fcf6a6b5d |
| target_types | Array of strings Example: target_types=VM,KubernetesCluster |
| target_names | Array of strings Example: target_names=my_vm1,my_vm2 |
| locations | Array of strings Example: locations=us-east1,us-southcentral1-a |
| results | Array of strings Example: results=OK,Bad Request |
| results_not | Array of strings Example: results_not=OK,Bad Request |
| surfaces | Array of strings Example: surfaces=Browser,Crusoe Terraform/v0.5.21 please make sure the values are URL encoded. |
| limit | string Example: limit=20 |
| next_token | string Example: next_token=bXktZmlyc3Qtdm0 |
| prev_token | string Example: prev_token=bXktZmlyc3Qtdm0 |
{- "items": [
- {
- "action": "Create",
- "action_detail": "Attach Disk",
- "actor_id": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb || \"system\"",
- "actor_type": "user || admin || system",
- "client_ip": "10.2.5.355",
- "end_time": "\"2024-08-24T05:25:33.860Z\"",
- "error_message": "\"The requested resource is out of stock. Please try again later.\"",
- "locations": "us-east1",
- "organization_id": "d10efcc0-7dba-4163-a3f0-f48aae20712a",
- "organization_name": "crusoe.ai",
- "project_id": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
- "project_name": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
- "result": "OK",
- "start_time": "\"2024-08-24T05:25:30.954Z\"",
- "surface": "browser",
- "target_ids": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb,6ac4d027-ee2a-4c0c-9b6f-e8638a7ae867",
- "target_names": "vm-test-1,vm-test-2",
- "target_type": "VM"
}
], - "next_page_token": "bXktbGFzdC12bQ",
- "prev_page_token": "bXktZmlyc3Qtdm0"
}| organization_id required | string Example: de8f27fe-8438-45e7-a2c2-a2767660625f |
| status | string Example: status=effective |
{- "items": [
- {
- "contract_end_date": "2025-08-14T09:00:35Z",
- "contract_start_date": "2024-08-14T09:00:35Z",
- "date_delivered": "2024-07-14T09:00:35Z",
- "delivery_deadline": "2024-08-14T09:00:35Z",
- "duration": 12,
- "id": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
- "locations": "\"us-east1\"",
- "price": "6.25",
- "product_line": "h100",
- "projects": "\"1a8ebda8-3c68-4ba6-adf6-961c3ec53748\"",
- "quantity": 64,
- "reservation_type": "RIPA",
- "used_quantity": 32,
- "vm_ids": "1a8ebda8-3c68-4ba6-adf6-961c3ec53748,6f70a988-fac6-4a9c-ae26-cb016d7bec72"
}
]
}| organization_id required | string Example: de8f27fe-8438-45e7-a2c2-a2767660625f |
| product_line | Array of strings Example: product_line=gpu-hours |
| region | Array of strings Example: region=us-east1,us-northcentral1 |
{- "data": [
- {
- "event_time": "string",
- "global_reservation_capacity": 0,
- "organization_id": "string",
- "overage_count": 0,
- "price": 0.1,
- "product_line": "string",
- "region": "string",
- "regional_reservation_capacity": 0,
- "running_compute_unit_count": 0
}
], - "reservation_id": [
- "string"
]
}| organization_id required | string Example: de8f27fe-8438-45e7-a2c2-a2767660625f |
| reservation_id required | string Example: de8f27fe-8438-45e7-a2c2-a2767660625f |
{- "items": [
- {
- "contract_end_date": "2025-08-14T09:00:35Z",
- "contract_start_date": "2024-08-14T09:00:35Z",
- "date_delivered": "2024-07-14T09:00:35Z",
- "delivery_deadline": "2024-08-14T09:00:35Z",
- "duration": 12,
- "id": "e384a1de-81f8-4cb2-b312-a7d88a9bf9cb",
- "locations": "\"us-east1\"",
- "price": "6.25",
- "product_line": "h100",
- "projects": "\"1a8ebda8-3c68-4ba6-adf6-961c3ec53748\"",
- "quantity": 64,
- "reservation_type": "RIPA",
- "used_quantity": 32,
- "vm_ids": "1a8ebda8-3c68-4ba6-adf6-961c3ec53748,6f70a988-fac6-4a9c-ae26-cb016d7bec72"
}
]
}{- "credentials": [
- "string"
], - "credentials_map": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "identity": {
- "accepted_tos": true,
- "company_name": "Crusoe",
- "id": "string",
- "is_recovery": true,
- "name": "John Doe",
- "registration_type": "waitlist",
- "role": "Admin",
- "user_state": "string"
}
}A successful response from this resource wil contain the updated user details.
| name required | string |
| role | string |
{- "name": "John Doe",
- "role": "Admin"
}{- "credentials": [
- "string"
], - "credentials_map": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "identity": {
- "accepted_tos": true,
- "company_name": "Crusoe",
- "id": "string",
- "is_recovery": true,
- "name": "John Doe",
- "registration_type": "waitlist",
- "role": "Admin",
- "user_state": "string"
}
}| user_id | string |
| role_id | string |
| scope_type | string Enum: "org" "project" |
| scope_object_id | string |
{- "role_bindings": [
- {
- "customer_id": "string",
- "id": "string",
- "role_id": "string",
- "role_name": "string",
- "scope_object_id": "string",
- "scope_type": "string"
}
]
}If any creation or deletion fails, no changes are applied.
| user_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
required | Array of objects (RoleBindingInput) |
| bindings_to_delete required | Array of strings |
{- "bindings_to_create": [
- {
- "customer_id": "string",
- "role_id": "string",
- "scope_object_id": "string",
- "scope_type": "org"
}
], - "bindings_to_delete": [
- "string"
]
}{- "code": "400",
- "message": "bad_request"
}{- "items": [
- {
- "created_at": "2022-01-24T20:13:35.328Z",
- "fingerprints": {
- "md5": "bf:60:fa:cc:9f:42:1f:5e:23:9e:ed:d2:69:d8:76:93",
- "sha256": "tARFxQkVHeqm6TzqpI897QsHVdgZlxgL2/YhVltmEUk"
}, - "id": "0b880f48-6a97-408f-8351-3cc30871e010",
- "name": "public key 1",
- "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpuH/fqCFLbAConChyVH6rZzSaxlnHSwQk6qvtPsf5E"
}
]
}A successful response from this resource wil contain the created SSH key details.
| name required | string |
| public_key required | string |
{- "name": "John Doe",
- "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpuH/fqCFLbAConChyVH6rZzSaxlnHSwQk6qvtPsf5E"
}{- "ssh_key": {
- "created_at": "2022-01-24T20:13:35.328Z",
- "fingerprints": {
- "md5": "bf:60:fa:cc:9f:42:1f:5e:23:9e:ed:d2:69:d8:76:93",
- "sha256": "tARFxQkVHeqm6TzqpI897QsHVdgZlxgL2/YhVltmEUk"
}, - "id": "0b880f48-6a97-408f-8351-3cc30871e010",
- "name": "public key 1",
- "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpuH/fqCFLbAConChyVH6rZzSaxlnHSwQk6qvtPsf5E"
}
}{- "items": [
- {
- "access_key": "Hm11C1coQZm2+Aihn9ofYg",
- "alias": "token1",
- "created_at": "2021-11-03T22:16:27Z",
- "expires_at": "2021-12-03T19:58:34Z",
- "last_used": "2021-11-03T22:22:55Z"
}
]
}A successful response from this resource will contain json-encoded details of API token. This is the only time the customer will be able to view the secret key associated with the token.
| alias | string |
| expires_at required | string |
{- "alias": "token1",
- "expires_at": "2021-12-03T19:58:34Z"
}{- "token": {
- "access_key": "R7p5XctCQMuGlpVBmVdqzA",
- "alias": "newtoken",
- "created_at": "2021-11-03T22:16:27Z",
- "expires_at": "2021-12-03T19:58:34Z",
- "secret_key": "HrbZ3VTUb2YNAq53Md1EsA"
}
}Size of disks will be in gibibytes (GiB)
| project_id required | string |
| disk_ids | Array of strings |
| location | string |
| disk_names | Array of strings |
| exclude_os | boolean |
{- "items": [
- {
- "attached_to": [
- {
- "attachment_type": "string",
- "mode": "string",
- "vm_id": "123e4567-e89b-12d3-a456-426614174000"
}
], - "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "location": "us-southcentral1-a",
- "name": "my-disk",
- "serial_number": "96FD14FDBCF7E21E8EC",
- "size": "10GiB",
- "type": "persistent-ssd",
- "updated_at": "2021-12-03T19:58:34Z"
}
]
}Requires either a disk snapshot ID, or size and location, where size of disk should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB. Disk type must be one of: DISK_TYPE_PERSISTENT_SSD. A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| block_size | integer <int64> |
| location | string |
| name required | string |
| size | string |
| snapshot_id | string |
| type | string Default: "persistent-ssd" Enum: "persistent-ssd" "shared-volume" |
{- "block_size": 4096,
- "location": "us-southcentral1-a",
- "name": "my-disk",
- "size": "10GiB",
- "snapshot_id": "123e4567-e89b-12d3-a456-426614174000",
- "type": "persistent-ssd"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}Size of disk will be in gibibytes (GiB)
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| disk_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "attached_to": [
- {
- "attachment_type": "string",
- "mode": "string",
- "vm_id": "123e4567-e89b-12d3-a456-426614174000"
}
], - "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "location": "us-southcentral1-a",
- "name": "my-disk",
- "serial_number": "96FD14FDBCF7E21E8EC",
- "size": "10GiB",
- "type": "persistent-ssd",
- "updated_at": "2021-12-03T19:58:34Z"
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| disk_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}Size should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| disk_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| size required | string |
{- "size": "10GiB"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This resource retrieves information about the status of asynchronous operations initiated by the disks resource. All operations that are either in-flight or completed but not yet queried will be returned.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the disks resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}Size of snapshots will be in bytes.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "created_from": "123e4567-e89b-12d3-a456-426614174000",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "my-snapshot",
- "size": "10457 bytes",
- "updated_at": "2021-12-03T19:58:34Z"
}
]
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| disk_id required | string |
| name required | string |
{- "disk_id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "my-snapshot-1"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}Size of snapshot will be in bytes.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| snapshot_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "block_size": 4096,
- "created_at": "2021-12-03T19:58:34Z",
- "created_from": "123e4567-e89b-12d3-a456-426614174000",
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "my-snapshot",
- "size": "10457 bytes",
- "updated_at": "2021-12-03T19:58:34Z"
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| snapshot_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}A successful response from this resource will contain the updated snapshot.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| snapshot_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| name required | string |
{- "name": "my-snapshot"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This resource retrieves information about the status of asynchronous operations initiated by the snapshots resource. All operations that are either in-flight or completed but not yet queried will be returned.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "action": "allow",
- "destination_ports": "[80, 443, 3000-8080]",
- "destinations": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "direction": "ingress",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "name": "my-firewall-rule",
- "protocols": "[tcp, udp]",
- "source_ports": "[80, 443, 3000-8080]",
- "sources": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "state": "active",
- "vpc_network_id": "74927f69-f6f6-43f4-bc0d-7bb2e864250e"
}
]
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| action required | string Enum: "allow" "deny" |
| destination_ports | Array of strings |
required | Array of objects (FirewallRuleObject specifies the source or destination of a firewall rule.) |
| direction required | string Enum: "ingress" "egress" |
| name required | string |
| protocols required | Array of strings |
| source_ports | Array of strings |
required | Array of objects (FirewallRuleObject specifies the source or destination of a firewall rule.) |
| vpc_network_id required | string |
{- "action": "allow",
- "destination_ports": "[80, 443, 3000-8080]",
- "destinations": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "direction": "ingress",
- "name": "my-firewall-rule",
- "protocols": "[tcp, udp]",
- "source_ports": "[80, 443, 3000-8080]",
- "sources": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "vpc_network_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_firewall_rule_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "action": "allow",
- "destination_ports": "[80, 443, 3000-8080]",
- "destinations": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "direction": "ingress",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "name": "my-firewall-rule",
- "protocols": "[tcp, udp]",
- "source_ports": "[80, 443, 3000-8080]",
- "sources": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "state": "active",
- "vpc_network_id": "74927f69-f6f6-43f4-bc0d-7bb2e864250e"
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_firewall_rule_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_firewall_rule_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| destination_ports | Array of strings |
Array of objects (FirewallRuleObject specifies the source or destination of a firewall rule.) | |
| name | string |
| protocols | Array of strings |
| source_ports | Array of strings |
Array of objects (FirewallRuleObject specifies the source or destination of a firewall rule.) |
{- "destination_ports": "[80, 443, 3000-8080]",
- "destinations": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
], - "name": "my-firewall-rule",
- "protocols": "[tcp, udp]",
- "source_ports": "[80, 443, 3000-8080]",
- "sources": [
- {
- "cidr": "10.1.2.3/24",
- "resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
]
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This resource retrieves information about the status of asynchronous operations initiated by the snapshots resource. All operations that are either in-flight or completed but not yet queried will be returned.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "cidr": "121.0.0.0/20",
- "gateway": "11bf5b4c-e0e5-4017-bdb8-3861f3acedc1",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "name": "default-ethernet",
- "subnets": "[1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc]"
}
]
}A successful response from this resource will contain information regarding the created VPC network.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cidr required | string |
| name required | string |
{- "cidr": "172.27.0.0/16",
- "name": "my-cool-vpc-network"
}{- "network": {
- "cidr": "121.0.0.0/20",
- "gateway": "11bf5b4c-e0e5-4017-bdb8-3861f3acedc1",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "name": "default-ethernet",
- "subnets": "[1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc]"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_network_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "cidr": "121.0.0.0/20",
- "gateway": "11bf5b4c-e0e5-4017-bdb8-3861f3acedc1",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "name": "default-ethernet",
- "subnets": "[1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc]"
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_network_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_network_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| name required | string |
{- "name": "my-cool-vpc-network"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "cidr": "121.0.0.0/24",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "location": "us-northcentraleast1-a",
- "name": "my-subnet",
- "vpc_network_id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
]
}A successful response from this resource will contain information regarding the created subnet.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cidr required | string |
| location required | string |
| name required | string |
| vpc_network_id required | string |
{- "cidr": "172.27.0.0/16",
- "location": "us-east",
- "name": "my-cool-vpc-subnet",
- "vpc_network_id": "36c0b0d9-8b68-4869-addb-227b06b64ee0"
}{- "subnet": {
- "cidr": "121.0.0.0/24",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "location": "us-northcentraleast1-a",
- "name": "my-subnet",
- "vpc_network_id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_subnet_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "cidr": "121.0.0.0/24",
- "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
- "location": "us-northcentraleast1-a",
- "name": "my-subnet",
- "vpc_network_id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_subnet_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| vpc_subnet_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| name required | string |
{- "name": "my-cool-vpc-subnet"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "ib_network_id": "36c0b0d9-8b68-4869-addb-227b06b64ee0",
- "id": "44701f9e-845c-4005-9240-adee6401b8d3",
- "name": "my-ib-partition"
}
]
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| ib_network_id required | string |
| name required | string |
{- "ib_network_id": "36c0b0d9-8b68-4869-addb-227b06b64ee0",
- "name": "my-ib-partition"
}{- "ib_network_id": "36c0b0d9-8b68-4869-addb-227b06b64ee0",
- "id": "44701f9e-845c-4005-9240-adee6401b8d3",
- "name": "my-ib-partition"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| ib_partition_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "ib_network_id": "36c0b0d9-8b68-4869-addb-227b06b64ee0",
- "id": "44701f9e-845c-4005-9240-adee6401b8d3",
- "name": "my-ib-partition"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| ib_partition_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "code": "400",
- "message": "bad_request"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| location | string Example: location=us-east1 |
| vpc_network_id | string Example: vpc_network_id=ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| name | string Example: name=my-loadbalancer-test |
{- "items": [
- {
- "health_check_options": {
- "failure_count": 3,
- "interval": 10,
- "success_count": 2,
- "timeout": 5
}, - "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "listen_ports_and_backends": [
- {
- "backends": [
- {
- "ip": "192.168.1.2",
- "port": 8080,
- "status": "ONLINE"
}
], - "listen_port": 80
}
], - "location": "string",
- "name": "my-external-load-balancer",
- "project_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "protocol": "string",
- "vip": "192.168.1.1",
- "vpc_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
}
]
}This endpoint creates a new external load balancer in the specified project. The request must include the VPC ID, name, location, and at least one listen port with its associated backends.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab The project ID to which the external load balancer belongs. |
Request body for creating the external load balancer.
object (HealthCheckOptions defines the health check configuration.) | |
required | Array of objects (ListenPortAndBackend defines a mapping of listen ports to backend configurations.) Listen ports and associated backends configuration. |
| location required | string Location of the External Load Balancer. |
| name required | string Name of the External Load Balancer. |
| protocol required | string The protocol of the External Load Balancer. |
| vpc_id required | string The ID of the VPC network this External Load Balancer belongs to. |
{- "health_check_options": {
- "failure_count": 3,
- "interval": 10,
- "success_count": 2,
- "timeout": 5
}, - "listen_ports_and_backends": [
- {
- "backends": [
- {
- "ip": "192.168.1.2",
- "port": 8080,
- "status": "ONLINE"
}
], - "listen_port": 80
}
], - "location": "us-east1",
- "name": "my-external-load-balancer",
- "protocol": "tcp",
- "vpc_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| load_balancer_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "health_check_options": {
- "failure_count": 3,
- "interval": 10,
- "success_count": 2,
- "timeout": 5
}, - "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "listen_ports_and_backends": [
- {
- "backends": [
- {
- "ip": "192.168.1.2",
- "port": 8080,
- "status": "ONLINE"
}
], - "listen_port": 80
}
], - "location": "string",
- "name": "my-external-load-balancer",
- "project_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "protocol": "string",
- "vip": "192.168.1.1",
- "vpc_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
}This endpoint deletes an external load balancer identified by its ID within the specified project. No request body or query parameters are required.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab The project ID to which the external load balancer belongs. |
| load_balancer_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab The ID of the external load balancer to delete. |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This endpoint updates the configuration of an existing external load balancer. The request must include the load balancer ID and optionally the health check options and/or listen ports and associated backends.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab The project ID to which the external load balancer belongs. |
| load_balancer_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab The ID of the external load balancer to update. |
Request body for updating the external load balancer.
object (HealthCheckOptions defines the health check configuration.) | |
| id required | string The ID of the External Load Balancer to update. |
required | Array of objects (ListenPortAndBackend defines a mapping of listen ports to backend configurations.) Listen ports and associated backends configuration. |
{- "health_check_options": {
- "failure_count": 3,
- "interval": 10,
- "success_count": 2,
- "timeout": 5
}, - "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "listen_ports_and_backends": [
- {
- "backends": [
- {
- "ip": "192.168.1.2",
- "port": 8080,
- "status": "ONLINE"
}
], - "listen_port": 80
}
]
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id | string Example: cluster_id=ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_name | string Example: cluster_name=my-first-cluster |
| cluster_search_names | Array of strings Example: cluster_search_names=a40.2x,a100.8x |
| locations | Array of strings Example: locations=us-east1,us-northcentral1 |
| states | Array of strings Example: states=STATE_RUNNING |
| versions | Array of strings Example: versions=1.30 |
| sort | string Example: sort=name, -name |
| show_inactive | boolean Example: show_inactive=true |
| next_token | string Example: next_token=bXktZmlyc3Qtdm0 |
| prev_token | string Example: prev_token=bXktZmlyc3Qtdm0 |
{- "items": [
- {
- "add_ons": [
- "crusoe_csi"
], - "auth_config": {
- "oidc": {
- "ca_cert": "string",
- "client_id": "kubernetes",
- "groups_claim": "groups",
- "username_claim": "email",
- "username_prefix": "oidc:"
}
}, - "cluster_cidr": "10.233.0.0/18",
- "configuration": "ha",
- "created_at": "2021-12-03T19:58:34Z",
- "dns_name": "my-kubernetes-cluster.crusoecloudcompute.com",
- "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "location": "string",
- "name": "my-kubernetes-cluster",
- "node_cidr_mask_size": 24,
- "node_pools": [
- "1d2b3a4c-5e6f-7b9d-8c9a-0e1f2d3b4c5d"
], - "private": true,
- "project_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "service_cluster_ip_range": "10.233.0.0/18",
- "state": "STATE_RUNNING",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "updated_at": "2021-12-03T19:58:34Z",
- "version": "1.29.5-crusoe.0"
}
]
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| add_ons | Array of strings List of add-ons to be included to the cluster. |
object (KubernetesClusterAuthConfig defines authentication configuration for the cluster.) This configures how users authenticate to the Kubernetes API server. example: {"oidc": {"issuer_url": "https://oauth2.example.com", "client_id": "kubernetes"}} | |
| cluster_cidr | string defines: the range of IP Addresses allocated to pods scheduled on worker nodes |
| configuration | string Value: "ha" Configuration setting is deprecated, defaults to HA configuration. |
| location required | string Location to create the Kubernetes cluster in. |
| name required | string Name of the Kubernetes cluster. |
| node_cidr_mask_size | integer <int32> defines: the mask size for cluster cidr |
| private | boolean Whether the cluster should be private (without a public IP). Default is false. |
| service_cluster_ip_range | string defines: the range of IP Addresses allocated to K8s services |
| subnet_id | string The ID of the subnet to create the cluster in. Must be in the location specified. If not provided, the default subnet for the location will be used, if there is one. |
| version required | string Version of the Crusoe Kubernetes image to create the cluster with. |
{- "add_ons": [
- "crusoe_csi",
- "nvidia_gpu_operator",
- "nvidia_network_operator"
], - "auth_config": {
- "oidc": {
- "ca_cert": "string",
- "client_id": "kubernetes",
- "groups_claim": "groups",
- "username_claim": "email",
- "username_prefix": "oidc:"
}
}, - "cluster_cidr": "10.233.0.0/18",
- "configuration": "ha",
- "location": "us-northcentral1-a",
- "name": "my-kubernetes-cluster",
- "node_cidr_mask_size": 24,
- "private": true,
- "service_cluster_ip_range": "10.233.0.0/18",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "version": "1.29.5-crusoe.0"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "add_ons": [
- "crusoe_csi"
], - "auth_config": {
- "oidc": {
- "ca_cert": "string",
- "client_id": "kubernetes",
- "groups_claim": "groups",
- "username_claim": "email",
- "username_prefix": "oidc:"
}
}, - "cluster_cidr": "10.233.0.0/18",
- "configuration": "ha",
- "created_at": "2021-12-03T19:58:34Z",
- "dns_name": "my-kubernetes-cluster.crusoecloudcompute.com",
- "id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "location": "string",
- "name": "my-kubernetes-cluster",
- "node_cidr_mask_size": 24,
- "node_pools": [
- "1d2b3a4c-5e6f-7b9d-8c9a-0e1f2d3b4c5d"
], - "private": true,
- "project_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "service_cluster_ip_range": "10.233.0.0/18",
- "state": "STATE_RUNNING",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "updated_at": "2021-12-03T19:58:34Z",
- "version": "1.29.5-crusoe.0"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| configuration | string Value: "ha" Configuration setting is deprecated, defaults to HA configuration. |
{- "configuration": "ha"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| auth_type | string Enum: "oidc" "admin_cert" |
{- "cluster_address": "string",
- "cluster_ca_certificate": "string",
- "cluster_name": "string",
- "kube_config": "string",
- "user_client_certificate": "string",
- "user_client_key": "string",
- "user_name": "string"
}This resource retrieves information about the status of an asynchronous operation initiated by the Kubernetes Cluster resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| resource_id | string Example: resource_id=452580d7-41d1-4b63-b4d7-4e4e21e95f96 |
| state | Array of strings Example: state=IN_PROGRESS |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the Kubernetes Cluster resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id | string Example: cluster_id=ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| sort | string Example: sort=created_at, -created_at |
{- "items": [
- {
- "cluster_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "count": 4,
- "created_at": "2021-12-03T19:58:34Z",
- "ephemeral_storage_for_containerd": true,
- "id": "0a1b3c2d-5e6f-8b9c-4d7e-1a2b3c4d5e6f",
- "image_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "instance_details": [
- {
- "id": "string",
- "using_latest_config": true
}
], - "instance_ids": [
- "ca39e669-47ee-456b-968d-303234fbf99f"
], - "name": "crusoe-node-pool",
- "node_labels": "\"nvidia.a100\"",
- "nvlink_domain_id": "550e8400-e29b-41d4-a716-446655440000",
- "project_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "public_ip_type": "dynamic",
- "reservation_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "state": "STATE_RUNNING",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "type": "a100.2x",
- "updated_at": "2021-12-03T19:58:34Z"
}
]
}A successful response from this resource will contain the async operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Cluster ID of the cluster this node pool belongs to. |
| count required | integer <int64> The number of nodes to be created. |
| ephemeral_storage_for_containerd | boolean Indicates whether local ephemeral NVMe disks should be used for containerd storage. |
| ib_partition_id | string Deprecated: Use transport_partition_id instead. |
| name required | string Name of the Kubernetes node pool. |
object Labels assigned to the node pool | |
| node_pool_version | string Version of the Kubernetes node pool. |
| nvlink_domain_id | string Optional NVLink domain ID to assign to nodes in this node pool |
| product_name required | string Product name of the VM type to be created within this node pool. |
| public_ip_type | string Default: "dynamic" Public IP type for nodepool nodes. Possible values: dynamic, static, none |
object (ReservationSpecification) | |
| ssh_public_key | string SSH public key to use for all VMs created from this node pool. |
| subnet_id | string The ID of the subnet to create the node pool in. Must be in the location of the cluster if specified. If not provided, the default subnet for the location will be used, if there is one. |
| transport_partition_id | string The ID of the Infiniband or RoCE partition to create node pool in. Must be in the location of the cluster if specified. |
{- "cluster_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "count": 4,
- "ephemeral_storage_for_containerd": true,
- "ib_partition_id": "string",
- "name": "my-kubernetes-node-pool",
- "node_labels": {
- "label": "my_node"
}, - "node_pool_version": "1.30",
- "nvlink_domain_id": "550e8400-e29b-41d4-a716-446655440000",
- "product_name": "a100.2x",
- "public_ip_type": "dynamic",
- "reservation_specification": {
- "id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
- "selection_strategy": "lowest_cost"
}, - "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "transport_partition_id": "b1f86d1b-42d2-490d-adb0-cc1029abf653"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "cluster_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "count": 4,
- "created_at": "2021-12-03T19:58:34Z",
- "ephemeral_storage_for_containerd": true,
- "id": "0a1b3c2d-5e6f-8b9c-4d7e-1a2b3c4d5e6f",
- "image_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
- "instance_details": [
- {
- "id": "string",
- "using_latest_config": true
}
], - "instance_ids": [
- "ca39e669-47ee-456b-968d-303234fbf99f"
], - "name": "crusoe-node-pool",
- "node_labels": "\"nvidia.a100\"",
- "nvlink_domain_id": "550e8400-e29b-41d4-a716-446655440000",
- "project_id": "9c8b7d6e-5f4a-3b2c-1e0f-2a3b4c5d6e7f",
- "public_ip_type": "dynamic",
- "reservation_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "state": "STATE_RUNNING",
- "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
- "type": "a100.2x",
- "updated_at": "2021-12-03T19:58:34Z"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| action | string Default: "UPDATE" Enum: "RESERVE" "UNRESERVE" "UPDATE" The action to perform on the NodePool. RESERVE and UNRESERVE operations are done synchronously, and so will have succeeded with a 200 response. Defaults to UPDATE if no action specified. |
| count | integer <int64> The desired number of nodes in the node pool. |
| ephemeral_storage_for_containerd | boolean Indicates whether local ephemeral NVMe disks should be used for containerd storage. |
object Labels assigned to the node pool. Labels provided in the PATCH request will not modify existing nodes, but will apply to any newly created nodes. | |
| node_pool_version | string Version of the Kubernetes node pool for newly created vms. |
| reservation_id | string The reservation ID of the node pool. |
| ssh_public_key | string SSH public key to use for all VMs created from this node pool. |
{- "action": "UPDATE",
- "count": 4,
- "ephemeral_storage_for_containerd": true,
- "node_labels": {
- "label": "my_node"
}, - "node_pool_version": "1.30",
- "reservation_id": "ca39e669-47ee-456b-968d-303234fbf99f",
- "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8Rtxpucl6LDZLOghEYoj13lxKQnGtcsM3Iu68lh+4YgZe7CbI6cc/TxPbeAX2HJTqDh0J7+GAlLBHK9tsepC0QlhIDiazJptOPDZ3cesCBXdxSnzEbhDaqgYOfl393cp1fCeOKRIDWEP3H9CM25dCbWF66sTDziLsojJ9dMnxhgKm9/JkZc5gYncLT/2Ey+VWfV9Fs65mGUrBbQOn3c8S/nEk6WRcYn4PFOnIp0Mz+Chb50iCJrW677pllLnkTGSU+4c0H9J5z4HDG0I+91RoiQ0QsayFTYO1JtSn+THLuq98V+D"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "no_rotate_in_progress": true
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "out_of_sync_instances": [
- "string"
], - "state": "string"
}A successful response returns an async operation you can poll.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| node_pool_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| count required | integer <int64> Number of nodes to replace at a time if the strategy is 'count'. |
| percentage required | integer <int64> Percentage of nodes to replace at a time if the strategy is 'percentage'. |
| strategy required | string Enum: "count" "percentage" Strategy of the rotation to perform. |
{- "count": 2,
- "percentage": 20,
- "strategy": "'count'"
}{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}This resource retrieves information about the status of an asynchronous operation initiated by the Kubernetes Node Pool resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "items": [
- {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
]
}This resource retrieves information about the status of an asynchronous operation initiated by the Kubernetes Node Pool resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| show_deprecated | boolean Example: show_deprecated=true |
| product_name | string Example: product_name=a100.2x |
{- "kubernetes_cluster_versions": [
- {
- "cluster_version_name": "string",
- "tags": [
- "string"
], - "version_details": {
- "BuildVersion": "string",
- "MajorMinorVersion": "string",
- "PatchVersion": "string"
}
}
], - "kubernetes_node_pool_versions": [
- {
- "node_pool_version_name": "string",
- "tags": [
- "string"
], - "version_details": {
- "BuildVersion": "string",
- "MajorMinorVersion": "string",
- "PatchVersion": "string"
}
}
]
}Returns the cluster's Autoclusters configuration including alert handling defaults and any customer overrides.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab Project ID |
| cluster_id required | string Example: e384a1de-81f8-4cb2-b312-a7d88a9bf9cb Cluster ID |
{- "fallback_to_project_reservations": false,
- "remediation_configs": [
- {
- "default_action": "string",
- "effective_action": "string",
- "issue_name": "XID_74",
- "user_override": "string"
}
], - "updated_at": "2025-01-15T10:30:00Z"
}Allows setting or removing remediation overrides and configuring project reservation fallback.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab Project ID |
| cluster_id required | string Example: e384a1de-81f8-4cb2-b312-a7d88a9bf9cb Cluster ID |
Request body
| fallback_to_project_reservations | boolean Whether to use project's unused reservations as fallback. If not set, existing value is preserved. |
| remove_remediation_overrides | Array of strings Remediation overrides to remove (revert to system defaults). |
Array of objects (RemediationOverrideRequest represents a remediation override in the API request.) Remediation overrides to add or update. These will override the system defaults. |
{- "fallback_to_project_reservations": true,
- "remove_remediation_overrides": [
- "XID_74",
- "GPU_FELL_OFF_THE_BUS"
], - "set_remediation_overrides": [
- {
- "action": "OFF",
- "issue_name": "XID_74"
}
]
}{- "fallback_to_project_reservations": false,
- "remediation_configs": [
- {
- "default_action": "string",
- "effective_action": "string",
- "issue_name": "XID_74",
- "user_override": "string"
}
], - "updated_at": "2025-01-15T10:30:00Z"
}Trigger remediation for a VM within a Kubernetes cluster with AutoClusters add-on enabled. This creates an AutoClusters operation and returns an asynchronous operation handle. Currently, this defaults to performing a replace node operation.
| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| cluster_id required | string Example: e384a1de-81f8-4cb2-b312-a7d88a9bf9cb |
| vm_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
{- "operation": {
- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}
}| project_id required | string Example: ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab |
| operation_id required | string Example: e384a1de-81f8-4cb2-b312-a7d88a9bf9cb |
{- "completed_at": "2021-12-03T19:59:34Z",
- "metadata": "{}",
- "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
- "result": "{}",
- "started_at": "2021-12-03T19:58:34Z",
- "state": "IN_PROGRESS"
}| product_name | Array of strings Example: product_name=[l40s-48gb.1x, l40s-48gb.2x] |
| location | Array of strings Example: location=[us-southcentral1-a, us-east1-a] |
{- "items": [
- {
- "location": "us-east",
- "num_slices": 1,
- "quantity": 8,
- "quota_type": "PROJECT_QUOTA_TYPE_MAXIMUM_VM_SLICES_VCPU_6_MEM_60_A40_PCIE_48GB_1",
- "type": "a100.2x"
}
]
}