1. Packages
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. NfsAccessPoint
Viewing docs for DigitalOcean v4.73.0
published on Friday, Jul 3, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.73.0
published on Friday, Jul 3, 2026 by Pulumi

    Provides a DigitalOcean NFS access point for a Network File Storage share. Access points define export paths and access policies for mounting an NFS share from a VPC.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const foobar = new digitalocean.Vpc("foobar", {
        name: "example-vpc",
        region: "atl1",
    });
    const foobarNfs = new digitalocean.Nfs("foobar", {
        region: "atl1",
        name: "example-nfs",
        size: 50,
        vpcId: foobar.id,
        performanceTier: "standard",
    });
    const foobarNfsAccessPoint = new digitalocean.NfsAccessPoint("foobar", {
        name: "example-access-point",
        shareId: foobarNfs.id,
        path: "/data",
        vpcId: foobar.id,
        accessPolicy: {
            anonuid: 65534,
            anongid: 65534,
            protocols: ["NFS4"],
            squashConfig: "ROOT_SQUASH",
            identityEnforcementEnabled: false,
        },
    });
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    foobar = digitalocean.Vpc("foobar",
        name="example-vpc",
        region="atl1")
    foobar_nfs = digitalocean.Nfs("foobar",
        region="atl1",
        name="example-nfs",
        size=50,
        vpc_id=foobar.id,
        performance_tier="standard")
    foobar_nfs_access_point = digitalocean.NfsAccessPoint("foobar",
        name="example-access-point",
        share_id=foobar_nfs.id,
        path="/data",
        vpc_id=foobar.id,
        access_policy={
            "anonuid": 65534,
            "anongid": 65534,
            "protocols": ["NFS4"],
            "squash_config": "ROOT_SQUASH",
            "identity_enforcement_enabled": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foobar, err := digitalocean.NewVpc(ctx, "foobar", &digitalocean.VpcArgs{
    			Name:   pulumi.String("example-vpc"),
    			Region: pulumi.String("atl1"),
    		})
    		if err != nil {
    			return err
    		}
    		foobarNfs, err := digitalocean.NewNfs(ctx, "foobar", &digitalocean.NfsArgs{
    			Region:          pulumi.String("atl1"),
    			Name:            pulumi.String("example-nfs"),
    			Size:            pulumi.Int(50),
    			VpcId:           foobar.ID(),
    			PerformanceTier: pulumi.String("standard"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = digitalocean.NewNfsAccessPoint(ctx, "foobar", &digitalocean.NfsAccessPointArgs{
    			Name:    pulumi.String("example-access-point"),
    			ShareId: foobarNfs.ID(),
    			Path:    pulumi.String("/data"),
    			VpcId:   foobar.ID(),
    			AccessPolicy: &digitalocean.NfsAccessPointAccessPolicyArgs{
    				Anonuid: pulumi.Int(65534),
    				Anongid: pulumi.Int(65534),
    				Protocols: pulumi.StringArray{
    					pulumi.String("NFS4"),
    				},
    				SquashConfig:               pulumi.String("ROOT_SQUASH"),
    				IdentityEnforcementEnabled: pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var foobar = new DigitalOcean.Vpc("foobar", new()
        {
            Name = "example-vpc",
            Region = "atl1",
        });
    
        var foobarNfs = new DigitalOcean.Nfs("foobar", new()
        {
            Region = "atl1",
            Name = "example-nfs",
            Size = 50,
            VpcId = foobar.Id,
            PerformanceTier = "standard",
        });
    
        var foobarNfsAccessPoint = new DigitalOcean.NfsAccessPoint("foobar", new()
        {
            Name = "example-access-point",
            ShareId = foobarNfs.Id,
            Path = "/data",
            VpcId = foobar.Id,
            AccessPolicy = new DigitalOcean.Inputs.NfsAccessPointAccessPolicyArgs
            {
                Anonuid = 65534,
                Anongid = 65534,
                Protocols = new[]
                {
                    "NFS4",
                },
                SquashConfig = "ROOT_SQUASH",
                IdentityEnforcementEnabled = false,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.Vpc;
    import com.pulumi.digitalocean.VpcArgs;
    import com.pulumi.digitalocean.Nfs;
    import com.pulumi.digitalocean.NfsArgs;
    import com.pulumi.digitalocean.NfsAccessPoint;
    import com.pulumi.digitalocean.NfsAccessPointArgs;
    import com.pulumi.digitalocean.inputs.NfsAccessPointAccessPolicyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foobar = new Vpc("foobar", VpcArgs.builder()
                .name("example-vpc")
                .region("atl1")
                .build());
    
            var foobarNfs = new Nfs("foobarNfs", NfsArgs.builder()
                .region("atl1")
                .name("example-nfs")
                .size(50)
                .vpcId(foobar.id())
                .performanceTier("standard")
                .build());
    
            var foobarNfsAccessPoint = new NfsAccessPoint("foobarNfsAccessPoint", NfsAccessPointArgs.builder()
                .name("example-access-point")
                .shareId(foobarNfs.id())
                .path("/data")
                .vpcId(foobar.id())
                .accessPolicy(NfsAccessPointAccessPolicyArgs.builder()
                    .anonuid(65534)
                    .anongid(65534)
                    .protocols("NFS4")
                    .squashConfig("ROOT_SQUASH")
                    .identityEnforcementEnabled(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      foobar:
        type: digitalocean:Vpc
        properties:
          name: example-vpc
          region: atl1
      foobarNfs:
        type: digitalocean:Nfs
        name: foobar
        properties:
          region: atl1
          name: example-nfs
          size: 50
          vpcId: ${foobar.id}
          performanceTier: standard
      foobarNfsAccessPoint:
        type: digitalocean:NfsAccessPoint
        name: foobar
        properties:
          name: example-access-point
          shareId: ${foobarNfs.id}
          path: /data
          vpcId: ${foobar.id}
          accessPolicy:
            anonuid: 65534
            anongid: 65534
            protocols:
              - NFS4
            squashConfig: ROOT_SQUASH
            identityEnforcementEnabled: false
    
    pulumi {
      required_providers {
        digitalocean = {
          source = "pulumi/digitalocean"
        }
      }
    }
    
    resource "digitalocean_vpc" "foobar" {
      name   = "example-vpc"
      region = "atl1"
    }
    resource "digitalocean_nfs" "foobar" {
      region           = "atl1"
      name             = "example-nfs"
      size             = 50
      vpc_id           = digitalocean_vpc.foobar.id
      performance_tier = "standard"
    }
    resource "digitalocean_nfsaccesspoint" "foobar" {
      name     = "example-access-point"
      share_id = digitalocean_nfs.foobar.id
      path     = "/data"
      vpc_id   = digitalocean_vpc.foobar.id
      access_policy = {
        anonuid                      = 65534
        anongid                      = 65534
        protocols                    = ["NFS4"]
        squash_config                = "ROOT_SQUASH"
        identity_enforcement_enabled = false
      }
    }
    

    Create NfsAccessPoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NfsAccessPoint(name: string, args: NfsAccessPointArgs, opts?: CustomResourceOptions);
    @overload
    def NfsAccessPoint(resource_name: str,
                       args: NfsAccessPointArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NfsAccessPoint(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       access_policy: Optional[NfsAccessPointAccessPolicyArgs] = None,
                       path: Optional[str] = None,
                       share_id: Optional[str] = None,
                       vpc_id: Optional[str] = None,
                       name: Optional[str] = None)
    func NewNfsAccessPoint(ctx *Context, name string, args NfsAccessPointArgs, opts ...ResourceOption) (*NfsAccessPoint, error)
    public NfsAccessPoint(string name, NfsAccessPointArgs args, CustomResourceOptions? opts = null)
    public NfsAccessPoint(String name, NfsAccessPointArgs args)
    public NfsAccessPoint(String name, NfsAccessPointArgs args, CustomResourceOptions options)
    
    type: digitalocean:NfsAccessPoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "digitalocean_nfsaccesspoint" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args NfsAccessPointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NfsAccessPointArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NfsAccessPointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NfsAccessPointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NfsAccessPointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var nfsAccessPointResource = new DigitalOcean.NfsAccessPoint("nfsAccessPointResource", new()
    {
        AccessPolicy = new DigitalOcean.Inputs.NfsAccessPointAccessPolicyArgs
        {
            Anongid = 0,
            Anonuid = 0,
            IdentityEnforcementEnabled = false,
            Protocols = new[]
            {
                "string",
            },
            SquashConfig = "string",
        },
        Path = "string",
        ShareId = "string",
        VpcId = "string",
        Name = "string",
    });
    
    example, err := digitalocean.NewNfsAccessPoint(ctx, "nfsAccessPointResource", &digitalocean.NfsAccessPointArgs{
    	AccessPolicy: &digitalocean.NfsAccessPointAccessPolicyArgs{
    		Anongid:                    pulumi.Int(0),
    		Anonuid:                    pulumi.Int(0),
    		IdentityEnforcementEnabled: pulumi.Bool(false),
    		Protocols: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SquashConfig: pulumi.String("string"),
    	},
    	Path:    pulumi.String("string"),
    	ShareId: pulumi.String("string"),
    	VpcId:   pulumi.String("string"),
    	Name:    pulumi.String("string"),
    })
    
    resource "digitalocean_nfsaccesspoint" "nfsAccessPointResource" {
      access_policy = {
        anongid                      = 0
        anonuid                      = 0
        identity_enforcement_enabled = false
        protocols                    = ["string"]
        squash_config                = "string"
      }
      path     = "string"
      share_id = "string"
      vpc_id   = "string"
      name     = "string"
    }
    
    var nfsAccessPointResource = new NfsAccessPoint("nfsAccessPointResource", NfsAccessPointArgs.builder()
        .accessPolicy(NfsAccessPointAccessPolicyArgs.builder()
            .anongid(0)
            .anonuid(0)
            .identityEnforcementEnabled(false)
            .protocols("string")
            .squashConfig("string")
            .build())
        .path("string")
        .shareId("string")
        .vpcId("string")
        .name("string")
        .build());
    
    nfs_access_point_resource = digitalocean.NfsAccessPoint("nfsAccessPointResource",
        access_policy={
            "anongid": 0,
            "anonuid": 0,
            "identity_enforcement_enabled": False,
            "protocols": ["string"],
            "squash_config": "string",
        },
        path="string",
        share_id="string",
        vpc_id="string",
        name="string")
    
    const nfsAccessPointResource = new digitalocean.NfsAccessPoint("nfsAccessPointResource", {
        accessPolicy: {
            anongid: 0,
            anonuid: 0,
            identityEnforcementEnabled: false,
            protocols: ["string"],
            squashConfig: "string",
        },
        path: "string",
        shareId: "string",
        vpcId: "string",
        name: "string",
    });
    
    type: digitalocean:NfsAccessPoint
    properties:
        accessPolicy:
            anongid: 0
            anonuid: 0
            identityEnforcementEnabled: false
            protocols:
                - string
            squashConfig: string
        name: string
        path: string
        shareId: string
        vpcId: string
    

    NfsAccessPoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NfsAccessPoint resource accepts the following input properties:

    AccessPolicy Pulumi.DigitalOcean.Inputs.NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    Path string
    The export path for the access point.
    ShareId string
    The ID of the NFS share.
    VpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    Name string
    A name for the NFS access point.
    AccessPolicy NfsAccessPointAccessPolicyArgs
    Access policy configuration for the access point. See Access Policy below.
    Path string
    The export path for the access point.
    ShareId string
    The ID of the NFS share.
    VpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    Name string
    A name for the NFS access point.
    access_policy object
    Access policy configuration for the access point. See Access Policy below.
    path string
    The export path for the access point.
    share_id string
    The ID of the NFS share.
    vpc_id string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    name string
    A name for the NFS access point.
    accessPolicy NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    path String
    The export path for the access point.
    shareId String
    The ID of the NFS share.
    vpcId String
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    name String
    A name for the NFS access point.
    accessPolicy NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    path string
    The export path for the access point.
    shareId string
    The ID of the NFS share.
    vpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    name string
    A name for the NFS access point.
    access_policy NfsAccessPointAccessPolicyArgs
    Access policy configuration for the access point. See Access Policy below.
    path str
    The export path for the access point.
    share_id str
    The ID of the NFS share.
    vpc_id str
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    name str
    A name for the NFS access point.
    accessPolicy Property Map
    Access policy configuration for the access point. See Access Policy below.
    path String
    The export path for the access point.
    shareId String
    The ID of the NFS share.
    vpcId String
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    name String
    A name for the NFS access point.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NfsAccessPoint resource produces the following output properties:

    CreatedAt string
    The date and time when the access point was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Whether this is the default access point for the share.
    Status string
    The status of the access point.
    UpdatedAt string
    The date and time when the access point was last updated.
    CreatedAt string
    The date and time when the access point was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Whether this is the default access point for the share.
    Status string
    The status of the access point.
    UpdatedAt string
    The date and time when the access point was last updated.
    created_at string
    The date and time when the access point was created.
    id string
    The provider-assigned unique ID for this managed resource.
    is_default bool
    Whether this is the default access point for the share.
    status string
    The status of the access point.
    updated_at string
    The date and time when the access point was last updated.
    createdAt String
    The date and time when the access point was created.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Whether this is the default access point for the share.
    status String
    The status of the access point.
    updatedAt String
    The date and time when the access point was last updated.
    createdAt string
    The date and time when the access point was created.
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    Whether this is the default access point for the share.
    status string
    The status of the access point.
    updatedAt string
    The date and time when the access point was last updated.
    created_at str
    The date and time when the access point was created.
    id str
    The provider-assigned unique ID for this managed resource.
    is_default bool
    Whether this is the default access point for the share.
    status str
    The status of the access point.
    updated_at str
    The date and time when the access point was last updated.
    createdAt String
    The date and time when the access point was created.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Whether this is the default access point for the share.
    status String
    The status of the access point.
    updatedAt String
    The date and time when the access point was last updated.

    Look up Existing NfsAccessPoint Resource

    Get an existing NfsAccessPoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NfsAccessPointState, opts?: CustomResourceOptions): NfsAccessPoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_policy: Optional[NfsAccessPointAccessPolicyArgs] = None,
            created_at: Optional[str] = None,
            is_default: Optional[bool] = None,
            name: Optional[str] = None,
            path: Optional[str] = None,
            share_id: Optional[str] = None,
            status: Optional[str] = None,
            updated_at: Optional[str] = None,
            vpc_id: Optional[str] = None) -> NfsAccessPoint
    func GetNfsAccessPoint(ctx *Context, name string, id IDInput, state *NfsAccessPointState, opts ...ResourceOption) (*NfsAccessPoint, error)
    public static NfsAccessPoint Get(string name, Input<string> id, NfsAccessPointState? state, CustomResourceOptions? opts = null)
    public static NfsAccessPoint get(String name, Output<String> id, NfsAccessPointState state, CustomResourceOptions options)
    resources:  _:    type: digitalocean:NfsAccessPoint    get:      id: ${id}
    import {
      to = digitalocean_nfsaccesspoint.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessPolicy Pulumi.DigitalOcean.Inputs.NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    CreatedAt string
    The date and time when the access point was created.
    IsDefault bool
    Whether this is the default access point for the share.
    Name string
    A name for the NFS access point.
    Path string
    The export path for the access point.
    ShareId string
    The ID of the NFS share.
    Status string
    The status of the access point.
    UpdatedAt string
    The date and time when the access point was last updated.
    VpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    AccessPolicy NfsAccessPointAccessPolicyArgs
    Access policy configuration for the access point. See Access Policy below.
    CreatedAt string
    The date and time when the access point was created.
    IsDefault bool
    Whether this is the default access point for the share.
    Name string
    A name for the NFS access point.
    Path string
    The export path for the access point.
    ShareId string
    The ID of the NFS share.
    Status string
    The status of the access point.
    UpdatedAt string
    The date and time when the access point was last updated.
    VpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    access_policy object
    Access policy configuration for the access point. See Access Policy below.
    created_at string
    The date and time when the access point was created.
    is_default bool
    Whether this is the default access point for the share.
    name string
    A name for the NFS access point.
    path string
    The export path for the access point.
    share_id string
    The ID of the NFS share.
    status string
    The status of the access point.
    updated_at string
    The date and time when the access point was last updated.
    vpc_id string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    accessPolicy NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    createdAt String
    The date and time when the access point was created.
    isDefault Boolean
    Whether this is the default access point for the share.
    name String
    A name for the NFS access point.
    path String
    The export path for the access point.
    shareId String
    The ID of the NFS share.
    status String
    The status of the access point.
    updatedAt String
    The date and time when the access point was last updated.
    vpcId String
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    accessPolicy NfsAccessPointAccessPolicy
    Access policy configuration for the access point. See Access Policy below.
    createdAt string
    The date and time when the access point was created.
    isDefault boolean
    Whether this is the default access point for the share.
    name string
    A name for the NFS access point.
    path string
    The export path for the access point.
    shareId string
    The ID of the NFS share.
    status string
    The status of the access point.
    updatedAt string
    The date and time when the access point was last updated.
    vpcId string
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    access_policy NfsAccessPointAccessPolicyArgs
    Access policy configuration for the access point. See Access Policy below.
    created_at str
    The date and time when the access point was created.
    is_default bool
    Whether this is the default access point for the share.
    name str
    A name for the NFS access point.
    path str
    The export path for the access point.
    share_id str
    The ID of the NFS share.
    status str
    The status of the access point.
    updated_at str
    The date and time when the access point was last updated.
    vpc_id str
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.
    accessPolicy Property Map
    Access policy configuration for the access point. See Access Policy below.
    createdAt String
    The date and time when the access point was created.
    isDefault Boolean
    Whether this is the default access point for the share.
    name String
    A name for the NFS access point.
    path String
    The export path for the access point.
    shareId String
    The ID of the NFS share.
    status String
    The status of the access point.
    updatedAt String
    The date and time when the access point was last updated.
    vpcId String
    The ID of the VPC that can access this access point. The VPC must be attached to the NFS share.

    Supporting Types

    NfsAccessPointAccessPolicy, NfsAccessPointAccessPolicyArgs

    Anongid int
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    Anonuid int
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    IdentityEnforcementEnabled bool
    Whether identity enforcement is enabled. Defaults to false.
    Protocols List<string>
    List of NFS protocols. Defaults to ["NFS4"].
    SquashConfig string
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    Anongid int
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    Anonuid int
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    IdentityEnforcementEnabled bool
    Whether identity enforcement is enabled. Defaults to false.
    Protocols []string
    List of NFS protocols. Defaults to ["NFS4"].
    SquashConfig string
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    anongid number
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    anonuid number
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    identity_enforcement_enabled bool
    Whether identity enforcement is enabled. Defaults to false.
    protocols list(string)
    List of NFS protocols. Defaults to ["NFS4"].
    squash_config string
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    anongid Integer
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    anonuid Integer
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    identityEnforcementEnabled Boolean
    Whether identity enforcement is enabled. Defaults to false.
    protocols List<String>
    List of NFS protocols. Defaults to ["NFS4"].
    squashConfig String
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    anongid number
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    anonuid number
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    identityEnforcementEnabled boolean
    Whether identity enforcement is enabled. Defaults to false.
    protocols string[]
    List of NFS protocols. Defaults to ["NFS4"].
    squashConfig string
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    anongid int
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    anonuid int
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    identity_enforcement_enabled bool
    Whether identity enforcement is enabled. Defaults to false.
    protocols Sequence[str]
    List of NFS protocols. Defaults to ["NFS4"].
    squash_config str
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.
    anongid Number
    Anonymous GID mapped for NFS clients. Defaults to 65534.
    anonuid Number
    Anonymous UID mapped for NFS clients. Defaults to 65534.
    identityEnforcementEnabled Boolean
    Whether identity enforcement is enabled. Defaults to false.
    protocols List<String>
    List of NFS protocols. Defaults to ["NFS4"].
    squashConfig String
    Squash configuration. Valid values are NO_SQUASH, ROOT_SQUASH, and ALL_SQUASH. Defaults to ROOT_SQUASH.

    Import

    NFS access points can be imported using the access point ID, e.g.

    $ pulumi import digitalocean:index/nfsAccessPoint:NfsAccessPoint foobar 506f78a4-e098-11e5-ad9f-000f53306ae1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.73.0
    published on Friday, Jul 3, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial