@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
79 lines (78 loc) • 2.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about multiple Virtual Private Clouds.
*/
/** @deprecated scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs */
export declare function getVpcs(args?: GetVpcsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcsResult>;
/**
* A collection of arguments for invoking getVpcs.
*/
export interface GetVpcsArgs {
/**
* The VPC name to filter for. VPCs with a similar name are listed.
*/
name?: string;
/**
* The ID of the Project the VPC is associated with.
*/
projectId?: string;
/**
* `region`). The region in which the VPCs exist.
*/
region?: string;
/**
* List of tags to filter for. VPCs with these exact tags are listed.
*/
tags?: string[];
}
/**
* A collection of values returned by getVpcs.
*/
export interface GetVpcsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
/**
* The Organization ID the VPC is associated with.
*/
readonly organizationId: string;
/**
* The ID of the Project the VPC is associated with.
*/
readonly projectId: string;
readonly region: string;
readonly tags?: string[];
/**
* List of retrieved VPCs
*/
readonly vpcs: outputs.GetVpcsVpc[];
}
/**
* Gets information about multiple Virtual Private Clouds.
*/
/** @deprecated scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs */
export declare function getVpcsOutput(args?: GetVpcsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcsResult>;
/**
* A collection of arguments for invoking getVpcs.
*/
export interface GetVpcsOutputArgs {
/**
* The VPC name to filter for. VPCs with a similar name are listed.
*/
name?: pulumi.Input<string>;
/**
* The ID of the Project the VPC is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `region`). The region in which the VPCs exist.
*/
region?: pulumi.Input<string>;
/**
* List of tags to filter for. VPCs with these exact tags are listed.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}