import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Bds Instance Bds Certificate Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsCertificateConfiguration
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service
 *
 * Create a BDS certificate configuration for the cluster.
 *
 * This resource also supports certificate lifecycle actions through update-only trigger fields:
 *
 * * `issueCertificateTrigger` - invokes certificate generation for the configuration
 * * `renewCertificateTrigger` - invokes certificate renewal for the configuration
 * * `setDefaultTrigger` - marks the configuration as the cluster default
 *
 * For lifecycle actions, provide either `clusterAdminPassword` or `secretId`. The optional `isMissingNodesOnly` flag applies to issue/generate flows.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testBdsInstanceBdsCertificateConfiguration = new oci.bigdataservice.BdsInstanceBdsCertificateConfiguration("test_bds_instance_bds_certificate_configuration", {
 *     bdsInstanceId: testBdsInstance.id,
 *     certificateType: bdsInstanceBdsCertificateConfigurationCertificateType,
 *     displayName: bdsInstanceBdsCertificateConfigurationDisplayName,
 *     certificateAuthorityId: testCertificateAuthority.id,
 *     compartmentId: compartmentId,
 *     clusterAdminPassword: clusterAdminPassword,
 *     secretId: secretId,
 *     issueCertificateTrigger: issueCertificateTrigger,
 *     renewCertificateTrigger: renewCertificateTrigger,
 *     setDefaultTrigger: setDefaultTrigger,
 *     isMissingNodesOnly: isMissingNodesOnly === "true",
 * });
 * ```
 *
 * ## Import
 *
 * BdsInstanceBdsCertificateConfigurations can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:BigDataService/bdsInstanceBdsCertificateConfiguration:BdsInstanceBdsCertificateConfiguration test_bds_instance_bds_certificate_configuration "bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}"
 * ```
 */
export declare class BdsInstanceBdsCertificateConfiguration extends pulumi.CustomResource {
    /**
     * Get an existing BdsInstanceBdsCertificateConfiguration 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?: BdsInstanceBdsCertificateConfigurationState, opts?: pulumi.CustomResourceOptions): BdsInstanceBdsCertificateConfiguration;
    /**
     * Returns true if the given object is an instance of BdsInstanceBdsCertificateConfiguration.  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 BdsInstanceBdsCertificateConfiguration;
    /**
     * The OCID of the cluster.
     */
    readonly bdsInstanceId: pulumi.Output<string>;
    /**
     * The OCID of the certificate authority which is associated with this certificate configuration.
     */
    readonly certificateAuthorityId: pulumi.Output<string>;
    /**
     * The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
     */
    readonly certificateType: pulumi.Output<string>;
    /**
     * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`.
     */
    readonly clusterAdminPassword: pulumi.Output<string | undefined>;
    /**
     * The OCID of the compartment of the certificate authority connecting to this certificate configuration.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The display name of the BDS certificate configuration.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * If this BDS certificate configuration is a default configuration or not. There will be only one Default certificate configuration per BDS cluster.
     */
    readonly isDefaultConfiguration: pulumi.Output<boolean>;
    /**
     * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration.
     */
    readonly isMissingNodesOnly: pulumi.Output<boolean | undefined>;
    /**
     * Any change to this value triggers certificate generation for this configuration.
     */
    readonly issueCertificateTrigger: pulumi.Output<string | undefined>;
    /**
     * Any change to this value triggers certificate renewal for this configuration.
     */
    readonly renewCertificateTrigger: pulumi.Output<string | undefined>;
    /**
     * The OCID of the secret containing the cluster admin password used for issue, renew, or set default actions. Use this or `clusterAdminPassword`.
     */
    readonly secretId: pulumi.Output<string | undefined>;
    /**
     * Any change to this value triggers the set default certificate configuration action.
     *
     *
     * ** 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 setDefaultTrigger: pulumi.Output<string | undefined>;
    /**
     * The lifecycle status of the BDS certificate configuration.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The last time the BDS certificate configuration was used to generate or renew the certificate(s).
     */
    readonly timeLastRefreshedOrGenerated: pulumi.Output<string>;
    /**
     * The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
     */
    readonly type: pulumi.Output<string>;
    /**
     * Create a BdsInstanceBdsCertificateConfiguration 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: BdsInstanceBdsCertificateConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering BdsInstanceBdsCertificateConfiguration resources.
 */
export interface BdsInstanceBdsCertificateConfigurationState {
    /**
     * The OCID of the cluster.
     */
    bdsInstanceId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the certificate authority which is associated with this certificate configuration.
     */
    certificateAuthorityId?: pulumi.Input<string | undefined>;
    /**
     * The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
     */
    certificateType?: pulumi.Input<string | undefined>;
    /**
     * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`.
     */
    clusterAdminPassword?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment of the certificate authority connecting to this certificate configuration.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The display name of the BDS certificate configuration.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * If this BDS certificate configuration is a default configuration or not. There will be only one Default certificate configuration per BDS cluster.
     */
    isDefaultConfiguration?: pulumi.Input<boolean | undefined>;
    /**
     * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration.
     */
    isMissingNodesOnly?: pulumi.Input<boolean | undefined>;
    /**
     * Any change to this value triggers certificate generation for this configuration.
     */
    issueCertificateTrigger?: pulumi.Input<string | undefined>;
    /**
     * Any change to this value triggers certificate renewal for this configuration.
     */
    renewCertificateTrigger?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the secret containing the cluster admin password used for issue, renew, or set default actions. Use this or `clusterAdminPassword`.
     */
    secretId?: pulumi.Input<string | undefined>;
    /**
     * Any change to this value triggers the set default certificate configuration action.
     *
     *
     * ** 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
     */
    setDefaultTrigger?: pulumi.Input<string | undefined>;
    /**
     * The lifecycle status of the BDS certificate configuration.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The last time the BDS certificate configuration was used to generate or renew the certificate(s).
     */
    timeLastRefreshedOrGenerated?: pulumi.Input<string | undefined>;
    /**
     * The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
     */
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a BdsInstanceBdsCertificateConfiguration resource.
 */
export interface BdsInstanceBdsCertificateConfigurationArgs {
    /**
     * The OCID of the cluster.
     */
    bdsInstanceId: pulumi.Input<string>;
    /**
     * The OCID of the certificate authority which is associated with this certificate configuration.
     */
    certificateAuthorityId?: pulumi.Input<string | undefined>;
    /**
     * The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
     */
    certificateType: pulumi.Input<string>;
    /**
     * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`.
     */
    clusterAdminPassword?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment of the certificate authority connecting to this certificate configuration.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The display name of the BDS certificate configuration.
     */
    displayName: pulumi.Input<string>;
    /**
     * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration.
     */
    isMissingNodesOnly?: pulumi.Input<boolean | undefined>;
    /**
     * Any change to this value triggers certificate generation for this configuration.
     */
    issueCertificateTrigger?: pulumi.Input<string | undefined>;
    /**
     * Any change to this value triggers certificate renewal for this configuration.
     */
    renewCertificateTrigger?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the secret containing the cluster admin password used for issue, renew, or set default actions. Use this or `clusterAdminPassword`.
     */
    secretId?: pulumi.Input<string | undefined>;
    /**
     * Any change to this value triggers the set default certificate configuration action.
     *
     *
     * ** 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
     */
    setDefaultTrigger?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=bdsInstanceBdsCertificateConfiguration.d.ts.map