@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
158 lines (157 loc) • 4.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of vepfs mount services
* ## Example Usage
*
* ```typescript
* 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,
* });
* ```
*/
export declare function getMountServices(args?: GetMountServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetMountServicesResult>;
/**
* A collection of arguments for invoking getMountServices.
*/
export interface GetMountServicesArgs {
/**
* The id of Vepfs File System.
*/
fileSystemId?: string;
/**
* The id of mount service.
*/
mountServiceId?: string;
/**
* The name of mount service. This field support fuzzy query.
*/
mountServiceName?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The query status list of mount service.
*/
statuses?: string[];
}
/**
* A collection of values returned by getMountServices.
*/
export interface GetMountServicesResult {
/**
* The id of the vepfs file system.
*/
readonly fileSystemId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The id of the mount service.
*/
readonly mountServiceId?: string;
/**
* The name of the mount service.
*/
readonly mountServiceName?: string;
/**
* The collection of query.
*/
readonly mountServices: outputs.vepfs.GetMountServicesMountService[];
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The status of the mount service.
*/
readonly statuses?: string[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of vepfs mount services
* ## Example Usage
*
* ```typescript
* 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,
* });
* ```
*/
export declare function getMountServicesOutput(args?: GetMountServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMountServicesResult>;
/**
* A collection of arguments for invoking getMountServices.
*/
export interface GetMountServicesOutputArgs {
/**
* The id of Vepfs File System.
*/
fileSystemId?: pulumi.Input<string>;
/**
* The id of mount service.
*/
mountServiceId?: pulumi.Input<string>;
/**
* The name of mount service. This field support fuzzy query.
*/
mountServiceName?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The query status list of mount service.
*/
statuses?: pulumi.Input<pulumi.Input<string>[]>;
}