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. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsOptional
- Type: DBInstanceProps
enableResourcePropertyConstraintOptional
- 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. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAccountMaxQuantityRequired
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.
AttrAdvancedFeaturesRequired
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
AttrAutoUpgradeMinorVersionRequired
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.
AttrAvailabilityValueRequired
func AttrAvailabilityValue() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AvailabilityValue: The availability status of the instance in percentage.
AttrBabelfishConfigRequired
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.
AttrCategoryRequired
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
AttrCollationRequired
func AttrCollation() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Collation: The character set collation of the instance.
AttrConnectionModeRequired
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
AttrConnectionStringRequired
func AttrConnectionString() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ConnectionString: The internal endpoint of the instance.
AttrConsoleVersionRequired
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
AttrCreationTimeRequired
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.
AttrCurrentKernelVersionRequired
func AttrCurrentKernelVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CurrentKernelVersion: The minor engine version of the instance.
AttrDbClusterNodesRequired
func AttrDbClusterNodes() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBClusterNodes: The information about the node in the cluster.
AttrDbInstanceClassRequired
func AttrDbInstanceClass() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceClass: The instance type of the instance.
AttrDbInstanceClassTypeRequired
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
AttrDbInstanceCpuRequired
func AttrDbInstanceCpu() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceCPU: The number of CPU cores.
AttrDbInstanceDescriptionRequired
func AttrDbInstanceDescription() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceDescription: The description of the instance.
AttrDbInstanceDiskUsedRequired
func AttrDbInstanceDiskUsed() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceDiskUsed: The disk usage of the instance.
AttrDbInstanceIdRequired
func AttrDbInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceId: The instance ID.
AttrDbInstanceMemoryRequired
func AttrDbInstanceMemory() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceMemory: The memory capacity of the instance.
Unit: MB.
AttrDbInstanceNetTypeRequired
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
AttrDbInstanceStatusRequired
func AttrDbInstanceStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceStatus: The status of the instance.
AttrDbInstanceStorageRequired
func AttrDbInstanceStorage() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DBInstanceStorage: The storage capacity of the instance.
Unit: GB.
AttrDbInstanceStorageTypeRequired
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)
AttrDbInstanceTypeRequired
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
AttrDbMaxQuantityRequired
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.
AttrDedicatedHostGroupIdRequired
func AttrDedicatedHostGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
AttrDeletionProtectionRequired
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
AttrEngineRequired
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
AttrEngineVersionRequired
func AttrEngineVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EngineVersion: The database engine version.
AttrExpireTimeRequired
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.
AttrExtraRequired
func AttrExtra() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Extra: The extended information of the instance.
AttrGeneralGroupNameRequired
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.
AttrGuardDbInstanceIdRequired
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.
AttrIncrementSourceDbInstanceIdRequired
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.
AttrInstanceNetworkTypeRequired
func AttrInstanceNetworkType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
Valid values: Classic VPC
AttrInstructionSetArchRequired
func AttrInstructionSetArch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstructionSetArch: The architecture type of the instance.
Valid values: x86 arm
AttrIpTypeRequired
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.
AttrLatestKernelVersionRequired
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.
AttrLockModeRequired
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.
AttrLockReasonRequired
func AttrLockReason() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LockReason: The reason why the instance was locked.
AttrMaintainTimeRequired
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.
AttrMasterInstanceIdRequired
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.
AttrMasterZoneRequired
func AttrMasterZone() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MasterZone: The zone ID of the primary instance.
AttrMaxConnectionsRequired
func AttrMaxConnections() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxConnections: The maximum number of concurrent connections.
AttrMaxIombpsRequired
func AttrMaxIombps() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxIOMBPS: The maximum I/O throughput.
Unit: MB/s.
AttrMaxIopsRequired
func AttrMaxIops() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MaxIOPS: The maximum number of I/O requests per second.
AttrPayTypeRequired
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
AttrPgBouncerEnabledRequired
func AttrPgBouncerEnabled() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
AttrPortRequired
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.
AttrProxyTypeRequired
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.
AttrReadOnlyDbInstanceIdsRequired
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.
AttrReadonlyInstanceSqlDelayedTimeRequired
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.
AttrResourceGroupIdRequired
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The resource group ID.
AttrSecurityIpListRequired
func AttrSecurityIpList() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SecurityIPList: The IP addresses in the IP address whitelist.
AttrSecurityIpModeRequired
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
AttrServerlessConfigRequired
func AttrServerlessConfig() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ServerlessConfig: The settings of the serverless instance.
AttrSlaveZonesRequired
func AttrSlaveZones() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SlaveZones: The information about the zone of the secondary instance.
AttrSuperPermissionModeRequired
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
AttrTempDbInstanceIdRequired
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.
AttrTimeZoneRequired
func AttrTimeZone() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute TimeZone: The time zone of the instance.
AttrTipsRequired
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.
AttrTipsLevelRequired
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.
AttrVpcCloudInstanceIdRequired
func AttrVpcCloudInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcCloudInstanceId: The VPC ID.
AttrVpcIdRequired
func AttrVpcId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
AttrVSwitchIdRequired
func AttrVSwitchId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VSwitchId: The vSwitch ID.
AttrZoneIdRequired
func AttrZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ZoneId: The zone ID.