UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

81 lines (80 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of veenedge cloud servers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.veenedge.getCloudServers({}); * ``` */ export declare function getCloudServers(args?: GetCloudServersArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudServersResult>; /** * A collection of arguments for invoking getCloudServers. */ export interface GetCloudServersArgs { /** * A list of cloud server IDs. */ ids?: string[]; /** * A Name Regex of Cloud Server. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getCloudServers. */ export interface GetCloudServersResult { /** * The collection of cloud servers query. */ readonly cloudServers: outputs.veenedge.GetCloudServersCloudServer[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of cloud servers query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of veenedge cloud servers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.veenedge.getCloudServers({}); * ``` */ export declare function getCloudServersOutput(args?: GetCloudServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudServersResult>; /** * A collection of arguments for invoking getCloudServers. */ export interface GetCloudServersOutputArgs { /** * A list of cloud server IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of Cloud Server. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }