RDS

Products

RDS

Documentation > OpenAPI & SDK > RDS > describeAuditOptions

describeAuditOptions

Description

Obtain the audit option of various database version supported by the current system and the relevant options
- only support SQL Server

Request Method

GET

Request Address

https://rds.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}/audit:describeAuditOptions

Name Type Required or Not Default Description
regionId String True Region code, see the value range in Table of Comparisons of Regions and Availability Zones
instanceId String True RDS instance ID, the unique identifier of one RDS instance

Request Parameter

Name Type Required or Not Default Description
name String True Audit option category, case sensitivity, currently supports two types:
(1) AuditOptions begin: return all the options supported by each version of SQL Server in disabled parameters, the name supported is
AuditOptions2008R2
AuditOptions2012
AuditOptions2014
AuditOptions2016
For instance, enter the parameter “AuditOptions2016”, return all the audit options supported by SQL Server 2016 version in the disabled field
(2) Begin with AuditDefault: the default option recommended by JD Cloud, which returns the options recommended to be enabled in enabled parameters and returns the options not to be enabled in disabled parameters, and the supported name is:
AuditDefault2008R2
AuditDefault2012
AuditDefault2014
AuditDefault2016
For instance, if the entered parameter is “AuditDefault2016”, the audit options recommended to be enabled by JD Cloud in SQL Server 2016 version are returned in the enabled field, and the options recommended not to be enabled are returned in the disabled field

Return Parameter

Name Type Description
result Result

Result

Name Type Description
enabled String[ ]
disabled String[ ]

Return Code

Return Code Description
200 OK
Update Time:2019-07-11 18:54:31