curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/endpoint/update \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"id": "<string>",
"name": "<string>",
"clusterID": "<string>",
"workerConfig": [
{
"minNum": 123,
"maxNum": 123,
"freeTimeout": 123,
"maxConcurrent": 123,
"gpuNum": 123
}
],
"ports": [
{
"port": "<string>"
}
],
"policy": [
{
"type": "<string>",
"value": 123
}
],
"image": [
{
"image": "<string>",
"authId": "<string>",
"command": "<string>"
}
],
"volumeMounts": [
{
"type": "<string>",
"size": 123,
"id": "<string>",
"mountPath": "<string>"
}
],
"envs": [
{
"key": "<string>",
"value": "<string>"
}
],
"healthy": [
{
"path": "<string>"
}
]
}'