Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vepfs.FileSystems
Explore with Pulumi AI
Use this data source to query detailed information of vepfs file systems
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: "cn-beijing-a",
    vpcId: fooVpc.id,
});
const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
    fileSystemName: "acc-test-file-system",
    subnetId: fooSubnet.id,
    storeType: "Advance_100",
    description: "tf-test",
    capacity: 12,
    project: "default",
    enableRestripe: false,
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
const fooFileSystems = volcengine.vepfs.FileSystemsOutput({
    ids: [fooFileSystem.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id="cn-beijing-a",
    vpc_id=foo_vpc.id)
foo_file_system = volcengine.vepfs.FileSystem("fooFileSystem",
    file_system_name="acc-test-file-system",
    subnet_id=foo_subnet.id,
    store_type="Advance_100",
    description="tf-test",
    capacity=12,
    project="default",
    enable_restripe=False,
    tags=[volcengine.vepfs.FileSystemTagArgs(
        key="k1",
        value="v1",
    )])
foo_file_systems = volcengine.vepfs.file_systems_output(ids=[foo_file_system.id])
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vepfs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijing-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooFileSystem, err := vepfs.NewFileSystem(ctx, "fooFileSystem", &vepfs.FileSystemArgs{
			FileSystemName: pulumi.String("acc-test-file-system"),
			SubnetId:       fooSubnet.ID(),
			StoreType:      pulumi.String("Advance_100"),
			Description:    pulumi.String("tf-test"),
			Capacity:       pulumi.Int(12),
			Project:        pulumi.String("default"),
			EnableRestripe: pulumi.Bool(false),
			Tags: vepfs.FileSystemTagArray{
				&vepfs.FileSystemTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		_ = vepfs.FileSystemsOutput(ctx, vepfs.FileSystemsOutputArgs{
			Ids: pulumi.StringArray{
				fooFileSystem.ID(),
			},
		}, nil)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = "cn-beijing-a",
        VpcId = fooVpc.Id,
    });
    var fooFileSystem = new Volcengine.Vepfs.FileSystem("fooFileSystem", new()
    {
        FileSystemName = "acc-test-file-system",
        SubnetId = fooSubnet.Id,
        StoreType = "Advance_100",
        Description = "tf-test",
        Capacity = 12,
        Project = "default",
        EnableRestripe = false,
        Tags = new[]
        {
            new Volcengine.Vepfs.Inputs.FileSystemTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });
    var fooFileSystems = Volcengine.Vepfs.FileSystems.Invoke(new()
    {
        Ids = new[]
        {
            fooFileSystem.Id,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vepfs.FileSystem;
import com.pulumi.volcengine.vepfs.FileSystemArgs;
import com.pulumi.volcengine.vepfs.inputs.FileSystemTagArgs;
import com.pulumi.volcengine.vepfs.VepfsFunctions;
import com.pulumi.volcengine.vepfs.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) {
        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId("cn-beijing-a")
            .vpcId(fooVpc.id())
            .build());
        var fooFileSystem = new FileSystem("fooFileSystem", FileSystemArgs.builder()        
            .fileSystemName("acc-test-file-system")
            .subnetId(fooSubnet.id())
            .storeType("Advance_100")
            .description("tf-test")
            .capacity(12)
            .project("default")
            .enableRestripe(false)
            .tags(FileSystemTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());
        final var fooFileSystems = VepfsFunctions.FileSystems(FileSystemsArgs.builder()
            .ids(fooFileSystem.id())
            .build());
    }
}
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: cn-beijing-a
      vpcId: ${fooVpc.id}
  fooFileSystem:
    type: volcengine:vepfs:FileSystem
    properties:
      fileSystemName: acc-test-file-system
      subnetId: ${fooSubnet.id}
      storeType: Advance_100
      description: tf-test
      capacity: 12
      project: default
      enableRestripe: false
      tags:
        - key: k1
          value: v1
variables:
  fooFileSystems:
    fn::invoke:
      Function: volcengine:vepfs:FileSystems
      Arguments:
        ids:
          - ${fooFileSystem.id}
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(file_system_name: Optional[str] = None,
                 ids: Optional[Sequence[str]] = None,
                 name_regex: Optional[str] = None,
                 output_file: Optional[str] = None,
                 project: Optional[str] = None,
                 statuses: Optional[Sequence[str]] = None,
                 store_type: Optional[str] = None,
                 zone_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> FileSystemsResult
def file_systems_output(file_system_name: Optional[pulumi.Input[str]] = None,
                 ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 name_regex: Optional[pulumi.Input[str]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 store_type: Optional[pulumi.Input[str]] = None,
                 zone_id: 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) FileSystemsResultOutputpublic 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)
public static Output<FileSystemsResult> fileSystems(FileSystemsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vepfs:FileSystems
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- Ids List<string>
- A list of Vepfs File System IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- Project string
- The project of Vepfs File System.
- Statuses List<string>
- The query status list of Vepfs File System.
- StoreType string
- The Store Type of Vepfs File System.
- ZoneId string
- The zone id of File System.
- FileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- Ids []string
- A list of Vepfs File System IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- Project string
- The project of Vepfs File System.
- Statuses []string
- The query status list of Vepfs File System.
- StoreType string
- The Store Type of Vepfs File System.
- ZoneId string
- The zone id of File System.
- fileSystem StringName 
- The Name of Vepfs File System. This field support fuzzy query.
- ids List<String>
- A list of Vepfs File System IDs.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- project String
- The project of Vepfs File System.
- statuses List<String>
- The query status list of Vepfs File System.
- storeType String
- The Store Type of Vepfs File System.
- zoneId String
- The zone id of File System.
- fileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- ids string[]
- A list of Vepfs File System IDs.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- project string
- The project of Vepfs File System.
- statuses string[]
- The query status list of Vepfs File System.
- storeType string
- The Store Type of Vepfs File System.
- zoneId string
- The zone id of File System.
- file_system_ strname 
- The Name of Vepfs File System. This field support fuzzy query.
- ids Sequence[str]
- A list of Vepfs File System IDs.
- name_regex str
- A Name Regex of Resource.
- output_file str
- File name where to save data source results.
- project str
- The project of Vepfs File System.
- statuses Sequence[str]
- The query status list of Vepfs File System.
- store_type str
- The Store Type of Vepfs File System.
- zone_id str
- The zone id of File System.
- fileSystem StringName 
- The Name of Vepfs File System. This field support fuzzy query.
- ids List<String>
- A list of Vepfs File System IDs.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- project String
- The project of Vepfs File System.
- statuses List<String>
- The query status list of Vepfs File System.
- storeType String
- The Store Type of Vepfs File System.
- zoneId String
- The zone id of File System.
FileSystems Result
The following output properties are available:
- FileSystems List<FileSystems File System> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- FileSystem stringName 
- The name of the vepfs file system.
- Ids List<string>
- NameRegex string
- OutputFile string
- Project string
- The project name of the vepfs file system.
- Statuses List<string>
- The status of the vepfs file system.
- StoreType string
- The store type of the vepfs file system.
- ZoneId string
- The id of the zone.
- FileSystems []FileSystems File System 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- FileSystem stringName 
- The name of the vepfs file system.
- Ids []string
- NameRegex string
- OutputFile string
- Project string
- The project name of the vepfs file system.
- Statuses []string
- The status of the vepfs file system.
- StoreType string
- The store type of the vepfs file system.
- ZoneId string
- The id of the zone.
- fileSystems List<FileSystems File System> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- fileSystem StringName 
- The name of the vepfs file system.
- ids List<String>
- nameRegex String
- outputFile String
- project String
- The project name of the vepfs file system.
- statuses List<String>
- The status of the vepfs file system.
- storeType String
- The store type of the vepfs file system.
- zoneId String
- The id of the zone.
- fileSystems FileSystems File System[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- fileSystem stringName 
- The name of the vepfs file system.
- ids string[]
- nameRegex string
- outputFile string
- project string
- The project name of the vepfs file system.
- statuses string[]
- The status of the vepfs file system.
- storeType string
- The store type of the vepfs file system.
- zoneId string
- The id of the zone.
- file_systems Sequence[FileSystems File System] 
- The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_count int
- The total count of query.
- file_system_ strname 
- The name of the vepfs file system.
- ids Sequence[str]
- name_regex str
- output_file str
- project str
- The project name of the vepfs file system.
- statuses Sequence[str]
- The status of the vepfs file system.
- store_type str
- The store type of the vepfs file system.
- zone_id str
- The id of the zone.
- 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.
- fileSystem StringName 
- The name of the vepfs file system.
- ids List<String>
- nameRegex String
- outputFile String
- project String
- The project name of the vepfs file system.
- statuses List<String>
- The status of the vepfs file system.
- storeType String
- The store type of the vepfs file system.
- zoneId String
- The id of the zone.
Supporting Types
FileSystemsFileSystem   
- AccountId string
- The id of the account.
- Bandwidth int
- The bandwidth info of the vepfs file system.
- CapacityInfo FileSystems File System Capacity Info 
- The capacity info of the vepfs file system.
- ChargeStatus string
- The charge status of the vepfs file system.
- ChargeType string
- The charge type of the vepfs file system.
- CreateTime string
- The create time of the vepfs file system.
- Description string
- The description of the vepfs file system.
- ExpireTime string
- The expire time of the vepfs file system.
- FileSystem stringId 
- The id of the vepfs file system.
- FileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- FileSystem stringType 
- The type of the vepfs file system.
- FreeTime string
- The free time of the vepfs file system.
- Id string
- The id of the vepfs file system.
- LastModify stringTime 
- The last modify time of the vepfs file system.
- Project string
- The project of Vepfs File System.
- ProtocolType string
- The protocol type of the vepfs file system.
- RegionId string
- The id of the region.
- Status string
- The query status list of Vepfs File System.
- StopService stringTime 
- The stop service time of the vepfs file system.
- StoreType string
- The Store Type of Vepfs File System.
- StoreType stringCn 
- The store type cn name of the vepfs file system.
- 
List<FileSystems File System Tag> 
- The tags of the vepfs file system.
- Version string
- The version info of the vepfs file system.
- ZoneId string
- The zone id of File System.
- ZoneName string
- The name of the zone.
- AccountId string
- The id of the account.
- Bandwidth int
- The bandwidth info of the vepfs file system.
- CapacityInfo FileSystems File System Capacity Info 
- The capacity info of the vepfs file system.
- ChargeStatus string
- The charge status of the vepfs file system.
- ChargeType string
- The charge type of the vepfs file system.
- CreateTime string
- The create time of the vepfs file system.
- Description string
- The description of the vepfs file system.
- ExpireTime string
- The expire time of the vepfs file system.
- FileSystem stringId 
- The id of the vepfs file system.
- FileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- FileSystem stringType 
- The type of the vepfs file system.
- FreeTime string
- The free time of the vepfs file system.
- Id string
- The id of the vepfs file system.
- LastModify stringTime 
- The last modify time of the vepfs file system.
- Project string
- The project of Vepfs File System.
- ProtocolType string
- The protocol type of the vepfs file system.
- RegionId string
- The id of the region.
- Status string
- The query status list of Vepfs File System.
- StopService stringTime 
- The stop service time of the vepfs file system.
- StoreType string
- The Store Type of Vepfs File System.
- StoreType stringCn 
- The store type cn name of the vepfs file system.
- 
[]FileSystems File System Tag 
- The tags of the vepfs file system.
- Version string
- The version info of the vepfs file system.
- ZoneId string
- The zone id of File System.
- ZoneName string
- The name of the zone.
- accountId String
- The id of the account.
- bandwidth Integer
- The bandwidth info of the vepfs file system.
- capacityInfo FileSystems File System Capacity Info 
- The capacity info of the vepfs file system.
- chargeStatus String
- The charge status of the vepfs file system.
- chargeType String
- The charge type of the vepfs file system.
- createTime String
- The create time of the vepfs file system.
- description String
- The description of the vepfs file system.
- expireTime String
- The expire time of the vepfs file system.
- fileSystem StringId 
- The id of the vepfs file system.
- fileSystem StringName 
- The Name of Vepfs File System. This field support fuzzy query.
- fileSystem StringType 
- The type of the vepfs file system.
- freeTime String
- The free time of the vepfs file system.
- id String
- The id of the vepfs file system.
- lastModify StringTime 
- The last modify time of the vepfs file system.
- project String
- The project of Vepfs File System.
- protocolType String
- The protocol type of the vepfs file system.
- regionId String
- The id of the region.
- status String
- The query status list of Vepfs File System.
- stopService StringTime 
- The stop service time of the vepfs file system.
- storeType String
- The Store Type of Vepfs File System.
- storeType StringCn 
- The store type cn name of the vepfs file system.
- 
List<FileSystems File System Tag> 
- The tags of the vepfs file system.
- version String
- The version info of the vepfs file system.
- zoneId String
- The zone id of File System.
- zoneName String
- The name of the zone.
- accountId string
- The id of the account.
- bandwidth number
- The bandwidth info of the vepfs file system.
- capacityInfo FileSystems File System Capacity Info 
- The capacity info of the vepfs file system.
- chargeStatus string
- The charge status of the vepfs file system.
- chargeType string
- The charge type of the vepfs file system.
- createTime string
- The create time of the vepfs file system.
- description string
- The description of the vepfs file system.
- expireTime string
- The expire time of the vepfs file system.
- fileSystem stringId 
- The id of the vepfs file system.
- fileSystem stringName 
- The Name of Vepfs File System. This field support fuzzy query.
- fileSystem stringType 
- The type of the vepfs file system.
- freeTime string
- The free time of the vepfs file system.
- id string
- The id of the vepfs file system.
- lastModify stringTime 
- The last modify time of the vepfs file system.
- project string
- The project of Vepfs File System.
- protocolType string
- The protocol type of the vepfs file system.
- regionId string
- The id of the region.
- status string
- The query status list of Vepfs File System.
- stopService stringTime 
- The stop service time of the vepfs file system.
- storeType string
- The Store Type of Vepfs File System.
- storeType stringCn 
- The store type cn name of the vepfs file system.
- 
FileSystems File System Tag[] 
- The tags of the vepfs file system.
- version string
- The version info of the vepfs file system.
- zoneId string
- The zone id of File System.
- zoneName string
- The name of the zone.
- account_id str
- The id of the account.
- bandwidth int
- The bandwidth info of the vepfs file system.
- capacity_info FileSystems File System Capacity Info 
- The capacity info of the vepfs file system.
- charge_status str
- The charge status of the vepfs file system.
- charge_type str
- The charge type of the vepfs file system.
- create_time str
- The create time of the vepfs file system.
- description str
- The description of the vepfs file system.
- expire_time str
- The expire time of the vepfs file system.
- file_system_ strid 
- The id of the vepfs file system.
- file_system_ strname 
- The Name of Vepfs File System. This field support fuzzy query.
- file_system_ strtype 
- The type of the vepfs file system.
- free_time str
- The free time of the vepfs file system.
- id str
- The id of the vepfs file system.
- last_modify_ strtime 
- The last modify time of the vepfs file system.
- project str
- The project of Vepfs File System.
- protocol_type str
- The protocol type of the vepfs file system.
- region_id str
- The id of the region.
- status str
- The query status list of Vepfs File System.
- stop_service_ strtime 
- The stop service time of the vepfs file system.
- store_type str
- The Store Type of Vepfs File System.
- store_type_ strcn 
- The store type cn name of the vepfs file system.
- 
Sequence[FileSystems File System Tag] 
- The tags of the vepfs file system.
- version str
- The version info of the vepfs file system.
- zone_id str
- The zone id of File System.
- zone_name str
- The name of the zone.
- accountId String
- The id of the account.
- bandwidth Number
- The bandwidth info of the vepfs file system.
- capacityInfo Property Map
- The capacity info of the vepfs file system.
- chargeStatus String
- The charge status of the vepfs file system.
- chargeType String
- The charge type of the vepfs file system.
- createTime String
- The create time of the vepfs file system.
- description String
- The description of the vepfs file system.
- expireTime String
- The expire time of the vepfs file system.
- fileSystem StringId 
- The id of the vepfs file system.
- fileSystem StringName 
- The Name of Vepfs File System. This field support fuzzy query.
- fileSystem StringType 
- The type of the vepfs file system.
- freeTime String
- The free time of the vepfs file system.
- id String
- The id of the vepfs file system.
- lastModify StringTime 
- The last modify time of the vepfs file system.
- project String
- The project of Vepfs File System.
- protocolType String
- The protocol type of the vepfs file system.
- regionId String
- The id of the region.
- status String
- The query status list of Vepfs File System.
- stopService StringTime 
- The stop service time of the vepfs file system.
- storeType String
- The Store Type of Vepfs File System.
- storeType StringCn 
- The store type cn name of the vepfs file system.
- List<Property Map>
- The tags of the vepfs file system.
- version String
- The version info of the vepfs file system.
- zoneId String
- The zone id of File System.
- zoneName String
- The name of the zone.
FileSystemsFileSystemCapacityInfo     
FileSystemsFileSystemTag    
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.