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 a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ export declare function getLbCertificate(args?: GetLbCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLbCertificate. */ export interface GetLbCertificateArgs { /** * 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 Load Balancer certificate. * - When using a certificate `name` you should specify the `lb-id` */ name?: string; } /** * A collection of values returned by getLbCertificate. */ export interface GetLbCertificateResult { readonly certificateId?: string; readonly commonName: string; readonly customCertificates: outputs.GetLbCertificateCustomCertificate[]; readonly fingerprint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lbId?: string; readonly letsencrypts: outputs.GetLbCertificateLetsencrypt[]; 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 a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate). * * ## Examples */ export declare function getLbCertificateOutput(args?: GetLbCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLbCertificate. */ export interface GetLbCertificateOutputArgs { /** * The certificate ID. * - Only one of `name` and `certificateId` should be specified. */ certificateId?: pulumi.Input; /** * The Load Balancer ID this certificate is attached to. */ lbId?: pulumi.Input; /** * The name of the Load Balancer certificate. * - When using a certificate `name` you should specify the `lb-id` */ name?: pulumi.Input; }