@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
135 lines (134 loc) • 4.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
export declare class Certificate extends pulumi.CustomResource {
/**
* Get an existing Certificate 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?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
/**
* Returns true if the given object is an instance of Certificate. 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 Certificate;
/**
* Main domain of the certificate
*/
readonly commonName: pulumi.Output<string>;
/**
* The custom type certificate type configuration
*/
readonly customCertificate: pulumi.Output<outputs.loadbalancers.CertificateCustomCertificate | 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.loadbalancers.CertificateLetsencrypt | 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 Certificate 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: CertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Certificate resources.
*/
export interface CertificateState {
/**
* Main domain of the certificate
*/
commonName?: pulumi.Input<string>;
/**
* The custom type certificate type configuration
*/
customCertificate?: pulumi.Input<inputs.loadbalancers.CertificateCustomCertificate>;
/**
* 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.loadbalancers.CertificateLetsencrypt>;
/**
* 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 Certificate resource.
*/
export interface CertificateArgs {
/**
* The custom type certificate type configuration
*/
customCertificate?: pulumi.Input<inputs.loadbalancers.CertificateCustomCertificate>;
/**
* The load-balancer ID
*/
lbId: pulumi.Input<string>;
/**
* The Let's Encrypt type certificate configuration
*/
letsencrypt?: pulumi.Input<inputs.loadbalancers.CertificateLetsencrypt>;
/**
* The name of the load-balancer certificate
*/
name?: pulumi.Input<string>;
}