Help Center/ Migration Center/ FAQs/ Resource Discovery/ How Do I Export All Alibaba Cloud Resource Details?
Updated on 2026-05-07 GMT+08:00

How Do I Export All Alibaba Cloud Resource Details?

This section describes how to export all Alibaba Cloud resource details.

Prerequisites

Your account has the ReadOnlyAccess permissions. For details about how to obtain these permissions, see Grant permissions to a RAM user.

Exporting All Alibaba Resource Details

  1. Sign in to the Alibaba Cloud Resource Management console.
  2. In the navigation pane on the left, choose Resource Center > Advanced Search.
  3. In the search box on the right of the page, enter SQL statements in the Temporary Query 1 box. Alternatively, click the plus sign (+) to open a new tab and write query statements. Use the following SQL statements for query:

    SELECT
      resource_type,
      resource_id,
      resource_name,
      region_id,
      zone_id,
      create_time,
      resource_group_id,
      tags,
      ip_addresses,
      vpc_id,
      v_switch_id,
      properties
    FROM
      resources
    ORDER BY
      region_id,
      resource_type,
      resource_id

  4. Click Run.
  5. Click the Query Result tab to view the query results.
  6. Export the query results to a CSV file and save the file to the local PC. Click the download button on the right and set Format to Close on the Report Settings page.