UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

109 lines (108 loc) 3.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of veenedge instances * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.veenedge.getInstances({ * ids: [ * "veen28*****21", * "veen177110*****172", * ], * }); * ``` */ export declare function getInstances(args?: GetInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>; /** * A collection of arguments for invoking getInstances. */ export interface GetInstancesArgs { /** * The list of cloud server ids. */ cloudServerIds?: string[]; /** * A list of instance IDs. */ ids?: string[]; /** * A list of instance names. */ names?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The list of instance status. The value can be `opening` or `starting` or `running` or `stopping` or `stop` or `rebooting` or `terminating`. */ statuses?: string[]; } /** * A collection of values returned by getInstances. */ export interface GetInstancesResult { readonly cloudServerIds?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; /** * The collection of instance query. */ readonly instances: outputs.veenedge.GetInstancesInstance[]; readonly names?: string[]; readonly outputFile?: string; readonly statuses?: string[]; /** * The total count of instance query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of veenedge instances * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.veenedge.getInstances({ * ids: [ * "veen28*****21", * "veen177110*****172", * ], * }); * ``` */ export declare function getInstancesOutput(args?: GetInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancesResult>; /** * A collection of arguments for invoking getInstances. */ export interface GetInstancesOutputArgs { /** * The list of cloud server ids. */ cloudServerIds?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of instance IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of instance names. */ names?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The list of instance status. The value can be `opening` or `starting` or `running` or `stopping` or `stop` or `rebooting` or `terminating`. */ statuses?: pulumi.Input<pulumi.Input<string>[]>; }