AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported in the file gateway architecture.

Inheritance Hierarchy

System.Object
  Amazon.StorageGateway.Model.NFSFileShareDefaults

Namespace: Amazon.StorageGateway.Model
Assembly: AWSSDK.StorageGateway.dll
Version: 3.x.y.z

Syntax

C#
public class NFSFileShareDefaults

The NFSFileShareDefaults type exposes the following members

Constructors

NameDescription
Public Method NFSFileShareDefaults()

Properties

NameTypeDescription
Public Property DirectoryMode System.String

Gets and sets the property DirectoryMode.

The Unix directory mode in the form "nnnn". For example, "0666" represents the default access mode for all directories inside the file share. The default value is 0777.

Public Property FileMode System.String

Gets and sets the property FileMode.

The Unix file mode in the form "nnnn". For example, "0666" represents the default file mode inside the file share. The default value is 0666.

Public Property GroupId System.Int64

Gets and sets the property GroupId.

The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

Public Property OwnerId System.Int64

Gets and sets the property OwnerId.

The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms