import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Deployment Certificate resource in Oracle Cloud Infrastructure Golden Gate service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/goldengate/latest/DeploymentCertificate * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/goldengate * * Creates a new certificate to truststore. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeploymentCertificate = new oci.goldengate.DeploymentCertificate("test_deployment_certificate", { * certificateContent: deploymentCertificateCertificateContent, * deploymentId: testDeployment.id, * key: deploymentCertificateKey, * isLockOverride: deploymentCertificateIsLockOverride === "true", * }); * ``` * * ## Import * * DeploymentCertificates can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:GoldenGate/deploymentCertificate:DeploymentCertificate test_deployment_certificate "deployments/{deploymentId}/certificates/{certificateKey}" * ``` */ export declare class DeploymentCertificate extends pulumi.CustomResource { /** * Get an existing DeploymentCertificate 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, state?: DeploymentCertificateState, opts?: pulumi.CustomResourceOptions): DeploymentCertificate; /** * Returns true if the given object is an instance of DeploymentCertificate. 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 DeploymentCertificate; /** * The Certificate authority key id. */ readonly authorityKeyId: pulumi.Output; /** * The base64 encoded content of the PEM file containing the SSL certificate. */ readonly certificateContent: pulumi.Output; /** * A unique Deployment identifier. */ readonly deploymentId: pulumi.Output; /** * Indicates if the certificate is ca. */ readonly isCa: pulumi.Output; /** * Whether to override locks (if any exist). */ readonly isLockOverride: pulumi.Output; /** * Indicates if the certificate is self signed. */ readonly isSelfSigned: pulumi.Output; /** * The Certificate issuer. */ readonly issuer: pulumi.Output; /** * The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly key: pulumi.Output; /** * The Certificate md5Hash. */ readonly md5hash: pulumi.Output; /** * The Certificate public key. */ readonly publicKey: pulumi.Output; /** * The Certificate public key algorithm. */ readonly publicKeyAlgorithm: pulumi.Output; /** * The Certificate public key size. */ readonly publicKeySize: pulumi.Output; /** * The Certificate serial. */ readonly serial: pulumi.Output; /** * The Certificate sha1 hash. */ readonly sha1hash: pulumi.Output; /** * Possible certificate lifecycle states. */ readonly state: pulumi.Output; /** * The Certificate subject. */ readonly subject: pulumi.Output; /** * The Certificate subject key id. */ readonly subjectKeyId: pulumi.Output; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeCreated: pulumi.Output; /** * The time the certificate is valid from. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeValidFrom: pulumi.Output; /** * The time the certificate is valid to. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeValidTo: pulumi.Output; /** * The Certificate version. */ readonly version: pulumi.Output; /** * Create a DeploymentCertificate 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: DeploymentCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DeploymentCertificate resources. */ export interface DeploymentCertificateState { /** * The Certificate authority key id. */ authorityKeyId?: pulumi.Input; /** * The base64 encoded content of the PEM file containing the SSL certificate. */ certificateContent?: pulumi.Input; /** * A unique Deployment identifier. */ deploymentId?: pulumi.Input; /** * Indicates if the certificate is ca. */ isCa?: pulumi.Input; /** * Whether to override locks (if any exist). */ isLockOverride?: pulumi.Input; /** * Indicates if the certificate is self signed. */ isSelfSigned?: pulumi.Input; /** * The Certificate issuer. */ issuer?: pulumi.Input; /** * The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ key?: pulumi.Input; /** * The Certificate md5Hash. */ md5hash?: pulumi.Input; /** * The Certificate public key. */ publicKey?: pulumi.Input; /** * The Certificate public key algorithm. */ publicKeyAlgorithm?: pulumi.Input; /** * The Certificate public key size. */ publicKeySize?: pulumi.Input; /** * The Certificate serial. */ serial?: pulumi.Input; /** * The Certificate sha1 hash. */ sha1hash?: pulumi.Input; /** * Possible certificate lifecycle states. */ state?: pulumi.Input; /** * The Certificate subject. */ subject?: pulumi.Input; /** * The Certificate subject key id. */ subjectKeyId?: pulumi.Input; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeCreated?: pulumi.Input; /** * The time the certificate is valid from. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeValidFrom?: pulumi.Input; /** * The time the certificate is valid to. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeValidTo?: pulumi.Input; /** * The Certificate version. */ version?: pulumi.Input; } /** * The set of arguments for constructing a DeploymentCertificate resource. */ export interface DeploymentCertificateArgs { /** * The base64 encoded content of the PEM file containing the SSL certificate. */ certificateContent: pulumi.Input; /** * A unique Deployment identifier. */ deploymentId: pulumi.Input; /** * Whether to override locks (if any exist). */ isLockOverride?: pulumi.Input; /** * The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ key: pulumi.Input; } //# sourceMappingURL=deploymentCertificate.d.ts.map