Gets a GPU rendering instance.
Authorization information
Request syntax
POST /2021-04-06/gpuInstances
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | The configurations of the GPU rendering instance. | |
instanceType | string | Yes | The specifications of the GPU rendering instance. | ecs.gn7i-c8g1.2xlarge |
imageId | string | Yes | The image ID of the GPU-rendered instance. | m-foobar |
tcpPortRange | array | No | The range of TCP ports that are open to the security group of the GPU rendering instance. | |
string | No | The port range of the TCP protocol. | 80/80 | |
udpPortRange | array | No | The range of UDP ports that are open to the security group of the GPU rendering instance. | |
string | No | The port range of the UDP protocol. | 13000/13002 | |
sourceCidrIp | string | Yes | The source IPv4 CIDR block of the GPU rendering instance. | 0.0.0.0/0 |
diskPerformanceLevel | string | No | The disk performance level of the GPU rendering instance. | PL0 |
password | string | No | The password of the GPU rendering instance. | MyPassword |
internetBandwidthOut | string | No | The outbound Internet bandwidth of the GPU rendering instance. | 100 |
diskSizeGigabytes | string | No | The system disk space of the GPU rendering instance. | 100 |
vpcId | string | No | The ID of the VPC in which the instance resides. | v-xxxx |
vswId | string | No | The ID of the vSwitch. | vsw-xxxx |
sgId | string | No | The ID of the security group. | sg-xxxx |
role | string | No | The role of the user. | acs:ram::1234567890:role/fc-test |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time on which the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT. | Sat, 14 Jul 2017 07:02:38 GMT |
X-Fc-Trace-Id | string | No | The custom request ID. | test-trace-id |
Response parameters
Examples
Sample success responses
JSON
format
{
"publicIp": "0.0.0.0",
"instanceId": "i-xxx",
"createdTime": "2022-11-11 07:31:04.899465017 +0000 UTC m=+37.671563424"
}
Error codes
For a list of error codes, visit the Service error codes.