Beta: This API is in active development and may change without notice.
func (
r *SandboxVolumeService) New(ctx context.Context,
body SandboxVolumeNewParams,
opts ...option.RequestOption) (res *VolumeResponse,
err error
)Beta: This API is in active development and may change without notice. Requires sandbox volumes to be enabled for your workspace. Create an empty volume that can be attached to sandboxes at a mount path. The size is rounded up to a whole GiB.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | SandboxVolumeNewParams | |
opts* | ...option.RequestOption |