DBInstance
This class encapsulates and extends the ROS resource type DATASOURCE::RDS::DBInstance
, which is used to query an ApsaraDB RDS instance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds/datasource"
datasource.NewDBInstance(scope Construct, id *string, props DBInstanceProps, enableResourcePropertyConstraint *bool) DBInstance
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
DBInstanceProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Optional
- Type: DBInstanceProps
enableResourcePropertyConstraint
Optional
- Type: *bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrds/datasource"
datasource.DBInstance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
Ref |
*string |
No description. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this resource is defined. |
Resource |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource |
No description. |
AttrAccountMaxQuantity |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance. |
AttrAdvancedFeatures |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AdvancedFeatures: The advanced features that are enabled for the instance. |
AttrAutoUpgradeMinorVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance. |
AttrAvailabilityValue |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AvailabilityValue: The availability status of the instance in percentage. |
AttrBabelfishConfig |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance. |
AttrCategory |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Category: The RDS edition of the instance. |
AttrCollation |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Collation: The character set collation of the instance. |
AttrConnectionMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ConnectionMode: The connection mode of the instance. |
AttrConnectionString |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ConnectionString: The internal endpoint of the instance. |
AttrConsoleVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ConsoleVersion: The type of the proxy that is used by the instance. |
AttrCreationTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreationTime: The creation time. |
AttrCurrentKernelVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CurrentKernelVersion: The minor engine version of the instance. |
AttrDbClusterNodes |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBClusterNodes: The information about the node in the cluster. |
AttrDbInstanceClass |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceClass: The instance type of the instance. |
AttrDbInstanceClassType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceClassType: The instance family to which the instance belongs. |
AttrDbInstanceCpu |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceCPU: The number of CPU cores. |
AttrDbInstanceDescription |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceDescription: The description of the instance. |
AttrDbInstanceDiskUsed |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceDiskUsed: The disk usage of the instance. |
AttrDbInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceId: The instance ID. |
AttrDbInstanceMemory |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceMemory: The memory capacity of the instance. |
AttrDbInstanceNetType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceNetType: The type of the network over which the instance is connected. |
AttrDbInstanceStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceStatus: The status of the instance. |
AttrDbInstanceStorage |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceStorage: The storage capacity of the instance. |
AttrDbInstanceStorageType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceStorageType: The storage type of the instance. |
AttrDbInstanceType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBInstanceType: The type of the instance. |
AttrDbMaxQuantity |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance. |
AttrDedicatedHostGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DedicatedHostGroupId: The ID of the dedicated cluster. |
AttrDeletionProtection |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeletionProtection: Indicates whether the release protection feature is enabled. |
AttrEngine |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Engine: The database engine of the instance. |
AttrEngineVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EngineVersion: The database engine version. |
AttrExpireTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ExpireTime: The expiration time. |
AttrExtra |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Extra: The extended information of the instance. |
AttrGeneralGroupName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs. |
AttrGuardDbInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance. |
AttrIncrementSourceDbInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes. |
AttrInstanceNetworkType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceNetworkType: The network type of the instance. |
AttrInstructionSetArch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstructionSetArch: The architecture type of the instance. |
AttrIpType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute IPType: The type of the IP address. |
AttrLatestKernelVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance. |
AttrLockMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LockMode: The lock mode of the instance. |
AttrLockReason |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LockReason: The reason why the instance was locked. |
AttrMaintainTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MaintainTime: The maintenance window of the instance. |
AttrMasterInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MasterInstanceId: The ID of the primary instance. |
AttrMasterZone |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MasterZone: The zone ID of the primary instance. |
AttrMaxConnections |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MaxConnections: The maximum number of concurrent connections. |
AttrMaxIombps |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MaxIOMBPS: The maximum I/O throughput. |
AttrMaxIops |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MaxIOPS: The maximum number of I/O requests per second. |
AttrPayType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PayType: The billing method of the instance. |
AttrPgBouncerEnabled |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled. |
AttrPort |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Port: The port that is used to connect to the instance over an internal network. |
AttrProxyType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ProxyType: The type of the proxy that is supported by the instance. |
AttrReadOnlyDbInstanceIds |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance. |
AttrReadonlyInstanceSqlDelayedTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The resource group ID. |
AttrSecurityIpList |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SecurityIPList: The IP addresses in the IP address whitelist. |
AttrSecurityIpMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SecurityIPMode: The whitelist mode of the instance. |
AttrServerlessConfig |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ServerlessConfig: The settings of the serverless instance. |
AttrSlaveZones |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SlaveZones: The information about the zone of the secondary instance. |
AttrSuperPermissionMode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SuperPermissionMode: Indicates whether the instance supports superuser accounts, such as the system administrator (SA) account, the Active Directory (AD) account, and the host account. |
AttrTempDbInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance. |
AttrTimeZone |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute TimeZone: The time zone of the instance. |
AttrTips |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Tips: The information about the exception that is detected on the instance. |
AttrTipsLevel |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute TipsLevel: The severity level of the exception that is detected on the instance. |
AttrVpcCloudInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcCloudInstanceId: The VPC ID. |
AttrVpcId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcId: The virtual private cloud (VPC) ID of the instance. |
AttrVSwitchId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VSwitchId: The vSwitch ID. |
AttrZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ZoneId: The zone ID. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAccountMaxQuantity
Required
func AttrAccountMaxQuantity() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.
AttrAdvancedFeatures
Required
func AttrAdvancedFeatures() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AdvancedFeatures: The advanced features that are enabled for the instance.
If multiple advanced features are enabled, the advanced features are separated by commas (,). This parameter is available only to instances that run SQL Server. Valid values: LinkedServer DistributeTransaction
AttrAutoUpgradeMinorVersion
Required
func AttrAutoUpgradeMinorVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance.
Valid values: Auto: automatic update. Manual: manual update. The minor engine version of the instance is forcefully updated only when the in-use minor engine version is phased out.
AttrAvailabilityValue
Required
func AttrAvailabilityValue() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AvailabilityValue: The availability status of the instance in percentage.
AttrBabelfishConfig
Required
func AttrBabelfishConfig() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
AttrCategory
Required
func AttrCategory() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Category: The RDS edition of the instance.
Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition cluster: RDS Cluster Edition for ApsaraDB RDS for MySQL AlwaysOn: RDS Cluster Edition for ApsaraDB RDS for SQL Server Finance: RDS Enterprise Edition Serverless_basic: RDS Basic Edition for serverless instances
AttrCollation
Required
func AttrCollation() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Collation: The character set collation of the instance.
AttrConnectionMode
Required
func AttrConnectionMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ConnectionMode: The connection mode of the instance.
Valid values: Standard: standard mode Safe: database proxy mode
AttrConnectionString
Required
func AttrConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ConnectionString: The internal endpoint of the instance.
AttrConsoleVersion
Required
func AttrConsoleVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ConsoleVersion: The type of the proxy that is used by the instance.
Valid values: 1: shared proxy 2: dedicated proxy
AttrCreationTime
Required
func AttrCreationTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreationTime: The creation time.
The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
AttrCurrentKernelVersion
Required
func AttrCurrentKernelVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CurrentKernelVersion: The minor engine version of the instance.
AttrDbClusterNodes
Required
func AttrDbClusterNodes() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBClusterNodes: The information about the node in the cluster.
AttrDbInstanceClass
Required
func AttrDbInstanceClass() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceClass: The instance type of the instance.
AttrDbInstanceClassType
Required
func AttrDbInstanceClassType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceClassType: The instance family to which the instance belongs.
Valid values: s: shared instance family x: general-purpose instance family d: dedicated instance family h: dedicated host instance family
AttrDbInstanceCpu
Required
func AttrDbInstanceCpu() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceCPU: The number of CPU cores.
AttrDbInstanceDescription
Required
func AttrDbInstanceDescription() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceDescription: The description of the instance.
AttrDbInstanceDiskUsed
Required
func AttrDbInstanceDiskUsed() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceDiskUsed: The disk usage of the instance.
AttrDbInstanceId
Required
func AttrDbInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceId: The instance ID.
AttrDbInstanceMemory
Required
func AttrDbInstanceMemory() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceMemory: The memory capacity of the instance.
Unit: MB.
AttrDbInstanceNetType
Required
func AttrDbInstanceNetType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceNetType: The type of the network over which the instance is connected.
Valid values: Internet: Internet Intranet: internal network
AttrDbInstanceStatus
Required
func AttrDbInstanceStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceStatus: The status of the instance.
AttrDbInstanceStorage
Required
func AttrDbInstanceStorage() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceStorage: The storage capacity of the instance.
Unit: GB.
AttrDbInstanceStorageType
Required
func AttrDbInstanceStorageType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceStorageType: The storage type of the instance.
Valid values: local_ssd and ephemeral_ssd: local SSD cloud_ssd: standard SSD cloud_essd: enhanced SSD (ESSD)
AttrDbInstanceType
Required
func AttrDbInstanceType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceType: The type of the instance.
Valid values: Primary: primary instance Readonly: read-only instance Guard: disaster recovery instance Temp: temporary instance
AttrDbMaxQuantity
Required
func AttrDbMaxQuantity() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.
AttrDedicatedHostGroupId
Required
func AttrDedicatedHostGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
AttrDeletionProtection
Required
func AttrDeletionProtection() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeletionProtection: Indicates whether the release protection feature is enabled.
Valid values: true false
AttrEngine
Required
func AttrEngine() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Engine: The database engine of the instance.
Valid values: MySQL PostgreSQL SQLServer MariaDB
AttrEngineVersion
Required
func AttrEngineVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EngineVersion: The database engine version.
AttrExpireTime
Required
func AttrExpireTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ExpireTime: The expiration time.
The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. Note: Pay-as-you-go instances never expire.
AttrExtra
Required
func AttrExtra() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Extra: The extended information of the instance.
AttrGeneralGroupName
Required
func AttrGeneralGroupName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs.
This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
AttrGuardDbInstanceId
Required
func AttrGuardDbInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.
AttrIncrementSourceDbInstanceId
Required
func AttrIncrementSourceDbInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes.
The incremental data of a disaster recovery instance or read-only instance comes from its primary instance. If this parameter is not returned, the instance is a primary instance.
AttrInstanceNetworkType
Required
func AttrInstanceNetworkType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
Valid values: Classic VPC
AttrInstructionSetArch
Required
func AttrInstructionSetArch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstructionSetArch: The architecture type of the instance.
Valid values: x86 arm
AttrIpType
Required
func AttrIpType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute IPType: The type of the IP address.
Only IPv4 addresses are supported.
AttrLatestKernelVersion
Required
func AttrLatestKernelVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.
AttrLockMode
Required
func AttrLockMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LockMode: The lock mode of the instance.
Valid values: Unlock: The instance is not locked. ManualLock: The instance is manually locked. LockByExpiration: The instance is automatically locked due to instance expiration. LockByRestoration: The instance is automatically locked due to instance restoration. LockByDiskQuota: The instance is automatically locked due to exhausted storage space. LockReadInstanceByDiskQuota: The instance is a read-only instance and is automatically locked due to exhausted storage.
AttrLockReason
Required
func AttrLockReason() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LockReason: The reason why the instance was locked.
AttrMaintainTime
Required
func AttrMaintainTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaintainTime: The maintenance window of the instance.
The time is displayed in UTC. Take note that the maintenance window displayed in the ApsaraDB RDS console is equal to the value of this parameter plus 8 hours.
AttrMasterInstanceId
Required
func AttrMasterInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MasterInstanceId: The ID of the primary instance.
Note: If this parameter is not returned, the instance is the primary instance.
AttrMasterZone
Required
func AttrMasterZone() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MasterZone: The zone ID of the primary instance.
AttrMaxConnections
Required
func AttrMaxConnections() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxConnections: The maximum number of concurrent connections.
AttrMaxIombps
Required
func AttrMaxIombps() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxIOMBPS: The maximum I/O throughput.
Unit: MB/s.
AttrMaxIops
Required
func AttrMaxIops() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxIOPS: The maximum number of I/O requests per second.
AttrPayType
Required
func AttrPayType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PayType: The billing method of the instance.
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
AttrPgBouncerEnabled
Required
func AttrPgBouncerEnabled() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
AttrPort
Required
func AttrPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Port: The port that is used to connect to the instance over an internal network.
AttrProxyType
Required
func AttrProxyType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ProxyType: The type of the proxy that is supported by the instance.
Valid values: 0: The instance does not support database proxies. 1: The instance supports shared proxies, with which the instance runs in multi-tenant mode. 2: The instance supports dedicated proxies, with which the instance runs in single-tenant mode.
AttrReadOnlyDbInstanceIds
Required
func AttrReadOnlyDbInstanceIds() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.
AttrReadonlyInstanceSqlDelayedTime
Required
func AttrReadonlyInstanceSqlDelayedTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances.
The system replicates data from the primary instance to the read-only instances at the latency that is specified by the ReadonlyInstanceSQLDelayedTime parameter. Unit: seconds.
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The resource group ID.
AttrSecurityIpList
Required
func AttrSecurityIpList() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SecurityIPList: The IP addresses in the IP address whitelist.
AttrSecurityIpMode
Required
func AttrSecurityIpMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SecurityIPMode: The whitelist mode of the instance.
Valid values: normal: standard whitelist mode safety: enhanced whitelist mode
AttrServerlessConfig
Required
func AttrServerlessConfig() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ServerlessConfig: The settings of the serverless instance.
AttrSlaveZones
Required
func AttrSlaveZones() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SlaveZones: The information about the zone of the secondary instance.
AttrSuperPermissionMode
Required
func AttrSuperPermissionMode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SuperPermissionMode: Indicates whether the instance supports superuser accounts, such as the system administrator (SA) account, the Active Directory (AD) account, and the host account.
Enable Disabled
AttrTempDbInstanceId
Required
func AttrTempDbInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.
AttrTimeZone
Required
func AttrTimeZone() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute TimeZone: The time zone of the instance.
AttrTips
Required
func AttrTips() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Tips: The information about the exception that is detected on the instance.
This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.
AttrTipsLevel
Required
func AttrTipsLevel() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute TipsLevel: The severity level of the exception that is detected on the instance.
This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values: 1: The instance is normal. 2: The specifications of the read-only instances do not match the specifications of the primary instance. You must adjust the specifications of these instances based on your business requirements.
AttrVpcCloudInstanceId
Required
func AttrVpcCloudInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcCloudInstanceId: The VPC ID.
AttrVpcId
Required
func AttrVpcId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
AttrVSwitchId
Required
func AttrVSwitchId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VSwitchId: The vSwitch ID.
AttrZoneId
Required
func AttrZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ZoneId: The zone ID.