Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.vepfs.FileSystems
Explore with Pulumi AI
Use this data source to query detailed information of vepfs file systems
Example Usage
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 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
})
}
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());
}
}
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])
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],
});
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) 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:vepfs:FileSystems
arguments:
# arguments dictionary
The following arguments are supported:
- File
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- Ids List<string>
- A list of Vepfs File System IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File 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.
- Store
Type string - The Store Type of Vepfs File System.
- Zone
Id string - The zone id of File System.
- File
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- Ids []string
- A list of Vepfs File System IDs.
- Name
Regex string - A Name Regex of Resource.
- Output
File 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.
- Store
Type string - The Store Type of Vepfs File System.
- Zone
Id string - The zone id of File System.
- file
System StringName - The Name of Vepfs File System. This field support fuzzy query.
- ids List<String>
- A list of Vepfs File System IDs.
- name
Regex String - A Name Regex of Resource.
- output
File 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.
- store
Type String - The Store Type of Vepfs File System.
- zone
Id String - The zone id of File System.
- file
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- ids string[]
- A list of Vepfs File System IDs.
- name
Regex string - A Name Regex of Resource.
- output
File 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.
- store
Type string - The Store Type of Vepfs File System.
- zone
Id 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.
- file
System StringName - The Name of Vepfs File System. This field support fuzzy query.
- ids List<String>
- A list of Vepfs File System IDs.
- name
Regex String - A Name Regex of Resource.
- output
File 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.
- store
Type String - The Store Type of Vepfs File System.
- zone
Id String - The zone id of File System.
FileSystems Result
The following output properties are available:
- File
Systems List<FileSystems File System> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- File
System stringName - The name of the vepfs file system.
- Ids List<string>
- Name
Regex string - Output
File string - Project string
- The project name of the vepfs file system.
- Statuses List<string>
- The status of the vepfs file system.
- Store
Type string - The store type of the vepfs file system.
- Zone
Id string - The id of the zone.
- File
Systems []FileSystems File System - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- File
System stringName - The name of the vepfs file system.
- Ids []string
- Name
Regex string - Output
File string - Project string
- The project name of the vepfs file system.
- Statuses []string
- The status of the vepfs file system.
- Store
Type string - The store type of the vepfs file system.
- Zone
Id string - The id of the zone.
- file
Systems List<FileSystems File System> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- file
System StringName - The name of the vepfs file system.
- ids List<String>
- name
Regex String - output
File String - project String
- The project name of the vepfs file system.
- statuses List<String>
- The status of the vepfs file system.
- store
Type String - The store type of the vepfs file system.
- zone
Id String - The id of the zone.
- file
Systems FileSystems File System[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- file
System stringName - The name of the vepfs file system.
- ids string[]
- name
Regex string - output
File string - project string
- The project name of the vepfs file system.
- statuses string[]
- The status of the vepfs file system.
- store
Type string - The store type of the vepfs file system.
- zone
Id 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.
- file
Systems List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- file
System StringName - The name of the vepfs file system.
- ids List<String>
- name
Regex String - output
File String - project String
- The project name of the vepfs file system.
- statuses List<String>
- The status of the vepfs file system.
- store
Type String - The store type of the vepfs file system.
- zone
Id String - The id of the zone.
Supporting Types
FileSystemsFileSystem
- Account
Id string - 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 string - The charge status of the vepfs file system.
- Charge
Type string - The charge type of the vepfs file system.
- Create
Time string - The create time of the vepfs file system.
- Description string
- The description of the vepfs file system.
- Expire
Time string - The expire time of the vepfs file system.
- File
System stringId - The id of the vepfs file system.
- File
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- File
System stringType - The type of the vepfs file system.
- Free
Time string - The free time of the vepfs file system.
- Id string
- The id of the vepfs file system.
- Last
Modify stringTime - The last modify time of the vepfs file system.
- Project string
- The project of Vepfs File System.
- Protocol
Type string - The protocol type of the vepfs file system.
- Region
Id string - The id of the region.
- Status string
- The query status list of Vepfs File System.
- Stop
Service stringTime - The stop service time of the vepfs file system.
- Store
Type string - The Store Type of Vepfs File System.
- Store
Type stringCn - The store type cn name of the vepfs file system.
- List<File
Systems File System Tag> - The tags of the vepfs file system.
- Version string
- The version info of the vepfs file system.
- Zone
Id string - The zone id of File System.
- Zone
Name string - The name of the zone.
- Account
Id string - 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 string - The charge status of the vepfs file system.
- Charge
Type string - The charge type of the vepfs file system.
- Create
Time string - The create time of the vepfs file system.
- Description string
- The description of the vepfs file system.
- Expire
Time string - The expire time of the vepfs file system.
- File
System stringId - The id of the vepfs file system.
- File
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- File
System stringType - The type of the vepfs file system.
- Free
Time string - The free time of the vepfs file system.
- Id string
- The id of the vepfs file system.
- Last
Modify stringTime - The last modify time of the vepfs file system.
- Project string
- The project of Vepfs File System.
- Protocol
Type string - The protocol type of the vepfs file system.
- Region
Id string - The id of the region.
- Status string
- The query status list of Vepfs File System.
- Stop
Service stringTime - The stop service time of the vepfs file system.
- Store
Type string - The Store Type of Vepfs File System.
- Store
Type stringCn - The store type cn name of the vepfs file system.
- []File
Systems File System Tag - The tags of the vepfs file system.
- Version string
- The version info of the vepfs file system.
- Zone
Id string - The zone id of File System.
- Zone
Name string - The name of the zone.
- account
Id String - The id of the account.
- bandwidth Integer
- 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 String - The charge status of the vepfs file system.
- charge
Type String - The charge type of the vepfs file system.
- create
Time String - The create time of the vepfs file system.
- description String
- The description of the vepfs file system.
- expire
Time String - The expire time of the vepfs file system.
- file
System StringId - The id of the vepfs file system.
- file
System StringName - The Name of Vepfs File System. This field support fuzzy query.
- file
System StringType - The type of the vepfs file system.
- free
Time String - The free time of the vepfs file system.
- id String
- The id of the vepfs file system.
- last
Modify StringTime - The last modify time of the vepfs file system.
- project String
- The project of Vepfs File System.
- protocol
Type String - The protocol type of the vepfs file system.
- region
Id String - The id of the region.
- status String
- The query status list of Vepfs File System.
- stop
Service StringTime - The stop service time of the vepfs file system.
- store
Type String - The Store Type of Vepfs File System.
- store
Type StringCn - The store type cn name of the vepfs file system.
- List<File
Systems File System Tag> - The tags of the vepfs file system.
- version String
- The version info of the vepfs file system.
- zone
Id String - The zone id of File System.
- zone
Name String - The name of the zone.
- account
Id string - The id of the account.
- bandwidth number
- 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 string - The charge status of the vepfs file system.
- charge
Type string - The charge type of the vepfs file system.
- create
Time string - The create time of the vepfs file system.
- description string
- The description of the vepfs file system.
- expire
Time string - The expire time of the vepfs file system.
- file
System stringId - The id of the vepfs file system.
- file
System stringName - The Name of Vepfs File System. This field support fuzzy query.
- file
System stringType - The type of the vepfs file system.
- free
Time string - The free time of the vepfs file system.
- id string
- The id of the vepfs file system.
- last
Modify stringTime - The last modify time of the vepfs file system.
- project string
- The project of Vepfs File System.
- protocol
Type string - The protocol type of the vepfs file system.
- region
Id string - The id of the region.
- status string
- The query status list of Vepfs File System.
- stop
Service stringTime - The stop service time of the vepfs file system.
- store
Type string - The Store Type of Vepfs File System.
- store
Type stringCn - The store type cn name of the vepfs file system.
- File
Systems File System Tag[] - The tags of the vepfs file system.
- version string
- The version info of the vepfs file system.
- zone
Id string - The zone id of File System.
- zone
Name 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[File
Systems 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.
- account
Id String - The id of the account.
- bandwidth Number
- The bandwidth info of the vepfs file system.
- capacity
Info Property Map - The capacity info of the vepfs file system.
- charge
Status String - The charge status of the vepfs file system.
- charge
Type String - The charge type of the vepfs file system.
- create
Time String - The create time of the vepfs file system.
- description String
- The description of the vepfs file system.
- expire
Time String - The expire time of the vepfs file system.
- file
System StringId - The id of the vepfs file system.
- file
System StringName - The Name of Vepfs File System. This field support fuzzy query.
- file
System StringType - The type of the vepfs file system.
- free
Time String - The free time of the vepfs file system.
- id String
- The id of the vepfs file system.
- last
Modify StringTime - The last modify time of the vepfs file system.
- project String
- The project of Vepfs File System.
- protocol
Type String - The protocol type of the vepfs file system.
- region
Id String - The id of the region.
- status String
- The query status list of Vepfs File System.
- stop
Service StringTime - The stop service time of the vepfs file system.
- store
Type String - The Store Type of Vepfs File System.
- store
Type 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.
- zone
Id String - The zone id of File System.
- zone
Name 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
volcengine
Terraform Provider.