@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
84 lines (83 loc) • 2.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about a specific ACME account.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const all = proxmoxve.Acme.getAccounts({});
* const example = all.then(all => .map(([__key, __value]) => (proxmoxve.Acme.getAccount({
* name: __value,
* }))));
* export const dataProxmoxVirtualEnvironmentAcmeAccount = example;
* ```
*/
export declare function getAccount(args?: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
/**
* A collection of arguments for invoking getAccount.
*/
export interface GetAccountArgs {
/**
* The identifier of the ACME account to read.
*/
name?: string;
}
/**
* A collection of values returned by getAccount.
*/
export interface GetAccountResult {
/**
* The ACME account information.
*/
readonly account: outputs.Acme.GetAccountAccount;
/**
* The directory URL of the ACME account.
*/
readonly directory: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The location URL of the ACME account.
*/
readonly location: string;
/**
* The identifier of the ACME account to read.
*/
readonly name?: string;
/**
* The URL of the terms of service of the ACME account.
*/
readonly tos: string;
}
/**
* Retrieves information about a specific ACME account.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const all = proxmoxve.Acme.getAccounts({});
* const example = all.then(all => .map(([__key, __value]) => (proxmoxve.Acme.getAccount({
* name: __value,
* }))));
* export const dataProxmoxVirtualEnvironmentAcmeAccount = example;
* ```
*/
export declare function getAccountOutput(args?: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountResult>;
/**
* A collection of arguments for invoking getAccount.
*/
export interface GetAccountOutputArgs {
/**
* The identifier of the ACME account to read.
*/
name?: pulumi.Input<string>;
}