Parameter | Type | Description | Example |
---|---|---|---|
object | The return struct of the layer. | ||
layerName | string | The name of the layer. | MyLayer |
version | integer | The version of the layer. | 1 |
description | string | The description of the layer version. | the first layer |
code | LayerCode | The information about the layer code package. | |
codeSize | long | The size of the layer code package. Unit: Byte. | 421 |
codeChecksum | string | the CRC-64 value of the layer code package. The value is calculated based on the **ECMA-182 **standard. | 2825179536350**** |
createTime | string | The time when the layer version was created. | 2022-01-01T11:08:00Z |
acl | integer | The permissions of the layer. The digit 0 specifies that the layer is private and the digit 1 specifies that the layer is public. By default, public layers are public. Custom layers can be set to private or public. | 0 |
arn | string | The ARN of the layer resource. This field is about to be discarded. | xxxxxxxx#Layer-name#1 |
arnV2 | string | The name of the layer resource. The name follows the following format: | acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1 |
license | string | The license agreement. | MIT |
compatibleRuntime | array | The runtime environments that are supported by the layer. | |
string | The name of the container runtime. Valid values: nodejs16, nodejs14, nodejs12, nodejs10, nodejs8, nodejs6, python3.9, python3, python2.7, java11, java8, php7.2, go1, dotnetcore3.1, dotnetcore2.1, and custom. | python3 |