@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
54 lines • 1.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* > **Deprecated:** Use `proxmoxve.sdn.getVnets` instead. This data source will be removed in v1.0.
*
* Retrieves information about all SDN VNets in Proxmox. This data source lists all virtual networks configured in the Software-Defined Networking setup.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* // List all SDN VNets
* const all = proxmoxve.sdn.getVnetsLegacy({});
* export const dataProxmoxVirtualEnvironmentSdnVnetsAll = {
* vnets: all.then(all => all.vnets),
* };
* ```
*/
export declare function getVnetsLegacy(opts?: pulumi.InvokeOptions): Promise<GetVnetsLegacyResult>;
/**
* A collection of values returned by getVnetsLegacy.
*/
export interface GetVnetsLegacyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of SDN VNets.
*/
readonly vnets: outputs.sdn.GetVnetsLegacyVnet[];
}
/**
* > **Deprecated:** Use `proxmoxve.sdn.getVnets` instead. This data source will be removed in v1.0.
*
* Retrieves information about all SDN VNets in Proxmox. This data source lists all virtual networks configured in the Software-Defined Networking setup.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* // List all SDN VNets
* const all = proxmoxve.sdn.getVnetsLegacy({});
* export const dataProxmoxVirtualEnvironmentSdnVnetsAll = {
* vnets: all.then(all => all.vnets),
* };
* ```
*/
export declare function getVnetsLegacyOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVnetsLegacyResult>;
//# sourceMappingURL=getVnetsLegacy.d.ts.map