#[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) -> &[String]
pub fn security_group_arns(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_arns.is_none()
.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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 ==
.impl StructuralPartialEq for CreateLocationFsxOntapInput
Auto Trait Implementations§
impl Freeze for CreateLocationFsxOntapInput
impl RefUnwindSafe for CreateLocationFsxOntapInput
impl Send for CreateLocationFsxOntapInput
impl Sync for CreateLocationFsxOntapInput
impl Unpin for CreateLocationFsxOntapInput
impl UnwindSafe for CreateLocationFsxOntapInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more