Class CfnLocationFSxONTAP.SMBProperty
Specifies the Server Message Block (SMB) protocol configuration that AWS DataSync uses to access a storage virtual machine (SVM) on your Amazon FSx for NetApp ONTAP file system.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SMBProperty : Object, CfnLocationFSxONTAP.ISMBProperty
Syntax (vb)
Public Class SMBProperty
Inherits Object
Implements CfnLocationFSxONTAP.ISMBProperty
Remarks
For more information, see Accessing FSx for ONTAP file systems .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var sMBProperty = new SMBProperty {
MountOptions = new SmbMountOptionsProperty {
Version = "version"
},
Password = "password",
User = "user",
// the properties below are optional
Domain = "domain"
};
Synopsis
Constructors
SMBProperty() |
Properties
Domain | Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to. |
MountOptions | Specifies how DataSync can access a location using the SMB protocol. |
Password | Specifies the password of a user who has permission to access your SVM. |
User | Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM. |
Constructors
SMBProperty()
public SMBProperty()
Properties
Domain
Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
public string Domain { get; set; }
Property Value
System.String
Remarks
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
MountOptions
Specifies how DataSync can access a location using the SMB protocol.
public object MountOptions { get; set; }
Property Value
System.Object
Remarks
Password
Specifies the password of a user who has permission to access your SVM.
public string Password { get; set; }
Property Value
System.String
Remarks
User
Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
public string User { get; set; }
Property Value
System.String
Remarks
If you provide a user in your Active Directory, note the following:
Make sure that the user has the permissions it needs to copy the data you want: