Create NIC Device
Creates a network adapter in the VM
ID of VM
Parameters of network adapter to create
{
"type": "string",
"vmnet": "string"
}
The network type of network adapter
The vmnet name, it should only be used while type is custom
Information of the network adapter created
{
"index": 0,
"type": "string",
"vmnet": "string"
}
The index of network adapter
The network type of network adapter
The vmnet name
not modified
{
"code": 0,
"message": "string"
}
code
message
Invalid parameters
{
"code": 0,
"message": "string"
}
code
message
Authentication failed
{
"code": 0,
"message": "string"
}
code
message
Permission denied
{
"code": 0,
"message": "string"
}
code
message
No such VM
{
"code": 0,
"message": "string"
}
code
message
Content type was not supported
{
"code": 0,
"message": "string"
}
code
message
Resource state conflicts
{
"code": 0,
"message": "string"
}
code
message
Server error
{
"code": 0,
"message": "string"
}
code
message
Unexpected error
{
"code": 0,
"message": "string"
}
code
message