|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
Layer 返回结构体。 |
||
| layerName |
string |
层的名称。 |
MyLayer |
| version |
integer |
层的版本。 |
1 |
| description |
string |
版本的描述信息。 |
the first layer |
| code | LayerCode |
层的代码包信息。 |
|
| codeSize |
integer |
层的代码包大小,单位为 Byte。 |
421 |
| codeChecksum |
string |
层代码包的 crc64 校验码,根据 ECMA-182 标准计算得出。 |
2825179536350**** |
| createTime |
string |
层版本的创建时间。 |
2022-01-01T11:08:00Z |
| acl |
integer |
层的权限。取值 0 代表私有,取值 1 代表公有。官方公共层默认为公有,自定义层可以设置为私有或者公有。 |
0 |
| arn |
string |
【待废弃】层资源的名称。 |
xxxxxxxx#Layer-name#1 |
| arnV2 |
string |
层资源的名称,格式为 |
acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1 |
| license |
string |
许可协议。 |
MIT |
| compatibleRuntime |
array |
层支持的运行时环境列表。 |
|
|
string |
运行时名称。当前支持 nodejs16、nodejs14、nodejs12、nodejs10、nodejs8、nodejs6、python3.9、python3、python2.7、java11、java8、php7.2、go1、dotnetcore3.1、dotnetcore2.1和 custom。 |
python3 |