请求头
枚举值:application/json。
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
请求体
VPC 网络的名称。自定义设置。字符串,长度限制:0-30 字符。
响应参数
VPC 网络信息。
curl --request POST \
  --url https://api.ppinfra.com/gpu-instance/openapi/v1/network/create \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "clusterId": "<string>",
  "name": "<string>"
}'{
  "network": [
    {
      "Id": "<string>",
      "user": "<string>",
      "name": "<string>",
      "state": [
        {
          "state": "<string>",
          "error": "<string>"
        }
      ],
      "segment": "<string>",
      "clusterId": "<string>",
      "Addresses": [
        {
          "Id": "<string>",
          "Ip": "<string>"
        }
      ],
      "createTime": "<string>"
    }
  ]
}curl --request POST \
  --url https://api.ppinfra.com/gpu-instance/openapi/v1/network/create \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "clusterId": "<string>",
  "name": "<string>"
}'{
  "network": [
    {
      "Id": "<string>",
      "user": "<string>",
      "name": "<string>",
      "state": [
        {
          "state": "<string>",
          "error": "<string>"
        }
      ],
      "segment": "<string>",
      "clusterId": "<string>",
      "Addresses": [
        {
          "Id": "<string>",
          "Ip": "<string>"
        }
      ],
      "createTime": "<string>"
    }
  ]
}隐藏 properties