#[non_exhaustive]pub struct CreateLocationFsxOntapInput {
pub protocol: Option<FsxProtocol>,
pub security_group_arns: Option<Vec<String>>,
pub storage_virtual_machine_arn: Option<String>,
pub subdirectory: Option<String>,
pub tags: Option<Vec<TagListEntry>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.protocol: Option<FsxProtocol>
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
security_group_arns: Option<Vec<String>>
Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
storage_virtual_machine_arn: Option<String>
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
subdirectory: Option<String>
Specifies a path to the file share in the SVM where you'll copy your data.
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 /vol1
, /vol1/tree1
, or /share1
.
Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
Implementations§
source§impl CreateLocationFsxOntapInput
impl CreateLocationFsxOntapInput
sourcepub fn protocol(&self) -> Option<&FsxProtocol>
pub fn protocol(&self) -> Option<&FsxProtocol>
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
sourcepub fn security_group_arns(&self) -> Option<&[String]>
pub fn security_group_arns(&self) -> Option<&[String]>
Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
sourcepub fn storage_virtual_machine_arn(&self) -> Option<&str>
pub fn storage_virtual_machine_arn(&self) -> Option<&str>
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies a path to the file share in the SVM where you'll copy your data.
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 /vol1
, /vol1/tree1
, or /share1
.
Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
source§impl CreateLocationFsxOntapInput
impl CreateLocationFsxOntapInput
sourcepub fn builder() -> CreateLocationFsxOntapInputBuilder
pub fn builder() -> CreateLocationFsxOntapInputBuilder
Creates a new builder-style object to manufacture CreateLocationFsxOntapInput
.
Trait Implementations§
source§impl Clone for CreateLocationFsxOntapInput
impl Clone for CreateLocationFsxOntapInput
source§fn clone(&self) -> CreateLocationFsxOntapInput
fn clone(&self) -> CreateLocationFsxOntapInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLocationFsxOntapInput
impl Debug for CreateLocationFsxOntapInput
source§impl PartialEq for CreateLocationFsxOntapInput
impl PartialEq for CreateLocationFsxOntapInput
source§fn eq(&self, other: &CreateLocationFsxOntapInput) -> bool
fn eq(&self, other: &CreateLocationFsxOntapInput) -> bool
self
and other
values to be equal, and is used
by ==
.