IDBInstance
-
Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource
-
Implemented By: AlibabaCloud.SDK.ROS.CDK.Rds.datasource.DBInstance, AlibabaCloud.SDK.ROS.CDK.Rds.datasource.IDBInstance
Represents a DBInstance.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrAccountMaxQuantity | object | Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance. |
AttrAdvancedFeatures | object | Attribute AdvancedFeatures: The advanced features that are enabled for the instance. |
AttrAutoUpgradeMinorVersion | object | Attribute AutoUpgradeMinorVersion: The method that is used to update the minor engine version of the instance. |
AttrAvailabilityValue | object | Attribute AvailabilityValue: The availability status of the instance in percentage. |
AttrBabelfishConfig | object | Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance. |
AttrCategory | object | Attribute Category: The RDS edition of the instance. |
AttrCollation | object | Attribute Collation: The character set collation of the instance. |
AttrConnectionMode | object | Attribute ConnectionMode: The connection mode of the instance. |
AttrConnectionString | object | Attribute ConnectionString: The internal endpoint of the instance. |
AttrConsoleVersion | object | Attribute ConsoleVersion: The type of the proxy that is used by the instance. |
AttrCreationTime | object | Attribute CreationTime: The creation time. |
AttrCurrentKernelVersion | object | Attribute CurrentKernelVersion: The minor engine version of the instance. |
AttrDbClusterNodes | object | Attribute DBClusterNodes: The information about the node in the cluster. |
AttrDbInstanceClass | object | Attribute DBInstanceClass: The instance type of the instance. |
AttrDbInstanceClassType | object | Attribute DBInstanceClassType: The instance family to which the instance belongs. |
AttrDbInstanceCpu | object | Attribute DBInstanceCPU: The number of CPU cores. |
AttrDbInstanceDescription | object | Attribute DBInstanceDescription: The description of the instance. |
AttrDbInstanceDiskUsed | object | Attribute DBInstanceDiskUsed: The disk usage of the instance. |
AttrDbInstanceId | object | Attribute DBInstanceId: The instance ID. |
AttrDbInstanceMemory | object | Attribute DBInstanceMemory: The memory capacity of the instance. |
AttrDbInstanceNetType | object | Attribute DBInstanceNetType: The type of the network over which the instance is connected. |
AttrDbInstanceStatus | object | Attribute DBInstanceStatus: The status of the instance. |
AttrDbInstanceStorage | object | Attribute DBInstanceStorage: The storage capacity of the instance. |
AttrDbInstanceStorageType | object | Attribute DBInstanceStorageType: The storage type of the instance. |
AttrDbInstanceType | object | Attribute DBInstanceType: The type of the instance. |
AttrDbMaxQuantity | object | Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance. |
AttrDedicatedHostGroupId | object | Attribute DedicatedHostGroupId: The ID of the dedicated cluster. |
AttrDeletionProtection | object | Attribute DeletionProtection: Indicates whether the release protection feature is enabled. |
AttrEngine | object | Attribute Engine: The database engine of the instance. |
AttrEngineVersion | object | Attribute EngineVersion: The database engine version. |
AttrExpireTime | object | Attribute ExpireTime: The expiration time. |
AttrExtra | object | Attribute Extra: The extended information of the instance. |
AttrGeneralGroupName | object | Attribute GeneralGroupName: The name of the dedicated cluster to which the instance belongs. |
AttrGuardDbInstanceId | object | Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance. |
AttrIncrementSourceDbInstanceId | object | Attribute IncrementSourceDBInstanceId: The ID of the instance from which incremental data comes. |
AttrInstanceNetworkType | object | Attribute InstanceNetworkType: The network type of the instance. |
AttrInstructionSetArch | object | Attribute InstructionSetArch: The architecture type of the instance. |
AttrIpType | object | Attribute IPType: The type of the IP address. |
AttrLatestKernelVersion | object | Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance. |
AttrLockMode | object | Attribute LockMode: The lock mode of the instance. |
AttrLockReason | object | Attribute LockReason: The reason why the instance was locked. |
AttrMaintainTime | object | Attribute MaintainTime: The maintenance window of the instance. |
AttrMasterInstanceId | object | Attribute MasterInstanceId: The ID of the primary instance. |
AttrMasterZone | object | Attribute MasterZone: The zone ID of the primary instance. |
AttrMaxConnections | object | Attribute MaxConnections: The maximum number of concurrent connections. |
AttrMaxIombps | object | Attribute MaxIOMBPS: The maximum I/O throughput. |
AttrMaxIops | object | Attribute MaxIOPS: The maximum number of I/O requests per second. |
AttrPayType | object | Attribute PayType: The billing method of the instance. |
AttrPgBouncerEnabled | object | Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled. |
AttrPort | object | Attribute Port: The port that is used to connect to the instance over an internal network. |
AttrProxyType | object | Attribute ProxyType: The type of the proxy that is supported by the instance. |
AttrReadOnlyDbInstanceIds | object | Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance. |
AttrReadonlyInstanceSqlDelayedTime | object | Attribute ReadonlyInstanceSQLDelayedTime: The latency at which the system replicates data to read-only instances. |
AttrResourceGroupId | object | Attribute ResourceGroupId: The resource group ID. |
AttrSecurityIpList | object | Attribute SecurityIPList: The IP addresses in the IP address whitelist. |
AttrSecurityIpMode | object | Attribute SecurityIPMode: The whitelist mode of the instance. |
AttrServerlessConfig | object | Attribute ServerlessConfig: The settings of the serverless instance. |
AttrSlaveZones | object | Attribute SlaveZones: The information about the zone of the secondary instance. |
AttrSuperPermissionMode | object | 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 | object | Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance. |
AttrTimeZone | object | Attribute TimeZone: The time zone of the instance. |
AttrTips | object | Attribute Tips: The information about the exception that is detected on the instance. |
AttrTipsLevel | object | Attribute TipsLevel: The severity level of the exception that is detected on the instance. |
AttrVpcCloudInstanceId | object | Attribute VpcCloudInstanceId: The VPC ID. |
AttrVpcId | object | Attribute VpcId: The virtual private cloud (VPC) ID of the instance. |
AttrVSwitchId | object | Attribute VSwitchId: The vSwitch ID. |
AttrZoneId | object | Attribute ZoneId: The zone ID. |
Props | DBInstanceProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrAccountMaxQuantityRequired
public object AttrAccountMaxQuantity { get; }
- Type: object
Attribute AccountMaxQuantity: The maximum number of accounts that can be created on the instance.
AttrAdvancedFeaturesRequired
public object AttrAdvancedFeatures { get; }
- Type: object
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 object AttrAutoUpgradeMinorVersion { get; }
- Type: object
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 object AttrAvailabilityValue { get; }
- Type: object
Attribute AvailabilityValue: The availability status of the instance in percentage.
AttrBabelfishConfigRequired
public object AttrBabelfishConfig { get; }
- Type: object
Attribute BabelfishConfig: The configuration of the Babelfish feature for the ApsaraDB RDS for PostgreSQL instance.
AttrCategoryRequired
public object AttrCategory { get; }
- Type: object
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 object AttrCollation { get; }
- Type: object
Attribute Collation: The character set collation of the instance.
AttrConnectionModeRequired
public object AttrConnectionMode { get; }
- Type: object
Attribute ConnectionMode: The connection mode of the instance.
Valid values: Standard: standard mode Safe: database proxy mode
AttrConnectionStringRequired
public object AttrConnectionString { get; }
- Type: object
Attribute ConnectionString: The internal endpoint of the instance.
AttrConsoleVersionRequired
public object AttrConsoleVersion { get; }
- Type: object
Attribute ConsoleVersion: The type of the proxy that is used by the instance.
Valid values: 1: shared proxy 2: dedicated proxy
AttrCreationTimeRequired
public object AttrCreationTime { get; }
- Type: object
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 object AttrCurrentKernelVersion { get; }
- Type: object
Attribute CurrentKernelVersion: The minor engine version of the instance.
AttrDbClusterNodesRequired
public object AttrDbClusterNodes { get; }
- Type: object
Attribute DBClusterNodes: The information about the node in the cluster.
AttrDbInstanceClassRequired
public object AttrDbInstanceClass { get; }
- Type: object
Attribute DBInstanceClass: The instance type of the instance.
AttrDbInstanceClassTypeRequired
public object AttrDbInstanceClassType { get; }
- Type: object
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 object AttrDbInstanceCpu { get; }
- Type: object
Attribute DBInstanceCPU: The number of CPU cores.
AttrDbInstanceDescriptionRequired
public object AttrDbInstanceDescription { get; }
- Type: object
Attribute DBInstanceDescription: The description of the instance.
AttrDbInstanceDiskUsedRequired
public object AttrDbInstanceDiskUsed { get; }
- Type: object
Attribute DBInstanceDiskUsed: The disk usage of the instance.
AttrDbInstanceIdRequired
public object AttrDbInstanceId { get; }
- Type: object
Attribute DBInstanceId: The instance ID.
AttrDbInstanceMemoryRequired
public object AttrDbInstanceMemory { get; }
- Type: object
Attribute DBInstanceMemory: The memory capacity of the instance.
Unit: MB.
AttrDbInstanceNetTypeRequired
public object AttrDbInstanceNetType { get; }
- Type: object
Attribute DBInstanceNetType: The type of the network over which the instance is connected.
Valid values: Internet: Internet Intranet: internal network
AttrDbInstanceStatusRequired
public object AttrDbInstanceStatus { get; }
- Type: object
Attribute DBInstanceStatus: The status of the instance.
AttrDbInstanceStorageRequired
public object AttrDbInstanceStorage { get; }
- Type: object
Attribute DBInstanceStorage: The storage capacity of the instance.
Unit: GB.
AttrDbInstanceStorageTypeRequired
public object AttrDbInstanceStorageType { get; }
- Type: object
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 object AttrDbInstanceType { get; }
- Type: object
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 object AttrDbMaxQuantity { get; }
- Type: object
Attribute DBMaxQuantity: The maximum number of databases that can be created on the instance.
AttrDedicatedHostGroupIdRequired
public object AttrDedicatedHostGroupId { get; }
- Type: object
Attribute DedicatedHostGroupId: The ID of the dedicated cluster.
AttrDeletionProtectionRequired
public object AttrDeletionProtection { get; }
- Type: object
Attribute DeletionProtection: Indicates whether the release protection feature is enabled.
Valid values: true false
AttrEngineRequired
public object AttrEngine { get; }
- Type: object
Attribute Engine: The database engine of the instance.
Valid values: MySQL PostgreSQL SQLServer MariaDB
AttrEngineVersionRequired
public object AttrEngineVersion { get; }
- Type: object
Attribute EngineVersion: The database engine version.
AttrExpireTimeRequired
public object AttrExpireTime { get; }
- Type: object
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 object AttrExtra { get; }
- Type: object
Attribute Extra: The extended information of the instance.
AttrGeneralGroupNameRequired
public object AttrGeneralGroupName { get; }
- Type: object
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 object AttrGuardDbInstanceId { get; }
- Type: object
Attribute GuardDBInstanceId: The ID of the disaster recovery instance that is attached to the instance.
AttrIncrementSourceDbInstanceIdRequired
public object AttrIncrementSourceDbInstanceId { get; }
- Type: object
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 object AttrInstanceNetworkType { get; }
- Type: object
Attribute InstanceNetworkType: The network type of the instance.
Valid values: Classic VPC
AttrInstructionSetArchRequired
public object AttrInstructionSetArch { get; }
- Type: object
Attribute InstructionSetArch: The architecture type of the instance.
Valid values: x86 arm
AttrIpTypeRequired
public object AttrIpType { get; }
- Type: object
Attribute IPType: The type of the IP address.
Only IPv4 addresses are supported.
AttrLatestKernelVersionRequired
public object AttrLatestKernelVersion { get; }
- Type: object
Attribute LatestKernelVersion: The latest minor engine version that is supported by the instance.
AttrLockModeRequired
public object AttrLockMode { get; }
- Type: object
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 object AttrLockReason { get; }
- Type: object
Attribute LockReason: The reason why the instance was locked.
AttrMaintainTimeRequired
public object AttrMaintainTime { get; }
- Type: object
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 object AttrMasterInstanceId { get; }
- Type: object
Attribute MasterInstanceId: The ID of the primary instance.
Note: If this parameter is not returned, the instance is the primary instance.
AttrMasterZoneRequired
public object AttrMasterZone { get; }
- Type: object
Attribute MasterZone: The zone ID of the primary instance.
AttrMaxConnectionsRequired
public object AttrMaxConnections { get; }
- Type: object
Attribute MaxConnections: The maximum number of concurrent connections.
AttrMaxIombpsRequired
public object AttrMaxIombps { get; }
- Type: object
Attribute MaxIOMBPS: The maximum I/O throughput.
Unit: MB/s.
AttrMaxIopsRequired
public object AttrMaxIops { get; }
- Type: object
Attribute MaxIOPS: The maximum number of I/O requests per second.
AttrPayTypeRequired
public object AttrPayType { get; }
- Type: object
Attribute PayType: The billing method of the instance.
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
AttrPgBouncerEnabledRequired
public object AttrPgBouncerEnabled { get; }
- Type: object
Attribute PGBouncerEnabled: Indicates whether PgBouncer is enabled.
AttrPortRequired
public object AttrPort { get; }
- Type: object
Attribute Port: The port that is used to connect to the instance over an internal network.
AttrProxyTypeRequired
public object AttrProxyType { get; }
- Type: object
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 object AttrReadOnlyDbInstanceIds { get; }
- Type: object
Attribute ReadOnlyDBInstanceIds: The IDs of the read-only instances that are attached to the primary instance.
AttrReadonlyInstanceSqlDelayedTimeRequired
public object AttrReadonlyInstanceSqlDelayedTime { get; }
- Type: object
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 object AttrResourceGroupId { get; }
- Type: object
Attribute ResourceGroupId: The resource group ID.
AttrSecurityIpListRequired
public object AttrSecurityIpList { get; }
- Type: object
Attribute SecurityIPList: The IP addresses in the IP address whitelist.
AttrSecurityIpModeRequired
public object AttrSecurityIpMode { get; }
- Type: object
Attribute SecurityIPMode: The whitelist mode of the instance.
Valid values: normal: standard whitelist mode safety: enhanced whitelist mode
AttrServerlessConfigRequired
public object AttrServerlessConfig { get; }
- Type: object
Attribute ServerlessConfig: The settings of the serverless instance.
AttrSlaveZonesRequired
public object AttrSlaveZones { get; }
- Type: object
Attribute SlaveZones: The information about the zone of the secondary instance.
AttrSuperPermissionModeRequired
public object AttrSuperPermissionMode { get; }
- Type: object
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 object AttrTempDbInstanceId { get; }
- Type: object
Attribute TempDBInstanceId: The ID of the temporary instance that is attached to the instance.
AttrTimeZoneRequired
public object AttrTimeZone { get; }
- Type: object
Attribute TimeZone: The time zone of the instance.
AttrTipsRequired
public object AttrTips { get; }
- Type: object
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 object AttrTipsLevel { get; }
- Type: object
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 object AttrVpcCloudInstanceId { get; }
- Type: object
Attribute VpcCloudInstanceId: The VPC ID.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: The virtual private cloud (VPC) ID of the instance.
AttrVSwitchIdRequired
public object AttrVSwitchId { get; }
- Type: object
Attribute VSwitchId: The vSwitch ID.
AttrZoneIdRequired
public object AttrZoneId { get; }
- Type: object
Attribute ZoneId: The zone ID.
PropsRequired
public DBInstanceProps Props { get; }
- Type: DBInstanceProps