tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCfsMountTargets
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of cfs mount_targets
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mountTargets = tencentcloud.getCfsMountTargets({
    fileSystemId: "cfs-iobiaxtj",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
mount_targets = tencentcloud.get_cfs_mount_targets(file_system_id="cfs-iobiaxtj")
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.GetCfsMountTargets(ctx, &tencentcloud.GetCfsMountTargetsArgs{
			FileSystemId: "cfs-iobiaxtj",
		}, 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 mountTargets = Tencentcloud.GetCfsMountTargets.Invoke(new()
    {
        FileSystemId = "cfs-iobiaxtj",
    });
});
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.GetCfsMountTargetsArgs;
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 mountTargets = TencentcloudFunctions.getCfsMountTargets(GetCfsMountTargetsArgs.builder()
            .fileSystemId("cfs-iobiaxtj")
            .build());
    }
}
variables:
  mountTargets:
    fn::invoke:
      function: tencentcloud:getCfsMountTargets
      arguments:
        fileSystemId: cfs-iobiaxtj
Using getCfsMountTargets
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 getCfsMountTargets(args: GetCfsMountTargetsArgs, opts?: InvokeOptions): Promise<GetCfsMountTargetsResult>
function getCfsMountTargetsOutput(args: GetCfsMountTargetsOutputArgs, opts?: InvokeOptions): Output<GetCfsMountTargetsResult>def get_cfs_mount_targets(file_system_id: Optional[str] = None,
                          id: Optional[str] = None,
                          result_output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCfsMountTargetsResult
def get_cfs_mount_targets_output(file_system_id: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          result_output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCfsMountTargetsResult]func GetCfsMountTargets(ctx *Context, args *GetCfsMountTargetsArgs, opts ...InvokeOption) (*GetCfsMountTargetsResult, error)
func GetCfsMountTargetsOutput(ctx *Context, args *GetCfsMountTargetsOutputArgs, opts ...InvokeOption) GetCfsMountTargetsResultOutput> Note: This function is named GetCfsMountTargets in the Go SDK.
public static class GetCfsMountTargets 
{
    public static Task<GetCfsMountTargetsResult> InvokeAsync(GetCfsMountTargetsArgs args, InvokeOptions? opts = null)
    public static Output<GetCfsMountTargetsResult> Invoke(GetCfsMountTargetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCfsMountTargetsResult> getCfsMountTargets(GetCfsMountTargetsArgs args, InvokeOptions options)
public static Output<GetCfsMountTargetsResult> getCfsMountTargets(GetCfsMountTargetsArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getCfsMountTargets:getCfsMountTargets
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FileSystem stringId 
- File system ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- FileSystem stringId 
- File system ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- fileSystem StringId 
- File system ID.
- id String
- resultOutput StringFile 
- Used to save results.
- fileSystem stringId 
- File system ID.
- id string
- resultOutput stringFile 
- Used to save results.
- file_system_ strid 
- File system ID.
- id str
- result_output_ strfile 
- Used to save results.
- fileSystem StringId 
- File system ID.
- id String
- resultOutput StringFile 
- Used to save results.
getCfsMountTargets Result
The following output properties are available:
- FileSystem stringId 
- File system ID.
- Id string
- MountTargets List<GetCfs Mount Targets Mount Target> 
- Mount target details.
- ResultOutput stringFile 
- FileSystem stringId 
- File system ID.
- Id string
- MountTargets []GetCfs Mount Targets Mount Target 
- Mount target details.
- ResultOutput stringFile 
- fileSystem StringId 
- File system ID.
- id String
- mountTargets List<GetCfs Mount Targets Mount Target> 
- Mount target details.
- resultOutput StringFile 
- fileSystem stringId 
- File system ID.
- id string
- mountTargets GetCfs Mount Targets Mount Target[] 
- Mount target details.
- resultOutput stringFile 
- file_system_ strid 
- File system ID.
- id str
- mount_targets Sequence[GetCfs Mount Targets Mount Target] 
- Mount target details.
- result_output_ strfile 
- fileSystem StringId 
- File system ID.
- id String
- mountTargets List<Property Map>
- Mount target details.
- resultOutput StringFile 
Supporting Types
GetCfsMountTargetsMountTarget     
- CcnId string
- CCN instance ID used by CFS Turbo.
- CidrBlock string
- CCN IP range used by CFS Turbo.
- FileSystem stringId 
- File system ID.
- FsId string
- Mount root-directory.
- IpAddress string
- Mount target IP.
- LifeCycle stringState 
- Mount target status.
- MountTarget stringId 
- Mount target ID.
- NetworkInterface string
- Network type.
- SubnetId string
- Subnet ID.
- SubnetName string
- Subnet name.
- VpcId string
- VPC ID.
- VpcName string
- VPC name.
- CcnId string
- CCN instance ID used by CFS Turbo.
- CidrBlock string
- CCN IP range used by CFS Turbo.
- FileSystem stringId 
- File system ID.
- FsId string
- Mount root-directory.
- IpAddress string
- Mount target IP.
- LifeCycle stringState 
- Mount target status.
- MountTarget stringId 
- Mount target ID.
- NetworkInterface string
- Network type.
- SubnetId string
- Subnet ID.
- SubnetName string
- Subnet name.
- VpcId string
- VPC ID.
- VpcName string
- VPC name.
- ccnId String
- CCN instance ID used by CFS Turbo.
- cidrBlock String
- CCN IP range used by CFS Turbo.
- fileSystem StringId 
- File system ID.
- fsId String
- Mount root-directory.
- ipAddress String
- Mount target IP.
- lifeCycle StringState 
- Mount target status.
- mountTarget StringId 
- Mount target ID.
- networkInterface String
- Network type.
- subnetId String
- Subnet ID.
- subnetName String
- Subnet name.
- vpcId String
- VPC ID.
- vpcName String
- VPC name.
- ccnId string
- CCN instance ID used by CFS Turbo.
- cidrBlock string
- CCN IP range used by CFS Turbo.
- fileSystem stringId 
- File system ID.
- fsId string
- Mount root-directory.
- ipAddress string
- Mount target IP.
- lifeCycle stringState 
- Mount target status.
- mountTarget stringId 
- Mount target ID.
- networkInterface string
- Network type.
- subnetId string
- Subnet ID.
- subnetName string
- Subnet name.
- vpcId string
- VPC ID.
- vpcName string
- VPC name.
- ccn_id str
- CCN instance ID used by CFS Turbo.
- cidr_block str
- CCN IP range used by CFS Turbo.
- file_system_ strid 
- File system ID.
- fs_id str
- Mount root-directory.
- ip_address str
- Mount target IP.
- life_cycle_ strstate 
- Mount target status.
- mount_target_ strid 
- Mount target ID.
- network_interface str
- Network type.
- subnet_id str
- Subnet ID.
- subnet_name str
- Subnet name.
- vpc_id str
- VPC ID.
- vpc_name str
- VPC name.
- ccnId String
- CCN instance ID used by CFS Turbo.
- cidrBlock String
- CCN IP range used by CFS Turbo.
- fileSystem StringId 
- File system ID.
- fsId String
- Mount root-directory.
- ipAddress String
- Mount target IP.
- lifeCycle StringState 
- Mount target status.
- mountTarget StringId 
- Mount target ID.
- networkInterface String
- Network type.
- subnetId String
- Subnet ID.
- subnetName String
- Subnet name.
- vpcId String
- VPC ID.
- vpcName String
- VPC name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack