Show / Hide Table of Contents

Class ClientOptions

NFS export options applied to a specified set of clients. Only governs access through the associated export. Access to the same file system through a different export (on the same or different mount target) will be governed by that export's export options.

Inheritance
object
ClientOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class ClientOptions

Properties

Access

Declaration
[JsonProperty(PropertyName = "access")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ClientOptions.AccessEnum? Access { get; set; }
Property Value
Type Description
ClientOptions.AccessEnum?

Type of access to grant clients using the file system through this export. If unspecified defaults to READ_WRITE.

AllowedAuth

Declaration
[JsonProperty(PropertyName = "allowedAuth", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ClientOptions.AllowedAuthEnum> AllowedAuth { get; set; }
Property Value
Type Description
List<ClientOptions.AllowedAuthEnum>

Array of allowed NFS authentication types.

AnonymousGid

Declaration
[JsonProperty(PropertyName = "anonymousGid")]
public long? AnonymousGid { get; set; }
Property Value
Type Description
long?

GID value to remap to when squashing a client GID (see identitySquash for more details.) If unspecified defaults to 65534.

AnonymousUid

Declaration
[JsonProperty(PropertyName = "anonymousUid")]
public long? AnonymousUid { get; set; }
Property Value
Type Description
long?

UID value to remap to when squashing a client UID (see identitySquash for more details.) If unspecified, defaults to 65534.

IdentitySquash

Declaration
[JsonProperty(PropertyName = "identitySquash")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ClientOptions.IdentitySquashEnum? IdentitySquash { get; set; }
Property Value
Type Description
ClientOptions.IdentitySquashEnum?

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

Declaration
[JsonProperty(PropertyName = "isAnonymousAccessAllowed")]
public bool? IsAnonymousAccessAllowed { get; set; }
Property Value
Type Description
bool?

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

Declaration
[JsonProperty(PropertyName = "requirePrivilegedSourcePort")]
public bool? RequirePrivilegedSourcePort { get; set; }
Property Value
Type Description
bool?

If true, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to true.

Source

Declaration
[Required(ErrorMessage = "Source is required.")]
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
Property Value
Type Description
string

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.

Remarks

Required

In this article
Back to top