import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Bds Instance Metastore Config resource in Oracle Cloud Infrastructure Big Data Service service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/bigdata/latest/BdsInstanceMetastoreConfig * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/big_data_service * * Create and activate external metastore configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstanceMetastoreConfig = new oci.bigdataservice.BdsInstanceMetastoreConfig("test_bds_instance_metastore_config", { * bdsApiKeyId: testApiKey.id, * bdsApiKeyPassphrase: bdsInstanceMetastoreConfigBdsApiKeyPassphrase, * bdsInstanceId: testBdsInstance.id, * metastoreId: testMetastore.id, * clusterAdminPassword: bdsInstanceMetastoreConfigClusterAdminPassword, * displayName: bdsInstanceMetastoreConfigDisplayName, * secretId: testSecret.id, * }); * ``` * * ## Import * * BdsInstanceMetastoreConfigs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:BigDataService/bdsInstanceMetastoreConfig:BdsInstanceMetastoreConfig test_bds_instance_metastore_config "bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}" * ``` */ export declare class BdsInstanceMetastoreConfig extends pulumi.CustomResource { /** * Get an existing BdsInstanceMetastoreConfig 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?: BdsInstanceMetastoreConfigState, opts?: pulumi.CustomResourceOptions): BdsInstanceMetastoreConfig; /** * Returns true if the given object is an instance of BdsInstanceMetastoreConfig. 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 BdsInstanceMetastoreConfig; /** * (Updatable) An optional integer, when flipped triggers activation of metastore config. * * ** 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 activateTrigger: pulumi.Output; /** * (Updatable) The ID of BDS Api Key used for Data Catalog metastore integration. */ readonly bdsApiKeyId: pulumi.Output; /** * (Updatable) Base-64 encoded passphrase of the BDS Api Key. */ readonly bdsApiKeyPassphrase: pulumi.Output; /** * The OCID of the cluster. */ readonly bdsInstanceId: pulumi.Output; /** * (Updatable) Base-64 encoded password for the cluster admin user. */ readonly clusterAdminPassword: pulumi.Output; /** * (Updatable) The display name of the metastore configuration */ readonly displayName: pulumi.Output; /** * The OCID of the Data Catalog metastore. */ readonly metastoreId: pulumi.Output; /** * The type of the metastore in the metastore configuration. */ readonly metastoreType: pulumi.Output; /** * the lifecycle state of the metastore configuration. */ readonly state: pulumi.Output; /** * The time when the configuration was created, shown as an RFC 3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the configuration was updated, shown as an RFC 3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a BdsInstanceMetastoreConfig 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: BdsInstanceMetastoreConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BdsInstanceMetastoreConfig resources. */ export interface BdsInstanceMetastoreConfigState { /** * (Updatable) An optional integer, when flipped triggers activation of metastore config. * * ** 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 */ activateTrigger?: pulumi.Input; /** * (Updatable) The ID of BDS Api Key used for Data Catalog metastore integration. */ bdsApiKeyId?: pulumi.Input; /** * (Updatable) Base-64 encoded passphrase of the BDS Api Key. */ bdsApiKeyPassphrase?: pulumi.Input; /** * The OCID of the cluster. */ bdsInstanceId?: pulumi.Input; /** * (Updatable) Base-64 encoded password for the cluster admin user. */ clusterAdminPassword?: pulumi.Input; /** * (Updatable) The display name of the metastore configuration */ displayName?: pulumi.Input; /** * The OCID of the Data Catalog metastore. */ metastoreId?: pulumi.Input; /** * The type of the metastore in the metastore configuration. */ metastoreType?: pulumi.Input; /** * the lifecycle state of the metastore configuration. */ state?: pulumi.Input; /** * The time when the configuration was created, shown as an RFC 3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the configuration was updated, shown as an RFC 3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a BdsInstanceMetastoreConfig resource. */ export interface BdsInstanceMetastoreConfigArgs { /** * (Updatable) An optional integer, when flipped triggers activation of metastore config. * * ** 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 */ activateTrigger?: pulumi.Input; /** * (Updatable) The ID of BDS Api Key used for Data Catalog metastore integration. */ bdsApiKeyId: pulumi.Input; /** * (Updatable) Base-64 encoded passphrase of the BDS Api Key. */ bdsApiKeyPassphrase: pulumi.Input; /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; /** * (Updatable) Base-64 encoded password for the cluster admin user. */ clusterAdminPassword: pulumi.Input; /** * (Updatable) The display name of the metastore configuration */ displayName?: pulumi.Input; /** * The OCID of the Data Catalog metastore. */ metastoreId: pulumi.Input; } //# sourceMappingURL=bdsInstanceMetastoreConfig.d.ts.map