oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

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

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 = oci_bds_bds_instance.Test_bds_instance.Id,
        MetastoreConfigId = oci_apm_config_config.Test_config.Id,
    });

});
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.GetBdsInstanceMetastoreConfig(ctx, &bigdataservice.GetBdsInstanceMetastoreConfigArgs{
			BdsInstanceId:     oci_bds_bds_instance.Test_bds_instance.Id,
			MetastoreConfigId: oci_apm_config_config.Test_config.Id,
		}, 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.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(oci_bds_bds_instance.test_bds_instance().id())
            .metastoreConfigId(oci_apm_config_config.test_config().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_bds_instance_metastore_config = oci.BigDataService.get_bds_instance_metastore_config(bds_instance_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    metastore_config_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBdsInstanceMetastoreConfig = oci.BigDataService.getBdsInstanceMetastoreConfig({
    bdsInstanceId: oci_bds_bds_instance.test_bds_instance.id,
    metastoreConfigId: oci_apm_config_config.test_config.id,
});
variables:
  testBdsInstanceMetastoreConfig:
    fn::invoke:
      Function: oci:BigDataService:getBdsInstanceMetastoreConfig
      Arguments:
        bdsInstanceId: ${oci_bds_bds_instance.test_bds_instance.id}
        metastoreConfigId: ${oci_apm_config_config.test_config.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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:BigDataService/getBdsInstanceMetastoreConfig:getBdsInstanceMetastoreConfig
  arguments:
    # arguments dictionary

The following arguments are supported:

BdsInstanceId string

The OCID of the cluster.

MetastoreConfigId string

The metastore configuration ID

BdsInstanceId string

The OCID of the cluster.

MetastoreConfigId string

The metastore configuration ID

bdsInstanceId String

The OCID of the cluster.

metastoreConfigId String

The metastore configuration ID

bdsInstanceId string

The OCID of the cluster.

metastoreConfigId string

The metastore configuration ID

bds_instance_id str

The OCID of the cluster.

metastore_config_id str

The metastore configuration ID

bdsInstanceId String

The OCID of the cluster.

metastoreConfigId String

The metastore configuration ID

getBdsInstanceMetastoreConfig Result

The following output properties are available:

ActivateTrigger int
BdsApiKeyId string

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

BdsApiKeyPassphrase string
BdsInstanceId string
ClusterAdminPassword string
DisplayName string

The display name of metastore configuration

Id string

The ID of the metastore configuration

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

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

BdsApiKeyPassphrase string
BdsInstanceId string
ClusterAdminPassword string
DisplayName string

The display name of metastore configuration

Id string

The ID of the metastore configuration

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

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

bdsApiKeyPassphrase String
bdsInstanceId String
clusterAdminPassword String
displayName String

The display name of metastore configuration

id String

The ID of the metastore configuration

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

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

bdsApiKeyPassphrase string
bdsInstanceId string
clusterAdminPassword string
displayName string

The display name of metastore configuration

id string

The ID of the metastore configuration

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

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

bds_api_key_passphrase str
bds_instance_id str
cluster_admin_password str
display_name str

The display name of metastore configuration

id str

The ID of the metastore configuration

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

The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.

bdsApiKeyPassphrase String
bdsInstanceId String
clusterAdminPassword String
displayName String

The display name of metastore configuration

id String

The ID of the metastore configuration

metastoreConfigId String
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 oci Terraform Provider.