UNPKG

@pulumi/hcloud

Version:

A Pulumi package for creating and managing hcloud cloud resources.

65 lines (64 loc) 1.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides details about multiple Hetzner Cloud Certificates. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleCertificate1 = hcloud.getCertificates({ * withSelector: "key=value", * }); * ``` */ export declare function getCertificates(args?: GetCertificatesArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificatesResult>; /** * A collection of arguments for invoking getCertificates. */ export interface GetCertificatesArgs { /** * [Label selector](https://docs.hetzner.cloud/#overview-label-selector) */ withSelector?: string; } /** * A collection of values returned by getCertificates. */ export interface GetCertificatesResult { /** * (list) List of all matching certificates. See `data.hcloud_certificate` for schema. */ readonly certificates: outputs.GetCertificatesCertificate[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly withSelector?: string; } /** * Provides details about multiple Hetzner Cloud Certificates. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleCertificate1 = hcloud.getCertificates({ * withSelector: "key=value", * }); * ``` */ export declare function getCertificatesOutput(args?: GetCertificatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificatesResult>; /** * A collection of arguments for invoking getCertificates. */ export interface GetCertificatesOutputArgs { /** * [Label selector](https://docs.hetzner.cloud/#overview-label-selector) */ withSelector?: pulumi.Input<string>; }