1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. SfsFileSystemV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.SfsFileSystemV2

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Provides an Shared File System (SFS) resource.

    Example Usage

    basic example

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const shareName = config.requireObject("shareName");
    const shareDescription = config.requireObject("shareDescription");
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const share_file = new flexibleengine.SfsFileSystemV2("share-file", {
        size: 100,
        shareProto: "NFS",
        accessLevel: "rw",
        accessTo: exampleVpc.vpcV1Id,
        description: shareDescription,
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    share_name = config.require_object("shareName")
    share_description = config.require_object("shareDescription")
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    share_file = flexibleengine.SfsFileSystemV2("share-file",
        size=100,
        share_proto="NFS",
        access_level="rw",
        access_to=example_vpc.vpc_v1_id,
        description=share_description)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"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")
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewSfsFileSystemV2(ctx, "share-file", &flexibleengine.SfsFileSystemV2Args{
    			Size:        pulumi.Float64(100),
    			ShareProto:  pulumi.String("NFS"),
    			AccessLevel: pulumi.String("rw"),
    			AccessTo:    exampleVpc.VpcV1Id,
    			Description: pulumi.Any(shareDescription),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var shareName = config.RequireObject<dynamic>("shareName");
        var shareDescription = config.RequireObject<dynamic>("shareDescription");
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var share_file = new Flexibleengine.SfsFileSystemV2("share-file", new()
        {
            Size = 100,
            ShareProto = "NFS",
            AccessLevel = "rw",
            AccessTo = exampleVpc.VpcV1Id,
            Description = shareDescription,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.SfsFileSystemV2;
    import com.pulumi.flexibleengine.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 exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            var share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
                .size(100)
                .shareProto("NFS")
                .accessLevel("rw")
                .accessTo(exampleVpc.vpcV1Id())
                .description(shareDescription)
                .build());
    
        }
    }
    
    configuration:
      shareName:
        type: dynamic
      shareDescription:
        type: dynamic
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      share-file:
        type: flexibleengine:SfsFileSystemV2
        properties:
          size: 100
          shareProto: NFS
          accessLevel: rw
          accessTo: ${exampleVpc.vpcV1Id}
          description: ${shareDescription}
    

    sfs with data encryption

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const shareName = config.requireObject("shareName");
    const shareDescription = config.requireObject("shareDescription");
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const mykey = new flexibleengine.KmsKeyV1("mykey", {
        keyAlias: "kms_sfs",
        pendingDays: "7",
    });
    const share_file = new flexibleengine.SfsFileSystemV2("share-file", {
        size: 100,
        shareProto: "NFS",
        accessLevel: "rw",
        accessTo: exampleVpc.vpcV1Id,
        description: shareDescription,
        metadata: {
            "#sfs_crypt_key_id": mykey.kmsKeyV1Id,
            "#sfs_crypt_domain_id": mykey.domainId,
            "#sfs_crypt_alias": mykey.keyAlias,
        },
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    share_name = config.require_object("shareName")
    share_description = config.require_object("shareDescription")
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    mykey = flexibleengine.KmsKeyV1("mykey",
        key_alias="kms_sfs",
        pending_days="7")
    share_file = flexibleengine.SfsFileSystemV2("share-file",
        size=100,
        share_proto="NFS",
        access_level="rw",
        access_to=example_vpc.vpc_v1_id,
        description=share_description,
        metadata={
            "#sfs_crypt_key_id": mykey.kms_key_v1_id,
            "#sfs_crypt_domain_id": mykey.domain_id,
            "#sfs_crypt_alias": mykey.key_alias,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"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")
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		mykey, err := flexibleengine.NewKmsKeyV1(ctx, "mykey", &flexibleengine.KmsKeyV1Args{
    			KeyAlias:    pulumi.String("kms_sfs"),
    			PendingDays: pulumi.String("7"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewSfsFileSystemV2(ctx, "share-file", &flexibleengine.SfsFileSystemV2Args{
    			Size:        pulumi.Float64(100),
    			ShareProto:  pulumi.String("NFS"),
    			AccessLevel: pulumi.String("rw"),
    			AccessTo:    exampleVpc.VpcV1Id,
    			Description: pulumi.Any(shareDescription),
    			Metadata: pulumi.StringMap{
    				"#sfs_crypt_key_id":    mykey.KmsKeyV1Id,
    				"#sfs_crypt_domain_id": mykey.DomainId,
    				"#sfs_crypt_alias":     mykey.KeyAlias,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var shareName = config.RequireObject<dynamic>("shareName");
        var shareDescription = config.RequireObject<dynamic>("shareDescription");
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var mykey = new Flexibleengine.KmsKeyV1("mykey", new()
        {
            KeyAlias = "kms_sfs",
            PendingDays = "7",
        });
    
        var share_file = new Flexibleengine.SfsFileSystemV2("share-file", new()
        {
            Size = 100,
            ShareProto = "NFS",
            AccessLevel = "rw",
            AccessTo = exampleVpc.VpcV1Id,
            Description = shareDescription,
            Metadata = 
            {
                { "#sfs_crypt_key_id", mykey.KmsKeyV1Id },
                { "#sfs_crypt_domain_id", mykey.DomainId },
                { "#sfs_crypt_alias", mykey.KeyAlias },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.KmsKeyV1;
    import com.pulumi.flexibleengine.KmsKeyV1Args;
    import com.pulumi.flexibleengine.SfsFileSystemV2;
    import com.pulumi.flexibleengine.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 exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            var mykey = new KmsKeyV1("mykey", KmsKeyV1Args.builder()
                .keyAlias("kms_sfs")
                .pendingDays("7")
                .build());
    
            var share_file = new SfsFileSystemV2("share-file", SfsFileSystemV2Args.builder()
                .size(100)
                .shareProto("NFS")
                .accessLevel("rw")
                .accessTo(exampleVpc.vpcV1Id())
                .description(shareDescription)
                .metadata(Map.ofEntries(
                    Map.entry("#sfs_crypt_key_id", mykey.kmsKeyV1Id()),
                    Map.entry("#sfs_crypt_domain_id", mykey.domainId()),
                    Map.entry("#sfs_crypt_alias", mykey.keyAlias())
                ))
                .build());
    
        }
    }
    
    configuration:
      shareName:
        type: dynamic
      shareDescription:
        type: dynamic
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      mykey:
        type: flexibleengine:KmsKeyV1
        properties:
          keyAlias: kms_sfs
          pendingDays: '7'
      share-file:
        type: flexibleengine:SfsFileSystemV2
        properties:
          size: 100
          shareProto: NFS
          accessLevel: rw
          accessTo: ${exampleVpc.vpcV1Id}
          description: ${shareDescription}
          metadata:
            '#sfs_crypt_key_id': ${mykey.kmsKeyV1Id}
            '#sfs_crypt_domain_id': ${mykey.domainId}
            '#sfs_crypt_alias': ${mykey.keyAlias}
    

    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,
                        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: flexibleengine: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 Flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource", new()
    {
        Size = 0,
        Metadata = 
        {
            { "string", "string" },
        },
        AccessType = "string",
        AvailabilityZone = "string",
        Description = "string",
        IsPublic = false,
        AccessLevel = "string",
        Name = "string",
        Region = "string",
        SfsFileSystemV2Id = "string",
        ShareProto = "string",
        AccessTo = "string",
        Timeouts = new Flexibleengine.Inputs.SfsFileSystemV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewSfsFileSystemV2(ctx, "sfsFileSystemV2Resource", &flexibleengine.SfsFileSystemV2Args{
    	Size: pulumi.Float64(0),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AccessType:        pulumi.String("string"),
    	AvailabilityZone:  pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	IsPublic:          pulumi.Bool(false),
    	AccessLevel:       pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Region:            pulumi.String("string"),
    	SfsFileSystemV2Id: pulumi.String("string"),
    	ShareProto:        pulumi.String("string"),
    	AccessTo:          pulumi.String("string"),
    	Timeouts: &flexibleengine.SfsFileSystemV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var sfsFileSystemV2Resource = new SfsFileSystemV2("sfsFileSystemV2Resource", SfsFileSystemV2Args.builder()
        .size(0)
        .metadata(Map.of("string", "string"))
        .accessType("string")
        .availabilityZone("string")
        .description("string")
        .isPublic(false)
        .accessLevel("string")
        .name("string")
        .region("string")
        .sfsFileSystemV2Id("string")
        .shareProto("string")
        .accessTo("string")
        .timeouts(SfsFileSystemV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    sfs_file_system_v2_resource = flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource",
        size=0,
        metadata={
            "string": "string",
        },
        access_type="string",
        availability_zone="string",
        description="string",
        is_public=False,
        access_level="string",
        name="string",
        region="string",
        sfs_file_system_v2_id="string",
        share_proto="string",
        access_to="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const sfsFileSystemV2Resource = new flexibleengine.SfsFileSystemV2("sfsFileSystemV2Resource", {
        size: 0,
        metadata: {
            string: "string",
        },
        accessType: "string",
        availabilityZone: "string",
        description: "string",
        isPublic: false,
        accessLevel: "string",
        name: "string",
        region: "string",
        sfsFileSystemV2Id: "string",
        shareProto: "string",
        accessTo: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:SfsFileSystemV2
    properties:
        accessLevel: string
        accessTo: string
        accessType: string
        availabilityZone: string
        description: string
        isPublic: false
        metadata:
            string: string
        name: string
        region: string
        sfsFileSystemV2Id: string
        shareProto: string
        size: 0
        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
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    Metadata Dictionary<string, string>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    Timeouts SfsFileSystemV2Timeouts
    Size float64
    The size (GB) of the shared file system.
    AccessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    Metadata map[string]string
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    SfsFileSystemV2Id string
    The UUID of the shared file system.
    ShareProto string
    The protocol for sharing file systems. The default value is NFS.
    Timeouts SfsFileSystemV2TimeoutsArgs
    size Double
    The size (GB) of the shared file system.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    metadata Map<String,String>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    timeouts SfsFileSystemV2Timeouts
    size number
    The size (GB) of the shared file system.
    accessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    metadata {[key: string]: string}
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name string
    The name of the shared file system.
    region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    sfsFileSystemV2Id string
    The UUID of the shared file system.
    shareProto string
    The protocol for sharing file systems. The default value is NFS.
    timeouts SfsFileSystemV2Timeouts
    size float
    The size (GB) of the shared file system.
    access_level str
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    access_to str

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    access_type str
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    metadata Mapping[str, str]
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name str
    The name of the shared file system.
    region str
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    timeouts SfsFileSystemV2TimeoutsArgs
    size Number
    The size (GB) of the shared file system.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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. Changing this will create a new resource.
    metadata Map<String>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    sfsFileSystemV2Id String
    The UUID of the shared file system.
    shareProto String
    The protocol for sharing file systems. The default value is NFS.
    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.
    AccessRules List<SfsFileSystemV2AccessRule>
    All access rules of the shared file system. The access_rules object structure is documented below.
    ExportLocation string
    The address for accessing the shared file system.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShareAccessId string
    The UUID of the share access rule.
    Status string
    The status of the share access rule.
    VolumeType string
    The volume type.
    AccessRuleStatus string
    The status of the share access rule.
    AccessRules []SfsFileSystemV2AccessRule
    All access rules of the shared file system. The access_rules object structure is documented below.
    ExportLocation string
    The address for accessing the shared file system.
    Id string
    The provider-assigned unique ID for this managed resource.
    ShareAccessId string
    The UUID of the share access rule.
    Status string
    The status of the share access rule.
    VolumeType string
    The volume type.
    accessRuleStatus String
    The status of the share access rule.
    accessRules List<SfsFileSystemV2AccessRule>
    All access rules of the shared file system. The access_rules object structure is documented below.
    exportLocation String
    The address for accessing the shared file system.
    id String
    The provider-assigned unique ID for this managed resource.
    shareAccessId String
    The UUID of the share access rule.
    status String
    The status of the share access rule.
    volumeType String
    The volume type.
    accessRuleStatus string
    The status of the share access rule.
    accessRules SfsFileSystemV2AccessRule[]
    All access rules of the shared file system. The access_rules object structure is documented below.
    exportLocation string
    The address for accessing the shared file system.
    id string
    The provider-assigned unique ID for this managed resource.
    shareAccessId string
    The UUID of the share access rule.
    status string
    The status of the share access rule.
    volumeType string
    The volume type.
    access_rule_status str
    The status of the share access rule.
    access_rules Sequence[SfsFileSystemV2AccessRule]
    All access rules of the shared file system. The access_rules object structure is documented below.
    export_location str
    The address for accessing 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.
    status str
    The status of the share access rule.
    volume_type str
    The volume type.
    accessRuleStatus String
    The status of the share access rule.
    accessRules List<Property Map>
    All access rules of the shared file system. The access_rules object structure is documented below.
    exportLocation String
    The address for accessing the shared file system.
    id String
    The provider-assigned unique ID for this managed resource.
    shareAccessId String
    The UUID of the share access rule.
    status String
    The status of the share access rule.
    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_rules: Optional[Sequence[SfsFileSystemV2AccessRuleArgs]] = 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,
            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,
            size: Optional[float] = None,
            status: Optional[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: flexibleengine: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
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessRuleStatus string
    The status of the share access rule.
    AccessRules List<SfsFileSystemV2AccessRule>
    All access rules of the shared file system. The access_rules object structure is documented below.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    IsPublic bool
    The level of visibility for the shared file system. Changing this will create a new resource.
    Metadata Dictionary<string, string>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    Size double
    The size (GB) of the shared file system.
    Status string
    The status of the share access rule.
    Timeouts SfsFileSystemV2Timeouts
    VolumeType string
    The volume type.
    AccessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessRuleStatus string
    The status of the share access rule.
    AccessRules []SfsFileSystemV2AccessRuleArgs
    All access rules of the shared file system. The access_rules object structure is documented below.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    IsPublic bool
    The level of visibility for the shared file system. Changing this will create a new resource.
    Metadata map[string]string
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    Name string
    The name of the shared file system.
    Region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    Size float64
    The size (GB) of the shared file system.
    Status string
    The status of the share access rule.
    Timeouts SfsFileSystemV2TimeoutsArgs
    VolumeType string
    The volume type.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleStatus String
    The status of the share access rule.
    accessRules List<SfsFileSystemV2AccessRule>
    All access rules of the shared file system. The access_rules object structure is documented below.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    isPublic Boolean
    The level of visibility for the shared file system. Changing this will create a new resource.
    metadata Map<String,String>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    size Double
    The size (GB) of the shared file system.
    status String
    The status of the share access rule.
    timeouts SfsFileSystemV2Timeouts
    volumeType String
    The volume type.
    accessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleStatus string
    The status of the share access rule.
    accessRules SfsFileSystemV2AccessRule[]
    All access rules of the shared file system. The access_rules object structure is documented below.
    accessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    isPublic boolean
    The level of visibility for the shared file system. Changing this will create a new resource.
    metadata {[key: string]: string}
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name string
    The name of the shared file system.
    region string
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    size number
    The size (GB) of the shared file system.
    status string
    The status of the share access rule.
    timeouts SfsFileSystemV2Timeouts
    volumeType string
    The volume type.
    access_level str
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    access_rule_status str
    The status of the share access rule.
    access_rules Sequence[SfsFileSystemV2AccessRuleArgs]
    All access rules of the shared file system. The access_rules object structure is documented below.
    access_to str

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    access_type str
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    is_public bool
    The level of visibility for the shared file system. Changing this will create a new resource.
    metadata Mapping[str, str]
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name str
    The name of the shared file system.
    region str
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    size float
    The size (GB) of the shared file system.
    status str
    The status of the share access rule.
    timeouts SfsFileSystemV2TimeoutsArgs
    volume_type str
    The volume type.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleStatus String
    The status of the share access rule.
    accessRules List<Property Map>
    All access rules of the shared file system. The access_rules object structure is documented below.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    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.
    isPublic Boolean
    The level of visibility for the shared file system. Changing this will create a new resource.
    metadata Map<String>
    Metadata key and value pairs as a dictionary of strings. The supported metadata keys are "#sfs_crypt_key_id", "#sfs_crypt_domain_id" and "#sfs_crypt_alias", and the keys should be existed at the same time to enable the data encryption function. Changing this will create a new resource.
    name String
    The name of the shared file system.
    region String
    Specifies the region in which to create the sfs file system resource. If omitted, the provider-level region will be used. Changing this will create a new sfs file system resource.
    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.
    size Number
    The size (GB) of the shared file system.
    status String
    The status of the share access rule.
    timeouts Property Map
    volumeType String
    The volume type.

    Supporting Types

    SfsFileSystemV2AccessRule, SfsFileSystemV2AccessRuleArgs

    AccessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessRuleId string
    The UUID of the share access rule.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    Status string
    The status of the share access rule.
    AccessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    AccessRuleId string
    The UUID of the share access rule.
    AccessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    AccessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    Status string
    The status of the share access rule.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleId String
    The UUID of the share access rule.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    status String
    The status of the share access rule.
    accessLevel string
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleId string
    The UUID of the share access rule.
    accessTo string

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType string
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    status string
    The status of the share access rule.
    access_level str
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    access_rule_id str
    The UUID of the share access rule.
    access_to str

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    access_type str
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    status str
    The status of the share access rule.
    accessLevel String
    Specifies the access level of the shared file system. Possible values are ro (read-only) and rw (read-write). The default value is rw (read/write). Changing this will create a new access rule.
    accessRuleId String
    The UUID of the share access rule.
    accessTo String

    Specifies the value that defines the access rule. The value contains 1 to 255 characters. Changing this will create a new access rule. The value varies according to the scenario:

    • Set the VPC ID in VPC authorization scenarios.
    • Set this parameter in IP address authorization scenario.
    • For an NFS shared file system, the value in the format of VPC_ID#IP_address#priority#user_permission. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#100#all_squash,root_squash.

    • For a CIFS shared file system, the value in the format of VPC_ID#IP_address#priority. For example, 0157b53f-4974-4e80-91c9-098532bcaf00#2.2.2.2/16#0.

    NOTE: If you want to create more access rules, please using flexibleengine_sfs_access_rule_v2.

    accessType String
    Specifies the type of the share access rule. The default value is cert. Changing this will create a new access rule.
    status String
    The status of the share access rule.

    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 flexibleengine:index/sfsFileSystemV2:SfsFileSystemV2 flexibleengine_sfs_file_system_v2 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
    

    Please importing them by flexibleengine_sfs_access_rule_v2.

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

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud