DBInstance
This class encapsulates and extends the ROS resource type DATASOURCE::RDS::DBInstance, which is used to query an ApsaraDB RDS instance.
Initializers
import { datasource } from '@alicloud/ros-cdk-rds'
new datasource.DBInstance(scope: Construct, id: string, props?: DBInstanceProps, enableResourcePropertyConstraint?: boolean)
| Name | Type | Description |
|---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
DBInstanceProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scopeRequired
- Type: @alicloud/ros-cdk-core.Construct
idRequired
- Type: string
propsOptional
- Type: DBInstanceProps
enableResourcePropertyConstraintOptional
- Type: boolean
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
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
| Name | Description |
|---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-rds'
datasource.DBInstance.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
| Name | Type | Description |
|---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrAccountMaxQuantity |
@alicloud/ros-cdk-core.IResolvable |
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance. |
attrAdvancedFeatures |
@alicloud/ros-cdk-core.IResolvable |
Attribute AdvancedFeatures: The advanced features that are enabled for the instance. |
attrAutoUpgradeMinorVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance. |
attrAvailabilityValue |
@alicloud/ros-cdk-core.IResolvable |
Attribute AvailabilityValue: The availability status of the instance in percentage. |
attrBabelfishConfig |
@alicloud/ros-cdk-core.IResolvable |
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance. |
attrCategory |
@alicloud/ros-cdk-core.IResolvable |
Attribute Category: The RDS edition of the instance. |
attrCollation |
@alicloud/ros-cdk-core.IResolvable |
Attribute Collation: The character set collation of the instance. |
attrConnectionMode |
@alicloud/ros-cdk-core.IResolvable |
Attribute ConnectionMode: The connection mode of the instance. |
attrConnectionString |
@alicloud/ros-cdk-core.IResolvable |
Attribute ConnectionString: The internal endpoint of the instance. |
attrConsoleVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute ConsoleVersion: The type of the proxy that is used by the instance. |
attrCreationTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreationTime: The creation time. |
attrCurrentKernelVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute CurrentKernelVersion: The minor engine version of the instance. |
attrDbClusterNodes |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBClusterNodes: The information about the node in the cluster. |
attrDbInstanceClass |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceClass: The instance type of the instance. |
attrDbInstanceClassType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceClassType: The instance family to which the instance belongs. |
attrDbInstanceCpu |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceCPU: The number of CPU cores. |
attrDbInstanceDescription |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceDescription: The description of the instance. |
attrDbInstanceDiskUsed |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceDiskUsed: The disk usage of the instance. |
attrDbInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceId: The instance ID. |
attrDbInstanceMemory |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceMemory: The memory capacity of the instance. |
attrDbInstanceNetType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceNetType: The type of the network over which the instance is connected. |
attrDbInstanceStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceStatus: The status of the instance. |
attrDbInstanceStorage |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceStorage: The storage capacity of the instance. |
attrDbInstanceStorageType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceStorageType: The storage type of the instance. |
attrDbInstanceType |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBInstanceType: The type of the instance. |
attrDbMaxQuantity |
@alicloud/ros-cdk-core.IResolvable |
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance. |
attrDedicatedHostGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute DedicatedHostGroupId: The ID of the dedicated cluster. |
attrDeletionProtection |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeletionProtection: Indicates whether the release protection feature is enabled. |
attrEngine |
@alicloud/ros-cdk-core.IResolvable |
Attribute Engine: The database engine of the instance. |
attrEngineVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute EngineVersion: The database engine version. |
attrExpireTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute ExpireTime: The expiration time. |
attrExtra |
@alicloud/ros-cdk-core.IResolvable |
Attribute Extra: The extended information of the instance. |
attrGeneralGroupName |
@alicloud/ros-cdk-core.IResolvable |
Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs. |
attrGuardDbInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance. |
attrIncrementSourceDbInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes. |
attrInstanceNetworkType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceNetworkType: The network type of the instance. |
attrInstructionSetArch |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstructionSetArch: The architecture type of the instance. |
attrIpType |
@alicloud/ros-cdk-core.IResolvable |
Attribute IPType: The type of the IP address. |
attrLatestKernelVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance. |
attrLockMode |
@alicloud/ros-cdk-core.IResolvable |
Attribute LockMode: The lock mode of the instance. |
attrLockReason |
@alicloud/ros-cdk-core.IResolvable |
Attribute LockReason: The reason why the instance was locked. |
attrMaintainTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaintainTime: The maintenance window of the instance. |
attrMasterInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute MasterInstanceId: The ID of the primary instance. |
attrMasterZone |
@alicloud/ros-cdk-core.IResolvable |
Attribute MasterZone: The zone ID of the primary instance. |
attrMaxConnections |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaxConnections: The maximum number of concurrent connections. |
attrMaxIombps |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaxIOMBPS: The maximum I/O throughput. |
attrMaxIops |
@alicloud/ros-cdk-core.IResolvable |
Attribute MaxIOPS: The maximum number of I/O requests per second. |
attrPayType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PayType: The billing method of the instance. |
attrPgBouncerEnabled |
@alicloud/ros-cdk-core.IResolvable |
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled. |
attrPort |
@alicloud/ros-cdk-core.IResolvable |
Attribute Port: The port that is used to connect to the instance over an internal network. |
attrProxyType |
@alicloud/ros-cdk-core.IResolvable |
Attribute ProxyType: The type of the proxy that is supported by the instance. |
attrReadOnlyDbInstanceIds |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance. |
attrReadonlyInstanceSqlDelayedTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The resource group ID. |
attrSecurityIpList |
@alicloud/ros-cdk-core.IResolvable |
Attribute SecurityIPList: The IP addresses in the IP address whitelist. |
attrSecurityIpMode |
@alicloud/ros-cdk-core.IResolvable |
Attribute SecurityIPMode: The whitelist mode of the instance. |
attrServerlessConfig |
@alicloud/ros-cdk-core.IResolvable |
Attribute ServerlessConfig: The settings of the serverless instance. |
attrSlaveZones |
@alicloud/ros-cdk-core.IResolvable |
Attribute SlaveZones: The information about the zone of the secondary instance. |
attrSuperPermissionMode |
@alicloud/ros-cdk-core.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 |
@alicloud/ros-cdk-core.IResolvable |
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance. |
attrTimeZone |
@alicloud/ros-cdk-core.IResolvable |
Attribute TimeZone: The time zone of the instance. |
attrTips |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tips: The information about the exception that is detected on the instance. |
attrTipsLevel |
@alicloud/ros-cdk-core.IResolvable |
Attribute TipsLevel: The severity level of the exception that is detected on the instance. |
attrVpcCloudInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VpcCloudInstanceId: The VPC ID. |
attrVpcId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VpcId: The virtual private cloud (VPC) ID of the instance. |
attrVSwitchId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VSwitchId: The vSwitch ID. |
attrZoneId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ZoneId: The zone ID. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
refRequired
public readonly ref: string;
- Type: string
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resourceOptional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAccountMaxQuantityRequired
public readonly attrAccountMaxQuantity: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.
attrAdvancedFeaturesRequired
public readonly attrAdvancedFeatures: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrAutoUpgradeMinorVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrAvailabilityValue: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AvailabilityValue: The availability status of the instance in percentage.
attrBabelfishConfigRequired
public readonly attrBabelfishConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
attrCategoryRequired
public readonly attrCategory: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrCollation: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Collation: The character set collation of the instance.
attrConnectionModeRequired
public readonly attrConnectionMode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ConnectionMode: The connection mode of the instance.
Valid values: Standard: standard mode Safe: database proxy mode
attrConnectionStringRequired
public readonly attrConnectionString: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ConnectionString: The internal endpoint of the instance.
attrConsoleVersionRequired
public readonly attrConsoleVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ConsoleVersion: The type of the proxy that is used by the instance.
Valid values: 1: shared proxy 2: dedicated proxy
attrCreationTimeRequired
public readonly attrCreationTime: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrCurrentKernelVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CurrentKernelVersion: The minor engine version of the instance.
attrDbClusterNodesRequired
public readonly attrDbClusterNodes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBClusterNodes: The information about the node in the cluster.
attrDbInstanceClassRequired
public readonly attrDbInstanceClass: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceClass: The instance type of the instance.
attrDbInstanceClassTypeRequired
public readonly attrDbInstanceClassType: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrDbInstanceCpu: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceCPU: The number of CPU cores.
attrDbInstanceDescriptionRequired
public readonly attrDbInstanceDescription: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceDescription: The description of the instance.
attrDbInstanceDiskUsedRequired
public readonly attrDbInstanceDiskUsed: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceDiskUsed: The disk usage of the instance.
attrDbInstanceIdRequired
public readonly attrDbInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceId: The instance ID.
attrDbInstanceMemoryRequired
public readonly attrDbInstanceMemory: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceMemory: The memory capacity of the instance.
Unit: MB.
attrDbInstanceNetTypeRequired
public readonly attrDbInstanceNetType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceNetType: The type of the network over which the instance is connected.
Valid values: Internet: Internet Intranet: internal network
attrDbInstanceStatusRequired
public readonly attrDbInstanceStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceStatus: The status of the instance.
attrDbInstanceStorageRequired
public readonly attrDbInstanceStorage: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceStorage: The storage capacity of the instance.
Unit: GB.
attrDbInstanceStorageTypeRequired
public readonly attrDbInstanceStorageType: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrDbInstanceType: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrDbMaxQuantity: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.
attrDedicatedHostGroupIdRequired
public readonly attrDedicatedHostGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
attrDeletionProtectionRequired
public readonly attrDeletionProtection: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeletionProtection: Indicates whether the release protection feature is enabled.
Valid values: true false
attrEngineRequired
public readonly attrEngine: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Engine: The database engine of the instance.
Valid values: MySQL PostgreSQL SQLServer MariaDB
attrEngineVersionRequired
public readonly attrEngineVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EngineVersion: The database engine version.
attrExpireTimeRequired
public readonly attrExpireTime: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrExtra: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Extra: The extended information of the instance.
attrGeneralGroupNameRequired
public readonly attrGeneralGroupName: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrGuardDbInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.
attrIncrementSourceDbInstanceIdRequired
public readonly attrIncrementSourceDbInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrInstanceNetworkType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
Valid values: Classic VPC
attrInstructionSetArchRequired
public readonly attrInstructionSetArch: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstructionSetArch: The architecture type of the instance.
Valid values: x86 arm
attrIpTypeRequired
public readonly attrIpType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IPType: The type of the IP address.
Only IPv4 addresses are supported.
attrLatestKernelVersionRequired
public readonly attrLatestKernelVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.
attrLockModeRequired
public readonly attrLockMode: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrLockReason: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LockReason: The reason why the instance was locked.
attrMaintainTimeRequired
public readonly attrMaintainTime: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrMasterInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MasterInstanceId: The ID of the primary instance.
Note: If this parameter is not returned, the instance is the primary instance.
attrMasterZoneRequired
public readonly attrMasterZone: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MasterZone: The zone ID of the primary instance.
attrMaxConnectionsRequired
public readonly attrMaxConnections: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MaxConnections: The maximum number of concurrent connections.
attrMaxIombpsRequired
public readonly attrMaxIombps: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MaxIOMBPS: The maximum I/O throughput.
Unit: MB/s.
attrMaxIopsRequired
public readonly attrMaxIops: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MaxIOPS: The maximum number of I/O requests per second.
attrPayTypeRequired
public readonly attrPayType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PayType: The billing method of the instance.
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
attrPgBouncerEnabledRequired
public readonly attrPgBouncerEnabled: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
attrPortRequired
public readonly attrPort: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Port: The port that is used to connect to the instance over an internal network.
attrProxyTypeRequired
public readonly attrProxyType: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrReadOnlyDbInstanceIds: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.
attrReadonlyInstanceSqlDelayedTimeRequired
public readonly attrReadonlyInstanceSqlDelayedTime: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The resource group ID.
attrSecurityIpListRequired
public readonly attrSecurityIpList: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SecurityIPList: The IP addresses in the IP address whitelist.
attrSecurityIpModeRequired
public readonly attrSecurityIpMode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SecurityIPMode: The whitelist mode of the instance.
Valid values: normal: standard whitelist mode safety: enhanced whitelist mode
attrServerlessConfigRequired
public readonly attrServerlessConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ServerlessConfig: The settings of the serverless instance.
attrSlaveZonesRequired
public readonly attrSlaveZones: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SlaveZones: The information about the zone of the secondary instance.
attrSuperPermissionModeRequired
public readonly attrSuperPermissionMode: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrTempDbInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.
attrTimeZoneRequired
public readonly attrTimeZone: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute TimeZone: The time zone of the instance.
attrTipsRequired
public readonly attrTips: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrTipsLevel: IResolvable;
- Type: @alicloud/ros-cdk-core.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
public readonly attrVpcCloudInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VpcCloudInstanceId: The VPC ID.
attrVpcIdRequired
public readonly attrVpcId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
attrVSwitchIdRequired
public readonly attrVSwitchId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VSwitchId: The vSwitch ID.
attrZoneIdRequired
public readonly attrZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ZoneId: The zone ID.