Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.BigDataService.getBdsInstanceMetastoreConfig
Explore with Pulumi AI
This data source provides details about a specific Bds Instance Metastore Config resource in Oracle Cloud Infrastructure Big Data Service service.
Returns the BDS Metastore configuration information for the given ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsInstanceMetastoreConfig = oci.BigDataService.getBdsInstanceMetastoreConfig({
    bdsInstanceId: testBdsInstance.id,
    metastoreConfigId: testConfig.id,
});
import pulumi
import pulumi_oci as oci
test_bds_instance_metastore_config = oci.BigDataService.get_bds_instance_metastore_config(bds_instance_id=test_bds_instance["id"],
    metastore_config_id=test_config["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/bigdataservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigdataservice.GetBdsInstanceMetastoreConfig(ctx, &bigdataservice.GetBdsInstanceMetastoreConfigArgs{
			BdsInstanceId:     testBdsInstance.Id,
			MetastoreConfigId: testConfig.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testBdsInstanceMetastoreConfig = Oci.BigDataService.GetBdsInstanceMetastoreConfig.Invoke(new()
    {
        BdsInstanceId = testBdsInstance.Id,
        MetastoreConfigId = testConfig.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.BigDataService.BigDataServiceFunctions;
import com.pulumi.oci.BigDataService.inputs.GetBdsInstanceMetastoreConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testBdsInstanceMetastoreConfig = BigDataServiceFunctions.getBdsInstanceMetastoreConfig(GetBdsInstanceMetastoreConfigArgs.builder()
            .bdsInstanceId(testBdsInstance.id())
            .metastoreConfigId(testConfig.id())
            .build());
    }
}
variables:
  testBdsInstanceMetastoreConfig:
    fn::invoke:
      function: oci:BigDataService:getBdsInstanceMetastoreConfig
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
        metastoreConfigId: ${testConfig.id}
Using getBdsInstanceMetastoreConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBdsInstanceMetastoreConfig(args: GetBdsInstanceMetastoreConfigArgs, opts?: InvokeOptions): Promise<GetBdsInstanceMetastoreConfigResult>
function getBdsInstanceMetastoreConfigOutput(args: GetBdsInstanceMetastoreConfigOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceMetastoreConfigResult>def get_bds_instance_metastore_config(bds_instance_id: Optional[str] = None,
                                      metastore_config_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetBdsInstanceMetastoreConfigResult
def get_bds_instance_metastore_config_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                      metastore_config_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceMetastoreConfigResult]func GetBdsInstanceMetastoreConfig(ctx *Context, args *GetBdsInstanceMetastoreConfigArgs, opts ...InvokeOption) (*GetBdsInstanceMetastoreConfigResult, error)
func GetBdsInstanceMetastoreConfigOutput(ctx *Context, args *GetBdsInstanceMetastoreConfigOutputArgs, opts ...InvokeOption) GetBdsInstanceMetastoreConfigResultOutput> Note: This function is named GetBdsInstanceMetastoreConfig in the Go SDK.
public static class GetBdsInstanceMetastoreConfig 
{
    public static Task<GetBdsInstanceMetastoreConfigResult> InvokeAsync(GetBdsInstanceMetastoreConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetBdsInstanceMetastoreConfigResult> Invoke(GetBdsInstanceMetastoreConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBdsInstanceMetastoreConfigResult> getBdsInstanceMetastoreConfig(GetBdsInstanceMetastoreConfigArgs args, InvokeOptions options)
public static Output<GetBdsInstanceMetastoreConfigResult> getBdsInstanceMetastoreConfig(GetBdsInstanceMetastoreConfigArgs args, InvokeOptions options)
fn::invoke:
  function: oci:BigDataService/getBdsInstanceMetastoreConfig:getBdsInstanceMetastoreConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Bds
Instance stringId  - The OCID of the cluster.
 - Metastore
Config stringId  - The metastore configuration ID
 
- Bds
Instance stringId  - The OCID of the cluster.
 - Metastore
Config stringId  - The metastore configuration ID
 
- bds
Instance StringId  - The OCID of the cluster.
 - metastore
Config StringId  - The metastore configuration ID
 
- bds
Instance stringId  - The OCID of the cluster.
 - metastore
Config stringId  - The metastore configuration ID
 
- bds_
instance_ strid  - The OCID of the cluster.
 - metastore_
config_ strid  - The metastore configuration ID
 
- bds
Instance StringId  - The OCID of the cluster.
 - metastore
Config StringId  - The metastore configuration ID
 
getBdsInstanceMetastoreConfig Result
The following output properties are available:
- Activate
Trigger int - Bds
Api stringKey Id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - Bds
Api stringKey Passphrase  - Bds
Instance stringId  - Cluster
Admin stringPassword  - Display
Name string - The display name of metastore configuration
 - Id string
 - The ID of the metastore configuration
 - Metastore
Config stringId  - Metastore
Id string - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - Metastore
Type string - The type of the metastore in the metastore configuration.
 - State string
 - the lifecycle state of the metastore configuration.
 - Time
Created string - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - Time
Updated string - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
- Activate
Trigger int - Bds
Api stringKey Id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - Bds
Api stringKey Passphrase  - Bds
Instance stringId  - Cluster
Admin stringPassword  - Display
Name string - The display name of metastore configuration
 - Id string
 - The ID of the metastore configuration
 - Metastore
Config stringId  - Metastore
Id string - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - Metastore
Type string - The type of the metastore in the metastore configuration.
 - State string
 - the lifecycle state of the metastore configuration.
 - Time
Created string - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - Time
Updated string - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
- activate
Trigger Integer - bds
Api StringKey Id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - bds
Api StringKey Passphrase  - bds
Instance StringId  - cluster
Admin StringPassword  - display
Name String - The display name of metastore configuration
 - id String
 - The ID of the metastore configuration
 - metastore
Config StringId  - metastore
Id String - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - metastore
Type String - The type of the metastore in the metastore configuration.
 - state String
 - the lifecycle state of the metastore configuration.
 - time
Created String - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - time
Updated String - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
- activate
Trigger number - bds
Api stringKey Id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - bds
Api stringKey Passphrase  - bds
Instance stringId  - cluster
Admin stringPassword  - display
Name string - The display name of metastore configuration
 - id string
 - The ID of the metastore configuration
 - metastore
Config stringId  - metastore
Id string - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - metastore
Type string - The type of the metastore in the metastore configuration.
 - state string
 - the lifecycle state of the metastore configuration.
 - time
Created string - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - time
Updated string - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
- activate_
trigger int - bds_
api_ strkey_ id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - bds_
api_ strkey_ passphrase  - bds_
instance_ strid  - cluster_
admin_ strpassword  - display_
name str - The display name of metastore configuration
 - id str
 - The ID of the metastore configuration
 - metastore_
config_ strid  - metastore_
id str - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - metastore_
type str - The type of the metastore in the metastore configuration.
 - state str
 - the lifecycle state of the metastore configuration.
 - time_
created str - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - time_
updated str - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
- activate
Trigger Number - bds
Api StringKey Id  - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
 - bds
Api StringKey Passphrase  - bds
Instance StringId  - cluster
Admin StringPassword  - display
Name String - The display name of metastore configuration
 - id String
 - The ID of the metastore configuration
 - metastore
Config StringId  - metastore
Id String - The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
 - metastore
Type String - The type of the metastore in the metastore configuration.
 - state String
 - the lifecycle state of the metastore configuration.
 - time
Created String - The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
 - time
Updated String - The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.