Updated on 2024-01-17 GMT+08:00

Resource Spaces

Resource space is a space allocated for your applications. Resources (such as products and devices) created on the platform must belong to a resource space. You can use the resource space for domain-based management.

  • You can create a maximum of 10 resource spaces. By default, the space automatically created by the platform when the IoTDA service is subscribed to for the first time is the default resource space.
  • An app_id, which is a unique identifier of a resource space, is allocated by the platform when the resource space is created. app_id is also used in API calls.

  • After a resource space is created, you can view its app_id in the resource space.

  • The default resource space cannot be deleted. After a resource space is deleted, all resources in the space, such as devices, products, and subscription data, are deleted from the platform and cannot be restored. Exercise caution when deleting a resource space.

Creating a Resource Space

When you subscribe to IoTDA for the first time, the platform automatically creates the default resource space. Each instance has only one default resource space, which cannot be deleted.

You can create a product or register a device in the default resource space. You can also perform the following steps to create a resource space:

If you subscribed to IoTDA before 00:00 on Apr 27, 2020, see Which Resource Space Will Be Set As Default on the IoT Platform?.

  1. Access the IoTDA service page and click Access Console.
  2. In the navigation pane, choose Resource Spaces. In the upper right corner, click Create Resource Space. On the page displayed, set Space Name and click OK.

    The resource space name must be unique under the account.

Querying a Resource Space

After a resource space is created, choose Resource Spaces and click View to view the app ID, creation time, number of products, number of devices, number of groups, and number of created rules under the resource space. To create products, devices, groups, and rules in another resource space, switch to the target resource space.