All Products
Search
Document Center

Platform For AI:CreateExperimentPlanTemplate

Last Updated:May 22, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Create/Update Test Plan Template

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eflo:CreateExperimentPlanTemplatecreate
*ExperimentPlanTemplate
acs:eflo:{#regionId}:{#accountId}:experimentplantemplate/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TemplateIdlongNo

Template ID

4724
TemplateNamestringNo

Template Name

test
TemplateDescriptionstringNo

Template Description

The template installs jdk and tomcat on a new ECS instance.
PrivacyLevelstringNo

Privacy Level

private
TemplatePipelinearray<object>No

Template Pipeline

TemplatePipelineobjectNo
WorkloadIdlongNo

Workload ID

14
WorkloadNamestringNo

Workload Name

test
ScenestringNo

Usage Scenario, e.g., "baseline"

baseline
SettingParamsobjectNo

Configured Workload Parameters

stringNo

key-value pair

{}
EnvParamsobjectNo

Configured Environment Parameters

CpuPerWorkerintegerNo

CPU allocation count

90
GpuPerWorkerintegerNo

GPU allocation count

8
MemoryPerWorkerintegerNo

Memory (GB) allocation count

500
ShareMemoryintegerNo

Shared Memory (GB) allocation count

500
WorkerNumintegerNo

Number of nodes

1
CudaVersionstringNo

CUDA Version

1.0.0
NCCLVersionstringNo

NCCL Version

1.0.0
GpuDriverVersionstringNo

GPU Driver Version

1.0.0
PyTorchVersionstringNo

PyTorch Version

1.0.0
PipelineOrderintegerNo

Node Order Number

1
ResourceGroupIdstringNo

The resource group id.

rg-aekzij65sf2rr5i

Response parameters

ParameterTypeDescriptionExample
object

Result

Dataobject

Data

CreatorUidlong

Primary Account UID

12312312312312
TemplateIdlong

Template ID

17615126
CreateTimestring

Creation Time

2024-11-19T02:01:05Z
UpdateTimestring

Update Time

2023-10-16T01:58Z
TemplateNamestring

Template Name

test
TemplateDescriptionstring

Template Description

test
PrivacyLevelstring

Privacy Level

private
TemplatePipelineParamarray<object>

Template Pipeline

TemplatePipelineParamobject

Template pipeline

WorkloadIdlong

Workload ID

13
WorkloadNamestring

Workload Name

test
Scenestring

Usage Scenario, e.g., "baseline"

baseline
SettingParamsobject

Configured Workload Parameters

string

key-value

{}
EnvParamsobject

Configured Environment Parameters

CpuPerWorkerinteger

CPU Allocation

90
GpuPerWorkerinteger

GPU Allocation

8
MemoryPerWorkerinteger

Memory (GB) Allocation

500
ShareMemoryinteger

Shared Memory (GB) Allocation

500
WorkerNuminteger

Number of Nodes

1
CudaVersionstring

cudaVersion

1.0.0
NCCLVersionstring

NCCL Version

1.0.0
GpuDriverVersionstring

GPU Driver Version

1.0.0
PyTorchVersionstring

PyTorch Version

1.0.0
PipelineOrderinteger

Pipeline Order

1
VersionIdlong

Version ID

1
IsDeleteinteger

Is Deleted

0
TemplateCodestring

Template Code

1
RequestIdstring

Request ID

5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB
AccessDeniedDetailstring

Access Denied Detail

{}
TotalCountlong

total

0

Examples

Sample success responses

JSONformat

{
  "Data": {
    "CreatorUid": 12312312312312,
    "TemplateId": 17615126,
    "CreateTime": "2024-11-19T02:01:05Z",
    "UpdateTime": "2023-10-16T01:58Z",
    "TemplateName": "test",
    "TemplateDescription": "test",
    "PrivacyLevel": "private",
    "TemplatePipelineParam": [
      {
        "WorkloadId": 13,
        "WorkloadName": "test",
        "Scene": "baseline",
        "SettingParams": {
          "key": {}
        },
        "EnvParams": {
          "CpuPerWorker": 90,
          "GpuPerWorker": 8,
          "MemoryPerWorker": 500,
          "ShareMemory": 500,
          "WorkerNum": 1,
          "CudaVersion": "1.0.0",
          "NCCLVersion": "1.0.0",
          "GpuDriverVersion": "1.0.0",
          "PyTorchVersion": "1.0.0"
        },
        "PipelineOrder": 1
      }
    ],
    "VersionId": 1,
    "IsDelete": 0,
    "TemplateCode": 1
  },
  "RequestId": "5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB",
  "AccessDeniedDetail": {},
  "TotalCount": 0
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-01-21The response structure of the API has changedView Change Details