You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/storage/fss/variables.tf
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,11 @@ variable "api_public_key" {
14
14
default="-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4fGHcxbEs3VaWoKaGUiPHGZ5ILiOXCcWN4nOgLr6CSzUjtgjmN3aA6rsT2mYiD+M5EecDbEUMectUhNtLl5LPABN9kpjuR0zxCJXvYYQiCBtdjb1/YxrZI9T/9Jtd+cTabCahJHR/cR8jFmvO4cKJCa/0+Y00zvktrqniHIn3edGAKC4Ttlwj/1NqT0ZVePMXg3rWHPsIW6ONfdn6FNfMet8Qa8K3C9xVvzImlYx8PQBy/44Ilu5T3A+puwb2QMeZnQZGDALOY4MvrBTTA1TdjFpg1NChj2rGYzreysqlnKFu+1qg64wel39kHkppz4Fv2vaLXF9qIeDjeo3G4sHQIDAQAB-----END PUBLIC KEY-----"
Copy file name to clipboardExpand all lines: docs/file_storage/exports.md
+38-4Lines changed: 38 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,13 @@
6
6
7
7
The following attributes are exported:
8
8
9
+
* `export_options` - Policies that apply to NFS requests made through this export. `exportOptions` contains a sequential list of `ClientOptions`. Each `ClientOptions` item defines the export options that are applied to a specified set of clients. For each NFS request, the first `ClientOptions` option in the list whose `source` attribute matches the source IP address of the request is applied. If a client source IP address does not match the `source` property of any `ClientOptions` in the list, then the export will be invisible to that client. This export will not be returned by `MOUNTPROC_EXPORT` calls made by the client and any attempt to mount or access the file system through this export will result in an error. **Exports without defined `ClientOptions` are invisible to all clients.** If one export is invisible to a particular client, associated file systems may still be accessible through other exports on the same or different mount targets. To completely deny client access to a file system, be sure that the client source IP address is not included in any export for any mount target associated with the file system.
10
+
* `access` - Type of access to grant clients using the file system through this export. If unspecified defaults to `READ_ONLY`.
11
+
* `anonymous_gid` - GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to `65534`.
12
+
* `anonymous_uid` - UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to `65534`.
13
+
* `identity_squash` - 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`.
14
+
* `require_privileged_source_port` - If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`.
15
+
* `source` - 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.
9
16
*`export_set_id` - The OCID of this export's export set.
10
17
*`file_system_id` - The OCID of this export's file system.
11
18
*`id` - The OCID of this export.
@@ -22,16 +29,30 @@ file system.
22
29
23
30
The following arguments are supported:
24
31
32
+
*`export_options` - (Optional) Export options for the new export. If left unspecified, defaults to: [ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access" : "READ_WRITE", "identitySquash" : "NONE" } ]**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.
33
+
* `access` - (Optional) Type of access to grant clients using the file system through this export. If unspecified defaults to `READ_ONLY`.
34
+
* `anonymous_gid` - (Optional) GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to `65534`.
35
+
* `anonymous_uid` - (Optional) UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to `65534`.
36
+
* `identity_squash` - (Optional) 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`.
37
+
* `require_privileged_source_port` - (Optional) If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`.
38
+
* `source` - (Required) 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.
25
39
*`export_set_id` - (Required) The OCID of this export's export set.
26
40
*`file_system_id` - (Required) The OCID of this export's file system.
27
41
*`path` - (Required) Path used to access the associated file system. Avoid entering confidential information. Example: `/mediafiles`
28
42
29
43
30
44
### Update Operation
31
-
45
+
Updates the specified export's information.
32
46
33
47
The following arguments support updates:
34
-
* NO arguments in this resource support updates
48
+
*`export_options` - Export options for the new export. If left unspecified, defaults to: [ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access" : "READ_WRITE", "identitySquash" : "NONE" } ]**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.
49
+
* `access` - Type of access to grant clients using the file system through this export. If unspecified defaults to `READ_ONLY`.
50
+
* `anonymous_gid` - GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to `65534`.
51
+
* `anonymous_uid` - UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to `65534`.
52
+
* `identity_squash` - 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`.
53
+
* `require_privileged_source_port` - If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`.
54
+
* `source` - 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.
55
+
35
56
36
57
** IMPORTANT **
37
58
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
@@ -41,9 +62,22 @@ Any change to a property that does not support update will force the destruction
Copy file name to clipboardExpand all lines: docs/file_storage/file_systems.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The following attributes are exported:
10
10
*`compartment_id` - The OCID of the compartment that contains the file system.
11
11
*`display_name` - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My file system`
12
12
*`id` - The OCID of the file system.
13
-
*`metered_bytes` - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system.
13
+
*`metered_bytes` - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system.
14
14
*`state` - The current state of the file system.
15
15
*`time_created` - The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
16
16
@@ -112,4 +112,4 @@ data "oci_file_storage_file_systems" "test_file_systems" {
0 commit comments