pydo.nfs.create_access_point()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.nfs.create_access_point(
share_id="baf4827c-6fa9-456f-9dbd-9ddfcacd0720",
body={
"name": "other-vpc",
"path": "/other-vpc",
"access_policy": {...},
...,
},
)Description
To create a new access point on an NFS share, send a POST request to
/v2/nfs/shares/{share_id}/access_points.
A successful request will return the newly created access point and an action object.
The parent share must be in ACTIVE or INACTIVE status. Validation failures and
precondition errors (such as an ineligible share state) return 400 Bad Request.
Duplicate name or path conflicts return 409 Conflict.
Parameters
share_idstring requiredThe unique identifier of the NFS share.
namestring requiredExample:
other-vpcThe name for the access point. Must be unique per share. Must be 2–63
characters and match^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$.
The namedefaultis reserved (case-insensitive) for the implicit default
access point created with each share.pathstring requiredExample:
/other-vpcThe export sub-path. Must start with
/, must not be exactly/(reserved
for the default access point), must be at most 1024 characters, may contain
only alphanumerics,-,_,., and/, and must not contain..path
segments.access_policyobject requiredProvider-agnostic NFS access policy for an access point. Network CIDRs are
managed by attach, detach, and managed-access workflows and are not part of
this policy.Show child properties
anonuidinteger requiredExample:
65534UID used for squashed users. Currently only 65534 is supported.
anongidinteger requiredExample:
65534GID used for squashed users. Currently only 65534 is supported.
protocolsarray of strings requiredExample:
['NFS4', 'NFS']Allowed NFS protocols for this export.
squash_configstring requiredThe squash mode applied to the access point export.
identity_enforcement_enabledboolean requiredExample:
FalseWhether identity enforcement is enabled for this export.
vpc_idstring requiredExample:
3f34cdb2-1e4f-4100-b5c7-f55f2762085fRequired. The VPC this access point will be pinned to. A storage gateway is
provisioned (or reused) in this VPC, and the access point becomes mountable from
this VPC regardless of whether the parent share is currently attached to it.
Request Sample
Response Example
More Information
See /v2/nfs/shares/{share_id}/access_points in the API reference for additional detail on responses, headers, parameters, and more.