Switches the network connection status of an instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | SwitchHiTSDBInstancePublicNet |
The operation that you want to perform. Set the value to SwitchHiTSDBInstancePublicNet. |
InstanceId | String | Yes | ts-ufxxxxxxxxxxxxxx |
The ID of the instance. |
SwitchAction | Long | Yes | 1 |
|
RegionId | String | No | cn-shanghai |
The ID of the region. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | EC6A17BC-B326-4626-B3BE-932B003DB3A9 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=SwitchHiTSDBInstancePublicNet
&InstanceId=ts-ufxxxxxxxxxxxxxx
&SwitchAction=1
&<Common request parameters>
Sample success responses
XML
format
<SwitchHiTSDBInstancePublicNetResponse>
<RequestId>EC6A17BC-B326-4626-B3BE-932B003DB3A9</RequestId>
</SwitchHiTSDBInstancePublicNetResponse>
JSON
format
{
"RequestId": "EC6A17BC-B326-4626-B3BE-932B003DB3A9"
}
Error codes
For a list of error codes, visit the API Error Center.