All Products
Search
Document Center

Function Compute:OSSMountConfig

Last Updated:Sep 23, 2024
ParameterTypeDescriptionExample
object

The Object Storage Service (OSS) mounting configurations.

mountPointsarray<object>

The configurations of the OSS mount points.

object

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 mounted 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