tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCfsFileSystems
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query the detail information of cloud file systems(CFS).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const fileSystems = tencentcloud.getCfsFileSystems({
availabilityZone: "ap-guangzhou-3",
fileSystemId: "cfs-6hgquxmj",
name: "test",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
file_systems = tencentcloud.get_cfs_file_systems(availability_zone="ap-guangzhou-3",
file_system_id="cfs-6hgquxmj",
name="test")
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.GetCfsFileSystems(ctx, &tencentcloud.GetCfsFileSystemsArgs{
AvailabilityZone: pulumi.StringRef("ap-guangzhou-3"),
FileSystemId: pulumi.StringRef("cfs-6hgquxmj"),
Name: pulumi.StringRef("test"),
}, nil)
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 fileSystems = Tencentcloud.GetCfsFileSystems.Invoke(new()
{
AvailabilityZone = "ap-guangzhou-3",
FileSystemId = "cfs-6hgquxmj",
Name = "test",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCfsFileSystemsArgs;
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 fileSystems = TencentcloudFunctions.getCfsFileSystems(GetCfsFileSystemsArgs.builder()
.availabilityZone("ap-guangzhou-3")
.fileSystemId("cfs-6hgquxmj")
.name("test")
.build());
}
}
variables:
fileSystems:
fn::invoke:
function: tencentcloud:getCfsFileSystems
arguments:
availabilityZone: ap-guangzhou-3
fileSystemId: cfs-6hgquxmj
name: test
Using getCfsFileSystems
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCfsFileSystems(args: GetCfsFileSystemsArgs, opts?: InvokeOptions): Promise<GetCfsFileSystemsResult>
function getCfsFileSystemsOutput(args: GetCfsFileSystemsOutputArgs, opts?: InvokeOptions): Output<GetCfsFileSystemsResult>
def get_cfs_file_systems(availability_zone: Optional[str] = None,
file_system_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
subnet_id: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCfsFileSystemsResult
def get_cfs_file_systems_output(availability_zone: Optional[pulumi.Input[str]] = None,
file_system_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
subnet_id: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCfsFileSystemsResult]
func GetCfsFileSystems(ctx *Context, args *GetCfsFileSystemsArgs, opts ...InvokeOption) (*GetCfsFileSystemsResult, error)
func GetCfsFileSystemsOutput(ctx *Context, args *GetCfsFileSystemsOutputArgs, opts ...InvokeOption) GetCfsFileSystemsResultOutput
> Note: This function is named GetCfsFileSystems
in the Go SDK.
public static class GetCfsFileSystems
{
public static Task<GetCfsFileSystemsResult> InvokeAsync(GetCfsFileSystemsArgs args, InvokeOptions? opts = null)
public static Output<GetCfsFileSystemsResult> Invoke(GetCfsFileSystemsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCfsFileSystemsResult> getCfsFileSystems(GetCfsFileSystemsArgs args, InvokeOptions options)
public static Output<GetCfsFileSystemsResult> getCfsFileSystems(GetCfsFileSystemsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCfsFileSystems:getCfsFileSystems
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - The available zone that the file system locates at.
- File
System stringId - A specified file system ID used to query.
- Id string
- Name string
- A file system name used to query.
- Result
Output stringFile - Used to save results.
- Subnet
Id string - ID of a vpc subnet.
- Vpc
Id string - ID of the vpc to be queried.
- Availability
Zone string - The available zone that the file system locates at.
- File
System stringId - A specified file system ID used to query.
- Id string
- Name string
- A file system name used to query.
- Result
Output stringFile - Used to save results.
- Subnet
Id string - ID of a vpc subnet.
- Vpc
Id string - ID of the vpc to be queried.
- availability
Zone String - The available zone that the file system locates at.
- file
System StringId - A specified file system ID used to query.
- id String
- name String
- A file system name used to query.
- result
Output StringFile - Used to save results.
- subnet
Id String - ID of a vpc subnet.
- vpc
Id String - ID of the vpc to be queried.
- availability
Zone string - The available zone that the file system locates at.
- file
System stringId - A specified file system ID used to query.
- id string
- name string
- A file system name used to query.
- result
Output stringFile - Used to save results.
- subnet
Id string - ID of a vpc subnet.
- vpc
Id string - ID of the vpc to be queried.
- availability_
zone str - The available zone that the file system locates at.
- file_
system_ strid - A specified file system ID used to query.
- id str
- name str
- A file system name used to query.
- result_
output_ strfile - Used to save results.
- subnet_
id str - ID of a vpc subnet.
- vpc_
id str - ID of the vpc to be queried.
- availability
Zone String - The available zone that the file system locates at.
- file
System StringId - A specified file system ID used to query.
- id String
- name String
- A file system name used to query.
- result
Output StringFile - Used to save results.
- subnet
Id String - ID of a vpc subnet.
- vpc
Id String - ID of the vpc to be queried.
getCfsFileSystems Result
The following output properties are available:
- File
System List<GetLists Cfs File Systems File System List> - An information list of cloud file system. Each element contains the following attributes:
- Id string
- Availability
Zone string - The available zone that the file system locates at.
- File
System stringId - ID of the file system.
- Name string
- Name of the file system.
- Result
Output stringFile - Subnet
Id string - Vpc
Id string
- File
System []GetLists Cfs File Systems File System List - An information list of cloud file system. Each element contains the following attributes:
- Id string
- Availability
Zone string - The available zone that the file system locates at.
- File
System stringId - ID of the file system.
- Name string
- Name of the file system.
- Result
Output stringFile - Subnet
Id string - Vpc
Id string
- file
System List<GetLists Cfs File Systems File System List> - An information list of cloud file system. Each element contains the following attributes:
- id String
- availability
Zone String - The available zone that the file system locates at.
- file
System StringId - ID of the file system.
- name String
- Name of the file system.
- result
Output StringFile - subnet
Id String - vpc
Id String
- file
System GetLists Cfs File Systems File System List[] - An information list of cloud file system. Each element contains the following attributes:
- id string
- availability
Zone string - The available zone that the file system locates at.
- file
System stringId - ID of the file system.
- name string
- Name of the file system.
- result
Output stringFile - subnet
Id string - vpc
Id string
- file_
system_ Sequence[Getlists Cfs File Systems File System List] - An information list of cloud file system. Each element contains the following attributes:
- id str
- availability_
zone str - The available zone that the file system locates at.
- file_
system_ strid - ID of the file system.
- name str
- Name of the file system.
- result_
output_ strfile - subnet_
id str - vpc_
id str
- file
System List<Property Map>Lists - An information list of cloud file system. Each element contains the following attributes:
- id String
- availability
Zone String - The available zone that the file system locates at.
- file
System StringId - ID of the file system.
- name String
- Name of the file system.
- result
Output StringFile - subnet
Id String - vpc
Id String
Supporting Types
GetCfsFileSystemsFileSystemList
- Access
Group stringId - ID of the access group.
- Availability
Zone string - The available zone that the file system locates at.
- Create
Time string - Creation time of the file system.
- File
System stringId - A specified file system ID used to query.
- Fs
Id string - Mount root-directory.
- Mount
Ip string - IP of the file system.
- Name string
- A file system name used to query.
- Protocol string
- Protocol of the file system.
- Size
Limit double - Size limit of the file system.
- Size
Used double - Size used of the file system.
- Status string
- Status of the file system.
- Storage
Type string - Storage type of the file system.
- Access
Group stringId - ID of the access group.
- Availability
Zone string - The available zone that the file system locates at.
- Create
Time string - Creation time of the file system.
- File
System stringId - A specified file system ID used to query.
- Fs
Id string - Mount root-directory.
- Mount
Ip string - IP of the file system.
- Name string
- A file system name used to query.
- Protocol string
- Protocol of the file system.
- Size
Limit float64 - Size limit of the file system.
- Size
Used float64 - Size used of the file system.
- Status string
- Status of the file system.
- Storage
Type string - Storage type of the file system.
- access
Group StringId - ID of the access group.
- availability
Zone String - The available zone that the file system locates at.
- create
Time String - Creation time of the file system.
- file
System StringId - A specified file system ID used to query.
- fs
Id String - Mount root-directory.
- mount
Ip String - IP of the file system.
- name String
- A file system name used to query.
- protocol String
- Protocol of the file system.
- size
Limit Double - Size limit of the file system.
- size
Used Double - Size used of the file system.
- status String
- Status of the file system.
- storage
Type String - Storage type of the file system.
- access
Group stringId - ID of the access group.
- availability
Zone string - The available zone that the file system locates at.
- create
Time string - Creation time of the file system.
- file
System stringId - A specified file system ID used to query.
- fs
Id string - Mount root-directory.
- mount
Ip string - IP of the file system.
- name string
- A file system name used to query.
- protocol string
- Protocol of the file system.
- size
Limit number - Size limit of the file system.
- size
Used number - Size used of the file system.
- status string
- Status of the file system.
- storage
Type string - Storage type of the file system.
- access_
group_ strid - ID of the access group.
- availability_
zone str - The available zone that the file system locates at.
- create_
time str - Creation time of the file system.
- file_
system_ strid - A specified file system ID used to query.
- fs_
id str - Mount root-directory.
- mount_
ip str - IP of the file system.
- name str
- A file system name used to query.
- protocol str
- Protocol of the file system.
- size_
limit float - Size limit of the file system.
- size_
used float - Size used of the file system.
- status str
- Status of the file system.
- storage_
type str - Storage type of the file system.
- access
Group StringId - ID of the access group.
- availability
Zone String - The available zone that the file system locates at.
- create
Time String - Creation time of the file system.
- file
System StringId - A specified file system ID used to query.
- fs
Id String - Mount root-directory.
- mount
Ip String - IP of the file system.
- name String
- A file system name used to query.
- protocol String
- Protocol of the file system.
- size
Limit Number - Size limit of the file system.
- size
Used Number - Size used of the file system.
- status String
- Status of the file system.
- storage
Type String - Storage type of the file system.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack