1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CfsFileSystem
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.CfsFileSystem

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a cloud file system(CFS).

    Example Usage

    Standard Nfs CFS

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CfsFileSystem("foo", {
        accessGroupId: "pgroup-7nx89k7l",
        availabilityZone: "ap-guangzhou-3",
        protocol: "NFS",
        subnetId: "subnet-9mu2t9iw",
        vpcId: "vpc-ah9fbkap",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CfsFileSystem("foo",
        access_group_id="pgroup-7nx89k7l",
        availability_zone="ap-guangzhou-3",
        protocol="NFS",
        subnet_id="subnet-9mu2t9iw",
        vpc_id="vpc-ah9fbkap")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCfsFileSystem(ctx, "foo", &tencentcloud.CfsFileSystemArgs{
    			AccessGroupId:    pulumi.String("pgroup-7nx89k7l"),
    			AvailabilityZone: pulumi.String("ap-guangzhou-3"),
    			Protocol:         pulumi.String("NFS"),
    			SubnetId:         pulumi.String("subnet-9mu2t9iw"),
    			VpcId:            pulumi.String("vpc-ah9fbkap"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CfsFileSystem("foo", new()
        {
            AccessGroupId = "pgroup-7nx89k7l",
            AvailabilityZone = "ap-guangzhou-3",
            Protocol = "NFS",
            SubnetId = "subnet-9mu2t9iw",
            VpcId = "vpc-ah9fbkap",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CfsFileSystem;
    import com.pulumi.tencentcloud.CfsFileSystemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CfsFileSystem("foo", CfsFileSystemArgs.builder()
                .accessGroupId("pgroup-7nx89k7l")
                .availabilityZone("ap-guangzhou-3")
                .protocol("NFS")
                .subnetId("subnet-9mu2t9iw")
                .vpcId("vpc-ah9fbkap")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CfsFileSystem
        properties:
          accessGroupId: pgroup-7nx89k7l
          availabilityZone: ap-guangzhou-3
          protocol: NFS
          subnetId: subnet-9mu2t9iw
          vpcId: vpc-ah9fbkap
    

    High-Performance Nfs CFS

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CfsFileSystem("foo", {
        accessGroupId: "pgroup-drwt29od",
        availabilityZone: "ap-guangzhou-6",
        protocol: "NFS",
        storageType: "HP",
        subnetId: "subnet-enm92y0m",
        vpcId: "vpc-86v957zb",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CfsFileSystem("foo",
        access_group_id="pgroup-drwt29od",
        availability_zone="ap-guangzhou-6",
        protocol="NFS",
        storage_type="HP",
        subnet_id="subnet-enm92y0m",
        vpc_id="vpc-86v957zb")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCfsFileSystem(ctx, "foo", &tencentcloud.CfsFileSystemArgs{
    			AccessGroupId:    pulumi.String("pgroup-drwt29od"),
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			Protocol:         pulumi.String("NFS"),
    			StorageType:      pulumi.String("HP"),
    			SubnetId:         pulumi.String("subnet-enm92y0m"),
    			VpcId:            pulumi.String("vpc-86v957zb"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CfsFileSystem("foo", new()
        {
            AccessGroupId = "pgroup-drwt29od",
            AvailabilityZone = "ap-guangzhou-6",
            Protocol = "NFS",
            StorageType = "HP",
            SubnetId = "subnet-enm92y0m",
            VpcId = "vpc-86v957zb",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CfsFileSystem;
    import com.pulumi.tencentcloud.CfsFileSystemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CfsFileSystem("foo", CfsFileSystemArgs.builder()
                .accessGroupId("pgroup-drwt29od")
                .availabilityZone("ap-guangzhou-6")
                .protocol("NFS")
                .storageType("HP")
                .subnetId("subnet-enm92y0m")
                .vpcId("vpc-86v957zb")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CfsFileSystem
        properties:
          accessGroupId: pgroup-drwt29od
          availabilityZone: ap-guangzhou-6
          protocol: NFS
          storageType: HP
          subnetId: subnet-enm92y0m
          vpcId: vpc-86v957zb
    

    Standard Turbo CFS

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CfsFileSystem("foo", {
        accessGroupId: "pgroup-drwt29od",
        availabilityZone: "ap-guangzhou-6",
        capacity: 20480,
        ccnId: "ccn-39lqkygf",
        cidrBlock: "11.0.0.0/24",
        netInterface: "CCN",
        protocol: "TURBO",
        storageType: "TB",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CfsFileSystem("foo",
        access_group_id="pgroup-drwt29od",
        availability_zone="ap-guangzhou-6",
        capacity=20480,
        ccn_id="ccn-39lqkygf",
        cidr_block="11.0.0.0/24",
        net_interface="CCN",
        protocol="TURBO",
        storage_type="TB")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCfsFileSystem(ctx, "foo", &tencentcloud.CfsFileSystemArgs{
    			AccessGroupId:    pulumi.String("pgroup-drwt29od"),
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			Capacity:         pulumi.Float64(20480),
    			CcnId:            pulumi.String("ccn-39lqkygf"),
    			CidrBlock:        pulumi.String("11.0.0.0/24"),
    			NetInterface:     pulumi.String("CCN"),
    			Protocol:         pulumi.String("TURBO"),
    			StorageType:      pulumi.String("TB"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CfsFileSystem("foo", new()
        {
            AccessGroupId = "pgroup-drwt29od",
            AvailabilityZone = "ap-guangzhou-6",
            Capacity = 20480,
            CcnId = "ccn-39lqkygf",
            CidrBlock = "11.0.0.0/24",
            NetInterface = "CCN",
            Protocol = "TURBO",
            StorageType = "TB",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CfsFileSystem;
    import com.pulumi.tencentcloud.CfsFileSystemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CfsFileSystem("foo", CfsFileSystemArgs.builder()
                .accessGroupId("pgroup-drwt29od")
                .availabilityZone("ap-guangzhou-6")
                .capacity(20480)
                .ccnId("ccn-39lqkygf")
                .cidrBlock("11.0.0.0/24")
                .netInterface("CCN")
                .protocol("TURBO")
                .storageType("TB")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CfsFileSystem
        properties:
          accessGroupId: pgroup-drwt29od
          availabilityZone: ap-guangzhou-6
          capacity: 20480
          ccnId: ccn-39lqkygf
          cidrBlock: 11.0.0.0/24
          netInterface: CCN
          protocol: TURBO
          storageType: TB
    

    High-Performance Turbo CFS

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CfsFileSystem("foo", {
        accessGroupId: "pgroup-drwt29od",
        availabilityZone: "ap-guangzhou-6",
        capacity: 10240,
        ccnId: "ccn-39lqkygf",
        cidrBlock: "11.0.0.0/24",
        netInterface: "CCN",
        protocol: "TURBO",
        storageType: "TP",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CfsFileSystem("foo",
        access_group_id="pgroup-drwt29od",
        availability_zone="ap-guangzhou-6",
        capacity=10240,
        ccn_id="ccn-39lqkygf",
        cidr_block="11.0.0.0/24",
        net_interface="CCN",
        protocol="TURBO",
        storage_type="TP")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCfsFileSystem(ctx, "foo", &tencentcloud.CfsFileSystemArgs{
    			AccessGroupId:    pulumi.String("pgroup-drwt29od"),
    			AvailabilityZone: pulumi.String("ap-guangzhou-6"),
    			Capacity:         pulumi.Float64(10240),
    			CcnId:            pulumi.String("ccn-39lqkygf"),
    			CidrBlock:        pulumi.String("11.0.0.0/24"),
    			NetInterface:     pulumi.String("CCN"),
    			Protocol:         pulumi.String("TURBO"),
    			StorageType:      pulumi.String("TP"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CfsFileSystem("foo", new()
        {
            AccessGroupId = "pgroup-drwt29od",
            AvailabilityZone = "ap-guangzhou-6",
            Capacity = 10240,
            CcnId = "ccn-39lqkygf",
            CidrBlock = "11.0.0.0/24",
            NetInterface = "CCN",
            Protocol = "TURBO",
            StorageType = "TP",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CfsFileSystem;
    import com.pulumi.tencentcloud.CfsFileSystemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CfsFileSystem("foo", CfsFileSystemArgs.builder()
                .accessGroupId("pgroup-drwt29od")
                .availabilityZone("ap-guangzhou-6")
                .capacity(10240)
                .ccnId("ccn-39lqkygf")
                .cidrBlock("11.0.0.0/24")
                .netInterface("CCN")
                .protocol("TURBO")
                .storageType("TP")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CfsFileSystem
        properties:
          accessGroupId: pgroup-drwt29od
          availabilityZone: ap-guangzhou-6
          capacity: 10240
          ccnId: ccn-39lqkygf
          cidrBlock: 11.0.0.0/24
          netInterface: CCN
          protocol: TURBO
          storageType: TP
    

    Create CfsFileSystem Resource

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

    Constructor syntax

    new CfsFileSystem(name: string, args: CfsFileSystemArgs, opts?: CustomResourceOptions);
    @overload
    def CfsFileSystem(resource_name: str,
                      args: CfsFileSystemArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CfsFileSystem(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      access_group_id: Optional[str] = None,
                      availability_zone: Optional[str] = None,
                      capacity: Optional[float] = None,
                      ccn_id: Optional[str] = None,
                      cfs_file_system_id: Optional[str] = None,
                      cidr_block: Optional[str] = None,
                      mount_ip: Optional[str] = None,
                      name: Optional[str] = None,
                      net_interface: Optional[str] = None,
                      protocol: Optional[str] = None,
                      storage_type: Optional[str] = None,
                      subnet_id: Optional[str] = None,
                      tags: Optional[Mapping[str, str]] = None,
                      vpc_id: Optional[str] = None)
    func NewCfsFileSystem(ctx *Context, name string, args CfsFileSystemArgs, opts ...ResourceOption) (*CfsFileSystem, error)
    public CfsFileSystem(string name, CfsFileSystemArgs args, CustomResourceOptions? opts = null)
    public CfsFileSystem(String name, CfsFileSystemArgs args)
    public CfsFileSystem(String name, CfsFileSystemArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CfsFileSystem
    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 CfsFileSystemArgs
    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 CfsFileSystemArgs
    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 CfsFileSystemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CfsFileSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CfsFileSystemArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AccessGroupId string
    ID of a access group.
    AvailabilityZone string
    The available zone that the file system locates at.
    Capacity double
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    CcnId string
    CCN instance ID (required if the network type is CCN).
    CfsFileSystemId string
    ID of the resource.
    CidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    MountIp string
    IP of mount point.
    Name string
    Name of a file system.
    NetInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    Protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    StorageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    SubnetId string
    ID of a subnet.
    Tags Dictionary<string, string>
    Instance tags.
    VpcId string
    ID of a VPC network.
    AccessGroupId string
    ID of a access group.
    AvailabilityZone string
    The available zone that the file system locates at.
    Capacity float64
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    CcnId string
    CCN instance ID (required if the network type is CCN).
    CfsFileSystemId string
    ID of the resource.
    CidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    MountIp string
    IP of mount point.
    Name string
    Name of a file system.
    NetInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    Protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    StorageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    SubnetId string
    ID of a subnet.
    Tags map[string]string
    Instance tags.
    VpcId string
    ID of a VPC network.
    accessGroupId String
    ID of a access group.
    availabilityZone String
    The available zone that the file system locates at.
    capacity Double
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId String
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId String
    ID of the resource.
    cidrBlock String
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    mountIp String
    IP of mount point.
    name String
    Name of a file system.
    netInterface String
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol String
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType String
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId String
    ID of a subnet.
    tags Map<String,String>
    Instance tags.
    vpcId String
    ID of a VPC network.
    accessGroupId string
    ID of a access group.
    availabilityZone string
    The available zone that the file system locates at.
    capacity number
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId string
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId string
    ID of the resource.
    cidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    mountIp string
    IP of mount point.
    name string
    Name of a file system.
    netInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId string
    ID of a subnet.
    tags {[key: string]: string}
    Instance tags.
    vpcId string
    ID of a VPC network.
    access_group_id str
    ID of a access group.
    availability_zone str
    The available zone that the file system locates at.
    capacity float
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccn_id str
    CCN instance ID (required if the network type is CCN).
    cfs_file_system_id str
    ID of the resource.
    cidr_block str
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    mount_ip str
    IP of mount point.
    name str
    Name of a file system.
    net_interface str
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol str
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storage_type str
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnet_id str
    ID of a subnet.
    tags Mapping[str, str]
    Instance tags.
    vpc_id str
    ID of a VPC network.
    accessGroupId String
    ID of a access group.
    availabilityZone String
    The available zone that the file system locates at.
    capacity Number
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId String
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId String
    ID of the resource.
    cidrBlock String
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    mountIp String
    IP of mount point.
    name String
    Name of a file system.
    netInterface String
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol String
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType String
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId String
    ID of a subnet.
    tags Map<String>
    Instance tags.
    vpcId String
    ID of a VPC network.

    Outputs

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

    CreateTime string
    Create time of the file system.
    FsId string
    Mount root-directory.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    Create time of the file system.
    FsId string
    Mount root-directory.
    Id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    Create time of the file system.
    fsId String
    Mount root-directory.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime string
    Create time of the file system.
    fsId string
    Mount root-directory.
    id string
    The provider-assigned unique ID for this managed resource.
    create_time str
    Create time of the file system.
    fs_id str
    Mount root-directory.
    id str
    The provider-assigned unique ID for this managed resource.
    createTime String
    Create time of the file system.
    fsId String
    Mount root-directory.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CfsFileSystem Resource

    Get an existing CfsFileSystem 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?: CfsFileSystemState, opts?: CustomResourceOptions): CfsFileSystem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_group_id: Optional[str] = None,
            availability_zone: Optional[str] = None,
            capacity: Optional[float] = None,
            ccn_id: Optional[str] = None,
            cfs_file_system_id: Optional[str] = None,
            cidr_block: Optional[str] = None,
            create_time: Optional[str] = None,
            fs_id: Optional[str] = None,
            mount_ip: Optional[str] = None,
            name: Optional[str] = None,
            net_interface: Optional[str] = None,
            protocol: Optional[str] = None,
            storage_type: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vpc_id: Optional[str] = None) -> CfsFileSystem
    func GetCfsFileSystem(ctx *Context, name string, id IDInput, state *CfsFileSystemState, opts ...ResourceOption) (*CfsFileSystem, error)
    public static CfsFileSystem Get(string name, Input<string> id, CfsFileSystemState? state, CustomResourceOptions? opts = null)
    public static CfsFileSystem get(String name, Output<String> id, CfsFileSystemState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CfsFileSystem    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:
    AccessGroupId string
    ID of a access group.
    AvailabilityZone string
    The available zone that the file system locates at.
    Capacity double
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    CcnId string
    CCN instance ID (required if the network type is CCN).
    CfsFileSystemId string
    ID of the resource.
    CidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    CreateTime string
    Create time of the file system.
    FsId string
    Mount root-directory.
    MountIp string
    IP of mount point.
    Name string
    Name of a file system.
    NetInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    Protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    StorageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    SubnetId string
    ID of a subnet.
    Tags Dictionary<string, string>
    Instance tags.
    VpcId string
    ID of a VPC network.
    AccessGroupId string
    ID of a access group.
    AvailabilityZone string
    The available zone that the file system locates at.
    Capacity float64
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    CcnId string
    CCN instance ID (required if the network type is CCN).
    CfsFileSystemId string
    ID of the resource.
    CidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    CreateTime string
    Create time of the file system.
    FsId string
    Mount root-directory.
    MountIp string
    IP of mount point.
    Name string
    Name of a file system.
    NetInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    Protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    StorageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    SubnetId string
    ID of a subnet.
    Tags map[string]string
    Instance tags.
    VpcId string
    ID of a VPC network.
    accessGroupId String
    ID of a access group.
    availabilityZone String
    The available zone that the file system locates at.
    capacity Double
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId String
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId String
    ID of the resource.
    cidrBlock String
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    createTime String
    Create time of the file system.
    fsId String
    Mount root-directory.
    mountIp String
    IP of mount point.
    name String
    Name of a file system.
    netInterface String
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol String
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType String
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId String
    ID of a subnet.
    tags Map<String,String>
    Instance tags.
    vpcId String
    ID of a VPC network.
    accessGroupId string
    ID of a access group.
    availabilityZone string
    The available zone that the file system locates at.
    capacity number
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId string
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId string
    ID of the resource.
    cidrBlock string
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    createTime string
    Create time of the file system.
    fsId string
    Mount root-directory.
    mountIp string
    IP of mount point.
    name string
    Name of a file system.
    netInterface string
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol string
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType string
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId string
    ID of a subnet.
    tags {[key: string]: string}
    Instance tags.
    vpcId string
    ID of a VPC network.
    access_group_id str
    ID of a access group.
    availability_zone str
    The available zone that the file system locates at.
    capacity float
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccn_id str
    CCN instance ID (required if the network type is CCN).
    cfs_file_system_id str
    ID of the resource.
    cidr_block str
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    create_time str
    Create time of the file system.
    fs_id str
    Mount root-directory.
    mount_ip str
    IP of mount point.
    name str
    Name of a file system.
    net_interface str
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol str
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storage_type str
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnet_id str
    ID of a subnet.
    tags Mapping[str, str]
    Instance tags.
    vpc_id str
    ID of a VPC network.
    accessGroupId String
    ID of a access group.
    availabilityZone String
    The available zone that the file system locates at.
    capacity Number
    File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
    ccnId String
    CCN instance ID (required if the network type is CCN).
    cfsFileSystemId String
    ID of the resource.
    cidrBlock String
    CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
    createTime String
    Create time of the file system.
    fsId String
    Mount root-directory.
    mountIp String
    IP of mount point.
    name String
    Name of a file system.
    netInterface String
    Network type, Default VPC. Valid values: VPC and CCN. Select VPC for a Standard or High-Performance file system, and CCN for a Standard Turbo or High-Performance Turbo one.
    protocol String
    File system protocol. Valid values: NFS, CIFS, TURBO. If this parameter is left empty, NFS is used by default. For the Turbo series, you must set this parameter to TURBO.
    storageType String
    Storage type of the file system. Valid values: SD (Standard), HP (High-Performance), TB (Standard Turbo), and TP (High-Performance Turbo). Default value: SD.
    subnetId String
    ID of a subnet.
    tags Map<String>
    Instance tags.
    vpcId String
    ID of a VPC network.

    Import

    Cloud file system can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/cfsFileSystem:CfsFileSystem foo cfs-6hgquxmj
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack