@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
153 lines (152 loc) • 4.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Manages an ACME account in a Proxmox VE cluster.
*
* > This resource requires `root@pam` authentication.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = new proxmoxve.AcmeAccount("example", {
* contact: "example@email.com",
* directory: "https://acme-staging-v02.api.letsencrypt.org/directory",
* tos: "https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf",
* });
* ```
*
* ## Import
*
* #!/usr/bin/env sh
*
* ACME accounts can be imported using their name, e.g.:
*
* ```sh
* $ pulumi import proxmoxve:index/acmeAccount:AcmeAccount example example
* ```
*/
export declare class AcmeAccount extends pulumi.CustomResource {
/**
* Get an existing AcmeAccount resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AcmeAccountState, opts?: pulumi.CustomResourceOptions): AcmeAccount;
/**
* Returns true if the given object is an instance of AcmeAccount. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AcmeAccount;
/**
* The contact email addresses.
*/
readonly contact: pulumi.Output<string>;
/**
* The timestamp of the ACME account creation.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The URL of the ACME CA directory endpoint.
*/
readonly directory: pulumi.Output<string | undefined>;
/**
* The HMAC key for External Account Binding.
*/
readonly eabHmacKey: pulumi.Output<string | undefined>;
/**
* The Key Identifier for External Account Binding.
*/
readonly eabKid: pulumi.Output<string | undefined>;
/**
* The location of the ACME account.
*/
readonly location: pulumi.Output<string>;
/**
* The ACME account config file name.
*/
readonly name: pulumi.Output<string>;
/**
* The URL of CA TermsOfService - setting this indicates agreement.
*/
readonly tos: pulumi.Output<string | undefined>;
/**
* Create a AcmeAccount resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AcmeAccountArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AcmeAccount resources.
*/
export interface AcmeAccountState {
/**
* The contact email addresses.
*/
contact?: pulumi.Input<string>;
/**
* The timestamp of the ACME account creation.
*/
createdAt?: pulumi.Input<string>;
/**
* The URL of the ACME CA directory endpoint.
*/
directory?: pulumi.Input<string>;
/**
* The HMAC key for External Account Binding.
*/
eabHmacKey?: pulumi.Input<string>;
/**
* The Key Identifier for External Account Binding.
*/
eabKid?: pulumi.Input<string>;
/**
* The location of the ACME account.
*/
location?: pulumi.Input<string>;
/**
* The ACME account config file name.
*/
name?: pulumi.Input<string>;
/**
* The URL of CA TermsOfService - setting this indicates agreement.
*/
tos?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AcmeAccount resource.
*/
export interface AcmeAccountArgs {
/**
* The contact email addresses.
*/
contact: pulumi.Input<string>;
/**
* The URL of the ACME CA directory endpoint.
*/
directory?: pulumi.Input<string>;
/**
* The HMAC key for External Account Binding.
*/
eabHmacKey?: pulumi.Input<string>;
/**
* The Key Identifier for External Account Binding.
*/
eabKid?: pulumi.Input<string>;
/**
* The ACME account config file name.
*/
name?: pulumi.Input<string>;
/**
* The URL of CA TermsOfService - setting this indicates agreement.
*/
tos?: pulumi.Input<string>;
}