RdsExternalStoreProps
Properties for defining a RdsExternalStore
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksls"
&alicloudroscdksls.RdsExternalStoreProps {
Db: interface{},
ExternalStoreName: interface{},
Host: interface{},
Password: interface{},
Port: interface{},
Project: interface{},
Region: interface{},
StoreType: interface{},
Table: interface{},
Username: interface{},
VpcId: interface{},
InstanceId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Db |
interface{} |
Property db: The name of the database in the ApsaraDB RDS for MySQL instance. |
ExternalStoreName |
interface{} |
Property externalStoreName: The name of the external store. |
Host |
interface{} |
Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance. |
Password |
interface{} |
Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance. |
Port |
interface{} |
Property port: The internal or public port of the ApsaraDB RDS for MySQL instance. |
Project |
interface{} |
Property project: The name of the project. |
Region |
interface{} |
Property region: The region where the ApsaraDB RDS for MySQL instance resides. |
StoreType |
interface{} |
Property storeType: The storage type. |
Table |
interface{} |
Property table: The name of the database table in the ApsaraDB RDS for MySQL instance. |
Username |
interface{} |
Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs. |
InstanceId |
interface{} |
Property instanceId: The id of the RDS instance. |
Db
Required
Db interface{}
- Type: interface{}
Property db: The name of the database in the ApsaraDB RDS for MySQL instance.
ExternalStoreName
Required
ExternalStoreName interface{}
- Type: interface{}
Property externalStoreName: The name of the external store.
The name must be unique in a project and different from Logstore.
Host
Required
Host interface{}
- Type: interface{}
Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
Password
Required
Password interface{}
- Type: interface{}
Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.
Port
Required
Port interface{}
- Type: interface{}
Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.
Project
Required
Project interface{}
- Type: interface{}
Property project: The name of the project.
Region
Required
Region interface{}
- Type: interface{}
Property region: The region where the ApsaraDB RDS for MySQL instance resides.
Valid values: cn-qingdao, cn-beijing, cn-hangzhou.
StoreType
Required
StoreType interface{}
- Type: interface{}
Property storeType: The storage type.
Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
Table
Required
Table interface{}
- Type: interface{}
Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.
Username
Required
Username interface{}
- Type: interface{}
Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.
VpcId
Required
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
InstanceId
Optional
InstanceId interface{}
- Type: interface{}
Property instanceId: The id of the RDS instance.