|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The details of the layer. |
||
| acl |
string |
The permission of the layer. Valid values: 0 (private) and 1 (public). Official public layers are public by default. Custom layers can be set to either private or public. |
0 |
| code | OutputCodeLocation |
The code package of the layer. |
|
| codeChecksum |
string |
The CRC-64 checksum of the layer code package, calculated based on the ECMA-182 standard. |
2825179536350**** |
| codeSize |
integer |
The size of the layer code package. Unit: bytes. |
421 |
| compatibleRuntime |
array |
The runtimes supported by the layer. |
|
|
string |
The runtime. |
python3.10 |
|
| createTime |
string |
The time when the layer version was created. |
2023-03-30T11:08:00Z |
| description |
string |
The description of the layer version. |
My first layer |
| layerName |
string |
The name of the layer. |
MyLayer |
| layerVersionArn |
string |
The Alibaba Cloud Resource Name (ARN) of the layer version, in the format acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion}. |
acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1 |
| license |
string |
The license agreement. |
Apache |
| version |
integer |
The layer version. |
1 |