UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

81 lines (80 loc) 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get information about Scaleway Load-Balancer Certificates. * * This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. * * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ export declare function getLoadbalancerCertificate(args?: GetLoadbalancerCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadbalancerCertificateResult>; /** * A collection of arguments for invoking getLoadbalancerCertificate. */ export interface GetLoadbalancerCertificateArgs { /** * The certificate id. * - Only one of `name` and `certificateId` should be specified. */ certificateId?: string; /** * The load-balancer ID this certificate is attached to. */ lbId?: string; /** * The name of the certificate backend. * - When using a certificate `name` you should specify the `lb-id` */ name?: string; } /** * A collection of values returned by getLoadbalancerCertificate. */ export interface GetLoadbalancerCertificateResult { readonly certificateId?: string; readonly commonName: string; readonly customCertificates: outputs.GetLoadbalancerCertificateCustomCertificate[]; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lbId?: string; readonly letsencrypts: outputs.GetLoadbalancerCertificateLetsencrypt[]; readonly name?: string; readonly notValidAfter: string; readonly notValidBefore: string; readonly status: string; readonly subjectAlternativeNames: string[]; } /** * Get information about Scaleway Load-Balancer Certificates. * * This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc. * * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ export declare function getLoadbalancerCertificateOutput(args?: GetLoadbalancerCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLoadbalancerCertificateResult>; /** * A collection of arguments for invoking getLoadbalancerCertificate. */ export interface GetLoadbalancerCertificateOutputArgs { /** * The certificate id. * - Only one of `name` and `certificateId` should be specified. */ certificateId?: pulumi.Input<string>; /** * The load-balancer ID this certificate is attached to. */ lbId?: pulumi.Input<string>; /** * The name of the certificate backend. * - When using a certificate `name` you should specify the `lb-id` */ name?: pulumi.Input<string>; }