ScriptExecutionProps
Properties for defining a ScriptExecution.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dms-scriptexecution
Initializer
import { ScriptExecutionProps } from '@alicloud/ros-cdk-dms'
const scriptExecutionProps: ScriptExecutionProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
dbId | number | @alicloud/ros-cdk-core.IResolvable | Property dbId: The database ID. |
logic | boolean | @alicloud/ros-cdk-core.IResolvable | Property logic: Whether it is a logical database. |
script | string | @alicloud/ros-cdk-core.IResolvable | Property script: The specific SQL script to execute. |
tid | number | @alicloud/ros-cdk-core.IResolvable | Property tid: The tenant ID. |
dbIdRequired
public readonly dbId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
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
public readonly logic: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property logic: Whether it is a logical database.
scriptRequired
public readonly script: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
public readonly tid: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property tid: The tenant ID.
Obtain this from the tenant ID information displayed when hovering over the top-right corner avatar.