@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
145 lines (144 loc) • 5.86 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
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. A new certificate will be created if this field is changed.
*/
readonly commonName: pulumi.Output<string>;
/**
* Configuration block for custom certificate chain. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
readonly customCertificate: pulumi.Output<outputs.LoadbalancerCertificateCustomCertificate | undefined>;
/**
* The identifier (SHA-1) of the certificate
*/
readonly fingerprint: pulumi.Output<string>;
/**
* The load-balancer ID this certificate is attached to.
*
* > **Important:** Updates to `lbId` will recreate the load-balancer certificate.
*/
readonly lbId: pulumi.Output<string>;
/**
* Configuration block for Let's Encrypt configuration. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
readonly letsencrypt: pulumi.Output<outputs.LoadbalancerCertificateLetsencrypt | undefined>;
/**
* The name of the certificate backend.
*/
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>;
/**
* Array of alternative domain names. A new certificate will be created if this field is changed.
*
* > **Important:** Updates to `letsencrypt` will recreate the load-balancer 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.
*/
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. A new certificate will be created if this field is changed.
*/
commonName?: pulumi.Input<string>;
/**
* Configuration block for custom certificate chain. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
/**
* The identifier (SHA-1) of the certificate
*/
fingerprint?: pulumi.Input<string>;
/**
* The load-balancer ID this certificate is attached to.
*
* > **Important:** Updates to `lbId` will recreate the load-balancer certificate.
*/
lbId?: pulumi.Input<string>;
/**
* Configuration block for Let's Encrypt configuration. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
/**
* The name of the certificate backend.
*/
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>;
/**
* Array of alternative domain names. A new certificate will be created if this field is changed.
*
* > **Important:** Updates to `letsencrypt` will recreate the load-balancer certificate.
*/
subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a LoadbalancerCertificate resource.
*/
export interface LoadbalancerCertificateArgs {
/**
* Configuration block for custom certificate chain. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
customCertificate?: pulumi.Input<inputs.LoadbalancerCertificateCustomCertificate>;
/**
* The load-balancer ID this certificate is attached to.
*
* > **Important:** Updates to `lbId` will recreate the load-balancer certificate.
*/
lbId: pulumi.Input<string>;
/**
* Configuration block for Let's Encrypt configuration. Only one of `letsencrypt` and `customCertificate` should be specified.
*/
letsencrypt?: pulumi.Input<inputs.LoadbalancerCertificateLetsencrypt>;
/**
* The name of the certificate backend.
*/
name?: pulumi.Input<string>;
}