Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.BigDataService.getBdsInstanceMetastoreConfigs
Explore with Pulumi AI
This data source provides the list of Bds Instance Metastore Configs in Oracle Cloud Infrastructure Big Data Service service.
Returns a list of metastore configurations ssociated with this Big Data Service cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsInstanceMetastoreConfigs = oci.BigDataService.getBdsInstanceMetastoreConfigs({
    bdsInstanceId: testBdsInstance.id,
    bdsApiKeyId: testApiKey.id,
    displayName: bdsInstanceMetastoreConfigDisplayName,
    metastoreId: testMetastore.id,
    metastoreType: bdsInstanceMetastoreConfigMetastoreType,
    state: bdsInstanceMetastoreConfigState,
});
import pulumi
import pulumi_oci as oci
test_bds_instance_metastore_configs = oci.BigDataService.get_bds_instance_metastore_configs(bds_instance_id=test_bds_instance["id"],
    bds_api_key_id=test_api_key["id"],
    display_name=bds_instance_metastore_config_display_name,
    metastore_id=test_metastore["id"],
    metastore_type=bds_instance_metastore_config_metastore_type,
    state=bds_instance_metastore_config_state)
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.GetBdsInstanceMetastoreConfigs(ctx, &bigdataservice.GetBdsInstanceMetastoreConfigsArgs{
			BdsInstanceId: testBdsInstance.Id,
			BdsApiKeyId:   pulumi.StringRef(testApiKey.Id),
			DisplayName:   pulumi.StringRef(bdsInstanceMetastoreConfigDisplayName),
			MetastoreId:   pulumi.StringRef(testMetastore.Id),
			MetastoreType: pulumi.StringRef(bdsInstanceMetastoreConfigMetastoreType),
			State:         pulumi.StringRef(bdsInstanceMetastoreConfigState),
		}, 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 testBdsInstanceMetastoreConfigs = Oci.BigDataService.GetBdsInstanceMetastoreConfigs.Invoke(new()
    {
        BdsInstanceId = testBdsInstance.Id,
        BdsApiKeyId = testApiKey.Id,
        DisplayName = bdsInstanceMetastoreConfigDisplayName,
        MetastoreId = testMetastore.Id,
        MetastoreType = bdsInstanceMetastoreConfigMetastoreType,
        State = bdsInstanceMetastoreConfigState,
    });
});
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.GetBdsInstanceMetastoreConfigsArgs;
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 testBdsInstanceMetastoreConfigs = BigDataServiceFunctions.getBdsInstanceMetastoreConfigs(GetBdsInstanceMetastoreConfigsArgs.builder()
            .bdsInstanceId(testBdsInstance.id())
            .bdsApiKeyId(testApiKey.id())
            .displayName(bdsInstanceMetastoreConfigDisplayName)
            .metastoreId(testMetastore.id())
            .metastoreType(bdsInstanceMetastoreConfigMetastoreType)
            .state(bdsInstanceMetastoreConfigState)
            .build());
    }
}
variables:
  testBdsInstanceMetastoreConfigs:
    fn::invoke:
      function: oci:BigDataService:getBdsInstanceMetastoreConfigs
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
        bdsApiKeyId: ${testApiKey.id}
        displayName: ${bdsInstanceMetastoreConfigDisplayName}
        metastoreId: ${testMetastore.id}
        metastoreType: ${bdsInstanceMetastoreConfigMetastoreType}
        state: ${bdsInstanceMetastoreConfigState}
Using getBdsInstanceMetastoreConfigs
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 getBdsInstanceMetastoreConfigs(args: GetBdsInstanceMetastoreConfigsArgs, opts?: InvokeOptions): Promise<GetBdsInstanceMetastoreConfigsResult>
function getBdsInstanceMetastoreConfigsOutput(args: GetBdsInstanceMetastoreConfigsOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceMetastoreConfigsResult>def get_bds_instance_metastore_configs(bds_api_key_id: Optional[str] = None,
                                       bds_instance_id: Optional[str] = None,
                                       display_name: Optional[str] = None,
                                       filters: Optional[Sequence[_bigdataservice.GetBdsInstanceMetastoreConfigsFilter]] = None,
                                       metastore_id: Optional[str] = None,
                                       metastore_type: Optional[str] = None,
                                       state: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetBdsInstanceMetastoreConfigsResult
def get_bds_instance_metastore_configs_output(bds_api_key_id: Optional[pulumi.Input[str]] = None,
                                       bds_instance_id: Optional[pulumi.Input[str]] = None,
                                       display_name: Optional[pulumi.Input[str]] = None,
                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_bigdataservice.GetBdsInstanceMetastoreConfigsFilterArgs]]]] = None,
                                       metastore_id: Optional[pulumi.Input[str]] = None,
                                       metastore_type: Optional[pulumi.Input[str]] = None,
                                       state: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceMetastoreConfigsResult]func GetBdsInstanceMetastoreConfigs(ctx *Context, args *GetBdsInstanceMetastoreConfigsArgs, opts ...InvokeOption) (*GetBdsInstanceMetastoreConfigsResult, error)
func GetBdsInstanceMetastoreConfigsOutput(ctx *Context, args *GetBdsInstanceMetastoreConfigsOutputArgs, opts ...InvokeOption) GetBdsInstanceMetastoreConfigsResultOutput> Note: This function is named GetBdsInstanceMetastoreConfigs in the Go SDK.
public static class GetBdsInstanceMetastoreConfigs 
{
    public static Task<GetBdsInstanceMetastoreConfigsResult> InvokeAsync(GetBdsInstanceMetastoreConfigsArgs args, InvokeOptions? opts = null)
    public static Output<GetBdsInstanceMetastoreConfigsResult> Invoke(GetBdsInstanceMetastoreConfigsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBdsInstanceMetastoreConfigsResult> getBdsInstanceMetastoreConfigs(GetBdsInstanceMetastoreConfigsArgs args, InvokeOptions options)
public static Output<GetBdsInstanceMetastoreConfigsResult> getBdsInstanceMetastoreConfigs(GetBdsInstanceMetastoreConfigsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:BigDataService/getBdsInstanceMetastoreConfigs:getBdsInstanceMetastoreConfigs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BdsInstance stringId 
- The OCID of the cluster.
- BdsApi stringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetBds Instance Metastore Configs Filter> 
- MetastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- MetastoreType string
- The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in the metastore configuration
- BdsInstance stringId 
- The OCID of the cluster.
- BdsApi stringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetBds Instance Metastore Configs Filter 
- MetastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- MetastoreType string
- The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in the metastore configuration
- bdsInstance StringId 
- The OCID of the cluster.
- bdsApi StringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetBds Instance Metastore Configs Filter> 
- metastoreId String
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType String
- The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in the metastore configuration
- bdsInstance stringId 
- The OCID of the cluster.
- bdsApi stringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetBds Instance Metastore Configs Filter[] 
- metastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType string
- The type of the metastore in the metastore configuration
- state string
- The lifecycle state of the metastore in the metastore configuration
- bds_instance_ strid 
- The OCID of the cluster.
- bds_api_ strkey_ id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[bigdataservice.Get Bds Instance Metastore Configs Filter] 
- metastore_id str
- The OCID of the Data Catalog metastore in the metastore configuration
- metastore_type str
- The type of the metastore in the metastore configuration
- state str
- The lifecycle state of the metastore in the metastore configuration
- bdsInstance StringId 
- The OCID of the cluster.
- bdsApi StringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- metastoreId String
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType String
- The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in the metastore configuration
getBdsInstanceMetastoreConfigs Result
The following output properties are available:
- BdsInstance stringId 
- BdsMetastore List<GetConfigurations Bds Instance Metastore Configs Bds Metastore Configuration> 
- The list of bds_metastore_configurations.
- Id string
- The provider-assigned unique ID for this managed resource.
- BdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- DisplayName string
- The display name of metastore configuration
- Filters
List<GetBds Instance Metastore Configs Filter> 
- 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.
- BdsInstance stringId 
- BdsMetastore []GetConfigurations Bds Instance Metastore Configs Bds Metastore Configuration 
- The list of bds_metastore_configurations.
- Id string
- The provider-assigned unique ID for this managed resource.
- BdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- DisplayName string
- The display name of metastore configuration
- Filters
[]GetBds Instance Metastore Configs Filter 
- 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.
- bdsInstance StringId 
- bdsMetastore List<GetConfigurations Bds Instance Metastore Configs Bds Metastore Configuration> 
- The list of bds_metastore_configurations.
- id String
- The provider-assigned unique ID for this managed resource.
- bdsApi StringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- displayName String
- The display name of metastore configuration
- filters
List<GetBds Instance Metastore Configs Filter> 
- 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.
- bdsInstance stringId 
- bdsMetastore GetConfigurations Bds Instance Metastore Configs Bds Metastore Configuration[] 
- The list of bds_metastore_configurations.
- id string
- The provider-assigned unique ID for this managed resource.
- bdsApi stringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- displayName string
- The display name of metastore configuration
- filters
GetBds Instance Metastore Configs Filter[] 
- 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.
- bds_instance_ strid 
- bds_metastore_ Sequence[bigdataservice.configurations Get Bds Instance Metastore Configs Bds Metastore Configuration] 
- The list of bds_metastore_configurations.
- id str
- The provider-assigned unique ID for this managed resource.
- bds_api_ strkey_ id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- display_name str
- The display name of metastore configuration
- filters
Sequence[bigdataservice.Get Bds Instance Metastore Configs Filter] 
- 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.
- bdsInstance StringId 
- bdsMetastore List<Property Map>Configurations 
- The list of bds_metastore_configurations.
- id String
- The provider-assigned unique ID for this managed resource.
- bdsApi StringKey Id 
- The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- displayName String
- The display name of metastore configuration
- filters List<Property Map>
- 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.
Supporting Types
GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration       
- ActivateTrigger int
- BdsApi stringKey Id 
- The ID of the API key that is associated with the external metastore in the metastore configuration
- BdsApi stringKey Passphrase 
- BdsInstance stringId 
- The OCID of the cluster.
- ClusterAdmin stringPassword 
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Id string
- The ID of the metastore configuration
- MetastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- MetastoreType string
- The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- BdsApi stringKey Passphrase 
- BdsInstance stringId 
- The OCID of the cluster.
- ClusterAdmin stringPassword 
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Id string
- The ID of the metastore configuration
- MetastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- MetastoreType string
- The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bdsApi StringKey Passphrase 
- bdsInstance StringId 
- The OCID of the cluster.
- clusterAdmin StringPassword 
- displayName String
- A filter to return only resources that match the entire display name given.
- id String
- The ID of the metastore configuration
- metastoreId String
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType String
- The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bdsApi stringKey Passphrase 
- bdsInstance stringId 
- The OCID of the cluster.
- clusterAdmin stringPassword 
- displayName string
- A filter to return only resources that match the entire display name given.
- id string
- The ID of the metastore configuration
- metastoreId string
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType string
- The type of the metastore in the metastore configuration
- state string
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bds_api_ strkey_ passphrase 
- bds_instance_ strid 
- The OCID of the cluster.
- cluster_admin_ strpassword 
- display_name str
- A filter to return only resources that match the entire display name given.
- id str
- The ID of the metastore configuration
- metastore_id str
- The OCID of the Data Catalog metastore in the metastore configuration
- metastore_type str
- The type of the metastore in the metastore configuration
- state str
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bdsApi StringKey Passphrase 
- bdsInstance StringId 
- The OCID of the cluster.
- clusterAdmin StringPassword 
- displayName String
- A filter to return only resources that match the entire display name given.
- id String
- The ID of the metastore configuration
- metastoreId String
- The OCID of the Data Catalog metastore in the metastore configuration
- metastoreType String
- The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in 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.
GetBdsInstanceMetastoreConfigsFilter     
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.