Views the logs of an SSL server.

Make the API call

You can use OpenAPI Explorer to make API calls, search for API calls, perform debugging, and generate SDK example code.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DescribeVpnSslServerLogs

The name of this action. Value: DescribeVpnSslServerLogs

RegionId String Yes cn-hangzhou

The region of the SSL server. To query the region ID, call DescribeRegions.

VpnSslServerId String Yes vss-bp155e9yclsg1xgq4****

The ID of the SSL server.

From Integer No 2018020201

The start time of the log. Format: yyyymmddhh.

If From is specified, To or MinutePeriod must also be specified.

To Integer No 2018020206

The end time of the log. Format: yyyymmddhh.

If To is specified, From or MinutePeriod must also be specified.

MinutePeriod Integer No 10

The log cycle.

If From and To are not specified, MinutePeriod must be specified.

PageNumber Integer No 1

The page number. Default value: 1

PageSize Integer No 10

The number of entries per page for a paged query. Maximum value: 50. Default value: 10.

Response parameters

Parameter Type Example value Description
RequestId String 5BE01CD7-5A50-472D-AC14-CA181C5C03BE

The ID of the request.

Count Integer 10

The number of log entries.

IsCompleted Boolean true

Indicates whether the queried log is accurate. Valid values:

  • true: The queried log is accurate.
  • false: The queried log is inaccurate.
PageNumber Integer 1

The current page number.

PageSize Integer 1

The number of entries per page.

Data List test

An array. Each item in the array is a log.

Examples

Request example

http(s)://[Endpoint]/? Action=DescribeVpnSslServerLogs
&RegionId=cn-hangzhou
&VpnSslServerId=vss-bp155e9yclsg1xgq4****
&<CommonParameters>

Response example

XML format

<DescribeVpnSslServerLogsResponse>
	  <Data></Data>
	  <PageNumber>1</PageNumber>
	  <Count>0</Count>
	  <PageSize>10</PageSize>
	  <IsCompleted>true</IsCompleted>
	  <RequestId>26641E42-66C7-4942-9FEC-F99213914F8F</RequestId>
</DescribeVpnSslServerLogsResponse>

JSON format

{
	"Data": {
		"Logs": []
	},
	"PageNumber": 1,
	"Count": 0,
	"PageSize": 10,
	"IsCompleted": true,
	"RequestId": "26641E42-66C7-4942-9FEC-F99213914F8F"
}

Errors

HTTP status code Error code Error message Description
403 Forbbiden.SubUser User not authorized to operate on the specified resource as your account is created by another user. You are not authorized to operate on this resource.
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource.

For a list of error codes, visit the API Error Center.