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.

Description of the file system.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.ElasticFileSystem.Model.CreateFileSystemResponse

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

Syntax

C#
public class CreateFileSystemResponse : AmazonWebServiceResponse

The CreateFileSystemResponse type exposes the following members

Constructors

NameDescription
Public Method CreateFileSystemResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).

Public Property CreationToken System.String

Gets and sets the property CreationToken.

Opaque string specified in the request.

Public Property Encrypted System.Boolean

Gets and sets the property Encrypted.

A boolean value that, if true, indicates that the file system is encrypted.

Public Property FileSystemId System.String

Gets and sets the property FileSystemId.

ID of the file system, assigned by Amazon EFS.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property KmsKeyId System.String

Gets and sets the property KmsKeyId.

The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system.

Public Property LifeCycleState Amazon.ElasticFileSystem.LifeCycleState

Gets and sets the property LifeCycleState.

Lifecycle phase of the file system.

Public Property Name System.String

Gets and sets the property Name.

You can add tags to a file system, including a Name tag. For more information, see CreateTags. If the file system has a Name tag, Amazon EFS returns the value in this field.

Public Property NumberOfMountTargets System.Int32

Gets and sets the property NumberOfMountTargets.

Current number of mount targets that the file system has. For more information, see CreateMountTarget.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.

Public Property PerformanceMode Amazon.ElasticFileSystem.PerformanceMode

Gets and sets the property PerformanceMode.

The PerformanceMode of the file system.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SizeInBytes Amazon.ElasticFileSystem.Model.FileSystemSize

Gets and sets the property SizeInBytes.

Latest known metered size (in bytes) of data stored in the file system, in bytes, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time.

Examples

This operation creates a new file system with the default generalpurpose performance mode.

To create a new file system


var response = client.CreateFileSystem(new CreateFileSystemRequest 
{
    CreationToken = "tokenstring",
    PerformanceMode = "generalPurpose"
});

DateTime creationTime = response.CreationTime;
string creationToken = response.CreationToken;
string fileSystemId = response.FileSystemId;
string lifeCycleState = response.LifeCycleState;
integer numberOfMountTargets = response.NumberOfMountTargets;
string ownerId = response.OwnerId;
string performanceMode = response.PerformanceMode;
FileSystemSize sizeInBytes = response.SizeInBytes;

            

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