Views the information of a specified resource in the project. The information includes the resource name, owner, resource type, resource size, creation time, last modification time, and MD5 value of the resource file.

Syntax

desc resource <resource_name>;

Parameters

resource_name: required. The name of an existing resource.

Return value

  • Name: the name of the resource whose information you want to view.
  • Owner: the account that owns the resource.
  • Type: the type of the resource.
  • Comment: the comment of the resource.
  • CreatedTime: the time when the resource was created.
  • LastModifiedTime: the time when the resource was last updated.
  • LastUpdator: the account that performed the last update operation.
  • Size: the size of the resource file in Bytes.
  • Md5sum: the MD5 value of the resource file.
Note The name of a MaxCompute resource is not case-sensitive. resource_A and resource_a represent the same resource.

Examples

-- View information of resource topn_new.jar. 
desc resource topn_new.jar;
The following result is returned:
Name                                    topn_new.jar
Owner                                   ALIYUN$****@test.aliyunid.com
Type                                    JAR
Comment                                 cloudopenapi
CreatedTime                             2020-12-29 13:55:11
LastModifiedTime                        2020-12-29 13:55:11
LastUpdator
Size                                    11438795
Md5sum                                  8bcf6aabf****56c0

Related statements