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.
Inherited Members
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 |
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 |
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 |
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 |
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 |
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.
|
Remarks
Required