Class CfnLocationSMB.MountOptionsProperty
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MountOptionsProperty : Object, CfnLocationSMB.IMountOptionsProperty
Syntax (vb)
Public Class MountOptionsProperty
Inherits Object
Implements CfnLocationSMB.IMountOptionsProperty
Remarks
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 mountOptionsProperty = new MountOptionsProperty {
Version = "version"
};
Synopsis
Constructors
MountOptionsProperty() |
Properties
Version | By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server. |
Constructors
MountOptionsProperty()
public MountOptionsProperty()
Properties
Version
By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server.
public string Version { get; set; }
Property Value
System.String
Remarks
You also can configure DataSync to use a specific SMB version, but we recommend doing this only if DataSync has trouble negotiating with the SMB file server automatically.
These are the following options for configuring the SMB version:
This is the recommended option. If you instead choose a specific version that your file server doesn't support, you may get an Operation Not Supported
error.
The <code>SMB1</code> option isn't available when <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html">creating an Amazon FSx for NetApp ONTAP location</a> .