azure-native.storage.FileServiceProperties
Explore with Pulumi AI
The properties of File services in storage account. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01, 2024-01-01.
Example Usage
PutFileServices
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var fileServiceProperties = new AzureNative.Storage.FileServiceProperties("fileServiceProperties", new()
    {
        AccountName = "sto8607",
        Cors = new AzureNative.Storage.Inputs.CorsRulesArgs
        {
            CorsRules = new[]
            {
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x-ms-meta-target*",
                    },
                    AllowedMethods = new[]
                    {
                        AzureNative.Storage.AllowedMethods.GET,
                        AzureNative.Storage.AllowedMethods.HEAD,
                        AzureNative.Storage.AllowedMethods.POST,
                        AzureNative.Storage.AllowedMethods.OPTIONS,
                        AzureNative.Storage.AllowedMethods.MERGE,
                        AzureNative.Storage.AllowedMethods.PUT,
                    },
                    AllowedOrigins = new[]
                    {
                        "http://www.contoso.com",
                        "http://www.fabrikam.com",
                    },
                    ExposedHeaders = new[]
                    {
                        "x-ms-meta-*",
                    },
                    MaxAgeInSeconds = 100,
                },
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "*",
                    },
                    AllowedMethods = new[]
                    {
                        AzureNative.Storage.AllowedMethods.GET,
                    },
                    AllowedOrigins = new[]
                    {
                        "*",
                    },
                    ExposedHeaders = new[]
                    {
                        "*",
                    },
                    MaxAgeInSeconds = 2,
                },
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "x-ms-meta-12345675754564*",
                    },
                    AllowedMethods = new[]
                    {
                        AzureNative.Storage.AllowedMethods.GET,
                        AzureNative.Storage.AllowedMethods.PUT,
                    },
                    AllowedOrigins = new[]
                    {
                        "http://www.abc23.com",
                        "https://www.fabrikam.com/*",
                    },
                    ExposedHeaders = new[]
                    {
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x-ms-meta-target*",
                    },
                    MaxAgeInSeconds = 2000,
                },
            },
        },
        FileServicesName = "default",
        ResourceGroupName = "res4410",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewFileServiceProperties(ctx, "fileServiceProperties", &storage.FileServicePropertiesArgs{
			AccountName: pulumi.String("sto8607"),
			Cors: &storage.CorsRulesArgs{
				CorsRules: storage.CorsRuleArray{
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-abc"),
							pulumi.String("x-ms-meta-data*"),
							pulumi.String("x-ms-meta-target*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String(storage.AllowedMethodsGET),
							pulumi.String(storage.AllowedMethodsHEAD),
							pulumi.String(storage.AllowedMethodsPOST),
							pulumi.String(storage.AllowedMethodsOPTIONS),
							pulumi.String(storage.AllowedMethodsMERGE),
							pulumi.String(storage.AllowedMethodsPUT),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("http://www.contoso.com"),
							pulumi.String("http://www.fabrikam.com"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-*"),
						},
						MaxAgeInSeconds: pulumi.Int(100),
					},
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String(storage.AllowedMethodsGET),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("*"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("*"),
						},
						MaxAgeInSeconds: pulumi.Int(2),
					},
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-12345675754564*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String(storage.AllowedMethodsGET),
							pulumi.String(storage.AllowedMethodsPUT),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("http://www.abc23.com"),
							pulumi.String("https://www.fabrikam.com/*"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-abc"),
							pulumi.String("x-ms-meta-data*"),
							pulumi.String("x-ms-meta-target*"),
						},
						MaxAgeInSeconds: pulumi.Int(2000),
					},
				},
			},
			FileServicesName:  pulumi.String("default"),
			ResourceGroupName: pulumi.String("res4410"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.FileServiceProperties;
import com.pulumi.azurenative.storage.FileServicePropertiesArgs;
import com.pulumi.azurenative.storage.inputs.CorsRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var fileServiceProperties = new FileServiceProperties("fileServiceProperties", FileServicePropertiesArgs.builder()
            .accountName("sto8607")
            .cors(CorsRulesArgs.builder()
                .corsRules(                
                    CorsRuleArgs.builder()
                        .allowedHeaders(                        
                            "x-ms-meta-abc",
                            "x-ms-meta-data*",
                            "x-ms-meta-target*")
                        .allowedMethods(                        
                            "GET",
                            "HEAD",
                            "POST",
                            "OPTIONS",
                            "MERGE",
                            "PUT")
                        .allowedOrigins(                        
                            "http://www.contoso.com",
                            "http://www.fabrikam.com")
                        .exposedHeaders("x-ms-meta-*")
                        .maxAgeInSeconds(100)
                        .build(),
                    CorsRuleArgs.builder()
                        .allowedHeaders("*")
                        .allowedMethods("GET")
                        .allowedOrigins("*")
                        .exposedHeaders("*")
                        .maxAgeInSeconds(2)
                        .build(),
                    CorsRuleArgs.builder()
                        .allowedHeaders("x-ms-meta-12345675754564*")
                        .allowedMethods(                        
                            "GET",
                            "PUT")
                        .allowedOrigins(                        
                            "http://www.abc23.com",
                            "https://www.fabrikam.com/*")
                        .exposedHeaders(                        
                            "x-ms-meta-abc",
                            "x-ms-meta-data*",
                            "x-ms-meta-target*")
                        .maxAgeInSeconds(2000)
                        .build())
                .build())
            .fileServicesName("default")
            .resourceGroupName("res4410")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const fileServiceProperties = new azure_native.storage.FileServiceProperties("fileServiceProperties", {
    accountName: "sto8607",
    cors: {
        corsRules: [
            {
                allowedHeaders: [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                allowedMethods: [
                    azure_native.storage.AllowedMethods.GET,
                    azure_native.storage.AllowedMethods.HEAD,
                    azure_native.storage.AllowedMethods.POST,
                    azure_native.storage.AllowedMethods.OPTIONS,
                    azure_native.storage.AllowedMethods.MERGE,
                    azure_native.storage.AllowedMethods.PUT,
                ],
                allowedOrigins: [
                    "http://www.contoso.com",
                    "http://www.fabrikam.com",
                ],
                exposedHeaders: ["x-ms-meta-*"],
                maxAgeInSeconds: 100,
            },
            {
                allowedHeaders: ["*"],
                allowedMethods: [azure_native.storage.AllowedMethods.GET],
                allowedOrigins: ["*"],
                exposedHeaders: ["*"],
                maxAgeInSeconds: 2,
            },
            {
                allowedHeaders: ["x-ms-meta-12345675754564*"],
                allowedMethods: [
                    azure_native.storage.AllowedMethods.GET,
                    azure_native.storage.AllowedMethods.PUT,
                ],
                allowedOrigins: [
                    "http://www.abc23.com",
                    "https://www.fabrikam.com/*",
                ],
                exposedHeaders: [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                maxAgeInSeconds: 2000,
            },
        ],
    },
    fileServicesName: "default",
    resourceGroupName: "res4410",
});
import pulumi
import pulumi_azure_native as azure_native
file_service_properties = azure_native.storage.FileServiceProperties("fileServiceProperties",
    account_name="sto8607",
    cors={
        "cors_rules": [
            {
                "allowed_headers": [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                "allowed_methods": [
                    azure_native.storage.AllowedMethods.GET,
                    azure_native.storage.AllowedMethods.HEAD,
                    azure_native.storage.AllowedMethods.POST,
                    azure_native.storage.AllowedMethods.OPTIONS,
                    azure_native.storage.AllowedMethods.MERGE,
                    azure_native.storage.AllowedMethods.PUT,
                ],
                "allowed_origins": [
                    "http://www.contoso.com",
                    "http://www.fabrikam.com",
                ],
                "exposed_headers": ["x-ms-meta-*"],
                "max_age_in_seconds": 100,
            },
            {
                "allowed_headers": ["*"],
                "allowed_methods": [azure_native.storage.AllowedMethods.GET],
                "allowed_origins": ["*"],
                "exposed_headers": ["*"],
                "max_age_in_seconds": 2,
            },
            {
                "allowed_headers": ["x-ms-meta-12345675754564*"],
                "allowed_methods": [
                    azure_native.storage.AllowedMethods.GET,
                    azure_native.storage.AllowedMethods.PUT,
                ],
                "allowed_origins": [
                    "http://www.abc23.com",
                    "https://www.fabrikam.com/*",
                ],
                "exposed_headers": [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                "max_age_in_seconds": 2000,
            },
        ],
    },
    file_services_name="default",
    resource_group_name="res4410")
resources:
  fileServiceProperties:
    type: azure-native:storage:FileServiceProperties
    properties:
      accountName: sto8607
      cors:
        corsRules:
          - allowedHeaders:
              - x-ms-meta-abc
              - x-ms-meta-data*
              - x-ms-meta-target*
            allowedMethods:
              - GET
              - HEAD
              - POST
              - OPTIONS
              - MERGE
              - PUT
            allowedOrigins:
              - http://www.contoso.com
              - http://www.fabrikam.com
            exposedHeaders:
              - x-ms-meta-*
            maxAgeInSeconds: 100
          - allowedHeaders:
              - '*'
            allowedMethods:
              - GET
            allowedOrigins:
              - '*'
            exposedHeaders:
              - '*'
            maxAgeInSeconds: 2
          - allowedHeaders:
              - x-ms-meta-12345675754564*
            allowedMethods:
              - GET
              - PUT
            allowedOrigins:
              - http://www.abc23.com
              - https://www.fabrikam.com/*
            exposedHeaders:
              - x-ms-meta-abc
              - x-ms-meta-data*
              - x-ms-meta-target*
            maxAgeInSeconds: 2000
      fileServicesName: default
      resourceGroupName: res4410
PutFileServices_EnableSMBMultichannel
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var fileServiceProperties = new AzureNative.Storage.FileServiceProperties("fileServiceProperties", new()
    {
        AccountName = "sto8607",
        FileServicesName = "default",
        ProtocolSettings = new AzureNative.Storage.Inputs.ProtocolSettingsArgs
        {
            Smb = new AzureNative.Storage.Inputs.SmbSettingArgs
            {
                Multichannel = new AzureNative.Storage.Inputs.MultichannelArgs
                {
                    Enabled = true,
                },
            },
        },
        ResourceGroupName = "res4410",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewFileServiceProperties(ctx, "fileServiceProperties", &storage.FileServicePropertiesArgs{
			AccountName:      pulumi.String("sto8607"),
			FileServicesName: pulumi.String("default"),
			ProtocolSettings: &storage.ProtocolSettingsArgs{
				Smb: &storage.SmbSettingArgs{
					Multichannel: &storage.MultichannelArgs{
						Enabled: pulumi.Bool(true),
					},
				},
			},
			ResourceGroupName: pulumi.String("res4410"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.FileServiceProperties;
import com.pulumi.azurenative.storage.FileServicePropertiesArgs;
import com.pulumi.azurenative.storage.inputs.ProtocolSettingsArgs;
import com.pulumi.azurenative.storage.inputs.SmbSettingArgs;
import com.pulumi.azurenative.storage.inputs.MultichannelArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var fileServiceProperties = new FileServiceProperties("fileServiceProperties", FileServicePropertiesArgs.builder()
            .accountName("sto8607")
            .fileServicesName("default")
            .protocolSettings(ProtocolSettingsArgs.builder()
                .smb(SmbSettingArgs.builder()
                    .multichannel(MultichannelArgs.builder()
                        .enabled(true)
                        .build())
                    .build())
                .build())
            .resourceGroupName("res4410")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const fileServiceProperties = new azure_native.storage.FileServiceProperties("fileServiceProperties", {
    accountName: "sto8607",
    fileServicesName: "default",
    protocolSettings: {
        smb: {
            multichannel: {
                enabled: true,
            },
        },
    },
    resourceGroupName: "res4410",
});
import pulumi
import pulumi_azure_native as azure_native
file_service_properties = azure_native.storage.FileServiceProperties("fileServiceProperties",
    account_name="sto8607",
    file_services_name="default",
    protocol_settings={
        "smb": {
            "multichannel": {
                "enabled": True,
            },
        },
    },
    resource_group_name="res4410")
resources:
  fileServiceProperties:
    type: azure-native:storage:FileServiceProperties
    properties:
      accountName: sto8607
      fileServicesName: default
      protocolSettings:
        smb:
          multichannel:
            enabled: true
      resourceGroupName: res4410
PutFileServices_EnableSecureSmbFeatures
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var fileServiceProperties = new AzureNative.Storage.FileServiceProperties("fileServiceProperties", new()
    {
        AccountName = "sto8607",
        FileServicesName = "default",
        ProtocolSettings = new AzureNative.Storage.Inputs.ProtocolSettingsArgs
        {
            Smb = new AzureNative.Storage.Inputs.SmbSettingArgs
            {
                AuthenticationMethods = "NTLMv2;Kerberos",
                ChannelEncryption = "AES-128-CCM;AES-128-GCM;AES-256-GCM",
                KerberosTicketEncryption = "RC4-HMAC;AES-256",
                Versions = "SMB2.1;SMB3.0;SMB3.1.1",
            },
        },
        ResourceGroupName = "res4410",
    });
});
package main
import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewFileServiceProperties(ctx, "fileServiceProperties", &storage.FileServicePropertiesArgs{
			AccountName:      pulumi.String("sto8607"),
			FileServicesName: pulumi.String("default"),
			ProtocolSettings: &storage.ProtocolSettingsArgs{
				Smb: &storage.SmbSettingArgs{
					AuthenticationMethods:    pulumi.String("NTLMv2;Kerberos"),
					ChannelEncryption:        pulumi.String("AES-128-CCM;AES-128-GCM;AES-256-GCM"),
					KerberosTicketEncryption: pulumi.String("RC4-HMAC;AES-256"),
					Versions:                 pulumi.String("SMB2.1;SMB3.0;SMB3.1.1"),
				},
			},
			ResourceGroupName: pulumi.String("res4410"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.FileServiceProperties;
import com.pulumi.azurenative.storage.FileServicePropertiesArgs;
import com.pulumi.azurenative.storage.inputs.ProtocolSettingsArgs;
import com.pulumi.azurenative.storage.inputs.SmbSettingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var fileServiceProperties = new FileServiceProperties("fileServiceProperties", FileServicePropertiesArgs.builder()
            .accountName("sto8607")
            .fileServicesName("default")
            .protocolSettings(ProtocolSettingsArgs.builder()
                .smb(SmbSettingArgs.builder()
                    .authenticationMethods("NTLMv2;Kerberos")
                    .channelEncryption("AES-128-CCM;AES-128-GCM;AES-256-GCM")
                    .kerberosTicketEncryption("RC4-HMAC;AES-256")
                    .versions("SMB2.1;SMB3.0;SMB3.1.1")
                    .build())
                .build())
            .resourceGroupName("res4410")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const fileServiceProperties = new azure_native.storage.FileServiceProperties("fileServiceProperties", {
    accountName: "sto8607",
    fileServicesName: "default",
    protocolSettings: {
        smb: {
            authenticationMethods: "NTLMv2;Kerberos",
            channelEncryption: "AES-128-CCM;AES-128-GCM;AES-256-GCM",
            kerberosTicketEncryption: "RC4-HMAC;AES-256",
            versions: "SMB2.1;SMB3.0;SMB3.1.1",
        },
    },
    resourceGroupName: "res4410",
});
import pulumi
import pulumi_azure_native as azure_native
file_service_properties = azure_native.storage.FileServiceProperties("fileServiceProperties",
    account_name="sto8607",
    file_services_name="default",
    protocol_settings={
        "smb": {
            "authentication_methods": "NTLMv2;Kerberos",
            "channel_encryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM",
            "kerberos_ticket_encryption": "RC4-HMAC;AES-256",
            "versions": "SMB2.1;SMB3.0;SMB3.1.1",
        },
    },
    resource_group_name="res4410")
resources:
  fileServiceProperties:
    type: azure-native:storage:FileServiceProperties
    properties:
      accountName: sto8607
      fileServicesName: default
      protocolSettings:
        smb:
          authenticationMethods: NTLMv2;Kerberos
          channelEncryption: AES-128-CCM;AES-128-GCM;AES-256-GCM
          kerberosTicketEncryption: RC4-HMAC;AES-256
          versions: SMB2.1;SMB3.0;SMB3.1.1
      resourceGroupName: res4410
Create FileServiceProperties Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileServiceProperties(name: string, args: FileServicePropertiesArgs, opts?: CustomResourceOptions);@overload
def FileServiceProperties(resource_name: str,
                          args: FileServicePropertiesArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def FileServiceProperties(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          cors: Optional[CorsRulesArgs] = None,
                          file_services_name: Optional[str] = None,
                          protocol_settings: Optional[ProtocolSettingsArgs] = None,
                          share_delete_retention_policy: Optional[DeleteRetentionPolicyArgs] = None)func NewFileServiceProperties(ctx *Context, name string, args FileServicePropertiesArgs, opts ...ResourceOption) (*FileServiceProperties, error)public FileServiceProperties(string name, FileServicePropertiesArgs args, CustomResourceOptions? opts = null)
public FileServiceProperties(String name, FileServicePropertiesArgs args)
public FileServiceProperties(String name, FileServicePropertiesArgs args, CustomResourceOptions options)
type: azure-native:storage:FileServiceProperties
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FileServicePropertiesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileServicePropertiesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileServicePropertiesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileServicePropertiesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileServicePropertiesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fileServicePropertiesResource = new AzureNative.Storage.FileServiceProperties("fileServicePropertiesResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    Cors = new AzureNative.Storage.Inputs.CorsRulesArgs
    {
        CorsRules = new[]
        {
            new AzureNative.Storage.Inputs.CorsRuleArgs
            {
                AllowedHeaders = new[]
                {
                    "string",
                },
                AllowedMethods = new[]
                {
                    "string",
                },
                AllowedOrigins = new[]
                {
                    "string",
                },
                ExposedHeaders = new[]
                {
                    "string",
                },
                MaxAgeInSeconds = 0,
            },
        },
    },
    FileServicesName = "string",
    ProtocolSettings = new AzureNative.Storage.Inputs.ProtocolSettingsArgs
    {
        Smb = new AzureNative.Storage.Inputs.SmbSettingArgs
        {
            AuthenticationMethods = "string",
            ChannelEncryption = "string",
            KerberosTicketEncryption = "string",
            Multichannel = new AzureNative.Storage.Inputs.MultichannelArgs
            {
                Enabled = false,
            },
            Versions = "string",
        },
    },
    ShareDeleteRetentionPolicy = new AzureNative.Storage.Inputs.DeleteRetentionPolicyArgs
    {
        AllowPermanentDelete = false,
        Days = 0,
        Enabled = false,
    },
});
example, err := storage.NewFileServiceProperties(ctx, "fileServicePropertiesResource", &storage.FileServicePropertiesArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Cors: &storage.CorsRulesArgs{
		CorsRules: storage.CorsRuleArray{
			&storage.CorsRuleArgs{
				AllowedHeaders: pulumi.StringArray{
					pulumi.String("string"),
				},
				AllowedMethods: pulumi.StringArray{
					pulumi.String("string"),
				},
				AllowedOrigins: pulumi.StringArray{
					pulumi.String("string"),
				},
				ExposedHeaders: pulumi.StringArray{
					pulumi.String("string"),
				},
				MaxAgeInSeconds: pulumi.Int(0),
			},
		},
	},
	FileServicesName: pulumi.String("string"),
	ProtocolSettings: &storage.ProtocolSettingsArgs{
		Smb: &storage.SmbSettingArgs{
			AuthenticationMethods:    pulumi.String("string"),
			ChannelEncryption:        pulumi.String("string"),
			KerberosTicketEncryption: pulumi.String("string"),
			Multichannel: &storage.MultichannelArgs{
				Enabled: pulumi.Bool(false),
			},
			Versions: pulumi.String("string"),
		},
	},
	ShareDeleteRetentionPolicy: &storage.DeleteRetentionPolicyArgs{
		AllowPermanentDelete: pulumi.Bool(false),
		Days:                 pulumi.Int(0),
		Enabled:              pulumi.Bool(false),
	},
})
var fileServicePropertiesResource = new FileServiceProperties("fileServicePropertiesResource", FileServicePropertiesArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .cors(CorsRulesArgs.builder()
        .corsRules(CorsRuleArgs.builder()
            .allowedHeaders("string")
            .allowedMethods("string")
            .allowedOrigins("string")
            .exposedHeaders("string")
            .maxAgeInSeconds(0)
            .build())
        .build())
    .fileServicesName("string")
    .protocolSettings(ProtocolSettingsArgs.builder()
        .smb(SmbSettingArgs.builder()
            .authenticationMethods("string")
            .channelEncryption("string")
            .kerberosTicketEncryption("string")
            .multichannel(MultichannelArgs.builder()
                .enabled(false)
                .build())
            .versions("string")
            .build())
        .build())
    .shareDeleteRetentionPolicy(DeleteRetentionPolicyArgs.builder()
        .allowPermanentDelete(false)
        .days(0)
        .enabled(false)
        .build())
    .build());
file_service_properties_resource = azure_native.storage.FileServiceProperties("fileServicePropertiesResource",
    account_name="string",
    resource_group_name="string",
    cors={
        "cors_rules": [{
            "allowed_headers": ["string"],
            "allowed_methods": ["string"],
            "allowed_origins": ["string"],
            "exposed_headers": ["string"],
            "max_age_in_seconds": 0,
        }],
    },
    file_services_name="string",
    protocol_settings={
        "smb": {
            "authentication_methods": "string",
            "channel_encryption": "string",
            "kerberos_ticket_encryption": "string",
            "multichannel": {
                "enabled": False,
            },
            "versions": "string",
        },
    },
    share_delete_retention_policy={
        "allow_permanent_delete": False,
        "days": 0,
        "enabled": False,
    })
const fileServicePropertiesResource = new azure_native.storage.FileServiceProperties("fileServicePropertiesResource", {
    accountName: "string",
    resourceGroupName: "string",
    cors: {
        corsRules: [{
            allowedHeaders: ["string"],
            allowedMethods: ["string"],
            allowedOrigins: ["string"],
            exposedHeaders: ["string"],
            maxAgeInSeconds: 0,
        }],
    },
    fileServicesName: "string",
    protocolSettings: {
        smb: {
            authenticationMethods: "string",
            channelEncryption: "string",
            kerberosTicketEncryption: "string",
            multichannel: {
                enabled: false,
            },
            versions: "string",
        },
    },
    shareDeleteRetentionPolicy: {
        allowPermanentDelete: false,
        days: 0,
        enabled: false,
    },
});
type: azure-native:storage:FileServiceProperties
properties:
    accountName: string
    cors:
        corsRules:
            - allowedHeaders:
                - string
              allowedMethods:
                - string
              allowedOrigins:
                - string
              exposedHeaders:
                - string
              maxAgeInSeconds: 0
    fileServicesName: string
    protocolSettings:
        smb:
            authenticationMethods: string
            channelEncryption: string
            kerberosTicketEncryption: string
            multichannel:
                enabled: false
            versions: string
    resourceGroupName: string
    shareDeleteRetentionPolicy:
        allowPermanentDelete: false
        days: 0
        enabled: false
FileServiceProperties Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileServiceProperties resource accepts the following input properties:
- AccountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- Cors
Pulumi.Azure Native. Storage. Inputs. Cors Rules 
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- FileServices stringName 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- ProtocolSettings Pulumi.Azure Native. Storage. Inputs. Protocol Settings 
- Protocol settings for file service
- 
Pulumi.Azure Native. Storage. Inputs. Delete Retention Policy 
- The file service properties for share soft delete.
- AccountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- ResourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- Cors
CorsRules Args 
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- FileServices stringName 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- ProtocolSettings ProtocolSettings Args 
- Protocol settings for file service
- 
DeleteRetention Policy Args 
- The file service properties for share soft delete.
- accountName String
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- cors
CorsRules 
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- fileServices StringName 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- protocolSettings ProtocolSettings 
- Protocol settings for file service
- 
DeleteRetention Policy 
- The file service properties for share soft delete.
- accountName string
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resourceGroup stringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- cors
CorsRules 
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- fileServices stringName 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- protocolSettings ProtocolSettings 
- Protocol settings for file service
- 
DeleteRetention Policy 
- The file service properties for share soft delete.
- account_name str
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resource_group_ strname 
- The name of the resource group within the user's subscription. The name is case insensitive.
- cors
CorsRules Args 
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- file_services_ strname 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- protocol_settings ProtocolSettings Args 
- Protocol settings for file service
- 
DeleteRetention Policy Args 
- The file service properties for share soft delete.
- accountName String
- The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- resourceGroup StringName 
- The name of the resource group within the user's subscription. The name is case insensitive.
- cors Property Map
- Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
- fileServices StringName 
- The name of the file Service within the specified storage account. File Service Name must be "default"
- protocolSettings Property Map
- Protocol settings for file service
- Property Map
- The file service properties for share soft delete.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileServiceProperties resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Sku
Pulumi.Azure Native. Storage. Outputs. Sku Response 
- Sku name and tier.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Sku
SkuResponse 
- Sku name and tier.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- sku
SkuResponse 
- Sku name and tier.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- sku
SkuResponse 
- Sku name and tier.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- sku
SkuResponse 
- Sku name and tier.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- sku Property Map
- Sku name and tier.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AllowedMethods, AllowedMethodsArgs    
- DELETE
- DELETE
- GET
- GET
- HEAD
- HEAD
- MERGE
- MERGE
- POST
- POST
- OPTIONS
- OPTIONS
- PUT
- PUT
- PATCH
- PATCH
- AllowedMethods DELETE 
- DELETE
- AllowedMethods GET 
- GET
- AllowedMethods HEAD 
- HEAD
- AllowedMethods MERGE 
- MERGE
- AllowedMethods POST 
- POST
- AllowedMethods OPTIONS 
- OPTIONS
- AllowedMethods PUT 
- PUT
- AllowedMethods PATCH 
- PATCH
- DELETE
- DELETE
- GET
- GET
- HEAD
- HEAD
- MERGE
- MERGE
- POST
- POST
- OPTIONS
- OPTIONS
- PUT
- PUT
- PATCH
- PATCH
- DELETE
- DELETE
- GET
- GET
- HEAD
- HEAD
- MERGE
- MERGE
- POST
- POST
- OPTIONS
- OPTIONS
- PUT
- PUT
- PATCH
- PATCH
- DELETE
- DELETE
- GET
- GET
- HEAD
- HEAD
- MERGE
- MERGE
- POST
- POST
- OPTIONS
- OPTIONS
- PUT
- PUT
- PATCH
- PATCH
- "DELETE"
- DELETE
- "GET"
- GET
- "HEAD"
- HEAD
- "MERGE"
- MERGE
- "POST"
- POST
- "OPTIONS"
- OPTIONS
- "PUT"
- PUT
- "PATCH"
- PATCH
CorsRule, CorsRuleArgs    
- AllowedHeaders List<string>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- AllowedMethods List<Union<string, Pulumi.Azure Native. Storage. Allowed Methods>> 
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- AllowedOrigins List<string>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- ExposedHeaders List<string>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- MaxAge intIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- AllowedHeaders []string
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- AllowedMethods []string
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- AllowedOrigins []string
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- ExposedHeaders []string
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- MaxAge intIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders List<String>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods List<Either<String,AllowedMethods>> 
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins List<String>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders List<String>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge IntegerIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders string[]
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods (string | AllowedMethods)[] 
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins string[]
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders string[]
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge numberIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowed_headers Sequence[str]
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowed_methods Sequence[Union[str, AllowedMethods]] 
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowed_origins Sequence[str]
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposed_headers Sequence[str]
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- max_age_ intin_ seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders List<String>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods List<String | "DELETE" | "GET" | "HEAD" | "MERGE" | "POST" | "OPTIONS" | "PUT" | "PATCH">
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins List<String>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders List<String>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge NumberIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
CorsRuleResponse, CorsRuleResponseArgs      
- AllowedHeaders List<string>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- AllowedMethods List<string>
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- AllowedOrigins List<string>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- ExposedHeaders List<string>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- MaxAge intIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- AllowedHeaders []string
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- AllowedMethods []string
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- AllowedOrigins []string
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- ExposedHeaders []string
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- MaxAge intIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders List<String>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods List<String>
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins List<String>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders List<String>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge IntegerIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders string[]
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods string[]
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins string[]
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders string[]
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge numberIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowed_headers Sequence[str]
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowed_methods Sequence[str]
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowed_origins Sequence[str]
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposed_headers Sequence[str]
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- max_age_ intin_ seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowedHeaders List<String>
- Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowedMethods List<String>
- Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowedOrigins List<String>
- Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposedHeaders List<String>
- Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- maxAge NumberIn Seconds 
- Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
CorsRules, CorsRulesArgs    
- CorsRules List<Pulumi.Azure Native. Storage. Inputs. Cors Rule> 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- CorsRules []CorsRule 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules List<CorsRule> 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules CorsRule[] 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors_rules Sequence[CorsRule] 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules List<Property Map>
- The List of CORS rules. You can include up to five CorsRule elements in the request.
CorsRulesResponse, CorsRulesResponseArgs      
- CorsRules List<Pulumi.Azure Native. Storage. Inputs. Cors Rule Response> 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- CorsRules []CorsRule Response 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules List<CorsRule Response> 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules CorsRule Response[] 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors_rules Sequence[CorsRule Response] 
- The List of CORS rules. You can include up to five CorsRule elements in the request.
- corsRules List<Property Map>
- The List of CORS rules. You can include up to five CorsRule elements in the request.
DeleteRetentionPolicy, DeleteRetentionPolicyArgs      
- AllowPermanent boolDelete 
- 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.
- Days int
- 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.
- Enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- AllowPermanent boolDelete 
- 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.
- Days int
- 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.
- Enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent BooleanDelete 
- 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.
- days Integer
- 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.
- enabled Boolean
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent booleanDelete 
- 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.
- days number
- 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.
- enabled boolean
- Indicates whether DeleteRetentionPolicy is enabled.
- allow_permanent_ booldelete 
- 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.
- days int
- 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.
- enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent BooleanDelete 
- 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.
- days Number
- 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.
- enabled Boolean
- Indicates whether DeleteRetentionPolicy is enabled.
DeleteRetentionPolicyResponse, DeleteRetentionPolicyResponseArgs        
- AllowPermanent boolDelete 
- 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.
- Days int
- 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.
- Enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- AllowPermanent boolDelete 
- 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.
- Days int
- 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.
- Enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent BooleanDelete 
- 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.
- days Integer
- 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.
- enabled Boolean
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent booleanDelete 
- 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.
- days number
- 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.
- enabled boolean
- Indicates whether DeleteRetentionPolicy is enabled.
- allow_permanent_ booldelete 
- 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.
- days int
- 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.
- enabled bool
- Indicates whether DeleteRetentionPolicy is enabled.
- allowPermanent BooleanDelete 
- 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.
- days Number
- 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.
- enabled Boolean
- Indicates whether DeleteRetentionPolicy is enabled.
Multichannel, MultichannelArgs  
- Enabled bool
- Indicates whether multichannel is enabled
- Enabled bool
- Indicates whether multichannel is enabled
- enabled Boolean
- Indicates whether multichannel is enabled
- enabled boolean
- Indicates whether multichannel is enabled
- enabled bool
- Indicates whether multichannel is enabled
- enabled Boolean
- Indicates whether multichannel is enabled
MultichannelResponse, MultichannelResponseArgs    
- Enabled bool
- Indicates whether multichannel is enabled
- Enabled bool
- Indicates whether multichannel is enabled
- enabled Boolean
- Indicates whether multichannel is enabled
- enabled boolean
- Indicates whether multichannel is enabled
- enabled bool
- Indicates whether multichannel is enabled
- enabled Boolean
- Indicates whether multichannel is enabled
ProtocolSettings, ProtocolSettingsArgs    
- Smb
Pulumi.Azure Native. Storage. Inputs. Smb Setting 
- Setting for SMB protocol
- Smb
SmbSetting 
- Setting for SMB protocol
- smb
SmbSetting 
- Setting for SMB protocol
- smb
SmbSetting 
- Setting for SMB protocol
- smb
SmbSetting 
- Setting for SMB protocol
- smb Property Map
- Setting for SMB protocol
ProtocolSettingsResponse, ProtocolSettingsResponseArgs      
- Smb
Pulumi.Azure Native. Storage. Inputs. Smb Setting Response 
- Setting for SMB protocol
- Smb
SmbSetting Response 
- Setting for SMB protocol
- smb
SmbSetting Response 
- Setting for SMB protocol
- smb
SmbSetting Response 
- Setting for SMB protocol
- smb
SmbSetting Response 
- Setting for SMB protocol
- smb Property Map
- Setting for SMB protocol
SkuResponse, SkuResponseArgs    
SmbSetting, SmbSettingArgs    
- AuthenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- ChannelEncryption string
- 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 ';'.
- KerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- Multichannel
Pulumi.Azure Native. Storage. Inputs. Multichannel 
- Multichannel setting. Applies to Premium FileStorage only.
- Versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- AuthenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- ChannelEncryption string
- 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 ';'.
- KerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- Multichannel Multichannel
- Multichannel setting. Applies to Premium FileStorage only.
- Versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods String
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption String
- 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 ';'.
- kerberosTicket StringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel Multichannel
- Multichannel setting. Applies to Premium FileStorage only.
- versions String
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption string
- 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 ';'.
- kerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel Multichannel
- Multichannel setting. Applies to Premium FileStorage only.
- versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authentication_methods str
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channel_encryption str
- 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 ';'.
- kerberos_ticket_ strencryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel Multichannel
- Multichannel setting. Applies to Premium FileStorage only.
- versions str
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods String
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption String
- 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 ';'.
- kerberosTicket StringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel Property Map
- Multichannel setting. Applies to Premium FileStorage only.
- versions String
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
SmbSettingResponse, SmbSettingResponseArgs      
- AuthenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- ChannelEncryption string
- 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 ';'.
- KerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- Multichannel
Pulumi.Azure Native. Storage. Inputs. Multichannel Response 
- Multichannel setting. Applies to Premium FileStorage only.
- Versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- AuthenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- ChannelEncryption string
- 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 ';'.
- KerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- Multichannel
MultichannelResponse 
- Multichannel setting. Applies to Premium FileStorage only.
- Versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods String
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption String
- 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 ';'.
- kerberosTicket StringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel
MultichannelResponse 
- Multichannel setting. Applies to Premium FileStorage only.
- versions String
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods string
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption string
- 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 ';'.
- kerberosTicket stringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel
MultichannelResponse 
- Multichannel setting. Applies to Premium FileStorage only.
- versions string
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authentication_methods str
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channel_encryption str
- 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 ';'.
- kerberos_ticket_ strencryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel
MultichannelResponse 
- Multichannel setting. Applies to Premium FileStorage only.
- versions str
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
- authenticationMethods String
- SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
- channelEncryption String
- 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 ';'.
- kerberosTicket StringEncryption 
- Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
- multichannel Property Map
- Multichannel setting. Applies to Premium FileStorage only.
- versions String
- SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storage:FileServiceProperties default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0