curl --location --request GET 'https://openapi.suanli.cn/api/deployment/task/detail?task_id=1'{
"code": "string",
"message": "string",
"data": {
"task_id": 0,
"task_type": "Deployment",
"task_name": "string",
"namespace": "string",
"repository_username": "string",
"repository_password": "string",
"status": "Pending",
"points": 0,
"runing_points": 0,
"billing_points": 0,
"billing_value": 0,
"forecast_value": 0,
"scheduler_strategy": {
"mode": "Unrestricted"
},
"task_qos": {
"class": "Guaranteed"
},
"load_balance": {
"type": "string",
"params": {
"header": "string",
"cookie": "string"
}
},
"dynamic_pod_strategy": {
"min_workers": 0,
"max_workers": 0,
"idle_timeout": 0,
"execution_timeout": 0,
"switch": true,
"benchmark": [
{
"scaling_strategy": "string",
"indicators": {
"scaling_strategy": "queue_delay",
"indicators": {
"port": 0,
"queue_delay_threshold": 0,
"max_concurrency_per_instance": 0
}
}
}
]
},
"resources": [
{
"resource": {
"device_name": "string",
"region": "string",
"gpu_name": "string",
"gpu_count": 0,
"gpu_memory": 0,
"memory": 0,
"cpu_cores": 0
},
"region_name": "string",
"mark": "string"
}
],
"services": [
{
"service_id": 0,
"service_name": "string",
"service_image": "string",
"env": "string",
"shared_mem_size": 0,
"storage_config": [
{
"storage_id": 0,
"target_dir": "string"
}
],
"share_storage_config": [
{
"storage_id": 0,
"target_dir": "string"
}
],
"remote_ports": [
{
"url": "string",
"service_port": 0
}
],
"health_checks": {
"liveness_probe": {
"switch": true,
"probe_type": "httpGet",
"path": "string",
"port": 0,
"initial_delay_seconds": 0,
"period_seconds": 0,
"timeout_seconds": 0,
"failure_threshold": 0
},
"startup_probe": {
"switch": true,
"probe_type": "httpGet",
"path": "string",
"port": 0,
"initial_delay_seconds": 0,
"period_seconds": 0,
"timeout_seconds": 0,
"failure_threshold": 0
},
"readiness_probe": {
"switch": true,
"probe_type": "httpGet",
"path": "string",
"port": 0,
"initial_delay_seconds": 0,
"period_seconds": 0,
"timeout_seconds": 0,
"failure_threshold": 0
}
},
"start_script_v2": {
"command": "string",
"args": [
"string"
]
}
}
]
}
}