import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Bds Instance Operation Certificate Managements Management resource in Oracle Cloud Infrastructure Big Data Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsInstanceOperationCertificateManagementsManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service * Configuring TLS/SSL for various ODH services running on the BDS cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceOperationCertificateManagementsManagement = new oci.bigdataservice.BdsInstanceOperationCertificateManagementsManagement("test_bds_instance_operation_certificate_managements_management", { * bdsInstanceId: testBdsInstance.id, * services: bdsInstanceOperationCertificateManagementsManagementServices, * enableOperationCertificateManagement: enableOperationCertificateManagement === "true", * renewOperationCertificateManagement: renewOperationCertificateManagement === "true", * clusterAdminPassword: bdsInstanceOperationCertificateManagementsManagementClusterAdminPassword, * hostCertDetails: [{ * certificate: bdsInstanceOperationCertificateManagementsManagementHostCertDetailsCertificate, * hostName: bdsInstanceOperationCertificateManagementsManagementHostCertDetailsHostName, * privateKey: bdsInstanceOperationCertificateManagementsManagementHostCertDetailsPrivateKey, * }], * rootCertificate: bdsInstanceOperationCertificateManagementsManagementRootCertificate, * secretId: testSecret.id, * serverKeyPassword: bdsInstanceOperationCertificateManagementsManagementServerKeyPassword, * }); * ``` */ export declare class BdsInstanceOperationCertificateManagementsManagement extends pulumi.CustomResource { /** * Get an existing BdsInstanceOperationCertificateManagementsManagement 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?: BdsInstanceOperationCertificateManagementsManagementState, opts?: pulumi.CustomResourceOptions): BdsInstanceOperationCertificateManagementsManagement; /** * Returns true if the given object is an instance of BdsInstanceOperationCertificateManagementsManagement. 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 BdsInstanceOperationCertificateManagementsManagement; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * Base-64 encoded password for the cluster admin user. */ readonly clusterAdminPassword: pulumi.Output; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ readonly enableOperationCertificateManagement: pulumi.Output; /** * List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required. */ readonly hostCertDetails: pulumi.Output; /** * (Updatable) A required field when set to `true` calls renew action and when set to `false` defaults to enable_operation_certificate_management's value 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 renewOperationCertificateManagement: pulumi.Output; /** * Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory. */ readonly rootCertificate: pulumi.Output; /** * Base-64 encoded password for CA certificate's private key. This value can be empty. */ readonly serverKeyPassword: pulumi.Output; /** * List of services for which certificate needs to be enabled. */ readonly services: pulumi.Output; /** * Create a BdsInstanceOperationCertificateManagementsManagement 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: BdsInstanceOperationCertificateManagementsManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceOperationCertificateManagementsManagement resources. */ export interface BdsInstanceOperationCertificateManagementsManagementState { /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ enableOperationCertificateManagement?: pulumi.Input; /** * List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required. */ hostCertDetails?: pulumi.Input[] | undefined>; /** * (Updatable) A required field when set to `true` calls renew action and when set to `false` defaults to enable_operation_certificate_management's value 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 */ renewOperationCertificateManagement?: pulumi.Input; /** * Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory. */ rootCertificate?: pulumi.Input; /** * Base-64 encoded password for CA certificate's private key. This value can be empty. */ serverKeyPassword?: pulumi.Input; /** * List of services for which certificate needs to be enabled. */ services?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a BdsInstanceOperationCertificateManagementsManagement resource. */ export interface BdsInstanceOperationCertificateManagementsManagementArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * Base-64 encoded password for the cluster admin user. */ clusterAdminPassword: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ enableOperationCertificateManagement: pulumi.Input; /** * List of leaf certificates to use for services on each host. If custom host certificate is provided the root certificate becomes required. */ hostCertDetails?: pulumi.Input[] | undefined>; /** * (Updatable) A required field when set to `true` calls renew action and when set to `false` defaults to enable_operation_certificate_management's value 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 */ renewOperationCertificateManagement: pulumi.Input; /** * Plain text certificate/s in order, separated by new line character. If not provided in request a self-signed root certificate is generated inside the cluster. In case hostCertDetails is provided, root certificate is mandatory. */ rootCertificate?: pulumi.Input; /** * Base-64 encoded password for CA certificate's private key. This value can be empty. */ serverKeyPassword?: pulumi.Input; /** * List of services for which certificate needs to be enabled. */ services: pulumi.Input[]>; } //# sourceMappingURL=bdsInstanceOperationCertificateManagementsManagement.d.ts.map