@upcloud/pulumi-upcloud
Version:
A Pulumi package for creating and managing UpCloud resources.
116 lines (115 loc) • 4.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource represents dynamic certificate bundle
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as upcloud from "@upcloud/pulumi-upcloud";
*
* const lbCbD1 = new upcloud.LoadbalancerDynamicCertificateBundle("lb_cb_d1", {
* name: "lb-cb-d1-test",
* hostnames: [
* "example.com",
* "app.example.net",
* ],
* keyType: "rsa",
* });
* ```
*/
export declare class LoadbalancerDynamicCertificateBundle extends pulumi.CustomResource {
/**
* Get an existing LoadbalancerDynamicCertificateBundle 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?: LoadbalancerDynamicCertificateBundleState, opts?: pulumi.CustomResourceOptions): LoadbalancerDynamicCertificateBundle;
/**
* Returns true if the given object is an instance of LoadbalancerDynamicCertificateBundle. 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 LoadbalancerDynamicCertificateBundle;
/**
* Certificate hostnames.
*/
readonly hostnames: pulumi.Output<string[]>;
/**
* Private key type (`rsa` / `ecdsa`).
*/
readonly keyType: pulumi.Output<string>;
/**
* The name of the certificate bundle. Must be unique within customer account.
*/
readonly name: pulumi.Output<string>;
/**
* The time after which a certificate is no longer valid.
*/
readonly notAfter: pulumi.Output<string>;
/**
* The time on which a certificate becomes valid.
*/
readonly notBefore: pulumi.Output<string>;
/**
* The service operational state indicates the service's current operational, effective state. Managed by the system.
*/
readonly operationalState: pulumi.Output<string>;
/**
* Create a LoadbalancerDynamicCertificateBundle 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: LoadbalancerDynamicCertificateBundleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering LoadbalancerDynamicCertificateBundle resources.
*/
export interface LoadbalancerDynamicCertificateBundleState {
/**
* Certificate hostnames.
*/
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Private key type (`rsa` / `ecdsa`).
*/
keyType?: pulumi.Input<string>;
/**
* The name of the certificate bundle. Must be unique within customer account.
*/
name?: pulumi.Input<string>;
/**
* The time after which a certificate is no longer valid.
*/
notAfter?: pulumi.Input<string>;
/**
* The time on which a certificate becomes valid.
*/
notBefore?: pulumi.Input<string>;
/**
* The service operational state indicates the service's current operational, effective state. Managed by the system.
*/
operationalState?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a LoadbalancerDynamicCertificateBundle resource.
*/
export interface LoadbalancerDynamicCertificateBundleArgs {
/**
* Certificate hostnames.
*/
hostnames: pulumi.Input<pulumi.Input<string>[]>;
/**
* Private key type (`rsa` / `ecdsa`).
*/
keyType: pulumi.Input<string>;
/**
* The name of the certificate bundle. Must be unique within customer account.
*/
name?: pulumi.Input<string>;
}