Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of vepfs mount services
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 fooMountService = new volcengine.vepfs.MountService("fooMountService", {
mountServiceName: "acc-test-mount-service",
subnetId: fooSubnet.id,
nodeType: "ecs.g1ie.large",
project: "default",
});
const fooMountServices = volcengine.vepfs.getMountServicesOutput({
mountServiceId: fooMountService.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_mount_service = volcengine.vepfs.MountService("fooMountService",
mount_service_name="acc-test-mount-service",
subnet_id=foo_subnet.id,
node_type="ecs.g1ie.large",
project="default")
foo_mount_services = volcengine.vepfs.get_mount_services_output(mount_service_id=foo_mount_service.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
}
fooMountService, err := vepfs.NewMountService(ctx, "fooMountService", &vepfs.MountServiceArgs{
MountServiceName: pulumi.String("acc-test-mount-service"),
SubnetId: fooSubnet.ID(),
NodeType: pulumi.String("ecs.g1ie.large"),
Project: pulumi.String("default"),
})
if err != nil {
return err
}
_ = vepfs.GetMountServicesOutput(ctx, vepfs.GetMountServicesOutputArgs{
MountServiceId: fooMountService.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 fooMountService = new Volcengine.Vepfs.MountService("fooMountService", new()
{
MountServiceName = "acc-test-mount-service",
SubnetId = fooSubnet.Id,
NodeType = "ecs.g1ie.large",
Project = "default",
});
var fooMountServices = Volcengine.Vepfs.GetMountServices.Invoke(new()
{
MountServiceId = fooMountService.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.MountService;
import com.pulumi.volcengine.vepfs.MountServiceArgs;
import com.pulumi.volcengine.vepfs.VepfsFunctions;
import com.pulumi.volcengine.vepfs.inputs.GetMountServicesArgs;
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 fooMountService = new MountService("fooMountService", MountServiceArgs.builder()
.mountServiceName("acc-test-mount-service")
.subnetId(fooSubnet.id())
.nodeType("ecs.g1ie.large")
.project("default")
.build());
final var fooMountServices = VepfsFunctions.getMountServices(GetMountServicesArgs.builder()
.mountServiceId(fooMountService.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}
fooMountService:
type: volcengine:vepfs:MountService
properties:
mountServiceName: acc-test-mount-service
subnetId: ${fooSubnet.id}
nodeType: ecs.g1ie.large
project: default
variables:
fooMountServices:
fn::invoke:
Function: volcengine:vepfs:getMountServices
Arguments:
mountServiceId: ${fooMountService.id}
Using getMountServices
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 getMountServices(args: GetMountServicesArgs, opts?: InvokeOptions): Promise<GetMountServicesResult>
function getMountServicesOutput(args: GetMountServicesOutputArgs, opts?: InvokeOptions): Output<GetMountServicesResult>def get_mount_services(file_system_id: Optional[str] = None,
mount_service_id: Optional[str] = None,
mount_service_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetMountServicesResult
def get_mount_services_output(file_system_id: Optional[pulumi.Input[str]] = None,
mount_service_id: Optional[pulumi.Input[str]] = None,
mount_service_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMountServicesResult]func GetMountServices(ctx *Context, args *GetMountServicesArgs, opts ...InvokeOption) (*GetMountServicesResult, error)
func GetMountServicesOutput(ctx *Context, args *GetMountServicesOutputArgs, opts ...InvokeOption) GetMountServicesResultOutput> Note: This function is named GetMountServices in the Go SDK.
public static class GetMountServices
{
public static Task<GetMountServicesResult> InvokeAsync(GetMountServicesArgs args, InvokeOptions? opts = null)
public static Output<GetMountServicesResult> Invoke(GetMountServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMountServicesResult> getMountServices(GetMountServicesArgs args, InvokeOptions options)
public static Output<GetMountServicesResult> getMountServices(GetMountServicesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vepfs/getMountServices:getMountServices
arguments:
# arguments dictionaryThe following arguments are supported:
- File
System stringId - The id of Vepfs File System.
- Mount
Service stringId - The id of mount service.
- Mount
Service stringName - The name of mount service. This field support fuzzy query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Statuses List<string>
- The query status list of mount service.
- File
System stringId - The id of Vepfs File System.
- Mount
Service stringId - The id of mount service.
- Mount
Service stringName - The name of mount service. This field support fuzzy query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Statuses []string
- The query status list of mount service.
- file
System StringId - The id of Vepfs File System.
- mount
Service StringId - The id of mount service.
- mount
Service StringName - The name of mount service. This field support fuzzy query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- statuses List<String>
- The query status list of mount service.
- file
System stringId - The id of Vepfs File System.
- mount
Service stringId - The id of mount service.
- mount
Service stringName - The name of mount service. This field support fuzzy query.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- statuses string[]
- The query status list of mount service.
- file_
system_ strid - The id of Vepfs File System.
- mount_
service_ strid - The id of mount service.
- mount_
service_ strname - The name of mount service. This field support fuzzy query.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- statuses Sequence[str]
- The query status list of mount service.
- file
System StringId - The id of Vepfs File System.
- mount
Service StringId - The id of mount service.
- mount
Service StringName - The name of mount service. This field support fuzzy query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- statuses List<String>
- The query status list of mount service.
getMountServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Services List<GetMount Services Mount Service> - The collection of query.
- Total
Count int - The total count of query.
- File
System stringId - The id of the vepfs file system.
- Mount
Service stringId - The id of the mount service.
- Mount
Service stringName - The name of the mount service.
- Name
Regex string - Output
File string - Statuses List<string>
- The status of the mount service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Services []GetMount Services Mount Service - The collection of query.
- Total
Count int - The total count of query.
- File
System stringId - The id of the vepfs file system.
- Mount
Service stringId - The id of the mount service.
- Mount
Service stringName - The name of the mount service.
- Name
Regex string - Output
File string - Statuses []string
- The status of the mount service.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Services List<GetMount Services Mount Service> - The collection of query.
- total
Count Integer - The total count of query.
- file
System StringId - The id of the vepfs file system.
- mount
Service StringId - The id of the mount service.
- mount
Service StringName - The name of the mount service.
- name
Regex String - output
File String - statuses List<String>
- The status of the mount service.
- id string
- The provider-assigned unique ID for this managed resource.
- mount
Services GetMount Services Mount Service[] - The collection of query.
- total
Count number - The total count of query.
- file
System stringId - The id of the vepfs file system.
- mount
Service stringId - The id of the mount service.
- mount
Service stringName - The name of the mount service.
- name
Regex string - output
File string - statuses string[]
- The status of the mount service.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
services Sequence[GetMount Services Mount Service] - The collection of query.
- total_
count int - The total count of query.
- file_
system_ strid - The id of the vepfs file system.
- mount_
service_ strid - The id of the mount service.
- mount_
service_ strname - The name of the mount service.
- name_
regex str - output_
file str - statuses Sequence[str]
- The status of the mount service.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Services List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- file
System StringId - The id of the vepfs file system.
- mount
Service StringId - The id of the mount service.
- mount
Service StringName - The name of the mount service.
- name
Regex String - output
File String - statuses List<String>
- The status of the mount service.
Supporting Types
GetMountServicesMountService
- Account
Id string - The account id of the vepfs file system.
- Attach
File List<GetSystems Mount Services Mount Service Attach File System> - The attached file system info of the mount service.
- Create
Time string - The created time of the mount service.
- Id string
- The id of the mount service.
- Mount
Service stringId - The id of mount service.
- Mount
Service stringName - The name of mount service. This field support fuzzy query.
- Nodes
List<Get
Mount Services Mount Service Node> - The nodes info of the mount service.
- Project string
- The project of the mount service.
- Region
Id string - The region id of the mount service.
- Status string
- The query status list of mount service.
- Subnet
Id string - The subnet id of the mount service.
- Vpc
Id string - The vpc id of the mount service.
- Zone
Id string - The zone id of the mount service.
- Zone
Name string - The zone name of the mount service.
- Account
Id string - The account id of the vepfs file system.
- Attach
File []GetSystems Mount Services Mount Service Attach File System - The attached file system info of the mount service.
- Create
Time string - The created time of the mount service.
- Id string
- The id of the mount service.
- Mount
Service stringId - The id of mount service.
- Mount
Service stringName - The name of mount service. This field support fuzzy query.
- Nodes
[]Get
Mount Services Mount Service Node - The nodes info of the mount service.
- Project string
- The project of the mount service.
- Region
Id string - The region id of the mount service.
- Status string
- The query status list of mount service.
- Subnet
Id string - The subnet id of the mount service.
- Vpc
Id string - The vpc id of the mount service.
- Zone
Id string - The zone id of the mount service.
- Zone
Name string - The zone name of the mount service.
- account
Id String - The account id of the vepfs file system.
- attach
File List<GetSystems Mount Services Mount Service Attach File System> - The attached file system info of the mount service.
- create
Time String - The created time of the mount service.
- id String
- The id of the mount service.
- mount
Service StringId - The id of mount service.
- mount
Service StringName - The name of mount service. This field support fuzzy query.
- nodes
List<Get
Mount Services Mount Service Node> - The nodes info of the mount service.
- project String
- The project of the mount service.
- region
Id String - The region id of the mount service.
- status String
- The query status list of mount service.
- subnet
Id String - The subnet id of the mount service.
- vpc
Id String - The vpc id of the mount service.
- zone
Id String - The zone id of the mount service.
- zone
Name String - The zone name of the mount service.
- account
Id string - The account id of the vepfs file system.
- attach
File GetSystems Mount Services Mount Service Attach File System[] - The attached file system info of the mount service.
- create
Time string - The created time of the mount service.
- id string
- The id of the mount service.
- mount
Service stringId - The id of mount service.
- mount
Service stringName - The name of mount service. This field support fuzzy query.
- nodes
Get
Mount Services Mount Service Node[] - The nodes info of the mount service.
- project string
- The project of the mount service.
- region
Id string - The region id of the mount service.
- status string
- The query status list of mount service.
- subnet
Id string - The subnet id of the mount service.
- vpc
Id string - The vpc id of the mount service.
- zone
Id string - The zone id of the mount service.
- zone
Name string - The zone name of the mount service.
- account_
id str - The account id of the vepfs file system.
- attach_
file_ Sequence[Getsystems Mount Services Mount Service Attach File System] - The attached file system info of the mount service.
- create_
time str - The created time of the mount service.
- id str
- The id of the mount service.
- mount_
service_ strid - The id of mount service.
- mount_
service_ strname - The name of mount service. This field support fuzzy query.
- nodes
Sequence[Get
Mount Services Mount Service Node] - The nodes info of the mount service.
- project str
- The project of the mount service.
- region_
id str - The region id of the mount service.
- status str
- The query status list of mount service.
- subnet_
id str - The subnet id of the mount service.
- vpc_
id str - The vpc id of the mount service.
- zone_
id str - The zone id of the mount service.
- zone_
name str - The zone name of the mount service.
- account
Id String - The account id of the vepfs file system.
- attach
File List<Property Map>Systems - The attached file system info of the mount service.
- create
Time String - The created time of the mount service.
- id String
- The id of the mount service.
- mount
Service StringId - The id of mount service.
- mount
Service StringName - The name of mount service. This field support fuzzy query.
- nodes List<Property Map>
- The nodes info of the mount service.
- project String
- The project of the mount service.
- region
Id String - The region id of the mount service.
- status String
- The query status list of mount service.
- subnet
Id String - The subnet id of the mount service.
- vpc
Id String - The vpc id of the mount service.
- zone
Id String - The zone id of the mount service.
- zone
Name String - The zone name of the mount service.
GetMountServicesMountServiceAttachFileSystem
- Account
Id string - The account id of the vepfs file system.
- Customer
Path string - The id of the vepfs file system.
- File
System stringId - The id of Vepfs File System.
- File
System stringName - The name of the vepfs file system.
- Status string
- The query status list of mount service.
- Account
Id string - The account id of the vepfs file system.
- Customer
Path string - The id of the vepfs file system.
- File
System stringId - The id of Vepfs File System.
- File
System stringName - The name of the vepfs file system.
- Status string
- The query status list of mount service.
- account
Id String - The account id of the vepfs file system.
- customer
Path String - The id of the vepfs file system.
- file
System StringId - The id of Vepfs File System.
- file
System StringName - The name of the vepfs file system.
- status String
- The query status list of mount service.
- account
Id string - The account id of the vepfs file system.
- customer
Path string - The id of the vepfs file system.
- file
System stringId - The id of Vepfs File System.
- file
System stringName - The name of the vepfs file system.
- status string
- The query status list of mount service.
- account_
id str - The account id of the vepfs file system.
- customer_
path str - The id of the vepfs file system.
- file_
system_ strid - The id of Vepfs File System.
- file_
system_ strname - The name of the vepfs file system.
- status str
- The query status list of mount service.
- account
Id String - The account id of the vepfs file system.
- customer
Path String - The id of the vepfs file system.
- file
System StringId - The id of Vepfs File System.
- file
System StringName - The name of the vepfs file system.
- status String
- The query status list of mount service.
GetMountServicesMountServiceNode
- Default
Password string - The default password of ecs instance.
- Node
Id string - The id of ecs instance.
- Default
Password string - The default password of ecs instance.
- Node
Id string - The id of ecs instance.
- default
Password String - The default password of ecs instance.
- node
Id String - The id of ecs instance.
- default
Password string - The default password of ecs instance.
- node
Id string - The id of ecs instance.
- default_
password str - The default password of ecs instance.
- node_
id str - The id of ecs instance.
- default
Password String - The default password of ecs instance.
- node
Id String - The id of ecs instance.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
