TriggerNetwork
Enables or performs shutdown of public network or private network access for an Elasticsearch or Kibana cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:TriggerNetwork |
none |
*Instance
|
|
None |
Request syntax
POST /openapi/instances/{InstanceId}/actions/network-trigger HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-n6w1o1x0w001c**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
407d02b74c49beb5bfdac7ec8bde2488 |
| body |
object |
No |
The request body parameters. |
|
| nodeType |
string |
Yes |
The node type. Valid values:
|
KIBANA |
| networkType |
string |
Yes |
The network type. Valid values:
|
PUBLIC |
| actionType |
string |
Yes |
The action type. Valid values:
|
OPEN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
The result. Valid values:
|
true |
| RequestId |
string |
The request ID. |
5A5D8E74-565C-43DC-B031-29289FA**** |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "5A5D8E74-565C-43DC-B031-29289FA****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.