API overview

Updated at:

DBAudit C100 instances provide the following APIs.

Create a DataBase Audit instance

API

Description

CreateInstance

Creates an instance and automatically processes the payment.

QueryAvailableInstances

Queries the list of instances for a user.

ModifyInstance

Changes the configuration of an instance and automatically processes the payment.

RenewInstance

Renews an instance.

SetRenewal

Enables auto-renewal for an instance.

Tags

API

Description

ListTagKeys - Query tag keys

Queries the tags attached to a resource.

UntagResources - Remove tags from an instance

Detaches tags from specified resources.

TagResources - Add tags to an instance

Attaches tags to specified resources.

ListTagResources - Query tags of an instance

Queries the tags attached to one or more instances.

Instances

API

Description

ConfigInstanceWhiteList - Configure a public connection whitelist

Configures a public IP address whitelist. After you enable public access for an instance, you can add public IP addresses to the whitelist to allow Internet traffic to access the instance.

StartInstance - Start an instance

Starts an audit instance.

DescribeInstanceAttribute - Query instance details

Queries the properties of an instance, such as its instance ID and description.

DescribeInstances - Query instance list

Queries a list of instances.

EnableInstancePublicAccess - Enable public access for an instance

Enables public access for a specified instance.

DisableInstancePublicAccess - Disable public access for an instance

Disables public access for a specified instance.

ModifyInstanceAttribute - Modify instance description

Modifies the description of a specified instance.

MoveResourceGroup - Move an instance to another resource group

Moves an instance to another resource group.

Regions

API

Description

DescribeRegions - View available regions and zones

Queries the Alibaba Cloud regions that DataBase Audit supports.

Storage

API

Description

DescribeInstanceStorage - Query instance log storage information

You can call the DescribeInstanceStorage operation to query information about instance storage.

ModifyInstanceStorage - Modify instance log storage duration

Call the ModifyInstanceStorage operation to modify the storage of a specified instance.

ClearInstanceStorage - Clear log storage

You can call the ClearInstanceStorage operation to clear data from the specified instance storage.