|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The MicroSandbox snapshot information. |
||
| snapshotId |
string |
The snapshot ID, a standard UUID string generated by the server. |
550e8400-e29b-41d4-a716-446655440000 |
| status |
string |
The snapshot status. Currently, only Available is returned. |
Available |
| createdTime |
string |
The snapshot creation time in UTC RFC3339 format. |
2026-07-30T10:00:00Z |
| expiredTime |
string |
The snapshot expiration time in UTC RFC3339 format. |
2026-08-29T10:00:00Z |
| description |
string |
The snapshot description. |
Snapshot for production environment |
| sourceSessionId |
string |
The source session ID used to create the snapshot. |
custom-test-session-id |
| functionName |
string |
The function name. |
my-function |
| qualifier |
string |
The function alias or version used when creating the snapshot. |
production |
| resolvedVersion |
string |
The specific function version resolved when creating the snapshot. |
1 |
| imageRepository |
string |
The function image repository address. |
registry-vpc.cn-hangzhou.aliyuncs.com/example/function |
| imageDigest |
string |
The function image digest. |
sha256:0123456789abcdef |
| osType |
string |
The operating system type. |
linux |
| memoryMB |
integer |
The memory specification, in MB. |
3072 |
| cpu |
integer |
The CPU specification. |
2 |
| diskSizeMB |
integer |
The disk specification, in MB. |
10240 |
| artifactMemUsedSizeInB |
integer |
The used size of the memory snapshot, in bytes. |
1073741824 |
| artifactDiskUsedSizeInB |
integer |
The used size of the disk snapshot, in bytes. |
2147483648 |
| startCommand |
string |
The MicroSandbox start command. |
/code/start.sh |
| readyCommand |
string |
The MicroSandbox readiness check command. |
/code/ready.sh |
| envs |
object |
The environment variables saved when creating the snapshot. |
|
|
string |