Database Workshop
Name | Type | Is it required? | Sample | Description |
FollowInstanceID | String | Yes | mysql-cf8d83****** | Instance ID. tip You can select the following APIs to query the instance ID as needed:
|
InstanceType | String | Yes | MySQL | Database types. The following database types are supported:
|
Ttl | Integer | Yes | 30 | The total number of days to retain Full SQL data. The value is the sum of the HotStorageDays and ColdStorageDays parameters. |
LogProductType | String | Yes | FullSqlLog | The source type of the log. Valid values:
|
RegionId | String | Yes | cn-beijing | Region ID. |
CustomStorageSqlMethods | Array of string | Yes | [ "SELECT", "INSERT", "UPDATE", "DELETE", "ALTER", "CREATE", "DROP", "RENAME", "TRUNCATE", "OTHER" ] | SQL types that are collected and stored. Values include: SELECT, INSERT, UPDATE, DELETE, ALTER, CREATE, DROP, RENAME, TRUNCATE, OTHER. |
LabelType | String | Yes | ConsumeTls | Deployment tag type, currently only supports ConsumeTls values. |
DefaultCloseType | String | No | CloseAuditCollectAndTls | Close method. Currently, only the CloseAuditCollectAndTls value is supported. |
Tags | No | [ { "Key": "env", "Value": "prod" } ] | Tags are used to mark resources to facilitate searching and resource aggregation. | |
EnableFunctions | RegionEnableFunctions | No | { "SQLAuditDetail": true, "SQLInsight": true, "EnableHierarchicalStorage": true } | Function switches supported in the current region. |
HotStorageDays | Integer | No | 7 | Standard storage days. The value range is 1 to 1095. |
ColdStorageDays | Integer | No | 23 | Infrequent-access retention period, ranging from 30 to 3648 days. Default value: 30. |
Name | Type | Sample | Description |
AuditServiceID | String | DBW_FullSql_66******-39e1-4139-a785-501a9d****** | Full SQL service instance ID. |
OrderID | String | Order2001000022227****** | Billing order ID. |