1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstanceMetastoreConfigs
Oracle Cloud Infrastructure v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi

oci.BigDataService.getBdsInstanceMetastoreConfigs

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi

    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

    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 = oci_bds_bds_instance.Test_bds_instance.Id,
            BdsApiKeyId = oci_identity_api_key.Test_api_key.Id,
            DisplayName = @var.Bds_instance_metastore_config_display_name,
            MetastoreId = oci_datacatalog_metastore.Test_metastore.Id,
            MetastoreType = @var.Bds_instance_metastore_config_metastore_type,
            State = @var.Bds_instance_metastore_config_state,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_bds_bds_instance.Test_bds_instance.Id,
    			BdsApiKeyId:   pulumi.StringRef(oci_identity_api_key.Test_api_key.Id),
    			DisplayName:   pulumi.StringRef(_var.Bds_instance_metastore_config_display_name),
    			MetastoreId:   pulumi.StringRef(oci_datacatalog_metastore.Test_metastore.Id),
    			MetastoreType: pulumi.StringRef(_var.Bds_instance_metastore_config_metastore_type),
    			State:         pulumi.StringRef(_var.Bds_instance_metastore_config_state),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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(oci_bds_bds_instance.test_bds_instance().id())
                .bdsApiKeyId(oci_identity_api_key.test_api_key().id())
                .displayName(var_.bds_instance_metastore_config_display_name())
                .metastoreId(oci_datacatalog_metastore.test_metastore().id())
                .metastoreType(var_.bds_instance_metastore_config_metastore_type())
                .state(var_.bds_instance_metastore_config_state())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_metastore_configs = oci.BigDataService.get_bds_instance_metastore_configs(bds_instance_id=oci_bds_bds_instance["test_bds_instance"]["id"],
        bds_api_key_id=oci_identity_api_key["test_api_key"]["id"],
        display_name=var["bds_instance_metastore_config_display_name"],
        metastore_id=oci_datacatalog_metastore["test_metastore"]["id"],
        metastore_type=var["bds_instance_metastore_config_metastore_type"],
        state=var["bds_instance_metastore_config_state"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstanceMetastoreConfigs = oci.BigDataService.getBdsInstanceMetastoreConfigs({
        bdsInstanceId: oci_bds_bds_instance.test_bds_instance.id,
        bdsApiKeyId: oci_identity_api_key.test_api_key.id,
        displayName: _var.bds_instance_metastore_config_display_name,
        metastoreId: oci_datacatalog_metastore.test_metastore.id,
        metastoreType: _var.bds_instance_metastore_config_metastore_type,
        state: _var.bds_instance_metastore_config_state,
    });
    
    variables:
      testBdsInstanceMetastoreConfigs:
        fn::invoke:
          Function: oci:BigDataService:getBdsInstanceMetastoreConfigs
          Arguments:
            bdsInstanceId: ${oci_bds_bds_instance.test_bds_instance.id}
            bdsApiKeyId: ${oci_identity_api_key.test_api_key.id}
            displayName: ${var.bds_instance_metastore_config_display_name}
            metastoreId: ${oci_datacatalog_metastore.test_metastore.id}
            metastoreType: ${var.bds_instance_metastore_config_metastore_type}
            state: ${var.bds_instance_metastore_config_state}
    

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:BigDataService/getBdsInstanceMetastoreConfigs:getBdsInstanceMetastoreConfigs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BdsInstanceId string

    The OCID of the cluster.

    BdsApiKeyId string

    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<GetBdsInstanceMetastoreConfigsFilter>
    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

    BdsInstanceId string

    The OCID of the cluster.

    BdsApiKeyId string

    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 []GetBdsInstanceMetastoreConfigsFilter
    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

    bdsInstanceId String

    The OCID of the cluster.

    bdsApiKeyId String

    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<GetBdsInstanceMetastoreConfigsFilter>
    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

    bdsInstanceId string

    The OCID of the cluster.

    bdsApiKeyId string

    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 GetBdsInstanceMetastoreConfigsFilter[]
    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_id str

    The OCID of the cluster.

    bds_api_key_id str

    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 GetBdsInstanceMetastoreConfigsFilter]
    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

    bdsInstanceId String

    The OCID of the cluster.

    bdsApiKeyId String

    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:

    BdsInstanceId string
    BdsMetastoreConfigurations List<GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration>

    The list of bds_metastore_configurations.

    Id string

    The provider-assigned unique ID for this managed resource.

    BdsApiKeyId string

    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<GetBdsInstanceMetastoreConfigsFilter>
    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.

    BdsInstanceId string
    BdsMetastoreConfigurations []GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration

    The list of bds_metastore_configurations.

    Id string

    The provider-assigned unique ID for this managed resource.

    BdsApiKeyId string

    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 []GetBdsInstanceMetastoreConfigsFilter
    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.

    bdsInstanceId String
    bdsMetastoreConfigurations List<GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration>

    The list of bds_metastore_configurations.

    id String

    The provider-assigned unique ID for this managed resource.

    bdsApiKeyId String

    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<GetBdsInstanceMetastoreConfigsFilter>
    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.

    bdsInstanceId string
    bdsMetastoreConfigurations GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration[]

    The list of bds_metastore_configurations.

    id string

    The provider-assigned unique ID for this managed resource.

    bdsApiKeyId string

    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 GetBdsInstanceMetastoreConfigsFilter[]
    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_id str
    bds_metastore_configurations GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration]

    The list of bds_metastore_configurations.

    id str

    The provider-assigned unique ID for this managed resource.

    bds_api_key_id str

    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 GetBdsInstanceMetastoreConfigsFilter]
    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.

    bdsInstanceId String
    bdsMetastoreConfigurations List<Property Map>

    The list of bds_metastore_configurations.

    id String

    The provider-assigned unique ID for this managed resource.

    bdsApiKeyId String

    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
    BdsApiKeyId string

    The ID of the API key that is associated with the external metastore in the metastore configuration

    BdsApiKeyPassphrase string
    BdsInstanceId string

    The OCID of the cluster.

    ClusterAdminPassword string
    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
    BdsApiKeyId string

    The ID of the API key that is associated with the external metastore in the metastore configuration

    BdsApiKeyPassphrase string
    BdsInstanceId string

    The OCID of the cluster.

    ClusterAdminPassword string
    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
    bdsApiKeyId String

    The ID of the API key that is associated with the external metastore in the metastore configuration

    bdsApiKeyPassphrase String
    bdsInstanceId String

    The OCID of the cluster.

    clusterAdminPassword String
    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
    bdsApiKeyId string

    The ID of the API key that is associated with the external metastore in the metastore configuration

    bdsApiKeyPassphrase string
    bdsInstanceId string

    The OCID of the cluster.

    clusterAdminPassword string
    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_key_id str

    The ID of the API key that is associated with the external metastore in the metastore configuration

    bds_api_key_passphrase str
    bds_instance_id str

    The OCID of the cluster.

    cluster_admin_password str
    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
    bdsApiKeyId String

    The ID of the API key that is associated with the external metastore in the metastore configuration

    bdsApiKeyPassphrase String
    bdsInstanceId String

    The OCID of the cluster.

    clusterAdminPassword String
    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

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the oci Terraform Provider.

    oci logo
    Oracle Cloud Infrastructure v1.10.0 published on Thursday, Sep 7, 2023 by Pulumi