Lists all resources in the current project, including each resource's name, owner, creation time, last modified time, and type.
Syntax
list resources;
Usage notes
LIST RESOURCES lists all resources in the current project. To inspect a specific resource, use DESC RESOURCE.
Output fields
| Field | Description |
|---|---|
| Resource Name | The name of the resource. |
| Owner | The Alibaba Cloud account that owns the resource. |
| Creation Time | The timestamp when the resource was created. |
| Last Modified Time | The timestamp of the most recent update to the resource. |
| Type | The resource type. |
| Last Updator | The Alibaba Cloud account that last modified the resource. |
| Resource Size | The size of the resource file. |
| Source | The source system or tool that created the resource. |
| comment | An optional description of the resource. |
Examples
list resources;
The following result is returned:
Resource Name Owner Creation Time Last Modified Time Type Last Updator Resource Size Source comment
getaddr.jar ALIYUN$**** 2020-06-18 15:47:28 2020-06-18 15:47:28 jar 1353716 cloudopenapi
ip.dat ALIYUN$**** 2020-06-18 15:49:46 2020-06-18 15:49:46 file 8525962 cloudopenapi
2 resources
Related statements
-
ADD ARCHIVE: Adds an archive file as a resource.
-
ADD FILE: Adds a file as a resource.
-
ADD JAR: Adds a JAR file as a resource.
-
ADD PY: Adds Python code as a resource.
-
ADD TABLE: Adds a table as a resource.
-
DESC RESOURCE: Views information about a resource.
-
ALIAS: Creates an alias for a resource.
-
GET RESOURCE: Downloads a resource.
-
DROP RESOURCE: Deletes a resource.