1. Packages
  2. Volcengine
  3. API Docs
  4. cloudfs
  5. FileSystems
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.cloudfs.FileSystems

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    Use this data source to query detailed information of cloudfs file systems

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Cloudfs.FileSystems.Invoke(new()
        {
            FsName = "tftest2",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudfs.FileSystems(ctx, &cloudfs.FileSystemsArgs{
    			FsName: pulumi.StringRef("tftest2"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cloudfs.CloudfsFunctions;
    import com.pulumi.volcengine.cloudfs.inputs.FileSystemsArgs;
    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 default = CloudfsFunctions.FileSystems(FileSystemsArgs.builder()
                .fsName("tftest2")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.cloudfs.file_systems(fs_name="tftest2")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.cloudfs.FileSystems({
        fsName: "tftest2",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:cloudfs:FileSystems
          Arguments:
            fsName: tftest2
    

    Using FileSystems

    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 fileSystems(args: FileSystemsArgs, opts?: InvokeOptions): Promise<FileSystemsResult>
    function fileSystemsOutput(args: FileSystemsOutputArgs, opts?: InvokeOptions): Output<FileSystemsResult>
    def file_systems(fs_name: Optional[str] = None,
                     meta_status: Optional[str] = None,
                     name_regex: Optional[str] = None,
                     output_file: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> FileSystemsResult
    def file_systems_output(fs_name: Optional[pulumi.Input[str]] = None,
                     meta_status: Optional[pulumi.Input[str]] = None,
                     name_regex: Optional[pulumi.Input[str]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[FileSystemsResult]
    func FileSystems(ctx *Context, args *FileSystemsArgs, opts ...InvokeOption) (*FileSystemsResult, error)
    func FileSystemsOutput(ctx *Context, args *FileSystemsOutputArgs, opts ...InvokeOption) FileSystemsResultOutput
    public static class FileSystems 
    {
        public static Task<FileSystemsResult> InvokeAsync(FileSystemsArgs args, InvokeOptions? opts = null)
        public static Output<FileSystemsResult> Invoke(FileSystemsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<FileSystemsResult> fileSystems(FileSystemsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cloudfs:FileSystems
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FsName string
    The name of file system.
    MetaStatus string
    The status of file system.
    NameRegex string
    A Name Regex of cloudfs.
    OutputFile string
    File name where to save data source results.
    FsName string
    The name of file system.
    MetaStatus string
    The status of file system.
    NameRegex string
    A Name Regex of cloudfs.
    OutputFile string
    File name where to save data source results.
    fsName String
    The name of file system.
    metaStatus String
    The status of file system.
    nameRegex String
    A Name Regex of cloudfs.
    outputFile String
    File name where to save data source results.
    fsName string
    The name of file system.
    metaStatus string
    The status of file system.
    nameRegex string
    A Name Regex of cloudfs.
    outputFile string
    File name where to save data source results.
    fs_name str
    The name of file system.
    meta_status str
    The status of file system.
    name_regex str
    A Name Regex of cloudfs.
    output_file str
    File name where to save data source results.
    fsName String
    The name of file system.
    metaStatus String
    The status of file system.
    nameRegex String
    A Name Regex of cloudfs.
    outputFile String
    File name where to save data source results.

    FileSystems Result

    The following output properties are available:

    FileSystems List<FileSystemsFileSystem>
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    FsName string
    MetaStatus string
    NameRegex string
    OutputFile string
    FileSystems []FileSystemsFileSystem
    The collection of query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    FsName string
    MetaStatus string
    NameRegex string
    OutputFile string
    fileSystems List<FileSystemsFileSystem>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    fsName String
    metaStatus String
    nameRegex String
    outputFile String
    fileSystems FileSystemsFileSystem[]
    The collection of query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    fsName string
    metaStatus string
    nameRegex string
    outputFile string
    file_systems Sequence[FileSystemsFileSystem]
    The collection of query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    fs_name str
    meta_status str
    name_regex str
    output_file str
    fileSystems List<Property Map>
    The collection of query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    fsName String
    metaStatus String
    nameRegex String
    outputFile String

    Supporting Types

    FileSystemsFileSystem

    CacheCapacityTib int
    The capacity of cache.
    CachePlan string
    The plan of cache.
    CreatedTime string
    The creation time.
    Id string
    The ID of file system.
    Mode string
    The mode of file system.
    MountPoint string
    The point mount.
    Name string
    The name of file system.
    RegionId string
    The id of region.
    SecurityGroupId string
    The id of security group.
    Status string
    The status of file system.
    SubnetId string
    The id of subnet.
    TosBucket string
    The tos bucket.
    TosPrefix string
    The tos prefix.
    VpcId string
    The id of vpc.
    ZoneId string
    The id of zone.
    CacheCapacityTib int
    The capacity of cache.
    CachePlan string
    The plan of cache.
    CreatedTime string
    The creation time.
    Id string
    The ID of file system.
    Mode string
    The mode of file system.
    MountPoint string
    The point mount.
    Name string
    The name of file system.
    RegionId string
    The id of region.
    SecurityGroupId string
    The id of security group.
    Status string
    The status of file system.
    SubnetId string
    The id of subnet.
    TosBucket string
    The tos bucket.
    TosPrefix string
    The tos prefix.
    VpcId string
    The id of vpc.
    ZoneId string
    The id of zone.
    cacheCapacityTib Integer
    The capacity of cache.
    cachePlan String
    The plan of cache.
    createdTime String
    The creation time.
    id String
    The ID of file system.
    mode String
    The mode of file system.
    mountPoint String
    The point mount.
    name String
    The name of file system.
    regionId String
    The id of region.
    securityGroupId String
    The id of security group.
    status String
    The status of file system.
    subnetId String
    The id of subnet.
    tosBucket String
    The tos bucket.
    tosPrefix String
    The tos prefix.
    vpcId String
    The id of vpc.
    zoneId String
    The id of zone.
    cacheCapacityTib number
    The capacity of cache.
    cachePlan string
    The plan of cache.
    createdTime string
    The creation time.
    id string
    The ID of file system.
    mode string
    The mode of file system.
    mountPoint string
    The point mount.
    name string
    The name of file system.
    regionId string
    The id of region.
    securityGroupId string
    The id of security group.
    status string
    The status of file system.
    subnetId string
    The id of subnet.
    tosBucket string
    The tos bucket.
    tosPrefix string
    The tos prefix.
    vpcId string
    The id of vpc.
    zoneId string
    The id of zone.
    cache_capacity_tib int
    The capacity of cache.
    cache_plan str
    The plan of cache.
    created_time str
    The creation time.
    id str
    The ID of file system.
    mode str
    The mode of file system.
    mount_point str
    The point mount.
    name str
    The name of file system.
    region_id str
    The id of region.
    security_group_id str
    The id of security group.
    status str
    The status of file system.
    subnet_id str
    The id of subnet.
    tos_bucket str
    The tos bucket.
    tos_prefix str
    The tos prefix.
    vpc_id str
    The id of vpc.
    zone_id str
    The id of zone.
    cacheCapacityTib Number
    The capacity of cache.
    cachePlan String
    The plan of cache.
    createdTime String
    The creation time.
    id String
    The ID of file system.
    mode String
    The mode of file system.
    mountPoint String
    The point mount.
    name String
    The name of file system.
    regionId String
    The id of region.
    securityGroupId String
    The id of security group.
    status String
    The status of file system.
    subnetId String
    The id of subnet.
    tosBucket String
    The tos bucket.
    tosPrefix String
    The tos prefix.
    vpcId String
    The id of vpc.
    zoneId String
    The id of zone.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine