Updates instance information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ots:UpdateInstance |
update |
*Instance
|
None | None |
Request syntax
POST /v2/openapi/updateinstance HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceName |
string |
Yes |
The name of the instance whose information you want to update. |
instance-test |
| AliasName |
string |
No |
The alias of the instance. |
instance-test |
| InstanceDescription |
string |
No |
The description of the instance. |
the test instance |
| Network |
string |
No |
(Deprecated) The network type of the instance. Valid values: NORMAL and VPC_CONSOLE. Default value: NORMAL. |
VPC |
| NetworkTypeACL |
array |
No |
The new types of the network from which access is allowed. By default, all types of networks are allowed. Valid values:
|
|
|
string |
No |
The new type of the network from which access is allowed. Valid values:
|
INTERNET |
|
| NetworkSourceACL |
array |
No |
The new sources of the network from which access is allowed. By default, all sources of networks are allowed. Valid value: TRUST_PROXY: the console |
|
|
string |
No |
The new source of the network from which access is allowed. Valid values:
|
TRUST_PROXY |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned struct. |
||
| RequestId |
string |
The request ID, which can be used to troubleshoot issues. |
3104C83E-6E82-57FB-BB88-8C64CCFDEF89 |
Examples
Success response
JSON format
{
"RequestId": "3104C83E-6E82-57FB-BB88-8C64CCFDEF89"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.