@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
103 lines (102 loc) • 2.43 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.getContainer({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getContainer(args: GetContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerResult>;
/**
* A collection of arguments for invoking getContainer.
*/
export interface GetContainerArgs {
/**
* The node name.
*/
nodeName: string;
/**
* Status of the container
*/
status?: string;
/**
* Is container a template (true) or a regular container (false)
*/
template?: boolean;
/**
* The container identifier.
*/
vmId: number;
}
/**
* A collection of values returned by getContainer.
*/
export interface GetContainerResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The container name.
*/
readonly name: string;
readonly nodeName: string;
/**
* Status of the container
*/
readonly status?: string;
/**
* A list of tags of the container.
*/
readonly tags: string[];
/**
* Is container a template (true) or a regular container (false)
*/
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.getContainer({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getContainerOutput(args: GetContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerResult>;
/**
* A collection of arguments for invoking getContainer.
*/
export interface GetContainerOutputArgs {
/**
* The node name.
*/
nodeName: pulumi.Input<string>;
/**
* Status of the container
*/
status?: pulumi.Input<string>;
/**
* Is container a template (true) or a regular container (false)
*/
template?: pulumi.Input<boolean>;
/**
* The container identifier.
*/
vmId: pulumi.Input<number>;
}