@pulumi/dnsimple
Version:
A Pulumi package for creating and managing dnsimple cloud resources.
98 lines • 2.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Get information about a DNSimple SSL certificate.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dnsimple from "@pulumi/dnsimple";
*
* const example = dnsimple.getCertificate({
* domain: "example.com",
* certificateId: 1234,
* });
* ```
*/
export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificateResult>;
/**
* A collection of arguments for invoking getCertificate.
*/
export interface GetCertificateArgs {
/**
* The ID of the SSL certificate.
*/
certificateId: number;
/**
* The domain name of the SSL certificate.
*/
domain: string;
/**
* (see below for nested schema)
*/
timeouts?: inputs.GetCertificateTimeouts;
}
/**
* A collection of values returned by getCertificate.
*/
export interface GetCertificateResult {
/**
* A list of certificates that make up the certificate chain.
*/
readonly certificateChains: string[];
readonly certificateId: number;
readonly domain: string;
/**
* The certificate ID.
*/
readonly id: string;
/**
* The corresponding private key for the SSL certificate.
*/
readonly privateKey: string;
/**
* The root certificate of the issuing CA.
*/
readonly rootCertificate: string;
/**
* The SSL certificate.
*/
readonly serverCertificate: string;
readonly timeouts?: outputs.GetCertificateTimeouts;
}
/**
* Get information about a DNSimple SSL certificate.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dnsimple from "@pulumi/dnsimple";
*
* const example = dnsimple.getCertificate({
* domain: "example.com",
* certificateId: 1234,
* });
* ```
*/
export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificateResult>;
/**
* A collection of arguments for invoking getCertificate.
*/
export interface GetCertificateOutputArgs {
/**
* The ID of the SSL certificate.
*/
certificateId: pulumi.Input<number>;
/**
* The domain name of the SSL certificate.
*/
domain: pulumi.Input<string>;
/**
* (see below for nested schema)
*/
timeouts?: pulumi.Input<inputs.GetCertificateTimeoutsArgs | undefined>;
}
//# sourceMappingURL=getCertificate.d.ts.map