Disables public network access for a Bastionhost instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:DisableInstancePublicAccess |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Bastionhost instance for which you want to disable public network access. Note
Call the DescribeInstances operation to obtain the ID of the Bastionhost instance. |
bastionhost-cn-78v1gh**** |
| RegionId |
string |
No |
The region ID of the Bastionhost instance. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InstanceId |
string |
The ID of the Bastionhost instance for which public network access is disabled. |
bastionhost-cn-78v1gh**** |
| RequestId |
string |
The ID of the request. This ID is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
76FAAF15-D3A3-4099-9941-FC408D9FDB4C |
Examples
Success response
JSON format
{
"InstanceId": "bastionhost-cn-78v1gh****",
"RequestId": "76FAAF15-D3A3-4099-9941-FC408D9FDB4C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.