Template

Templates are a pre-set configuration used to quickly configure and submit workloads using existing assets.

Deprecated

List templates.

get

Retrieve a list of templates.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
namestringOptional

Filter results by name.

scopestringOptional

Filters results by scope. Returns only assets that belong to the specified scope. Mutually exclusive with includeDescendants. Valid values: tenant, cluster, department, project.

projectIdinteger · int32Optional

Filter results by project id. If scope filter is project, only assets from the specific project will be included in the response. Otherwise, the response will include project, department, cluster, tenant and system assets.

departmentIdstringOptional

Filter results by department id. If scope filter is department, only assets from the specific department will be included in the response. Otherwise, the response will include department, cluster, tenant and system assets.

Example: 1
clusterIdstring · uuidOptional

Filter results by Universally Unique Identifier (UUID) of the cluster. If scope filter is cluster, only assets from the specific cluster will be included in the response. Otherwise, the response will include cluster, tenant and system assets.

Example: d73a738f-fab3-430a-8fa3-5241493d7128
distributedFrameworkstringOptional

Filter results to workload of type distributed and distributedFramework.

isDistributedbooleanOptional

Filter results to workload of type distributed.

isTrainingbooleanOptional

Filter results to workload of type training.

isWorkspacebooleanOptional

Filter results to workload of type workspace.

Responses
chevron-right
200

Request completed successfully.

application/json
get
/api/v1/asset/workload-template
Deprecated

Create a template.

post

Use to create a template.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
Responses
post
/api/v1/asset/workload-template
Deprecated

Get a template.

get

Retrieve the details of a template by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Responses
chevron-right
200

Request completed successfully.

application/json
get
/api/v1/asset/workload-template/{AssetId}
Deprecated

Update a template.

put

Use to update the details of a template by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Body
Responses
put
/api/v1/asset/workload-template/{AssetId}
Deprecated

Delete a template.

delete

Use to delete a template by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
AssetIdstring · uuid · min: 1Required

Unique identifier of the asset.

Responses
delete
/api/v1/asset/workload-template/{AssetId}

Last updated