Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:BigDataService/getBdsInstanceMetastoreConfigs:getBdsInstanceMetastoreConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- Bds
Instance stringId - The OCID of the cluster.
- Bds
Api stringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Bds Instance Metastore Configs Filter> - Metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- Metastore
Type string - The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in the metastore configuration
- Bds
Instance stringId - The OCID of the cluster.
- Bds
Api stringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Bds Instance Metastore Configs Filter - Metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- Metastore
Type string - The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in the metastore configuration
- bds
Instance StringId - The OCID of the cluster.
- bds
Api StringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Bds Instance Metastore Configs Filter> - metastore
Id String - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type String - The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in the metastore configuration
- bds
Instance stringId - The OCID of the cluster.
- bds
Api stringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Bds Instance Metastore Configs Filter[] - metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type 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
- bds
Instance StringId - The OCID of the cluster.
- bds
Api StringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- metastore
Id String - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type 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:
- Bds
Instance stringId - Bds
Metastore 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.
- Bds
Api stringKey Id - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- Display
Name string - The display name of metastore configuration
- Filters
List<Get
Bds Instance Metastore Configs Filter> - 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.
- Bds
Instance stringId - Bds
Metastore []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.
- Bds
Api stringKey Id - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- Display
Name string - The display name of metastore configuration
- Filters
[]Get
Bds Instance Metastore Configs Filter - 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.
- bds
Instance StringId - bds
Metastore 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.
- bds
Api StringKey Id - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- display
Name String - The display name of metastore configuration
- filters
List<Get
Bds Instance Metastore Configs Filter> - 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.
- bds
Instance stringId - bds
Metastore 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.
- bds
Api stringKey Id - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- display
Name string - The display name of metastore configuration
- filters
Get
Bds Instance Metastore Configs Filter[] - 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.
- 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.
- bds
Instance StringId - bds
Metastore List<Property Map>Configurations - The list of bds_metastore_configurations.
- id String
- The provider-assigned unique ID for this managed resource.
- bds
Api StringKey Id - The ID of BDS API Key used for metastore configuration. Set only if metastore's type is EXTERNAL.
- display
Name String - The display name of metastore configuration
- filters List<Property Map>
- 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.
Supporting Types
GetBdsInstanceMetastoreConfigsBdsMetastoreConfiguration
- Activate
Trigger int - Bds
Api stringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- Bds
Api stringKey Passphrase - Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - Display
Name string - A filter to return only resources that match the entire display name given.
- Id string
- The ID of the metastore configuration
- Metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- Metastore
Type string - The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- Bds
Api stringKey Passphrase - Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - Display
Name string - A filter to return only resources that match the entire display name given.
- Id string
- The ID of the metastore configuration
- Metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- Metastore
Type string - The type of the metastore in the metastore configuration
- State string
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bds
Api StringKey Passphrase - bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - display
Name String - A filter to return only resources that match the entire display name given.
- id String
- The ID of the metastore configuration
- metastore
Id String - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type String - The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in 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 the API key that is associated with the external metastore in the metastore configuration
- bds
Api stringKey Passphrase - bds
Instance stringId - The OCID of the cluster.
- cluster
Admin stringPassword - display
Name string - A filter to return only resources that match the entire display name given.
- id string
- The ID of the metastore configuration
- metastore
Id string - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type string - The type of the metastore in the metastore configuration
- state string
- The lifecycle state of the metastore in 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 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.
- activate
Trigger Number - bds
Api StringKey Id - The ID of the API key that is associated with the external metastore in the metastore configuration
- bds
Api StringKey Passphrase - bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - display
Name String - A filter to return only resources that match the entire display name given.
- id String
- The ID of the metastore configuration
- metastore
Id String - The OCID of the Data Catalog metastore in the metastore configuration
- metastore
Type String - The type of the metastore in the metastore configuration
- state String
- The lifecycle state of the metastore in 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.
GetBdsInstanceMetastoreConfigsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.