Microsoft.Storage storageAccounts/fileServices 2021-02-01

The storageAccounts/fileServices resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Storage/storageAccounts/fileServices resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Storage/storageAccounts/fileServices@2021-02-01' = {
  name: 'default'
  parent: parentSymbolicName
  properties: {
    cors: {
      corsRules: [
        {
          allowedHeaders: [ 'string' ]
          allowedMethods: [ 'string' ]
          allowedOrigins: [ 'string' ]
          exposedHeaders: [ 'string' ]
          maxAgeInSeconds: int
        }
      ]
    }
    protocolSettings: {
      smb: {
        authenticationMethods: 'string'
        channelEncryption: 'string'
        kerberosTicketEncryption: 'string'
        multichannel: {
          enabled: bool
        }
        versions: 'string'
      }
    }
    shareDeleteRetentionPolicy: {
      days: int
      enabled: bool
    }
  }
}

Property values

storageAccounts/fileServices

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Storage/storageAccounts/fileServices'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-02-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'default'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
parentSymbolicName
properties The properties of File services in storage account. FileServicePropertiesProperties

FileServicePropertiesProperties

Name Description Value
cors Sets the CORS rules. You can include up to five CorsRule elements in the request. CorsRules
protocolSettings Protocol settings for file service ProtocolSettings
shareDeleteRetentionPolicy The service properties for soft delete. DeleteRetentionPolicy

CorsRules

Name Description Value
corsRules The List of CORS rules. You can include up to five CorsRule elements in the request. CorsRule[]

CorsRule

Name Description Value
allowedHeaders Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request. string[] (required)
allowedMethods Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. String array containing any of:
'DELETE'
'GET'
'HEAD'
'MERGE'
'OPTIONS'
'POST'
'PUT'
allowedOrigins Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains string[] (required)
exposedHeaders Required if CorsRule element is present. A list of response headers to expose to CORS clients. string[] (required)
maxAgeInSeconds Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. int (required)

ProtocolSettings

Name Description Value
smb Setting for SMB protocol SmbSetting

SmbSetting

Name Description Value
authenticationMethods SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. string
channelEncryption 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 ';'. string
kerberosTicketEncryption Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';' string
multichannel Multichannel setting. Applies to Premium FileStorage only. Multichannel
versions SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'. string

Multichannel

Name Description Value
enabled Indicates whether multichannel is enabled bool

DeleteRetentionPolicy

Name Description Value
days 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. int
enabled Indicates whether DeleteRetentionPolicy is enabled. bool

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
SAS 9.4 with SAS Visual Analytics and SAS Visual Statistics

Deploy to Azure
The SAS 9.4 Quickstart Template for Azure with SAS Visual Analytics and SAS Visual Statistics deploys these products on the cloud: SAS Visual Analytics 7.51 and SAS Visual Statistics 7.51. This Quickstart is a reference architecture only. It is not intended for production use. Specifically, the Quickstart provides an example of how a SAS Visual Analytics in SAS 9.4 workload and a SAS Visual Statistics in SAS 9.4 workload running in a massively parallel processing (MPP) environment with SAS LASR Analytiic Server can be run on Azure.
Azure Cloud Shell - VNet storage

Deploy to Azure
This template deploys Azure Cloud Shell storage into an Azure virtual network.
SAS 9.4 with SAS Visual Analytics and SAS Visual Statistics

Deploy to Azure
The SAS 9.4 Quickstart Template for Azure with SAS Visual Analytics and SAS Visual Statistics deploys these products on the cloud: SAS Visual Analytics 7.51 and SAS Visual Statistics 7.51. This Quickstart is a reference architecture only. It is not intended for production use. Specifically, the Quickstart provides an example of how a SAS Visual Analytics in SAS 9.4 workload and a SAS Visual Statistics in SAS 9.4 workload running in a massively parallel processing (MPP) environment with SAS LASR Analytiic Server can be run on Azure.