tencentcloud.CfsFileSystem
Explore with Pulumi AI
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:
- Access
Group stringId - ID of a access group.
- Availability
Zone 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).
- Ccn
Id string - CCN instance ID (required if the network type is CCN).
- Cfs
File stringSystem Id - ID of the resource.
- Cidr
Block 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.
- Mount
Ip string - IP of mount point.
- Name string
- Name of a file system.
- Net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - Storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - Subnet
Id string - ID of a subnet.
- Dictionary<string, string>
- Instance tags.
- Vpc
Id string - ID of a VPC network.
- Access
Group stringId - ID of a access group.
- Availability
Zone 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).
- Ccn
Id string - CCN instance ID (required if the network type is CCN).
- Cfs
File stringSystem Id - ID of the resource.
- Cidr
Block 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.
- Mount
Ip string - IP of mount point.
- Name string
- Name of a file system.
- Net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - Storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - Subnet
Id string - ID of a subnet.
- map[string]string
- Instance tags.
- Vpc
Id string - ID of a VPC network.
- access
Group StringId - ID of a access group.
- availability
Zone 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).
- ccn
Id String - CCN instance ID (required if the network type is CCN).
- cfs
File StringSystem Id - ID of the resource.
- cidr
Block 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.
- mount
Ip String - IP of mount point.
- name String
- Name of a file system.
- net
Interface String - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type String - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id String - ID of a subnet.
- Map<String,String>
- Instance tags.
- vpc
Id String - ID of a VPC network.
- access
Group stringId - ID of a access group.
- availability
Zone 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).
- ccn
Id string - CCN instance ID (required if the network type is CCN).
- cfs
File stringSystem Id - ID of the resource.
- cidr
Block 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.
- mount
Ip string - IP of mount point.
- name string
- Name of a file system.
- net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id string - ID of a subnet.
- {[key: string]: string}
- Instance tags.
- vpc
Id string - ID of a VPC network.
- access_
group_ strid - 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_ strsystem_ id - 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
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage_
type str - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet_
id str - ID of a subnet.
- Mapping[str, str]
- Instance tags.
- vpc_
id str - ID of a VPC network.
- access
Group StringId - ID of a access group.
- availability
Zone 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).
- ccn
Id String - CCN instance ID (required if the network type is CCN).
- cfs
File StringSystem Id - ID of the resource.
- cidr
Block 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.
- mount
Ip String - IP of mount point.
- name String
- Name of a file system.
- net
Interface String - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type String - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id String - ID of a subnet.
- Map<String>
- Instance tags.
- vpc
Id 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:
- Create
Time string - Create time of the file system.
- Fs
Id string - Mount root-directory.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - Create time of the file system.
- Fs
Id string - Mount root-directory.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - Create time of the file system.
- fs
Id String - Mount root-directory.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time string - Create time of the file system.
- fs
Id 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.
- create
Time String - Create time of the file system.
- fs
Id 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.
- Access
Group stringId - ID of a access group.
- Availability
Zone 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).
- Ccn
Id string - CCN instance ID (required if the network type is CCN).
- Cfs
File stringSystem Id - ID of the resource.
- Cidr
Block 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.
- Create
Time string - Create time of the file system.
- Fs
Id string - Mount root-directory.
- Mount
Ip string - IP of mount point.
- Name string
- Name of a file system.
- Net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - Storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - Subnet
Id string - ID of a subnet.
- Dictionary<string, string>
- Instance tags.
- Vpc
Id string - ID of a VPC network.
- Access
Group stringId - ID of a access group.
- Availability
Zone 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).
- Ccn
Id string - CCN instance ID (required if the network type is CCN).
- Cfs
File stringSystem Id - ID of the resource.
- Cidr
Block 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.
- Create
Time string - Create time of the file system.
- Fs
Id string - Mount root-directory.
- Mount
Ip string - IP of mount point.
- Name string
- Name of a file system.
- Net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - Storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - Subnet
Id string - ID of a subnet.
- map[string]string
- Instance tags.
- Vpc
Id string - ID of a VPC network.
- access
Group StringId - ID of a access group.
- availability
Zone 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).
- ccn
Id String - CCN instance ID (required if the network type is CCN).
- cfs
File StringSystem Id - ID of the resource.
- cidr
Block 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.
- create
Time String - Create time of the file system.
- fs
Id String - Mount root-directory.
- mount
Ip String - IP of mount point.
- name String
- Name of a file system.
- net
Interface String - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type String - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id String - ID of a subnet.
- Map<String,String>
- Instance tags.
- vpc
Id String - ID of a VPC network.
- access
Group stringId - ID of a access group.
- availability
Zone 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).
- ccn
Id string - CCN instance ID (required if the network type is CCN).
- cfs
File stringSystem Id - ID of the resource.
- cidr
Block 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.
- create
Time string - Create time of the file system.
- fs
Id string - Mount root-directory.
- mount
Ip string - IP of mount point.
- name string
- Name of a file system.
- net
Interface string - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type string - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id string - ID of a subnet.
- {[key: string]: string}
- Instance tags.
- vpc
Id string - ID of a VPC network.
- access_
group_ strid - 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_ strsystem_ id - 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
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage_
type str - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet_
id str - ID of a subnet.
- Mapping[str, str]
- Instance tags.
- vpc_
id str - ID of a VPC network.
- access
Group StringId - ID of a access group.
- availability
Zone 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).
- ccn
Id String - CCN instance ID (required if the network type is CCN).
- cfs
File StringSystem Id - ID of the resource.
- cidr
Block 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.
- create
Time String - Create time of the file system.
- fs
Id String - Mount root-directory.
- mount
Ip String - IP of mount point.
- name String
- Name of a file system.
- net
Interface String - Network type, Default
VPC
. Valid values:VPC
andCCN
. SelectVPC
for a Standard or High-Performance file system, andCCN
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 toTURBO
. - storage
Type String - Storage type of the file system. Valid values:
SD
(Standard),HP
(High-Performance),TB
(Standard Turbo), andTP
(High-Performance Turbo). Default value:SD
. - subnet
Id String - ID of a subnet.
- Map<String>
- Instance tags.
- vpc
Id 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.