@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
133 lines (132 loc) • 3.2 kB
TypeScript
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"],
* });
* ```
*/
/** @deprecated volcengine.vpc.Vpcs has been deprecated in favor of volcengine.vpc.getVpcs */
export declare function vpcs(args?: VpcsArgs, opts?: pulumi.InvokeOptions): Promise<VpcsResult>;
/**
* A collection of arguments for invoking Vpcs.
*/
export interface VpcsArgs {
/**
* 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.VpcsTag[];
/**
* The vpc name to query.
*/
vpcName?: string;
/**
* The owner ID of the vpc.
*/
vpcOwnerId?: number;
}
/**
* A collection of values returned by Vpcs.
*/
export interface VpcsResult {
/**
* 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.VpcsTag[];
/**
* 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.VpcsVpc[];
}
/**
* 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"],
* });
* ```
*/
/** @deprecated volcengine.vpc.Vpcs has been deprecated in favor of volcengine.vpc.getVpcs */
export declare function vpcsOutput(args?: VpcsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcsResult>;
/**
* A collection of arguments for invoking Vpcs.
*/
export interface VpcsOutputArgs {
/**
* 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.VpcsTagArgs>[]>;
/**
* The vpc name to query.
*/
vpcName?: pulumi.Input<string>;
/**
* The owner ID of the vpc.
*/
vpcOwnerId?: pulumi.Input<number>;
}