Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vepfs.MountServices
Explore with Pulumi AI
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.MountServicesOutput({
    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.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.MountServicesOutput(ctx, vepfs.MountServicesOutputArgs{
			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.MountServices.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.MountServicesArgs;
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.MountServices(MountServicesArgs.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:MountServices
      Arguments:
        mountServiceId: ${fooMountService.id}
Using MountServices
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 mountServices(args: MountServicesArgs, opts?: InvokeOptions): Promise<MountServicesResult>
function mountServicesOutput(args: MountServicesOutputArgs, opts?: InvokeOptions): Output<MountServicesResult>def 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) -> MountServicesResult
def 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[MountServicesResult]func MountServices(ctx *Context, args *MountServicesArgs, opts ...InvokeOption) (*MountServicesResult, error)
func MountServicesOutput(ctx *Context, args *MountServicesOutputArgs, opts ...InvokeOption) MountServicesResultOutputpublic static class MountServices 
{
    public static Task<MountServicesResult> InvokeAsync(MountServicesArgs args, InvokeOptions? opts = null)
    public static Output<MountServicesResult> Invoke(MountServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<MountServicesResult> mountServices(MountServicesArgs args, InvokeOptions options)
public static Output<MountServicesResult> mountServices(MountServicesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vepfs:MountServices
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FileSystem stringId 
- The id of Vepfs File System.
- MountService stringId 
- The id of mount service.
- MountService stringName 
- The name of mount service. This field support fuzzy query.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- Statuses List<string>
- The query status list of mount service.
- FileSystem stringId 
- The id of Vepfs File System.
- MountService stringId 
- The id of mount service.
- MountService stringName 
- The name of mount service. This field support fuzzy query.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- Statuses []string
- The query status list of mount service.
- fileSystem StringId 
- The id of Vepfs File System.
- mountService StringId 
- The id of mount service.
- mountService StringName 
- The name of mount service. This field support fuzzy query.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- statuses List<String>
- The query status list of mount service.
- fileSystem stringId 
- The id of Vepfs File System.
- mountService stringId 
- The id of mount service.
- mountService stringName 
- The name of mount service. This field support fuzzy query.
- nameRegex string
- A Name Regex of Resource.
- outputFile 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.
- fileSystem StringId 
- The id of Vepfs File System.
- mountService StringId 
- The id of mount service.
- mountService StringName 
- The name of mount service. This field support fuzzy query.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- statuses List<String>
- The query status list of mount service.
MountServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- MountServices List<MountServices Mount Service> 
- The collection of query.
- TotalCount int
- The total count of query.
- FileSystem stringId 
- The id of the vepfs file system.
- MountService stringId 
- The id of the mount service.
- MountService stringName 
- The name of the mount service.
- NameRegex string
- OutputFile string
- Statuses List<string>
- The status of the mount service.
- Id string
- The provider-assigned unique ID for this managed resource.
- MountServices []MountServices Mount Service 
- The collection of query.
- TotalCount int
- The total count of query.
- FileSystem stringId 
- The id of the vepfs file system.
- MountService stringId 
- The id of the mount service.
- MountService stringName 
- The name of the mount service.
- NameRegex string
- OutputFile string
- Statuses []string
- The status of the mount service.
- id String
- The provider-assigned unique ID for this managed resource.
- mountServices List<MountServices Mount Service> 
- The collection of query.
- totalCount Integer
- The total count of query.
- fileSystem StringId 
- The id of the vepfs file system.
- mountService StringId 
- The id of the mount service.
- mountService StringName 
- The name of the mount service.
- nameRegex String
- outputFile String
- statuses List<String>
- The status of the mount service.
- id string
- The provider-assigned unique ID for this managed resource.
- mountServices MountServices Mount Service[] 
- The collection of query.
- totalCount number
- The total count of query.
- fileSystem stringId 
- The id of the vepfs file system.
- mountService stringId 
- The id of the mount service.
- mountService stringName 
- The name of the mount service.
- nameRegex string
- outputFile string
- statuses string[]
- The status of the mount service.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_services Sequence[MountServices 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.
- mountServices List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- fileSystem StringId 
- The id of the vepfs file system.
- mountService StringId 
- The id of the mount service.
- mountService StringName 
- The name of the mount service.
- nameRegex String
- outputFile String
- statuses List<String>
- The status of the mount service.
Supporting Types
MountServicesMountService   
- AccountId string
- The account id of the vepfs file system.
- AttachFile List<MountSystems Services Mount Service Attach File System> 
- The attached file system info of the mount service.
- CreateTime string
- The created time of the mount service.
- Id string
- The id of the mount service.
- MountService stringId 
- The id of mount service.
- MountService stringName 
- The name of mount service. This field support fuzzy query.
- Nodes
List<MountServices Mount Service Node> 
- The nodes info of the mount service.
- Project string
- The project of the mount service.
- RegionId string
- The region id of the mount service.
- Status string
- The query status list of mount service.
- SubnetId string
- The subnet id of the mount service.
- VpcId string
- The vpc id of the mount service.
- ZoneId string
- The zone id of the mount service.
- ZoneName string
- The zone name of the mount service.
- AccountId string
- The account id of the vepfs file system.
- AttachFile []MountSystems Services Mount Service Attach File System 
- The attached file system info of the mount service.
- CreateTime string
- The created time of the mount service.
- Id string
- The id of the mount service.
- MountService stringId 
- The id of mount service.
- MountService stringName 
- The name of mount service. This field support fuzzy query.
- Nodes
[]MountServices Mount Service Node 
- The nodes info of the mount service.
- Project string
- The project of the mount service.
- RegionId string
- The region id of the mount service.
- Status string
- The query status list of mount service.
- SubnetId string
- The subnet id of the mount service.
- VpcId string
- The vpc id of the mount service.
- ZoneId string
- The zone id of the mount service.
- ZoneName string
- The zone name of the mount service.
- accountId String
- The account id of the vepfs file system.
- attachFile List<MountSystems Services Mount Service Attach File System> 
- The attached file system info of the mount service.
- createTime String
- The created time of the mount service.
- id String
- The id of the mount service.
- mountService StringId 
- The id of mount service.
- mountService StringName 
- The name of mount service. This field support fuzzy query.
- nodes
List<MountServices Mount Service Node> 
- The nodes info of the mount service.
- project String
- The project of the mount service.
- regionId String
- The region id of the mount service.
- status String
- The query status list of mount service.
- subnetId String
- The subnet id of the mount service.
- vpcId String
- The vpc id of the mount service.
- zoneId String
- The zone id of the mount service.
- zoneName String
- The zone name of the mount service.
- accountId string
- The account id of the vepfs file system.
- attachFile MountSystems Services Mount Service Attach File System[] 
- The attached file system info of the mount service.
- createTime string
- The created time of the mount service.
- id string
- The id of the mount service.
- mountService stringId 
- The id of mount service.
- mountService stringName 
- The name of mount service. This field support fuzzy query.
- nodes
MountServices Mount Service Node[] 
- The nodes info of the mount service.
- project string
- The project of the mount service.
- regionId string
- The region id of the mount service.
- status string
- The query status list of mount service.
- subnetId string
- The subnet id of the mount service.
- vpcId string
- The vpc id of the mount service.
- zoneId string
- The zone id of the mount service.
- zoneName string
- The zone name of the mount service.
- account_id str
- The account id of the vepfs file system.
- attach_file_ Sequence[Mountsystems 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[MountServices 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.
- accountId String
- The account id of the vepfs file system.
- attachFile List<Property Map>Systems 
- The attached file system info of the mount service.
- createTime String
- The created time of the mount service.
- id String
- The id of the mount service.
- mountService StringId 
- The id of mount service.
- mountService 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.
- regionId String
- The region id of the mount service.
- status String
- The query status list of mount service.
- subnetId String
- The subnet id of the mount service.
- vpcId String
- The vpc id of the mount service.
- zoneId String
- The zone id of the mount service.
- zoneName String
- The zone name of the mount service.
MountServicesMountServiceAttachFileSystem      
- AccountId string
- The account id of the vepfs file system.
- CustomerPath string
- The id of the vepfs file system.
- FileSystem stringId 
- The id of Vepfs File System.
- FileSystem stringName 
- The name of the vepfs file system.
- Status string
- The query status list of mount service.
- AccountId string
- The account id of the vepfs file system.
- CustomerPath string
- The id of the vepfs file system.
- FileSystem stringId 
- The id of Vepfs File System.
- FileSystem stringName 
- The name of the vepfs file system.
- Status string
- The query status list of mount service.
- accountId String
- The account id of the vepfs file system.
- customerPath String
- The id of the vepfs file system.
- fileSystem StringId 
- The id of Vepfs File System.
- fileSystem StringName 
- The name of the vepfs file system.
- status String
- The query status list of mount service.
- accountId string
- The account id of the vepfs file system.
- customerPath string
- The id of the vepfs file system.
- fileSystem stringId 
- The id of Vepfs File System.
- fileSystem 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.
- accountId String
- The account id of the vepfs file system.
- customerPath String
- The id of the vepfs file system.
- fileSystem StringId 
- The id of Vepfs File System.
- fileSystem StringName 
- The name of the vepfs file system.
- status String
- The query status list of mount service.
MountServicesMountServiceNode    
- DefaultPassword string
- The default password of ecs instance.
- NodeId string
- The id of ecs instance.
- DefaultPassword string
- The default password of ecs instance.
- NodeId string
- The id of ecs instance.
- defaultPassword String
- The default password of ecs instance.
- nodeId String
- The id of ecs instance.
- defaultPassword string
- The default password of ecs instance.
- nodeId string
- The id of ecs instance.
- default_password str
- The default password of ecs instance.
- node_id str
- The id of ecs instance.
- defaultPassword String
- The default password of ecs instance.
- nodeId 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.