UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

139 lines (138 loc) 4.96 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * @deprecated scaleway.index/loadbalancercertificate.LoadbalancerCertificate has been deprecated in favor of scaleway.loadbalancers/certificate.Certificate */ export declare class LoadbalancerCertificate extends pulumi.CustomResource { /** * Get an existing LoadbalancerCertificate 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?: LoadbalancerCertificateState, opts?: pulumi.CustomResourceOptions): LoadbalancerCertificate; /** * Returns true if the given object is an instance of LoadbalancerCertificate. 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 LoadbalancerCertificate; /** * Main domain of the certificate */ readonly commonName: pulumi.Output<string>; /** * The custom type certificate type configuration */ readonly customCertificate: pulumi.Output<outputs.LoadbalancerCertificateCustomCertificate | undefined>; /** * The identifier (SHA-1) of the certificate */ readonly fingerprint: pulumi.Output<string>; /** * The load-balancer ID */ readonly lbId: pulumi.Output<string>; /** * The Let's Encrypt type certificate configuration */ readonly letsencrypt: pulumi.Output<outputs.LoadbalancerCertificateLetsencrypt | undefined>; /** * The name of the load-balancer certificate */ readonly name: pulumi.Output<string>; /** * The not valid after validity bound timestamp */ readonly notValidAfter: pulumi.Output<string>; /** * The not valid before validity bound timestamp */ readonly notValidBefore: pulumi.Output<string>; /** * Certificate status */ readonly status: pulumi.Output<string>; /** * The alternative domain names of the certificate */ readonly subjectAlternativeNames: pulumi.Output<string[]>; /** * Create a LoadbalancerCertificate 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. */ /** @deprecated scaleway.index/loadbalancercertificate.LoadbalancerCertificate has been deprecated in favor of scaleway.loadbalancers/certificate.Certificate */ constructor(name: string, args: LoadbalancerCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadbalancerCertificate resources. */ export interface LoadbalancerCertificateState { /** * Main domain of the certificate */ commonName?: pulumi.Input<string>; /** * The custom type certificate type configuration */ customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>; /** * The identifier (SHA-1) of the certificate */ fingerprint?: pulumi.Input<string>; /** * The load-balancer ID */ lbId?: pulumi.Input<string>; /** * The Let's Encrypt type certificate configuration */ letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>; /** * The name of the load-balancer certificate */ name?: pulumi.Input<string>; /** * The not valid after validity bound timestamp */ notValidAfter?: pulumi.Input<string>; /** * The not valid before validity bound timestamp */ notValidBefore?: pulumi.Input<string>; /** * Certificate status */ status?: pulumi.Input<string>; /** * The alternative domain names of the certificate */ subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a LoadbalancerCertificate resource. */ export interface LoadbalancerCertificateArgs { /** * The custom type certificate type configuration */ customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>; /** * The load-balancer ID */ lbId: pulumi.Input<string>; /** * The Let's Encrypt type certificate configuration */ letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>; /** * The name of the load-balancer certificate */ name?: pulumi.Input<string>; }