@pulumi/dnsimple
Version:
A Pulumi package for creating and managing dnsimple cloud resources.
173 lines (172 loc) • 5.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a DNSimple Let's Encrypt certificate resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dnsimple from "@pulumi/dnsimple";
*
* const foobar = new dnsimple.LetsEncryptCertificate("foobar", {
* domainId: dnsimple.domainId,
* autoRenew: false,
* name: "www",
* alternateNames: [
* "docs.example.com",
* "status.example.com",
* ],
* });
* ```
*/
export declare class LetsEncryptCertificate extends pulumi.CustomResource {
/**
* Get an existing LetsEncryptCertificate 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?: LetsEncryptCertificateState, opts?: pulumi.CustomResourceOptions): LetsEncryptCertificate;
/**
* Returns true if the given object is an instance of LetsEncryptCertificate. 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 LetsEncryptCertificate;
/**
* The certificate alternate names
*/
readonly alternateNames: pulumi.Output<string[] | undefined>;
/**
* The identifying certification authority (CA)
*/
readonly authorityIdentifier: pulumi.Output<string>;
/**
* True if the certificate should auto-renew
*/
readonly autoRenew: pulumi.Output<boolean>;
/**
* The datetime the certificate was created
*/
readonly createdAt: pulumi.Output<string>;
/**
* The certificate signing request
*/
readonly csr: pulumi.Output<string>;
/**
* The domain to be issued the certificate for
*/
readonly domainId: pulumi.Output<string>;
/**
* The datetime the certificate will expire
*/
readonly expiresAt: pulumi.Output<string>;
/**
* The certificate name; use `""` for the root domain. Wildcard names are supported.
*/
readonly name: pulumi.Output<string>;
/**
* The signature algorithm to use for the certificate
*/
readonly signatureAlgorithm: pulumi.Output<string | undefined>;
/**
* The state of the certificate
*/
readonly state: pulumi.Output<string>;
/**
* The datetime the certificate was last updated
*/
readonly updatedAt: pulumi.Output<string>;
/**
* The years the certificate will last
*/
readonly years: pulumi.Output<number>;
/**
* Create a LetsEncryptCertificate 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: LetsEncryptCertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering LetsEncryptCertificate resources.
*/
export interface LetsEncryptCertificateState {
/**
* The certificate alternate names
*/
alternateNames?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The identifying certification authority (CA)
*/
authorityIdentifier?: pulumi.Input<string>;
/**
* True if the certificate should auto-renew
*/
autoRenew?: pulumi.Input<boolean>;
/**
* The datetime the certificate was created
*/
createdAt?: pulumi.Input<string>;
/**
* The certificate signing request
*/
csr?: pulumi.Input<string>;
/**
* The domain to be issued the certificate for
*/
domainId?: pulumi.Input<string>;
/**
* The datetime the certificate will expire
*/
expiresAt?: pulumi.Input<string>;
/**
* The certificate name; use `""` for the root domain. Wildcard names are supported.
*/
name?: pulumi.Input<string>;
/**
* The signature algorithm to use for the certificate
*/
signatureAlgorithm?: pulumi.Input<string>;
/**
* The state of the certificate
*/
state?: pulumi.Input<string>;
/**
* The datetime the certificate was last updated
*/
updatedAt?: pulumi.Input<string>;
/**
* The years the certificate will last
*/
years?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a LetsEncryptCertificate resource.
*/
export interface LetsEncryptCertificateArgs {
/**
* The certificate alternate names
*/
alternateNames?: pulumi.Input<pulumi.Input<string>[]>;
/**
* True if the certificate should auto-renew
*/
autoRenew: pulumi.Input<boolean>;
/**
* The domain to be issued the certificate for
*/
domainId: pulumi.Input<string>;
/**
* The certificate name; use `""` for the root domain. Wildcard names are supported.
*/
name: pulumi.Input<string>;
/**
* The signature algorithm to use for the certificate
*/
signatureAlgorithm?: pulumi.Input<string>;
}