@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
92 lines • 3.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* > **Deprecated:** Use `proxmoxve.acme.Account` instead. This data source will be removed in v1.0.
*
* 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.getAccountsLegacy({});
* // ...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.getAccountLegacy({
* name: __value,
* }) }), {}));
* export const dataProxmoxVirtualEnvironmentAcmeAccount = example;
* ```
*/
export declare function getAccountLegacy(args?: GetAccountLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountLegacyResult>;
/**
* A collection of arguments for invoking getAccountLegacy.
*/
export interface GetAccountLegacyArgs {
/**
* The identifier of the ACME account to read.
*/
name?: string;
}
/**
* A collection of values returned by getAccountLegacy.
*/
export interface GetAccountLegacyResult {
/**
* The ACME account information.
*/
readonly account: outputs.acme.GetAccountLegacyAccount;
/**
* 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;
}
/**
* > **Deprecated:** Use `proxmoxve.acme.Account` instead. This data source will be removed in v1.0.
*
* 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.getAccountsLegacy({});
* // ...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.getAccountLegacy({
* name: __value,
* }) }), {}));
* export const dataProxmoxVirtualEnvironmentAcmeAccount = example;
* ```
*/
export declare function getAccountLegacyOutput(args?: GetAccountLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountLegacyResult>;
/**
* A collection of arguments for invoking getAccountLegacy.
*/
export interface GetAccountLegacyOutputArgs {
/**
* The identifier of the ACME account to read.
*/
name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getAccountLegacy.d.ts.map