#[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 security groups that DataSync can use to access your FSx for ONTAP file system. You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
-
Network File System (NFS): TCP port 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same port.
storage_virtual_machine_arn: Option<String>Specifies the ARN of the storage virtual machine (SVM) on your file system where you're copying data to or from.
subdirectory: Option<String>Specifies the junction path (also known as a mount point) in the SVM volume where you're copying data to or from (for example, /vol1).
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
sourceimpl CreateLocationFsxOntapInput
impl CreateLocationFsxOntapInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocationFsxOntap, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocationFsxOntap, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLocationFsxOntap>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateLocationFsxOntapInput.
sourceimpl 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 security groups that DataSync can use to access your FSx for ONTAP file system. You must configure the security groups to allow outbound traffic on the following ports (depending on the protocol that you're using):
-
Network File System (NFS): TCP port 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same port.
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) on your file system where you're copying data to or from.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies the junction path (also known as a mount point) in the SVM volume where you're copying data to or from (for example, /vol1).
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.
Trait Implementations
sourceimpl Clone for CreateLocationFsxOntapInput
impl Clone for CreateLocationFsxOntapInput
sourcefn clone(&self) -> CreateLocationFsxOntapInput
fn clone(&self) -> CreateLocationFsxOntapInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateLocationFsxOntapInput
impl Debug for CreateLocationFsxOntapInput
sourceimpl PartialEq<CreateLocationFsxOntapInput> for CreateLocationFsxOntapInput
impl PartialEq<CreateLocationFsxOntapInput> for CreateLocationFsxOntapInput
sourcefn eq(&self, other: &CreateLocationFsxOntapInput) -> bool
fn eq(&self, other: &CreateLocationFsxOntapInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateLocationFsxOntapInput) -> bool
fn ne(&self, other: &CreateLocationFsxOntapInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateLocationFsxOntapInput
Auto Trait Implementations
impl RefUnwindSafe for CreateLocationFsxOntapInput
impl Send for CreateLocationFsxOntapInput
impl Sync for CreateLocationFsxOntapInput
impl Unpin for CreateLocationFsxOntapInput
impl UnwindSafe for CreateLocationFsxOntapInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more