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, 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; /** * The OCID of the certificate authority which is associated with this certificate configuration. */ readonly certificateAuthorityId: pulumi.Output; /** * 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; /** * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`. */ readonly clusterAdminPassword: pulumi.Output; /** * The OCID of the compartment of the certificate authority connecting to this certificate configuration. */ readonly compartmentId: pulumi.Output; /** * The display name of the BDS certificate configuration. */ readonly displayName: pulumi.Output; /** * 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; /** * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration. */ readonly isMissingNodesOnly: pulumi.Output; /** * Any change to this value triggers certificate generation for this configuration. */ readonly issueCertificateTrigger: pulumi.Output; /** * Any change to this value triggers certificate renewal for this configuration. */ readonly renewCertificateTrigger: pulumi.Output; /** * 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; /** * 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; /** * The lifecycle status of the BDS certificate configuration. */ readonly state: pulumi.Output; /** * The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The last time the BDS certificate configuration was used to generate or renew the certificate(s). */ readonly timeLastRefreshedOrGenerated: pulumi.Output; /** * The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * 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; /** * 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; /** * The OCID of the certificate authority which is associated with this certificate configuration. */ certificateAuthorityId?: pulumi.Input; /** * 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; /** * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`. */ clusterAdminPassword?: pulumi.Input; /** * The OCID of the compartment of the certificate authority connecting to this certificate configuration. */ compartmentId?: pulumi.Input; /** * The display name of the BDS certificate configuration. */ displayName?: pulumi.Input; /** * 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; /** * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration. */ isMissingNodesOnly?: pulumi.Input; /** * Any change to this value triggers certificate generation for this configuration. */ issueCertificateTrigger?: pulumi.Input; /** * Any change to this value triggers certificate renewal for this configuration. */ renewCertificateTrigger?: pulumi.Input; /** * 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; /** * 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; /** * The lifecycle status of the BDS certificate configuration. */ state?: pulumi.Input; /** * The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The last time the BDS certificate configuration was used to generate or renew the certificate(s). */ timeLastRefreshedOrGenerated?: pulumi.Input; /** * The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * 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; } /** * The set of arguments for constructing a BdsInstanceBdsCertificateConfiguration resource. */ export interface BdsInstanceBdsCertificateConfigurationArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * The OCID of the certificate authority which is associated with this certificate configuration. */ certificateAuthorityId?: pulumi.Input; /** * 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; /** * Base64-encoded cluster admin password used for issue, renew, or set default actions. Use this or `secretId`. */ clusterAdminPassword?: pulumi.Input; /** * The OCID of the compartment of the certificate authority connecting to this certificate configuration. */ compartmentId?: pulumi.Input; /** * The display name of the BDS certificate configuration. */ displayName: pulumi.Input; /** * When issuing certificates for the configuration, limits generation to nodes that do not yet have the configuration. */ isMissingNodesOnly?: pulumi.Input; /** * Any change to this value triggers certificate generation for this configuration. */ issueCertificateTrigger?: pulumi.Input; /** * Any change to this value triggers certificate renewal for this configuration. */ renewCertificateTrigger?: pulumi.Input; /** * 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; /** * 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; } //# sourceMappingURL=bdsInstanceBdsCertificateConfiguration.d.ts.map