get Instance Class Infos
This data source operation to query the instance types that are available to specific instances of Alibaba Cloud.
NOTE: Available in v1.196.0+
Example Usage
data "alicloud_db_instance_class_infos" "resources" {
commodity_code = "bards"
order_type = "BUY"
output_file = "./classes.txt"
}
output "first_db_instance_class" {
value = "${data.alicloud_db_instance_class_infos.resources.infos.0}"
}Return
A collection of values returned by getInstanceClassInfos.
Parameters
A collection of arguments for invoking getInstanceClassInfos.
Return
A collection of values returned by getInstanceClassInfos.
Parameters
The commodity code of the instance. Valid values:
bards: The instance is a pay-as-you-go primary instance. This value is available on the China site (aliyun.com).
rds: The instance is a subscription primary instance. This value is available on the China site (aliyun.com).
rords: The instance is a pay-as-you-go read-only instance. This value is available on the China site (aliyun.com).
rds_rordspre_public_cn: The instance is a subscription read-only instance. This value is available on the China site (aliyun.com).
bards_intl: The instance is a pay-as-you-go primary instance. This value is available on the International site (alibabacloud.com).
rds_intl: The instance is a subscription primary instance. This value is available on the International site (alibabacloud.com).
rords_intl: The instance is a pay-as-you-go read-only instance. This value is available on the International site (alibabacloud.com).
rds_rordspre_public_intl: The instance is a subscription read-only instance. This value is available on the International site (alibabacloud.com).
The ID of the primary instance.
A list of Rds available resource. Each element contains the following attributes:
FThe type of order that you want to query. Valid values:
BUY: specifies the query orders that are used to purchase instances.
UPGRADE: specifies the query orders that are used to change the specifications of instances.
RENEW: specifies the query orders that are used to renew instances.
CONVERT: specifies the query orders that are used to change the billing methods of instances.
File name where to save data source results (after running pulumi up).
NOTE: If you use the CommodityCode parameter to query the instance types that are available to read-only instances, you must specify the DBInstanceId parameter.
See also
Return
A collection of values returned by getInstanceClassInfos.
Parameters
Builder for com.pulumi.alicloud.rds.kotlin.inputs.GetInstanceClassInfosPlainArgs.