UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

81 lines (80 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of veenedge vpcs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.veenedge.getVpcs({}); * ``` */ export declare function getVpcs(args?: GetVpcsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcsResult>; /** * A collection of arguments for invoking getVpcs. */ export interface GetVpcsArgs { /** * A list of vpc IDs. */ ids?: string[]; /** * A Name Regex of Vpc. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getVpcs. */ export interface GetVpcsResult { /** * 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 Vpc query. */ readonly totalCount: number; /** * The collection of Vpc query. */ readonly vpcInstances: outputs.veenedge.GetVpcsVpcInstance[]; } /** * Use this data source to query detailed information of veenedge vpcs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.veenedge.getVpcs({}); * ``` */ export declare function getVpcsOutput(args?: GetVpcsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcsResult>; /** * A collection of arguments for invoking getVpcs. */ export interface GetVpcsOutputArgs { /** * A list of vpc IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of Vpc. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }