Volcano Engine Function as a Service
Parameter | Type | Require | Sample value | Description |
Action | String | Yes | ResumeSandbox | Interface name. The current API name is ResumeSandbox. |
Version | String | Yes | 2024-06-06 | Interface version. The current version of the API is 2024-06-06 . |
FunctionId | String | Yes | e8m6**** | ID of the function to which the sandbox instance belongs. |
SandboxId | String | Yes | vefaas-e8m6xarn-p2zamuv2fr-d04b19534o**** | Sandbox instance ID. |
SnapshotId | String | No | snapshot-12**** | Specifies the snapshot ID for restoring the sandbox instance. If this field is not provided, the sandbox instance will be restored from the snapshot generated at the most recent pause by default. |
Timeout | Integer | No | 60 | Lifetime of the sandbox instance. The default unit is minutes (minute), and the default value is 60. Switching to seconds (second) is supported via TimeoutUnit.
|
TimeoutUnit | String | No | second | Timeout unit for the sandbox instance's lifetime. Valid values:
|
Async | Boolean | No | true | Whether the sandbox instance restoration operation is performed asynchronously. Valid values:
|
Parameter | Type | Sample value | Description |
SandboxId | String | vefaas-e8m6xarn-p2zamuv2fr-d04b19534o3**** | ID of the new sandbox instance after restoration. |