UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

131 lines (130 loc) 3.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of vpcs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getVpcs({ * ids: ["vpc-mizl7m1kqccg5smt1bdpijuj"], * }); * ``` */ 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; /** * The ProjectName of the VPC. */ projectName?: string; /** * Tags. */ tags?: inputs.vpc.GetVpcsTag[]; /** * The vpc name to query. */ vpcName?: string; /** * The owner ID of the vpc. */ vpcOwnerId?: number; } /** * 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 ProjectName of the VPC. */ readonly projectName?: string; /** * Tags. */ readonly tags?: outputs.vpc.GetVpcsTag[]; /** * The total count of Vpc query. */ readonly totalCount: number; /** * The name of VPC. */ readonly vpcName?: string; readonly vpcOwnerId?: number; /** * The collection of Vpc query. */ readonly vpcs: outputs.vpc.GetVpcsVpc[]; } /** * Use this data source to query detailed information of vpcs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getVpcs({ * ids: ["vpc-mizl7m1kqccg5smt1bdpijuj"], * }); * ``` */ 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>; /** * The ProjectName of the VPC. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetVpcsTagArgs>[]>; /** * The vpc name to query. */ vpcName?: pulumi.Input<string>; /** * The owner ID of the vpc. */ vpcOwnerId?: pulumi.Input<number>; }