Querying the Connection Log Configuration of a P2C VPN Gateway
Function
This API is used to query the connection log configuration of a P2C VPN gateway with a specified ID.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{project_id}/p2c-vpn-gateways/{p2c_vgw_id}/log-config
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| project_id | String | Yes | Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID. |
| p2c_vgw_id | String | Yes | Specifies the ID of a P2C VPN gateway instance. |
Request
Response
- Response parameters
Returned status code 200: successful query
Table 2 Parameters in the response body Parameter
Type
Description
log_config
object
Specifies the log_config object.
request_id
String
Specifies a request ID.
- Example response
{ "log_config": { "log_group_id": "05c4052d-8d14-488f-aa00-19fea5a25fdd", "log_stream_id": "d9d85143-e1e1-427a-9994-d8b8fd9ebe3f" }, "request_id": "2ddd2f6107a8164ce6f6268bd991e57c" }
Status Codes
For details, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.