alicloud_dms_enterprise_logic_database
更新时间:
Provides a DMS Enterprise Logic Database resource.
For information about DMS Enterprise Logic Database and how to use it, see What is Logic Database.
-> NOTE: Available since v1.195.0.
Example Usage
Basic Usage
resource "alicloud_dms_enterprise_logic_database" "default" {
alias = "TF_logic_db_test"
database_ids = [
"35617919", "35617920"
]
}
Argument Reference
The following arguments are supported:
alias- (Required) Logical Library alias.database_ids- (Required) Sub-Database ID
Attributes Reference
The following attributes are exported:
id- Thekeyof the resource supplied above.db_type- Database type.env_type- Environment type, return value is as follows:-product: production environment-dev: development environment-pre: Advance Environment-test: test environment-sit:SIT environment-uat:UAT environment-pet: Pressure measurement environment-stag:STAG environmentlogic- Whether it is a logical Library, the return value is true.logic_database_id- The ID of the logical Library.owner_id_list- The user ID list of the logical library Owner.owner_name_list- The nickname list of the logical library Owner.schema_name- Logical Library name.search_name- Logical library search name.
Timeouts
The timeouts block allows you to specify timeouts for certain actions:
create- (Defaults to 5 mins) Used when create the Logic Database.delete- (Defaults to 5 mins) Used when delete the Logic Database.update- (Defaults to 5 mins) Used when update the Logic Database.
Import
DMS Enterprise Logic Database can be imported using the id, e.g.
$terraform import alicloud_dms_enterprise_logic_database.example <id>
该文章对您有帮助吗?