All Products
Search
Document Center

Function Compute (2.0):OSSMountConfig

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The mount configurations of Object Storage Service (OSS).

mountPointsobject []

The configurations of the OSS mount point.

bucketNamestring

The OSS bucket that you want to mount.

my-bucket
mountDirstring

The mount directory.

/mnt/dir
readOnlyboolean

Specifies whether the mount directory is read-only after the OSS bucket is mounted. Valid values:

  • true: read-only
  • false: read and write
true
endpointstring

The OSS endpoint.

http://oss-cn-shanghai.aliyuncs.com
bucketPathstring

The path of the mounted OSS bucket.

/my-dir