1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. Export
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.FileStorage.Export

Explore with Pulumi AI

This resource provides the Export resource in Oracle Cloud Infrastructure File Storage service.

Creates a new export in the specified export set, path, and file system.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExport = new oci.filestorage.Export("test_export", {
    exportSetId: testExportSet.id,
    fileSystemId: testFileSystem.id,
    path: exportPath,
    exportOptions: [{
        source: exportExportOptionsSource,
        access: exportExportOptionsAccess,
        allowedAuths: exportExportOptionsAllowedAuth,
        anonymousGid: exportExportOptionsAnonymousGid,
        anonymousUid: exportExportOptionsAnonymousUid,
        identitySquash: exportExportOptionsIdentitySquash,
        isAnonymousAccessAllowed: exportExportOptionsIsAnonymousAccessAllowed,
        requirePrivilegedSourcePort: exportExportOptionsRequirePrivilegedSourcePort,
    }],
    isIdmapGroupsForSysAuth: exportIsIdmapGroupsForSysAuth,
    locks: [{
        type: exportLocksType,
        message: exportLocksMessage,
        relatedResourceId: testResource.id,
        timeCreated: exportLocksTimeCreated,
    }],
});
Copy
import pulumi
import pulumi_oci as oci

test_export = oci.file_storage.Export("test_export",
    export_set_id=test_export_set["id"],
    file_system_id=test_file_system["id"],
    path=export_path,
    export_options=[{
        "source": export_export_options_source,
        "access": export_export_options_access,
        "allowed_auths": export_export_options_allowed_auth,
        "anonymous_gid": export_export_options_anonymous_gid,
        "anonymous_uid": export_export_options_anonymous_uid,
        "identity_squash": export_export_options_identity_squash,
        "is_anonymous_access_allowed": export_export_options_is_anonymous_access_allowed,
        "require_privileged_source_port": export_export_options_require_privileged_source_port,
    }],
    is_idmap_groups_for_sys_auth=export_is_idmap_groups_for_sys_auth,
    locks=[{
        "type": export_locks_type,
        "message": export_locks_message,
        "related_resource_id": test_resource["id"],
        "time_created": export_locks_time_created,
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/filestorage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filestorage.NewExport(ctx, "test_export", &filestorage.ExportArgs{
			ExportSetId:  pulumi.Any(testExportSet.Id),
			FileSystemId: pulumi.Any(testFileSystem.Id),
			Path:         pulumi.Any(exportPath),
			ExportOptions: filestorage.ExportExportOptionArray{
				&filestorage.ExportExportOptionArgs{
					Source:                      pulumi.Any(exportExportOptionsSource),
					Access:                      pulumi.Any(exportExportOptionsAccess),
					AllowedAuths:                pulumi.Any(exportExportOptionsAllowedAuth),
					AnonymousGid:                pulumi.Any(exportExportOptionsAnonymousGid),
					AnonymousUid:                pulumi.Any(exportExportOptionsAnonymousUid),
					IdentitySquash:              pulumi.Any(exportExportOptionsIdentitySquash),
					IsAnonymousAccessAllowed:    pulumi.Any(exportExportOptionsIsAnonymousAccessAllowed),
					RequirePrivilegedSourcePort: pulumi.Any(exportExportOptionsRequirePrivilegedSourcePort),
				},
			},
			IsIdmapGroupsForSysAuth: pulumi.Any(exportIsIdmapGroupsForSysAuth),
			Locks: filestorage.ExportLockArray{
				&filestorage.ExportLockArgs{
					Type:              pulumi.Any(exportLocksType),
					Message:           pulumi.Any(exportLocksMessage),
					RelatedResourceId: pulumi.Any(testResource.Id),
					TimeCreated:       pulumi.Any(exportLocksTimeCreated),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testExport = new Oci.FileStorage.Export("test_export", new()
    {
        ExportSetId = testExportSet.Id,
        FileSystemId = testFileSystem.Id,
        Path = exportPath,
        ExportOptions = new[]
        {
            new Oci.FileStorage.Inputs.ExportExportOptionArgs
            {
                Source = exportExportOptionsSource,
                Access = exportExportOptionsAccess,
                AllowedAuths = exportExportOptionsAllowedAuth,
                AnonymousGid = exportExportOptionsAnonymousGid,
                AnonymousUid = exportExportOptionsAnonymousUid,
                IdentitySquash = exportExportOptionsIdentitySquash,
                IsAnonymousAccessAllowed = exportExportOptionsIsAnonymousAccessAllowed,
                RequirePrivilegedSourcePort = exportExportOptionsRequirePrivilegedSourcePort,
            },
        },
        IsIdmapGroupsForSysAuth = exportIsIdmapGroupsForSysAuth,
        Locks = new[]
        {
            new Oci.FileStorage.Inputs.ExportLockArgs
            {
                Type = exportLocksType,
                Message = exportLocksMessage,
                RelatedResourceId = testResource.Id,
                TimeCreated = exportLocksTimeCreated,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.Export;
import com.pulumi.oci.FileStorage.ExportArgs;
import com.pulumi.oci.FileStorage.inputs.ExportExportOptionArgs;
import com.pulumi.oci.FileStorage.inputs.ExportLockArgs;
import java.util.List;
import java.util.ArrayList;
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 testExport = new Export("testExport", ExportArgs.builder()
            .exportSetId(testExportSet.id())
            .fileSystemId(testFileSystem.id())
            .path(exportPath)
            .exportOptions(ExportExportOptionArgs.builder()
                .source(exportExportOptionsSource)
                .access(exportExportOptionsAccess)
                .allowedAuths(exportExportOptionsAllowedAuth)
                .anonymousGid(exportExportOptionsAnonymousGid)
                .anonymousUid(exportExportOptionsAnonymousUid)
                .identitySquash(exportExportOptionsIdentitySquash)
                .isAnonymousAccessAllowed(exportExportOptionsIsAnonymousAccessAllowed)
                .requirePrivilegedSourcePort(exportExportOptionsRequirePrivilegedSourcePort)
                .build())
            .isIdmapGroupsForSysAuth(exportIsIdmapGroupsForSysAuth)
            .locks(ExportLockArgs.builder()
                .type(exportLocksType)
                .message(exportLocksMessage)
                .relatedResourceId(testResource.id())
                .timeCreated(exportLocksTimeCreated)
                .build())
            .build());

    }
}
Copy
resources:
  testExport:
    type: oci:FileStorage:Export
    name: test_export
    properties:
      exportSetId: ${testExportSet.id}
      fileSystemId: ${testFileSystem.id}
      path: ${exportPath}
      exportOptions:
        - source: ${exportExportOptionsSource}
          access: ${exportExportOptionsAccess}
          allowedAuths: ${exportExportOptionsAllowedAuth}
          anonymousGid: ${exportExportOptionsAnonymousGid}
          anonymousUid: ${exportExportOptionsAnonymousUid}
          identitySquash: ${exportExportOptionsIdentitySquash}
          isAnonymousAccessAllowed: ${exportExportOptionsIsAnonymousAccessAllowed}
          requirePrivilegedSourcePort: ${exportExportOptionsRequirePrivilegedSourcePort}
      isIdmapGroupsForSysAuth: ${exportIsIdmapGroupsForSysAuth}
      locks:
        - type: ${exportLocksType}
          message: ${exportLocksMessage}
          relatedResourceId: ${testResource.id}
          timeCreated: ${exportLocksTimeCreated}
Copy

Create Export Resource

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

Constructor syntax

new Export(name: string, args: ExportArgs, opts?: CustomResourceOptions);
@overload
def Export(resource_name: str,
           args: ExportArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Export(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           export_set_id: Optional[str] = None,
           file_system_id: Optional[str] = None,
           path: Optional[str] = None,
           export_options: Optional[Sequence[_filestorage.ExportExportOptionArgs]] = None,
           is_idmap_groups_for_sys_auth: Optional[bool] = None,
           is_lock_override: Optional[bool] = None,
           locks: Optional[Sequence[_filestorage.ExportLockArgs]] = None)
func NewExport(ctx *Context, name string, args ExportArgs, opts ...ResourceOption) (*Export, error)
public Export(string name, ExportArgs args, CustomResourceOptions? opts = null)
public Export(String name, ExportArgs args)
public Export(String name, ExportArgs args, CustomResourceOptions options)
type: oci:FileStorage:Export
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExportArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExportArgs
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 exportResource = new Oci.FileStorage.Export("exportResource", new()
{
    ExportSetId = "string",
    FileSystemId = "string",
    Path = "string",
    ExportOptions = new[]
    {
        new Oci.FileStorage.Inputs.ExportExportOptionArgs
        {
            Source = "string",
            Access = "string",
            AllowedAuths = new[]
            {
                "string",
            },
            AnonymousGid = "string",
            AnonymousUid = "string",
            IdentitySquash = "string",
            IsAnonymousAccessAllowed = false,
            RequirePrivilegedSourcePort = false,
        },
    },
    IsIdmapGroupsForSysAuth = false,
    IsLockOverride = false,
    Locks = new[]
    {
        new Oci.FileStorage.Inputs.ExportLockArgs
        {
            Type = "string",
            Message = "string",
            RelatedResourceId = "string",
            TimeCreated = "string",
        },
    },
});
Copy
example, err := FileStorage.NewExport(ctx, "exportResource", &FileStorage.ExportArgs{
	ExportSetId:  pulumi.String("string"),
	FileSystemId: pulumi.String("string"),
	Path:         pulumi.String("string"),
	ExportOptions: filestorage.ExportExportOptionArray{
		&filestorage.ExportExportOptionArgs{
			Source: pulumi.String("string"),
			Access: pulumi.String("string"),
			AllowedAuths: pulumi.StringArray{
				pulumi.String("string"),
			},
			AnonymousGid:                pulumi.String("string"),
			AnonymousUid:                pulumi.String("string"),
			IdentitySquash:              pulumi.String("string"),
			IsAnonymousAccessAllowed:    pulumi.Bool(false),
			RequirePrivilegedSourcePort: pulumi.Bool(false),
		},
	},
	IsIdmapGroupsForSysAuth: pulumi.Bool(false),
	IsLockOverride:          pulumi.Bool(false),
	Locks: filestorage.ExportLockArray{
		&filestorage.ExportLockArgs{
			Type:              pulumi.String("string"),
			Message:           pulumi.String("string"),
			RelatedResourceId: pulumi.String("string"),
			TimeCreated:       pulumi.String("string"),
		},
	},
})
Copy
var exportResource = new Export("exportResource", ExportArgs.builder()
    .exportSetId("string")
    .fileSystemId("string")
    .path("string")
    .exportOptions(ExportExportOptionArgs.builder()
        .source("string")
        .access("string")
        .allowedAuths("string")
        .anonymousGid("string")
        .anonymousUid("string")
        .identitySquash("string")
        .isAnonymousAccessAllowed(false)
        .requirePrivilegedSourcePort(false)
        .build())
    .isIdmapGroupsForSysAuth(false)
    .isLockOverride(false)
    .locks(ExportLockArgs.builder()
        .type("string")
        .message("string")
        .relatedResourceId("string")
        .timeCreated("string")
        .build())
    .build());
Copy
export_resource = oci.file_storage.Export("exportResource",
    export_set_id="string",
    file_system_id="string",
    path="string",
    export_options=[{
        "source": "string",
        "access": "string",
        "allowed_auths": ["string"],
        "anonymous_gid": "string",
        "anonymous_uid": "string",
        "identity_squash": "string",
        "is_anonymous_access_allowed": False,
        "require_privileged_source_port": False,
    }],
    is_idmap_groups_for_sys_auth=False,
    is_lock_override=False,
    locks=[{
        "type": "string",
        "message": "string",
        "related_resource_id": "string",
        "time_created": "string",
    }])
Copy
const exportResource = new oci.filestorage.Export("exportResource", {
    exportSetId: "string",
    fileSystemId: "string",
    path: "string",
    exportOptions: [{
        source: "string",
        access: "string",
        allowedAuths: ["string"],
        anonymousGid: "string",
        anonymousUid: "string",
        identitySquash: "string",
        isAnonymousAccessAllowed: false,
        requirePrivilegedSourcePort: false,
    }],
    isIdmapGroupsForSysAuth: false,
    isLockOverride: false,
    locks: [{
        type: "string",
        message: "string",
        relatedResourceId: "string",
        timeCreated: "string",
    }],
});
Copy
type: oci:FileStorage:Export
properties:
    exportOptions:
        - access: string
          allowedAuths:
            - string
          anonymousGid: string
          anonymousUid: string
          identitySquash: string
          isAnonymousAccessAllowed: false
          requirePrivilegedSourcePort: false
          source: string
    exportSetId: string
    fileSystemId: string
    isIdmapGroupsForSysAuth: false
    isLockOverride: false
    locks:
        - message: string
          relatedResourceId: string
          timeCreated: string
          type: string
    path: string
Copy

Export 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 Export resource accepts the following input properties:

ExportSetId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's export set.
FileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's file system.
Path
This property is required.
Changes to this property will trigger replacement.
string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExportOptions List<ExportExportOption>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

IsIdmapGroupsForSysAuth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
IsLockOverride bool
Locks Changes to this property will trigger replacement. List<ExportLock>
Locks associated with this resource.
ExportSetId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's export set.
FileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's file system.
Path
This property is required.
Changes to this property will trigger replacement.
string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExportOptions []ExportExportOptionArgs

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

IsIdmapGroupsForSysAuth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
IsLockOverride bool
Locks Changes to this property will trigger replacement. []ExportLockArgs
Locks associated with this resource.
exportSetId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of this export's export set.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of this export's file system.
path
This property is required.
Changes to this property will trigger replacement.
String

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

exportOptions List<ExportExportOption>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

isIdmapGroupsForSysAuth Boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride Boolean
locks Changes to this property will trigger replacement. List<ExportLock>
Locks associated with this resource.
exportSetId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's export set.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of this export's file system.
path
This property is required.
Changes to this property will trigger replacement.
string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

exportOptions ExportExportOption[]

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

isIdmapGroupsForSysAuth boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride boolean
locks Changes to this property will trigger replacement. ExportLock[]
Locks associated with this resource.
export_set_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of this export's export set.
file_system_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of this export's file system.
path
This property is required.
Changes to this property will trigger replacement.
str

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

export_options Sequence[filestorage.ExportExportOptionArgs]

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

is_idmap_groups_for_sys_auth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
is_lock_override bool
locks Changes to this property will trigger replacement. Sequence[filestorage.ExportLockArgs]
Locks associated with this resource.
exportSetId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of this export's export set.
fileSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of this export's file system.
path
This property is required.
Changes to this property will trigger replacement.
String

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

exportOptions List<Property Map>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

isIdmapGroupsForSysAuth Boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride Boolean
locks Changes to this property will trigger replacement. List<Property Map>
Locks associated with this resource.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
State string
The current state of this export.
TimeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
Id string
The provider-assigned unique ID for this managed resource.
State string
The current state of this export.
TimeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
state String
The current state of this export.
timeCreated String
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
id string
The provider-assigned unique ID for this managed resource.
state string
The current state of this export.
timeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
id str
The provider-assigned unique ID for this managed resource.
state str
The current state of this export.
time_created str
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
state String
The current state of this export.
timeCreated String
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

Look up Existing Export Resource

Get an existing Export 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?: ExportState, opts?: CustomResourceOptions): Export
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        export_options: Optional[Sequence[_filestorage.ExportExportOptionArgs]] = None,
        export_set_id: Optional[str] = None,
        file_system_id: Optional[str] = None,
        is_idmap_groups_for_sys_auth: Optional[bool] = None,
        is_lock_override: Optional[bool] = None,
        locks: Optional[Sequence[_filestorage.ExportLockArgs]] = None,
        path: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> Export
func GetExport(ctx *Context, name string, id IDInput, state *ExportState, opts ...ResourceOption) (*Export, error)
public static Export Get(string name, Input<string> id, ExportState? state, CustomResourceOptions? opts = null)
public static Export get(String name, Output<String> id, ExportState state, CustomResourceOptions options)
resources:  _:    type: oci:FileStorage:Export    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ExportOptions List<ExportExportOption>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

ExportSetId Changes to this property will trigger replacement. string
The OCID of this export's export set.
FileSystemId Changes to this property will trigger replacement. string
The OCID of this export's file system.
IsIdmapGroupsForSysAuth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
IsLockOverride bool
Locks Changes to this property will trigger replacement. List<ExportLock>
Locks associated with this resource.
Path Changes to this property will trigger replacement. string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

State string
The current state of this export.
TimeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
ExportOptions []ExportExportOptionArgs

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

ExportSetId Changes to this property will trigger replacement. string
The OCID of this export's export set.
FileSystemId Changes to this property will trigger replacement. string
The OCID of this export's file system.
IsIdmapGroupsForSysAuth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
IsLockOverride bool
Locks Changes to this property will trigger replacement. []ExportLockArgs
Locks associated with this resource.
Path Changes to this property will trigger replacement. string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

State string
The current state of this export.
TimeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
exportOptions List<ExportExportOption>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

exportSetId Changes to this property will trigger replacement. String
The OCID of this export's export set.
fileSystemId Changes to this property will trigger replacement. String
The OCID of this export's file system.
isIdmapGroupsForSysAuth Boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride Boolean
locks Changes to this property will trigger replacement. List<ExportLock>
Locks associated with this resource.
path Changes to this property will trigger replacement. String

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

state String
The current state of this export.
timeCreated String
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
exportOptions ExportExportOption[]

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

exportSetId Changes to this property will trigger replacement. string
The OCID of this export's export set.
fileSystemId Changes to this property will trigger replacement. string
The OCID of this export's file system.
isIdmapGroupsForSysAuth boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride boolean
locks Changes to this property will trigger replacement. ExportLock[]
Locks associated with this resource.
path Changes to this property will trigger replacement. string

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

state string
The current state of this export.
timeCreated string
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
export_options Sequence[filestorage.ExportExportOptionArgs]

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

export_set_id Changes to this property will trigger replacement. str
The OCID of this export's export set.
file_system_id Changes to this property will trigger replacement. str
The OCID of this export's file system.
is_idmap_groups_for_sys_auth bool
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
is_lock_override bool
locks Changes to this property will trigger replacement. Sequence[filestorage.ExportLockArgs]
Locks associated with this resource.
path Changes to this property will trigger replacement. str

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

state str
The current state of this export.
time_created str
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
exportOptions List<Property Map>

(Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:

[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]

For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.

Note: Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated ClientOptions item has a source of 0.0.0.0/0.

If set to the empty array then the export will not be visible to any clients.

The export's exportOptions can be changed after creation using the UpdateExport operation.

exportSetId Changes to this property will trigger replacement. String
The OCID of this export's export set.
fileSystemId Changes to this property will trigger replacement. String
The OCID of this export's file system.
isIdmapGroupsForSysAuth Boolean
(Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isLockOverride Boolean
locks Changes to this property will trigger replacement. List<Property Map>
Locks associated with this resource.
path Changes to this property will trigger replacement. String

Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

state String
The current state of this export.
timeCreated String
The date and time the export was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

Supporting Types

ExportExportOption
, ExportExportOptionArgs

Source This property is required. string

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

Access string
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
AllowedAuths List<string>
(Updatable) Array of allowed NFS authentication types.
AnonymousGid string
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
AnonymousUid string
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
IdentitySquash string
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
IsAnonymousAccessAllowed bool
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
RequirePrivilegedSourcePort bool
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.
Source This property is required. string

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

Access string
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
AllowedAuths []string
(Updatable) Array of allowed NFS authentication types.
AnonymousGid string
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
AnonymousUid string
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
IdentitySquash string
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
IsAnonymousAccessAllowed bool
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
RequirePrivilegedSourcePort bool
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.
source This property is required. String

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

access String
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
allowedAuths List<String>
(Updatable) Array of allowed NFS authentication types.
anonymousGid String
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
anonymousUid String
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
identitySquash String
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
isAnonymousAccessAllowed Boolean
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
requirePrivilegedSourcePort Boolean
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.
source This property is required. string

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

access string
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
allowedAuths string[]
(Updatable) Array of allowed NFS authentication types.
anonymousGid string
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
anonymousUid string
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
identitySquash string
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
isAnonymousAccessAllowed boolean
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
requirePrivilegedSourcePort boolean
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.
source This property is required. str

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

access str
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
allowed_auths Sequence[str]
(Updatable) Array of allowed NFS authentication types.
anonymous_gid str
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
anonymous_uid str
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
identity_squash str
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
is_anonymous_access_allowed bool
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
require_privileged_source_port bool
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.
source This property is required. String

(Updatable) Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block.

Note: Access will also be limited by any applicable VCN security rules and the ability to route IP packets to the mount target. Mount targets do not have Internet-routable IP addresses.

access String
(Updatable) Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.
allowedAuths List<String>
(Updatable) Array of allowed NFS authentication types.
anonymousGid String
(Updatable) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.
anonymousUid String
(Updatable) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.
identitySquash String
(Updatable) Used when clients accessing the file system through this export have their UID and GID remapped to 'anonymousUid' and 'anonymousGid'. If ALL, all users and groups are remapped; if ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to ROOT.
isAnonymousAccessAllowed Boolean
(Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID.
requirePrivilegedSourcePort Boolean
(Updatable) If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.

ExportLock
, ExportLockArgs

Type
This property is required.
Changes to this property will trigger replacement.
string
Type of the lock.
Message Changes to this property will trigger replacement. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
RelatedResourceId Changes to this property will trigger replacement. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
TimeCreated Changes to this property will trigger replacement. string
When the lock was created.
Type
This property is required.
Changes to this property will trigger replacement.
string
Type of the lock.
Message Changes to this property will trigger replacement. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
RelatedResourceId Changes to this property will trigger replacement. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
TimeCreated Changes to this property will trigger replacement. string
When the lock was created.
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the lock.
message Changes to this property will trigger replacement. String
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId Changes to this property will trigger replacement. String
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated Changes to this property will trigger replacement. String
When the lock was created.
type
This property is required.
Changes to this property will trigger replacement.
string
Type of the lock.
message Changes to this property will trigger replacement. string
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId Changes to this property will trigger replacement. string
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated Changes to this property will trigger replacement. string
When the lock was created.
type
This property is required.
Changes to this property will trigger replacement.
str
Type of the lock.
message Changes to this property will trigger replacement. str
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
related_resource_id Changes to this property will trigger replacement. str
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
time_created Changes to this property will trigger replacement. str
When the lock was created.
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the lock.
message Changes to this property will trigger replacement. String
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
relatedResourceId Changes to this property will trigger replacement. String
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
timeCreated Changes to this property will trigger replacement. String
When the lock was created.

Import

Exports can be imported using the id, e.g.

$ pulumi import oci:FileStorage/export:Export test_export "id"
Copy

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

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.