計算目標 Compute Target
1. Get Compute Target List API
This API retrieves a list of compute targets, including their ID, name, cluster, IP, status, and type.
Endpoint: GET /compute_targets
Parameters:
Parameter
Description
Type
Required
Default
ids
Fetch specific ids.
string
No
-
offset
The offset for pagination.
integer
No
0
limit
The maximum number of results per page.
integer
No
100
Example Request:
Example Response:
Response Fields:
Field
Description
Type
id
The unique identifier for the compute target.
integer
name
The name of the compute target.
string
cluster
The name of the cluster to which the compute target belongs.
string
IP
The IP address of the compute target.
string
status
The status of the compute target (e.g., "available").
string
type
The type of compute resource (e.g., "x86", "aiot").
string
Last updated