Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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 LookupBdsInstanceMetastoreConfig(ctx *Context, args *LookupBdsInstanceMetastoreConfigArgs, opts ...InvokeOption) (*LookupBdsInstanceMetastoreConfigResult, error)
func LookupBdsInstanceMetastoreConfigOutput(ctx *Context, args *LookupBdsInstanceMetastoreConfigOutputArgs, opts ...InvokeOption) LookupBdsInstanceMetastoreConfigResultOutput> Note: This function is named LookupBdsInstanceMetastoreConfig 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:
- BdsInstance stringId 
- The OCID of the cluster.
- MetastoreConfig stringId 
- The metastore configuration ID
- BdsInstance stringId 
- The OCID of the cluster.
- MetastoreConfig stringId 
- The metastore configuration ID
- bdsInstance StringId 
- The OCID of the cluster.
- metastoreConfig StringId 
- The metastore configuration ID
- bdsInstance stringId 
- The OCID of the cluster.
- metastoreConfig stringId 
- The metastore configuration ID
- bds_instance_ strid 
- The OCID of the cluster.
- metastore_config_ strid 
- The metastore configuration ID
- bdsInstance StringId 
- The OCID of the cluster.
- metastoreConfig StringId 
- The metastore configuration ID
getBdsInstanceMetastoreConfig Result
The following output properties are available:
- ActivateTrigger int
- BdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- BdsApi stringKey Passphrase 
- BdsInstance stringId 
- ClusterAdmin stringPassword 
- DisplayName string
- The display name of metastore configuration
- Id string
- The ID of the metastore configuration
- MetastoreConfig stringId 
- MetastoreId string
- The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
- MetastoreType string
- The type of the metastore in the metastore configuration.
- State string
- the lifecycle state of the metastore configuration.
- TimeCreated string
- The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
- TimeUpdated string
- The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
- ActivateTrigger int
- BdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- BdsApi stringKey Passphrase 
- BdsInstance stringId 
- ClusterAdmin stringPassword 
- DisplayName string
- The display name of metastore configuration
- Id string
- The ID of the metastore configuration
- MetastoreConfig stringId 
- MetastoreId string
- The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
- MetastoreType string
- The type of the metastore in the metastore configuration.
- State string
- the lifecycle state of the metastore configuration.
- TimeCreated string
- The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
- TimeUpdated string
- The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
- activateTrigger Integer
- bdsApi StringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- bdsApi StringKey Passphrase 
- bdsInstance StringId 
- clusterAdmin StringPassword 
- displayName String
- The display name of metastore configuration
- id String
- The ID of the metastore configuration
- metastoreConfig StringId 
- metastoreId String
- The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
- metastoreType String
- The type of the metastore in the metastore configuration.
- state String
- the lifecycle state of the metastore configuration.
- timeCreated String
- The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
- timeUpdated String
- The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.
- activateTrigger number
- bdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- bdsApi stringKey Passphrase 
- bdsInstance stringId 
- clusterAdmin stringPassword 
- displayName string
- The display name of metastore configuration
- id string
- The ID of the metastore configuration
- metastoreConfig stringId 
- metastoreId string
- The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
- metastoreType string
- The type of the metastore in the metastore configuration.
- state string
- the lifecycle state of the metastore configuration.
- timeCreated string
- The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
- timeUpdated 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.
- activateTrigger Number
- bdsApi StringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- bdsApi StringKey Passphrase 
- bdsInstance StringId 
- clusterAdmin StringPassword 
- displayName String
- The display name of metastore configuration
- id String
- The ID of the metastore configuration
- metastoreConfig StringId 
- metastoreId String
- The OCID of the Data Catalog metastore. Set only if metastore's type is EXTERNAL.
- metastoreType String
- The type of the metastore in the metastore configuration.
- state String
- the lifecycle state of the metastore configuration.
- timeCreated String
- The time when the configuration was created, shown as an RFC 3339 formatted datetime string.
- timeUpdated 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.