Partager via


MSFT_NfsShare class

Represents a share that is exported by the Windows NFS server.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

[ClassVersion("1.0"), dynamic, provider("nfscimprov"), DisplayName("Nfs Share"), AMENDMENT]
class MSFT_NfsShare
{
  string  Path;
  string  Name;
  boolean IsClustered;
  boolean IsOnline;
  string  NetworkName;
  string  Authentication[];
  boolean UnmappedUserAccess;
  boolean AnonymousAccess;
  sint32  AnonymousUid;
  sint32  AnonymousGid;
};

Members

The MSFT_NfsShare class has these types of members:

Properties

The MSFT_NfsShare class has these properties.

AnonymousAccess

Data type: boolean

Access type: Read/write

If TRUE, the NFS share is configured to allow access by anonymous users.

AnonymousGid

Data type: sint32

Access type: Read/write

The group identifier to be used for anonymous users accessing the share.

AnonymousUid

Data type: sint32

Access type: Read/write

The user identifier to be used for anonymous users accessing the share.

Authentication

Data type: string array

Access type: Read/write

An array of strings that specify the permitted security/authentication flavors that are enabled for this share by the Windows NFS server. Each string can be one of the following:

"sys"

UNIX-style authentication

"krb5"

Kerberos 5 authentication

"krb5i"

Kerberos 5 authentication with integrity

"krb5p"

Kerberos 5 authentication with privacy

"default"

"sys", "krb5", and "krb5i"

"all"

"sys", "krb5", "krb5i", and "krb5p"

IsClustered

Data type: boolean

Access type: Read-only

If TRUE, the NFS share has been configured on a Windows failover cluster. The share is therefore configured to be highly available.

IsOnline

Data type: boolean

Access type: Read-only

If TRUE, the NFS share is currently online.

Name

Data type: string

Access type: Read-only

The name (alias) for the share. This share name is used when mounting the share from client computers.

NetworkName

Data type: string

Access type: Read-only

The failover cluster client access point (network name) through which the highly available NFS share is exported.

Path

Data type: string

Access type: Read-only

Qualifiers: key

The local path to the exported share on the Windows NFS server.

UnmappedUserAccess

Data type: boolean

Access type: Read/write

If TRUE, the NFS share is configured to allow unmapped UNIX user access by UID or GID.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\NFS
MOF
NfsCimProv.mof
DLL
NfsCimProv.dll