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.

Provides a description of a mount target.

Inheritance Hierarchy

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

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

Syntax

C#
public class CreateMountTargetResponse : AmazonWebServiceResponse

The CreateMountTargetResponse type exposes the following members

Constructors

NameDescription
Public Method CreateMountTargetResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property FileSystemId System.String

Gets and sets the property FileSystemId.

ID of the file system for which the mount target is intended.

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

Gets and sets the property IpAddress.

Address at which the file system may be mounted via the mount target.

Public Property LifeCycleState Amazon.ElasticFileSystem.LifeCycleState

Gets and sets the property LifeCycleState.

Lifecycle state of the mount target.

Public Property MountTargetId System.String

Gets and sets the property MountTargetId.

System-assigned mount target ID.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

ID of the network interface that Amazon EFS created when it created the mount target.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

AWS account ID that owns the resource.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SubnetId System.String

Gets and sets the property SubnetId.

ID of the mount target's subnet.

Examples

This operation creates a new mount target for an EFS file system.

To create a new mount target


var response = client.CreateMountTarget(new CreateMountTargetRequest 
{
    FileSystemId = "fs-01234567",
    SubnetId = "subnet-1234abcd"
});

string fileSystemId = response.FileSystemId;
string ipAddress = response.IpAddress;
string lifeCycleState = response.LifeCycleState;
string mountTargetId = response.MountTargetId;
string networkInterfaceId = response.NetworkInterfaceId;
string ownerId = response.OwnerId;
string subnetId = response.SubnetId;

            

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