Partager via


FileServiceProperties1 Class

Definition

The properties of File services in storage account.

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

Constructors

Name Description
FileServiceProperties1()

Creates an new FileServiceProperties1 instance.

Properties

Name Description
CorCorsRule

The List of CORS rules. You can include up to five CorsRule elements in the request.

MultichannelEnabled

Indicates whether multichannel is enabled

NfsEncryptionInTransitRequired

Indicates whether encryption in transit is required

ShareDeleteRetentionPolicyAllowPermanentDelete

This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share.

ShareDeleteRetentionPolicyDay

Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.

ShareDeleteRetentionPolicyEnabled

Indicates whether DeleteRetentionPolicy is enabled.

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 FileServiceProperties1.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileServiceProperties1.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileServiceProperties1 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to