Struct aws_sdk_datasync::model::FsxProtocolSmb
source · [−]#[non_exhaustive]pub struct FsxProtocolSmb { /* private fields */ }
Expand description
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system. For more information, see Accessing FSx for ONTAP file systems.
Implementations
sourceimpl FsxProtocolSmb
impl FsxProtocolSmb
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
sourcepub fn mount_options(&self) -> Option<&SmbMountOptions>
pub fn mount_options(&self) -> Option<&SmbMountOptions>
Specifies how DataSync can access a location using the SMB protocol.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
Specifies the password of a user who has permission to access your SVM.
sourcepub fn user(&self) -> Option<&str>
pub fn user(&self) -> Option<&str>
Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
If you provide a user in your Active Directory, note the following:
-
If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
-
If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.
Make sure that the user has the permissions it needs to copy the data you want:
-
SE_TCB_NAME
: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs). -
SE_SECURITY_NAME
: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.
sourceimpl FsxProtocolSmb
impl FsxProtocolSmb
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FsxProtocolSmb
.
Trait Implementations
sourceimpl Clone for FsxProtocolSmb
impl Clone for FsxProtocolSmb
sourcefn clone(&self) -> FsxProtocolSmb
fn clone(&self) -> FsxProtocolSmb
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 FsxProtocolSmb
impl Debug for FsxProtocolSmb
sourceimpl PartialEq<FsxProtocolSmb> for FsxProtocolSmb
impl PartialEq<FsxProtocolSmb> for FsxProtocolSmb
sourcefn eq(&self, other: &FsxProtocolSmb) -> bool
fn eq(&self, other: &FsxProtocolSmb) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FsxProtocolSmb) -> bool
fn ne(&self, other: &FsxProtocolSmb) -> bool
This method tests for !=
.
impl StructuralPartialEq for FsxProtocolSmb
Auto Trait Implementations
impl RefUnwindSafe for FsxProtocolSmb
impl Send for FsxProtocolSmb
impl Sync for FsxProtocolSmb
impl Unpin for FsxProtocolSmb
impl UnwindSafe for FsxProtocolSmb
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