EnableKibanaPvlNetwork
Invokes EnableKibanaPvlNetwork to enable private network access for Kibana.
Operation description
This API is supported only by cloud-native instances. For instances of the legacy architecture, use the TriggerNetwork method. 2. The Kibana specifications must be greater than 1 vCPU and 2 GiB.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:TriggerNetwork |
none |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/actions/enable-kibana-private HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The current instance ID. |
es-cn-n6w1oxxx**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. |
12345678-1234-4321-8765-123456789abc |
| body |
object |
No |
The request body. |
{"managedSecurityGroup":true} |
| endpointName |
string |
No |
The name of the endpoint. |
es-cn-27a3mul6l000xxx-kibana-endpoint |
| securityGroups |
array |
No |
The security groups. |
|
|
string |
No |
The name of the security group. |
sg-2sjfaoafee**** |
|
| vSwitchIdsZone |
array<object> |
No |
The vSwitch and zone information. |
|
|
object |
No |
|||
| vswitchId |
string |
No |
The ID of the vSwitch. |
vsw-bp194pz9iezj6h1n5**** |
| zoneId |
string |
No |
The ID of the zone. |
cn-hangzhou-h |
| vpcId |
string |
No |
The VPC-connected instance ID. |
vpc-bp19ip2ocyv24w0e2**** |
| managedSecurityGroup |
boolean |
No |
Specifies whether to use a managed security group. If you use a managed security group, you do not need to configure the securityGroups parameter, and the system automatically creates a managed security group for you. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| Result |
boolean |
Indicates whether private network access for Kibana is successfully created. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
0DC92CFE-62AF-51AF-9D5B-F1078D7C451E |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "0DC92CFE-62AF-51AF-9D5B-F1078D7C451E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.