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 appId, which is a unique identifier of a resource space, is allocated by the platform when the resource space is created. appId is also used in API calls.

  • After a resource space is created, you can view its appId 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. You have 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 the rule for the platform to set the default resource space.

  1. Log in to the IoTDA 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 in the account and cannot be changed once the resource space is created.

Querying a Resource Space

After a resource space is created, you can modify the resource space configuration based on service requirements. In the row of a resource space, click View to view its details.

Space Details

You can query the appId and creation time of the resource space.

Resources: You can view the number of products, devices, groups, and rules in the resource space. If you want to create products, devices, groups, and rules in another resource space, switch to that resource space on their respective page.

To obtain the domain names and API information of applications and devices, visit Overview on the IoTDA console.

Subscription/Push

The push protocol is determined by the transport protocol set when an application subscribes to device information from the platform. If the transmission channel for data push is set to HTTP on the application, you can use HTTPS or HTTP to transmit data. If HTTPS is used, you must upload the CA certificate. If HTTP is used, you do not need to upload the certificate.

NOTE:

If HTTPS is used and an application cancels the subscription, the bound certificate is automatically unbound. If a new subscription begins, you must upload the CA certificate again.