@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
103 lines • 2.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about a specific Container.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const testContainer = proxmoxve.getContainerLegacy({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getContainerLegacy(args: GetContainerLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerLegacyResult>;
/**
* A collection of arguments for invoking getContainerLegacy.
*/
export interface GetContainerLegacyArgs {
/**
* The node name.
*/
nodeName: string;
/**
* The status of the container.
*/
status?: string;
/**
* Whether the container is a template.
*/
template?: boolean;
/**
* The container identifier.
*/
vmId: number;
}
/**
* A collection of values returned by getContainerLegacy.
*/
export interface GetContainerLegacyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The container name.
*/
readonly name: string;
readonly nodeName: string;
/**
* The status of the container.
*/
readonly status?: string;
/**
* A list of tags of the container.
*/
readonly tags: string[];
/**
* Whether the container is a template.
*/
readonly template?: boolean;
readonly vmId: number;
}
/**
* Retrieves information about a specific Container.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const testContainer = proxmoxve.getContainerLegacy({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getContainerLegacyOutput(args: GetContainerLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerLegacyResult>;
/**
* A collection of arguments for invoking getContainerLegacy.
*/
export interface GetContainerLegacyOutputArgs {
/**
* The node name.
*/
nodeName: pulumi.Input<string>;
/**
* The status of the container.
*/
status?: pulumi.Input<string | undefined>;
/**
* Whether the container is a template.
*/
template?: pulumi.Input<boolean | undefined>;
/**
* The container identifier.
*/
vmId: pulumi.Input<number>;
}
//# sourceMappingURL=getContainerLegacy.d.ts.map