ScriptExecutionProps
Properties for defining a ScriptExecution.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dms-scriptexecution
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdms"
&alicloudroscdkdms.ScriptExecutionProps {
DbId: interface{},
Logic: interface{},
Script: interface{},
Tid: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbId | interface{} | Property dbId: The database ID. |
Logic | interface{} | Property logic: Whether it is a logical database. |
Script | interface{} | Property script: The specific SQL script to execute. |
Tid | interface{} | Property tid: The tenant ID. |
DbIdRequired
DbId interface{}
- Type: interface{}
Property dbId: The database ID.
This parameter corresponds to the DatabaseId parameter in interfaces like SearchDatabase, ListDatabases, GetDatabase, etc. You can call these interfaces to obtain the value.
LogicRequired
Logic interface{}
- Type: interface{}
Property logic: Whether it is a logical database.
ScriptRequired
Script interface{}
- Type: interface{}
Property script: The specific SQL script to execute.
Includes DQL, DDL, and DML. Whether DDL and DML are allowed depends on the security configuration of the instance.
TidOptional
Tid interface{}
- Type: interface{}
Property tid: The tenant ID.
Obtain this from the tenant ID information displayed when hovering over the top-right corner avatar.