Partager via


FileServiceProperties Class

Definition

The properties of File services in storage account.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.FileServicePropertiesTypeConverter))]
public class FileServiceProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IFileServiceProperties, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.FileServicePropertiesTypeConverter))>]
type FileServiceProperties = class
    interface IFileServiceProperties
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class FileServiceProperties
Implements IFileServiceProperties, IValidates
Inheritance
FileServiceProperties
Attributes
Implements

Constructors

Name Description
FileServiceProperties()

Creates an new FileServiceProperties instance.

Properties

Name Description
CorCorsRule

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

MultichannelEnabled

Indicates whether multichannel is enabled

Name

The name of the resource

NfsEncryptionInTransitRequired

Indicates whether encryption in transit is required

ResourceGroupName

Gets the resource group name

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.

SkuName

The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.

SkuTier

The SKU tier. This is based on the SKU name.

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 ';'.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FileServiceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileServiceProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileServiceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to