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.
A description of the file system.
Namespace: Amazon.ElasticFileSystem.Model
Assembly: AWSSDK.ElasticFileSystem.dll
Version: 3.x.y.z
public class CreateFileSystemResponse : AmazonWebServiceResponse
The CreateFileSystemResponse type exposes the following members
Name | Description | |
---|---|---|
CreateFileSystemResponse() |
Name | Type | Description | |
---|---|---|---|
AvailabilityZoneId | System.String |
Gets and sets the property AvailabilityZoneId.
The unique and consistent identifier of the Availability Zone in which the file system
is located, and is valid only for One Zone file systems. For example, |
|
AvailabilityZoneName | System.String |
Gets and sets the property AvailabilityZoneName. Describes the Amazon Web Services Availability Zone in which the file system is located, and is valid only for One Zone file systems. For more information, see Using EFS storage classes in the Amazon EFS User Guide. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
CreationTime | System.DateTime |
Gets and sets the property CreationTime. The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). |
|
CreationToken | System.String |
Gets and sets the property CreationToken. The opaque string specified in the request. |
|
Encrypted | System.Boolean |
Gets and sets the property Encrypted. A Boolean value that, if true, indicates that the file system is encrypted. |
|
FileSystemArn | System.String |
Gets and sets the property FileSystemArn.
The Amazon Resource Name (ARN) for the EFS file system, in the format |
|
FileSystemId | System.String |
Gets and sets the property FileSystemId. The ID of the file system, assigned by Amazon EFS. |
|
FileSystemProtection | Amazon.ElasticFileSystem.Model.FileSystemProtectionDescription |
Gets and sets the property FileSystemProtection. Describes the protection on the file system. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
KmsKeyId | System.String |
Gets and sets the property KmsKeyId. The ID of an KMS key used to protect the encrypted file system. |
|
LifeCycleState | Amazon.ElasticFileSystem.LifeCycleState |
Gets and sets the property LifeCycleState. The lifecycle phase of the file system. |
|
Name | System.String |
Gets and sets the property Name.
You can add tags to a file system, including a |
|
NumberOfMountTargets | System.Int32 |
Gets and sets the property NumberOfMountTargets. The current number of mount targets that the file system has. For more information, see CreateMountTarget. |
|
OwnerId | System.String |
Gets and sets the property OwnerId. The Amazon Web Services account that created the file system. |
|
PerformanceMode | Amazon.ElasticFileSystem.PerformanceMode |
Gets and sets the property PerformanceMode. The Performance mode of the file system. |
|
ProvisionedThroughputInMibps | System.Double |
Gets and sets the property ProvisionedThroughputInMibps.
The amount of provisioned throughput, measured in MiBps, for the file system. Valid
for file systems using |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
SizeInBytes | Amazon.ElasticFileSystem.Model.FileSystemSize |
Gets and sets the property SizeInBytes.
The latest known metered size (in bytes) of data stored in the file system, in its
|
|
Tags | System.Collections.Generic.List<Amazon.ElasticFileSystem.Model.Tag> |
Gets and sets the property Tags.
The tags associated with the file system, presented as an array of |
|
ThroughputMode | Amazon.ElasticFileSystem.ThroughputMode |
Gets and sets the property ThroughputMode. Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide. |
This operation creates a new, encrypted file system with automatic backups enabled, and the default generalpurpose performance mode.
var client = new AmazonElasticFileSystemClient(); var response = client.CreateFileSystem(new CreateFileSystemRequest { Backup = true, CreationToken = "tokenstring", Encrypted = true, PerformanceMode = "generalPurpose", Tags = new List<Tag> { new Tag { Key = "Name", Value = "MyFileSystem" } } }); DateTime creationTime = response.CreationTime; string creationToken = response.CreationToken; bool encrypted = response.Encrypted; string fileSystemId = response.FileSystemId; string lifeCycleState = response.LifeCycleState; int numberOfMountTargets = response.NumberOfMountTargets; string ownerId = response.OwnerId; string performanceMode = response.PerformanceMode; FileSystemSize sizeInBytes = response.SizeInBytes; List<Tag> tags = response.Tags;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5