Updates instance information.
Debugging
Authorization information
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. Enumeration Value:
| 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 value:
Enumeration Value:
| TRUST_PROXY |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3104C83E-6E82-57FB-BB88-8C64CCFDEF89"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-13 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-08-16 | The internal configuration of the API is changed, but the call is not affected | View Change Details |