Partager via


ProtocolSettings Class

Definition

Protocol settings for file service

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ProtocolSettingsTypeConverter))]
public class ProtocolSettings : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IProtocolSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ProtocolSettingsTypeConverter))>]
type ProtocolSettings = class
    interface IProtocolSettings
    interface IJsonSerializable
Public Class ProtocolSettings
Implements IProtocolSettings
Inheritance
ProtocolSettings
Attributes
Implements

Constructors

Name Description
ProtocolSettings()

Creates an new ProtocolSettings instance.

Properties

Name Description
MultichannelEnabled

Indicates whether multichannel is enabled

NfsEncryptionInTransitRequired

Indicates whether encryption in transit is required

SmbAuthenticationMethod

SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.

SmbChannelEncryption

SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'.

SmbEncryptionInTransitRequired

Indicates whether encryption in transit is required

SmbKerberosTicketEncryption

Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'

SmbVersion

SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProtocolSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProtocolSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IProtocolSettings.

FromJsonString(String)

Creates a new instance of ProtocolSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProtocolSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to