Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.BigDataService.getBdsInstanceResourcePrincipalConfigurations
Explore with Pulumi AI
This data source provides the list of Bds Instance Resource Principal Configurations in Oracle Cloud Infrastructure Big Data Service service.
Returns information about the ResourcePrincipalConfiguration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsInstanceResourcePrincipalConfigurations = oci.BigDataService.getBdsInstanceResourcePrincipalConfigurations({
    bdsInstanceId: testBdsInstance.id,
    displayName: bdsInstanceResourcePrincipalConfigurationDisplayName,
    state: bdsInstanceResourcePrincipalConfigurationState,
});
import pulumi
import pulumi_oci as oci
test_bds_instance_resource_principal_configurations = oci.BigDataService.get_bds_instance_resource_principal_configurations(bds_instance_id=test_bds_instance["id"],
    display_name=bds_instance_resource_principal_configuration_display_name,
    state=bds_instance_resource_principal_configuration_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.GetBdsInstanceResourcePrincipalConfigurations(ctx, &bigdataservice.GetBdsInstanceResourcePrincipalConfigurationsArgs{
			BdsInstanceId: testBdsInstance.Id,
			DisplayName:   pulumi.StringRef(bdsInstanceResourcePrincipalConfigurationDisplayName),
			State:         pulumi.StringRef(bdsInstanceResourcePrincipalConfigurationState),
		}, 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 testBdsInstanceResourcePrincipalConfigurations = Oci.BigDataService.GetBdsInstanceResourcePrincipalConfigurations.Invoke(new()
    {
        BdsInstanceId = testBdsInstance.Id,
        DisplayName = bdsInstanceResourcePrincipalConfigurationDisplayName,
        State = bdsInstanceResourcePrincipalConfigurationState,
    });
});
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.GetBdsInstanceResourcePrincipalConfigurationsArgs;
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 testBdsInstanceResourcePrincipalConfigurations = BigDataServiceFunctions.getBdsInstanceResourcePrincipalConfigurations(GetBdsInstanceResourcePrincipalConfigurationsArgs.builder()
            .bdsInstanceId(testBdsInstance.id())
            .displayName(bdsInstanceResourcePrincipalConfigurationDisplayName)
            .state(bdsInstanceResourcePrincipalConfigurationState)
            .build());
    }
}
variables:
  testBdsInstanceResourcePrincipalConfigurations:
    fn::invoke:
      function: oci:BigDataService:getBdsInstanceResourcePrincipalConfigurations
      arguments:
        bdsInstanceId: ${testBdsInstance.id}
        displayName: ${bdsInstanceResourcePrincipalConfigurationDisplayName}
        state: ${bdsInstanceResourcePrincipalConfigurationState}
Using getBdsInstanceResourcePrincipalConfigurations
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 getBdsInstanceResourcePrincipalConfigurations(args: GetBdsInstanceResourcePrincipalConfigurationsArgs, opts?: InvokeOptions): Promise<GetBdsInstanceResourcePrincipalConfigurationsResult>
function getBdsInstanceResourcePrincipalConfigurationsOutput(args: GetBdsInstanceResourcePrincipalConfigurationsOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceResourcePrincipalConfigurationsResult>def get_bds_instance_resource_principal_configurations(bds_instance_id: Optional[str] = None,
                                                       display_name: Optional[str] = None,
                                                       filters: Optional[Sequence[GetBdsInstanceResourcePrincipalConfigurationsFilter]] = None,
                                                       state: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetBdsInstanceResourcePrincipalConfigurationsResult
def get_bds_instance_resource_principal_configurations_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                                       display_name: Optional[pulumi.Input[str]] = None,
                                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBdsInstanceResourcePrincipalConfigurationsFilterArgs]]]] = None,
                                                       state: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceResourcePrincipalConfigurationsResult]func GetBdsInstanceResourcePrincipalConfigurations(ctx *Context, args *GetBdsInstanceResourcePrincipalConfigurationsArgs, opts ...InvokeOption) (*GetBdsInstanceResourcePrincipalConfigurationsResult, error)
func GetBdsInstanceResourcePrincipalConfigurationsOutput(ctx *Context, args *GetBdsInstanceResourcePrincipalConfigurationsOutputArgs, opts ...InvokeOption) GetBdsInstanceResourcePrincipalConfigurationsResultOutput> Note: This function is named GetBdsInstanceResourcePrincipalConfigurations in the Go SDK.
public static class GetBdsInstanceResourcePrincipalConfigurations 
{
    public static Task<GetBdsInstanceResourcePrincipalConfigurationsResult> InvokeAsync(GetBdsInstanceResourcePrincipalConfigurationsArgs args, InvokeOptions? opts = null)
    public static Output<GetBdsInstanceResourcePrincipalConfigurationsResult> Invoke(GetBdsInstanceResourcePrincipalConfigurationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBdsInstanceResourcePrincipalConfigurationsResult> getBdsInstanceResourcePrincipalConfigurations(GetBdsInstanceResourcePrincipalConfigurationsArgs args, InvokeOptions options)
public static Output<GetBdsInstanceResourcePrincipalConfigurationsResult> getBdsInstanceResourcePrincipalConfigurations(GetBdsInstanceResourcePrincipalConfigurationsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:BigDataService/getBdsInstanceResourcePrincipalConfigurations:getBdsInstanceResourcePrincipalConfigurations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BdsInstance stringId 
- The OCID of the cluster.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetBds Instance Resource Principal Configurations Filter> 
- State string
- The state of the ResourcePrincipalConfiguration.
- BdsInstance stringId 
- The OCID of the cluster.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetBds Instance Resource Principal Configurations Filter 
- State string
- The state of the ResourcePrincipalConfiguration.
- bdsInstance StringId 
- The OCID of the cluster.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetBds Instance Resource Principal Configurations Filter> 
- state String
- The state of the ResourcePrincipalConfiguration.
- bdsInstance stringId 
- The OCID of the cluster.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetBds Instance Resource Principal Configurations Filter[] 
- state string
- The state of the ResourcePrincipalConfiguration.
- bds_instance_ strid 
- The OCID of the cluster.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetBds Instance Resource Principal Configurations Filter] 
- state str
- The state of the ResourcePrincipalConfiguration.
- bdsInstance StringId 
- The OCID of the cluster.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- state String
- The state of the ResourcePrincipalConfiguration.
getBdsInstanceResourcePrincipalConfigurations Result
The following output properties are available:
- BdsInstance stringId 
- The OCID of the bdsInstance which is the parent resource id.
- Id string
- The provider-assigned unique ID for this managed resource.
- ResourcePrincipal List<GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration> 
- The list of resource_principal_configurations.
- DisplayName string
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Filters
List<GetBds Instance Resource Principal Configurations Filter> 
- State string
- The state of the ResourcePrincipalConfiguration.
- BdsInstance stringId 
- The OCID of the bdsInstance which is the parent resource id.
- Id string
- The provider-assigned unique ID for this managed resource.
- ResourcePrincipal []GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration 
- The list of resource_principal_configurations.
- DisplayName string
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Filters
[]GetBds Instance Resource Principal Configurations Filter 
- State string
- The state of the ResourcePrincipalConfiguration.
- bdsInstance StringId 
- The OCID of the bdsInstance which is the parent resource id.
- id String
- The provider-assigned unique ID for this managed resource.
- resourcePrincipal List<GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration> 
- The list of resource_principal_configurations.
- displayName String
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- filters
List<GetBds Instance Resource Principal Configurations Filter> 
- state String
- The state of the ResourcePrincipalConfiguration.
- bdsInstance stringId 
- The OCID of the bdsInstance which is the parent resource id.
- id string
- The provider-assigned unique ID for this managed resource.
- resourcePrincipal GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration[] 
- The list of resource_principal_configurations.
- displayName string
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- filters
GetBds Instance Resource Principal Configurations Filter[] 
- state string
- The state of the ResourcePrincipalConfiguration.
- bds_instance_ strid 
- The OCID of the bdsInstance which is the parent resource id.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_principal_ Sequence[Getconfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration] 
- The list of resource_principal_configurations.
- display_name str
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- filters
Sequence[GetBds Instance Resource Principal Configurations Filter] 
- state str
- The state of the ResourcePrincipalConfiguration.
- bdsInstance StringId 
- The OCID of the bdsInstance which is the parent resource id.
- id String
- The provider-assigned unique ID for this managed resource.
- resourcePrincipal List<Property Map>Configurations 
- The list of resource_principal_configurations.
- displayName String
- A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- filters List<Property Map>
- state String
- The state of the ResourcePrincipalConfiguration.
Supporting Types
GetBdsInstanceResourcePrincipalConfigurationsFilter      
GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration        
- BdsInstance stringId 
- The OCID of the cluster.
- ClusterAdmin stringPassword 
- DisplayName string
- A filter to return only resources that match the entire display name given.
- ForceRefresh intResource Principal Trigger 
- Id string
- The id of the ResourcePrincipalConfiguration.
- SessionToken intLife Span Duration In Hours 
- Life span in hours of each resource principal session token.
- State string
- The state of the ResourcePrincipalConfiguration.
- TimeCreated string
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- TimeToken stringExpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- TimeToken stringRefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- TimeUpdated string
- The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- BdsInstance stringId 
- The OCID of the cluster.
- ClusterAdmin stringPassword 
- DisplayName string
- A filter to return only resources that match the entire display name given.
- ForceRefresh intResource Principal Trigger 
- Id string
- The id of the ResourcePrincipalConfiguration.
- SessionToken intLife Span Duration In Hours 
- Life span in hours of each resource principal session token.
- State string
- The state of the ResourcePrincipalConfiguration.
- TimeCreated string
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- TimeToken stringExpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- TimeToken stringRefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- TimeUpdated string
- The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bdsInstance StringId 
- The OCID of the cluster.
- clusterAdmin StringPassword 
- displayName String
- A filter to return only resources that match the entire display name given.
- forceRefresh IntegerResource Principal Trigger 
- id String
- The id of the ResourcePrincipalConfiguration.
- sessionToken IntegerLife Span Duration In Hours 
- Life span in hours of each resource principal session token.
- state String
- The state of the ResourcePrincipalConfiguration.
- timeCreated String
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- timeToken StringExpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- timeToken StringRefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- timeUpdated String
- The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bdsInstance stringId 
- The OCID of the cluster.
- clusterAdmin stringPassword 
- displayName string
- A filter to return only resources that match the entire display name given.
- forceRefresh numberResource Principal Trigger 
- id string
- The id of the ResourcePrincipalConfiguration.
- sessionToken numberLife Span Duration In Hours 
- Life span in hours of each resource principal session token.
- state string
- The state of the ResourcePrincipalConfiguration.
- timeCreated string
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- timeToken stringExpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- timeToken stringRefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- timeUpdated string
- The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- 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.
- force_refresh_ intresource_ principal_ trigger 
- id str
- The id of the ResourcePrincipalConfiguration.
- session_token_ intlife_ span_ duration_ in_ hours 
- Life span in hours of each resource principal session token.
- state str
- The state of the ResourcePrincipalConfiguration.
- time_created str
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- time_token_ strexpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- time_token_ strrefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- time_updated str
- The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bdsInstance StringId 
- The OCID of the cluster.
- clusterAdmin StringPassword 
- displayName String
- A filter to return only resources that match the entire display name given.
- forceRefresh NumberResource Principal Trigger 
- id String
- The id of the ResourcePrincipalConfiguration.
- sessionToken NumberLife Span Duration In Hours 
- Life span in hours of each resource principal session token.
- state String
- The state of the ResourcePrincipalConfiguration.
- timeCreated String
- The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- timeToken StringExpiry 
- the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- timeToken StringRefreshed 
- the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- timeUpdated String
- The time the ResourcePrincipalConfiguration 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.