v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444219188.6 KB

Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html">Creating a location for FSx for ONTAP</a>.

post/#X-Amz-Target=FmrsService.CreateLocationFsxOntap

Headers

X-Amz-Target'FmrsService.CreateLocationFsxOntap' required

Request body

SecurityGroupArnsEc2SecurityGroupArn[] required
<p>Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.</p> <p>The security groups must allow outbound traffic on the following ports (depending on the protocol you use):</p> <ul> <li> <p> <b>Network File System (NFS)</b>: TCP ports 111, 635, and 2049</p> </li> <li> <p> <b>Server Message Block (SMB)</b>: TCP port 445</p> </li> </ul> <p>Your file system's security groups must also allow inbound traffic on the same ports.</p>
StorageVirtualMachineArnstring required

Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.

Subdirectorystring
<p>Specifies a path to the file share in the SVM where you'll copy your data.</p> <p>You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be <code>/vol1</code>, <code>/vol1/tree1</code>, or <code>/share1</code>.</p> <note> <p>Don't specify a junction path in the SVM's root volume. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html">Managing FSx for ONTAP storage virtual machines</a> in the <i>Amazon FSx for NetApp ONTAP User Guide</i>.</p> </note>

Response

Success

LocationArnstring

Specifies the ARN of the FSx for ONTAP file system location that you create.