Workload types are used to define the configuration of workloads in the NVIDIA Run:ai platform. Each workload type has a unique name and is associated with a specific category and priority. Workload types can be used to create new workloads or update existing ones.
Retrieves a list of workload categories. These categories are used to classify and monitor different types of workloads within the NVIDIA Run:ai platform.
List of categories retrieved successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string"
}
]
}
Retrieves a specific workload category by its ID. Workload categories are used to classify and monitor different types of workloads within the NVIDIA Run:ai platform.
Category retrieved successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string"
}
Retrieves a list of workload types with their configurations - their corresponding workload categories and priorities.
List of types retrieved successfully
Bad request.
Unauthorized
Forbidden
unexpected error
{- "types": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "categoryName": "Build",
- "priorityName": "medium",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}
]
}
Retrieves a specific workload type by its ID.
Type retrieved successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "categoryName": "Build",
- "priorityName": "medium",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}
Update the default category or priority assigned to a workload type.
Workload type to update.
Updated successfully
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
- "priorityId": "a57eab25-838b-40cc-a576-57e4056f1d6c"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "categoryName": "Build",
- "priorityName": "medium",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string"
}
Retrieve the list of all workload priorities available in the system
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "priorities": [
- {
- "aggregatedPhase": "Ready",
- "status": [
- {
- "clusterId": "d73a738f-fab3-430a-8fa3-5241493d7128",
- "phase": "Ready"
}
], - "scopeType": "tenant",
- "scopeId": "1",
- "id": "d73a738f-fab3-430a-8fa3-5241493d7128",
- "source": "Run:ai",
- "name": "medium",
- "value": 50,
- "createdAt": "2022-01-01T03:49:52.531Z",
- "updatedAt": "2022-06-08T11:28:24.131Z"
}
]
}