1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. SfsFileSystemV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.SfsFileSystemV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for SFS file system you can get at documentation portal

    Provides a Scalable File System resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const shareName = config.requireObject("shareName");
    const shareDescription = config.requireObject("shareDescription");
    const share_file = new opentelekomcloud.SfsFileSystemV2("share-file", {
        size: 50,
        description: shareDescription,
        shareProto: "NFS",
        tags: {
            muh: "kuh",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    share_name = config.require_object("shareName")
    share_description = config.require_object("shareDescription")
    share_file = opentelekomcloud.SfsFileSystemV2("share-file",
        size=50,
        description=share_description,
        share_proto="NFS",
        tags={
            "muh": "kuh",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		shareName := cfg.RequireObject("shareName")
    		shareDescription := cfg.RequireObject("shareDescription")
    		_, err := opentelekomcloud.NewSfsFileSystemV2(ctx, "share-file", &opentelekomcloud.SfsFileSystemV2Args{
    			Size:        pulumi.Float64(50),
    			Description: pulumi.Any(shareDescription),
    			ShareProto:  pulumi.String("NFS"),
    			Tags: pulumi.StringMap{
    				"muh": pulumi.String("kuh"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var shareName = config.RequireObject<dynamic>("shareName");
        var shareDescription = config.RequireObject<dynamic>("shareDescription");
        var share_file = new Opentelekomcloud.SfsFileSystemV2("share-file", new()
        {
            Size = 50,
            Description = shareDescription,
            ShareProto = "NFS",
            Tags = 
            {
                { "muh", "kuh" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.SfsFileSystemV2;
    import com.pulumi.opentelekomcloud.SfsFileSystemV2Args;
    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) {
            final var config = ctx.config();
            final var shareName = config.get("shareName");
            final var shareDescription = config.get("shareDescription");
            var share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
                .size(50)
                .description(shareDescription)
                .shareProto("NFS")
                .tags(Map.of("muh", "kuh"))
                .build());
    
        }
    }
    
    configuration:
      shareName:
        type: dynamic
      shareDescription:
        type: dynamic
    resources:
      share-file:
        type: opentelekomcloud:SfsFileSystemV2
        properties:
          size: 50
          description: ${shareDescription}
          shareProto: NFS
          tags:
            muh: kuh
    

    Create SfsFileSystemV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SfsFileSystemV2(name: string, args: SfsFileSystemV2Args, opts?: CustomResourceOptions);
    @overload
    def SfsFileSystemV2(resource_name: str,
                        args: SfsFileSystemV2Args,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SfsFileSystemV2(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        size: Optional[float] = None,
                        metadata: Optional[Mapping[str, str]] = None,
                        access_type: Optional[str] = None,
                        availability_zone: Optional[str] = None,
                        description: Optional[str] = None,
                        is_public: Optional[bool] = None,
                        access_level: Optional[str] = None,
                        name: Optional[str] = None,
                        region: Optional[str] = None,
                        sfs_file_system_v2_id: Optional[str] = None,
                        share_proto: Optional[str] = None,
                        access_to: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        timeouts: Optional[SfsFileSystemV2TimeoutsArgs] = None)
    func NewSfsFileSystemV2(ctx *Context, name string, args SfsFileSystemV2Args, opts ...ResourceOption) (*SfsFileSystemV2, error)
    public SfsFileSystemV2(string name, SfsFileSystemV2Args args, CustomResourceOptions? opts = null)
    public SfsFileSystemV2(String name, SfsFileSystemV2Args args)
    public SfsFileSystemV2(String name, SfsFileSystemV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:SfsFileSystemV2
    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 SfsFileSystemV2Args
    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 SfsFileSystemV2Args
    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 SfsFileSystemV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SfsFileSystemV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SfsFileSystemV2Args
    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 sfsFileSystemV2Resource = new Opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource", new()
    {
        Size = 0,
        Metadata = 
        {
            { "string", "string" },
        },
        AvailabilityZone = "string",
        Description = "string",
        IsPublic = false,
        Name = "string",
        Region = "string",
        SfsFileSystemV2Id = "string",
        ShareProto = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.SfsFileSystemV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewSfsFileSystemV2(ctx, "sfsFileSystemV2Resource", &opentelekomcloud.SfsFileSystemV2Args{
    	Size: pulumi.Float64(0),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AvailabilityZone:  pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	IsPublic:          pulumi.Bool(false),
    	Name:              pulumi.String("string"),
    	Region:            pulumi.String("string"),
    	SfsFileSystemV2Id: pulumi.String("string"),
    	ShareProto:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.SfsFileSystemV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var sfsFileSystemV2Resource = new SfsFileSystemV2("sfsFileSystemV2Resource", SfsFileSystemV2Args.builder()
        .size(0)
        .metadata(Map.of("string", "string"))
        .availabilityZone("string")
        .description("string")
        .isPublic(false)
        .name("string")
        .region("string")
        .sfsFileSystemV2Id("string")
        .shareProto("string")
        .tags(Map.of("string", "string"))
        .timeouts(SfsFileSystemV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    sfs_file_system_v2_resource = opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource",
        size=0,
        metadata={
            "string": "string",
        },
        availability_zone="string",
        description="string",
        is_public=False,
        name="string",
        region="string",
        sfs_file_system_v2_id="string",
        share_proto="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const sfsFileSystemV2Resource = new opentelekomcloud.SfsFileSystemV2("sfsFileSystemV2Resource", {
        size: 0,
        metadata: {
            string: "string",
        },
        availabilityZone: "string",
        description: "string",
        isPublic: false,
        name: "string",
        region: "string",
        sfsFileSystemV2Id: "string",
        shareProto: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:SfsFileSystemV2
    properties:
        availabilityZone: string
        description: string
        isPublic: false
        metadata:
            string: string
        name: string
        region: string
        sfsFileSystemV2Id: string
        shareProto: string
        size: 0
        tags:
            string: string
        timeouts:
            create: string
            delete: string
    

    SfsFileSystemV2 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 SfsFileSystemV2 resource accepts the following input properties:

    Size double
    The size (GB) of the shared file system.
    AccessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AvailabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    Description string
    Describes the shared file system.
    IsPublic bool
    The level of visibility for the shared file system.
    Metadata Dictionary<string, string>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the SFS File System.
    Timeouts SfsFileSystemV2Timeouts
    Size float64
    The size (GB) of the shared file system.
    AccessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AvailabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    Description string
    Describes the shared file system.
    IsPublic bool
    The level of visibility for the shared file system.
    Metadata map[string]string
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    Tags map[string]string
    Tags key/value pairs to associate with the SFS File System.
    Timeouts SfsFileSystemV2TimeoutsArgs
    size Double
    The size (GB) of the shared file system.
    accessLevel String
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessTo String
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType String
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone String
    The availability zone name. Changing this parameter will create a new resource.
    description String
    Describes the shared file system.
    isPublic Boolean
    The level of visibility for the shared file system.
    metadata Map<String,String>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    tags Map<String,String>
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2Timeouts
    size number
    The size (GB) of the shared file system.
    accessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    description string
    Describes the shared file system.
    isPublic boolean
    The level of visibility for the shared file system.
    metadata {[key: string]: string}
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name string
    The name of the shared file system.
    region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id string
    The UUID of the shared file system.
    shareProto string
    The protocol for sharing file systems. The default value is NFS.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2Timeouts
    size float
    The size (GB) of the shared file system.
    access_level str
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    access_to str
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    access_type str
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availability_zone str
    The availability zone name. Changing this parameter will create a new resource.
    description str
    Describes the shared file system.
    is_public bool
    The level of visibility for the shared file system.
    metadata Mapping[str, str]
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name str
    The name of the shared file system.
    region str
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfs_file_system_v2_id str
    The UUID of the shared file system.
    share_proto str
    The protocol for sharing file systems. The default value is NFS.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2TimeoutsArgs
    size Number
    The size (GB) of the shared file system.
    accessLevel String
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessTo String
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType String
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone String
    The availability zone name. Changing this parameter will create a new resource.
    description String
    Describes the shared file system.
    isPublic Boolean
    The level of visibility for the shared file system.
    metadata Map<String>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    tags Map<String>
    Tags key/value pairs to associate with the SFS File System.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SfsFileSystemV2 resource produces the following output properties:

    AccessRuleStatus string
    The status of the share access rule.
    ExportLocation string
    The address for accessing the shared file system.
    Host string
    The host name of the shared file system.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShareAccessId string
    The UUID of the share access rule.
    ShareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    Status string
    The status of the shared file system.
    VolumeType string
    The volume type.
    AccessRuleStatus string
    The status of the share access rule.
    ExportLocation string
    The address for accessing the shared file system.
    Host string
    The host name of the shared file system.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShareAccessId string
    The UUID of the share access rule.
    ShareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    Status string
    The status of the shared file system.
    VolumeType string
    The volume type.
    accessRuleStatus String
    The status of the share access rule.
    exportLocation String
    The address for accessing the shared file system.
    host String
    The host name of the shared file system.
    id String
    The provider-assigned unique ID for this managed resource.
    shareAccessId String
    The UUID of the share access rule.
    shareType String
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    status String
    The status of the shared file system.
    volumeType String
    The volume type.
    accessRuleStatus string
    The status of the share access rule.
    exportLocation string
    The address for accessing the shared file system.
    host string
    The host name of the shared file system.
    id string
    The provider-assigned unique ID for this managed resource.
    shareAccessId string
    The UUID of the share access rule.
    shareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    status string
    The status of the shared file system.
    volumeType string
    The volume type.
    access_rule_status str
    The status of the share access rule.
    export_location str
    The address for accessing the shared file system.
    host str
    The host name of the shared file system.
    id str
    The provider-assigned unique ID for this managed resource.
    share_access_id str
    The UUID of the share access rule.
    share_type str
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    status str
    The status of the shared file system.
    volume_type str
    The volume type.
    accessRuleStatus String
    The status of the share access rule.
    exportLocation String
    The address for accessing the shared file system.
    host String
    The host name of the shared file system.
    id String
    The provider-assigned unique ID for this managed resource.
    shareAccessId String
    The UUID of the share access rule.
    shareType String
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    status String
    The status of the shared file system.
    volumeType String
    The volume type.

    Look up Existing SfsFileSystemV2 Resource

    Get an existing SfsFileSystemV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SfsFileSystemV2State, opts?: CustomResourceOptions): SfsFileSystemV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_level: Optional[str] = None,
            access_rule_status: Optional[str] = None,
            access_to: Optional[str] = None,
            access_type: Optional[str] = None,
            availability_zone: Optional[str] = None,
            description: Optional[str] = None,
            export_location: Optional[str] = None,
            host: Optional[str] = None,
            is_public: Optional[bool] = None,
            metadata: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            sfs_file_system_v2_id: Optional[str] = None,
            share_access_id: Optional[str] = None,
            share_proto: Optional[str] = None,
            share_type: Optional[str] = None,
            size: Optional[float] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[SfsFileSystemV2TimeoutsArgs] = None,
            volume_type: Optional[str] = None) -> SfsFileSystemV2
    func GetSfsFileSystemV2(ctx *Context, name string, id IDInput, state *SfsFileSystemV2State, opts ...ResourceOption) (*SfsFileSystemV2, error)
    public static SfsFileSystemV2 Get(string name, Input<string> id, SfsFileSystemV2State? state, CustomResourceOptions? opts = null)
    public static SfsFileSystemV2 get(String name, Output<String> id, SfsFileSystemV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:SfsFileSystemV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessRuleStatus string
    The status of the share access rule.
    AccessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AvailabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    Description string
    Describes the shared file system.
    ExportLocation string
    The address for accessing the shared file system.
    Host string
    The host name of the shared file system.
    IsPublic bool
    The level of visibility for the shared file system.
    Metadata Dictionary<string, string>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareAccessId string
    The UUID of the share access rule.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    ShareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    Size double
    The size (GB) of the shared file system.
    Status string
    The status of the shared file system.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the SFS File System.
    Timeouts SfsFileSystemV2Timeouts
    VolumeType string
    The volume type.
    AccessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessRuleStatus string
    The status of the share access rule.
    AccessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AccessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    AvailabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    Description string
    Describes the shared file system.
    ExportLocation string
    The address for accessing the shared file system.
    Host string
    The host name of the shared file system.
    IsPublic bool
    The level of visibility for the shared file system.
    Metadata map[string]string
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareAccessId string
    The UUID of the share access rule.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    ShareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    Size float64
    The size (GB) of the shared file system.
    Status string
    The status of the shared file system.
    Tags map[string]string
    Tags key/value pairs to associate with the SFS File System.
    Timeouts SfsFileSystemV2TimeoutsArgs
    VolumeType string
    The volume type.
    accessLevel String
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessRuleStatus String
    The status of the share access rule.
    accessTo String
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType String
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone String
    The availability zone name. Changing this parameter will create a new resource.
    description String
    Describes the shared file system.
    exportLocation String
    The address for accessing the shared file system.
    host String
    The host name of the shared file system.
    isPublic Boolean
    The level of visibility for the shared file system.
    metadata Map<String,String>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareAccessId String
    The UUID of the share access rule.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    shareType String
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    size Double
    The size (GB) of the shared file system.
    status String
    The status of the shared file system.
    tags Map<String,String>
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2Timeouts
    volumeType String
    The volume type.
    accessLevel string
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessRuleStatus string
    The status of the share access rule.
    accessTo string
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType string
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone string
    The availability zone name. Changing this parameter will create a new resource.
    description string
    Describes the shared file system.
    exportLocation string
    The address for accessing the shared file system.
    host string
    The host name of the shared file system.
    isPublic boolean
    The level of visibility for the shared file system.
    metadata {[key: string]: string}
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name string
    The name of the shared file system.
    region string
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id string
    The UUID of the shared file system.
    shareAccessId string
    The UUID of the share access rule.
    shareProto string
    The protocol for sharing file systems. The default value is NFS.
    shareType string
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    size number
    The size (GB) of the shared file system.
    status string
    The status of the shared file system.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2Timeouts
    volumeType string
    The volume type.
    access_level str
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    access_rule_status str
    The status of the share access rule.
    access_to str
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    access_type str
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availability_zone str
    The availability zone name. Changing this parameter will create a new resource.
    description str
    Describes the shared file system.
    export_location str
    The address for accessing the shared file system.
    host str
    The host name of the shared file system.
    is_public bool
    The level of visibility for the shared file system.
    metadata Mapping[str, str]
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name str
    The name of the shared file system.
    region str
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfs_file_system_v2_id str
    The UUID of the shared file system.
    share_access_id str
    The UUID of the share access rule.
    share_proto str
    The protocol for sharing file systems. The default value is NFS.
    share_type str
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    size float
    The size (GB) of the shared file system.
    status str
    The status of the shared file system.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the SFS File System.
    timeouts SfsFileSystemV2TimeoutsArgs
    volume_type str
    The volume type.
    accessLevel String
    The access level of the shared file system. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessRuleStatus String
    The status of the share access rule.
    accessTo String
    The access that the back end grants or denies. Changing this will create new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    accessType String
    The type of the share access rule. Changing this will create a new access rule. Deprecated, please use the opentelekomcloud_sfs_share_access_rule_v2 resource instead.

    Deprecated: Deprecated

    availabilityZone String
    The availability zone name. Changing this parameter will create a new resource.
    description String
    Describes the shared file system.
    exportLocation String
    The address for accessing the shared file system.
    host String
    The host name of the shared file system.
    isPublic Boolean
    The level of visibility for the shared file system.
    metadata Map<String>
    Metadata key/value pairs as a dictionary of strings. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    The region in which to obtain the V2 SFS client. If omitted, the region argument of the provider is used. Changing this creates a new share.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareAccessId String
    The UUID of the share access rule.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    shareType String
    The storage service type assigned for the shared file system, such as high-performance storage (composed of SSDs) and large-capacity storage (composed of SATA disks).
    size Number
    The size (GB) of the shared file system.
    status String
    The status of the shared file system.
    tags Map<String>
    Tags key/value pairs to associate with the SFS File System.
    timeouts Property Map
    volumeType String
    The volume type.

    Supporting Types

    SfsFileSystemV2Timeouts, SfsFileSystemV2TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    SFS can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/sfsFileSystemV2:SfsFileSystemV2 opentelekomcloud_sfs_file_system_v2 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud