Using this data source can open Resource Manager Account Deletion Check Task.
For information about Resource Manager Account Deletion Check Task and how to use it, see What is Resource Manager Account Deletion Check Task.
Basic Usage
data "alicloud_resource_manager_account_deletion_check_task" "task" {
account_id = "your_account_id"
}
output "abandon_able_checks_ids" {
value = data.alicloud_resource_manager_account_deletion_check_task.task.abandon_able_checks.*.check_id
}
The following arguments are supported:
account_id
- (Required, ForceNew) The ID of the member that you want to delete.The following attributes are exported in addition to the arguments listed above:
id
- This ID of Resource Manager Account Deletion Check Task.not_allow_reason
- The reasons why the member cannot be deleted. Each element contains the following attributes:
check_id
- The ID of the check item.check_name
- The name of the cloud service to which the check item belongs.description
- The description of the check item.abandon_able_checks
- The check items that you can choose to ignore for the member deletion. Each element contains the following attributes:
check_id
- The ID of the check item.check_name
- The name of the cloud service to which the check item belongs.description
- The description of the check item.allow_delete
- Indicates whether the member can be deleted.status
- The status of the check.