Class CfnLocationFSxONTAP.SmbMountOptionsProperty
Specifies the version of the Server Message Block (SMB) protocol that AWS DataSync uses to access an SMB file server.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SmbMountOptionsProperty : Object, CfnLocationFSxONTAP.ISmbMountOptionsProperty
Syntax (vb)
Public Class SmbMountOptionsProperty
Inherits Object
Implements CfnLocationFSxONTAP.ISmbMountOptionsProperty
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 smbMountOptionsProperty = new SmbMountOptionsProperty {
Version = "version"
};
Synopsis
Constructors
SmbMountOptionsProperty() |
Properties
Version | By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server. |
Constructors
SmbMountOptionsProperty()
public SmbMountOptionsProperty()
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> .