@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
88 lines • 2.7 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";
*
* // This will fetch all ACME accounts...
* const all = proxmoxve.acme.getAccounts({});
* // ...which we will go through in order to fetch the whole data on each account.
* const example = all.then(all => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: proxmoxve.acme.getAccount({
* name: __value,
* }) }), {}));
* export const dataProxmoxAcmeAccount = 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";
*
* // This will fetch all ACME accounts...
* const all = proxmoxve.acme.getAccounts({});
* // ...which we will go through in order to fetch the whole data on each account.
* const example = all.then(all => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: proxmoxve.acme.getAccount({
* name: __value,
* }) }), {}));
* export const dataProxmoxAcmeAccount = 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 | undefined>;
}
//# sourceMappingURL=getAccount.d.ts.map