UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

193 lines (192 loc) 5.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * `f5bigip.SslKeyCert` This resource will import SSL certificate and key on BIG-IP LTM. * The certificate and the key can be imported from files on the local disk, in PEM format * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * import * as std from "@pulumi/std"; * * const testkeycert = new f5bigip.SslKeyCert("testkeycert", { * partition: "Common", * keyName: "ssl-test-key", * keyContent: std.file({ * input: "key.pem", * }).then(invoke => invoke.result), * certName: "ssl-test-cert", * certContent: std.file({ * input: "certificate.pem", * }).then(invoke => invoke.result), * }); * ``` */ export declare class SslKeyCert extends pulumi.CustomResource { /** * Get an existing SslKeyCert 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?: SslKeyCertState, opts?: pulumi.CustomResourceOptions): SslKeyCert; /** * Returns true if the given object is an instance of SslKeyCert. 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 SslKeyCert; /** * The content of the cert. */ readonly certContent: pulumi.Output<string>; /** * full path of the SSL certificate on the BIGIP. */ readonly certFullPath: pulumi.Output<string>; /** * Specifies the type of monitoring used. */ readonly certMonitoringType: pulumi.Output<string | undefined>; /** * Name of the SSL certificate to be Imported on to BIGIP. */ readonly certName: pulumi.Output<string>; /** * Specifies the OCSP responder. */ readonly certOcsp: pulumi.Output<string | undefined>; /** * Specifies the issuer certificate. */ readonly issuerCert: pulumi.Output<string | undefined>; /** * The content of the key. */ readonly keyContent: pulumi.Output<string>; /** * full path of the SSL key on the BIGIP. */ readonly keyFullPath: pulumi.Output<string>; /** * Name of the SSL key to be Imported on to BIGIP. */ readonly keyName: pulumi.Output<string>; /** * Partition on to SSL certificate and key to be imported. */ readonly partition: pulumi.Output<string | undefined>; /** * Passphrase on the SSL key. */ readonly passphrase: pulumi.Output<string | undefined>; /** * Create a SslKeyCert 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: SslKeyCertArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SslKeyCert resources. */ export interface SslKeyCertState { /** * The content of the cert. */ certContent?: pulumi.Input<string>; /** * full path of the SSL certificate on the BIGIP. */ certFullPath?: pulumi.Input<string>; /** * Specifies the type of monitoring used. */ certMonitoringType?: pulumi.Input<string>; /** * Name of the SSL certificate to be Imported on to BIGIP. */ certName?: pulumi.Input<string>; /** * Specifies the OCSP responder. */ certOcsp?: pulumi.Input<string>; /** * Specifies the issuer certificate. */ issuerCert?: pulumi.Input<string>; /** * The content of the key. */ keyContent?: pulumi.Input<string>; /** * full path of the SSL key on the BIGIP. */ keyFullPath?: pulumi.Input<string>; /** * Name of the SSL key to be Imported on to BIGIP. */ keyName?: pulumi.Input<string>; /** * Partition on to SSL certificate and key to be imported. */ partition?: pulumi.Input<string>; /** * Passphrase on the SSL key. */ passphrase?: pulumi.Input<string>; } /** * The set of arguments for constructing a SslKeyCert resource. */ export interface SslKeyCertArgs { /** * The content of the cert. */ certContent: pulumi.Input<string>; /** * full path of the SSL certificate on the BIGIP. */ certFullPath?: pulumi.Input<string>; /** * Specifies the type of monitoring used. */ certMonitoringType?: pulumi.Input<string>; /** * Name of the SSL certificate to be Imported on to BIGIP. */ certName: pulumi.Input<string>; /** * Specifies the OCSP responder. */ certOcsp?: pulumi.Input<string>; /** * Specifies the issuer certificate. */ issuerCert?: pulumi.Input<string>; /** * The content of the key. */ keyContent: pulumi.Input<string>; /** * full path of the SSL key on the BIGIP. */ keyFullPath?: pulumi.Input<string>; /** * Name of the SSL key to be Imported on to BIGIP. */ keyName: pulumi.Input<string>; /** * Partition on to SSL certificate and key to be imported. */ partition?: pulumi.Input<string>; /** * Passphrase on the SSL key. */ passphrase?: pulumi.Input<string>; }