DatabaseProps
Properties for defining a Database.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-dms-database
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdms/datasource"
&datasource.DatabaseProps {
Host: interface{},
Port: interface{},
SchemaName: interface{},
RefreshOptions: interface{},
Sid: interface{},
Tid: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Host | interface{} | Property host: Database connection address. |
Port | interface{} | Property port: Database connection port. |
SchemaName | interface{} | Property schemaName: Database schema name. |
RefreshOptions | interface{} | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
Sid | interface{} | Property sid: Database SID. |
Tid | interface{} | Property tid: The tenant ID. |
HostRequired
Host interface{}
- Type: interface{}
Property host: Database connection address.
PortRequired
Port interface{}
- Type: interface{}
Property port: Database connection port.
SchemaNameRequired
SchemaName interface{}
- Type: interface{}
Property schemaName: Database schema name.
RefreshOptionsOptional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
SidOptional
Sid interface{}
- Type: interface{}
Property sid: Database SID.
TidOptional
Tid interface{}
- Type: interface{}
Property tid: The tenant ID.