1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. getBdsInstanceResourcePrincipalConfiguration
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.BigDataService.getBdsInstanceResourcePrincipalConfiguration

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Bds Instance Resource Principal Configuration resource in Oracle Cloud Infrastructure Big Data Service service.

    Returns details of the resourcePrincipalConfiguration identified by the given ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstanceResourcePrincipalConfiguration = oci.BigDataService.getBdsInstanceResourcePrincipalConfiguration({
        bdsInstanceId: testBdsInstance.id,
        resourcePrincipalConfigurationId: testConfiguration.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_resource_principal_configuration = oci.BigDataService.get_bds_instance_resource_principal_configuration(bds_instance_id=test_bds_instance["id"],
        resource_principal_configuration_id=test_configuration["id"])
    
    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.GetBdsInstanceResourcePrincipalConfiguration(ctx, &bigdataservice.GetBdsInstanceResourcePrincipalConfigurationArgs{
    			BdsInstanceId:                    testBdsInstance.Id,
    			ResourcePrincipalConfigurationId: testConfiguration.Id,
    		}, 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 testBdsInstanceResourcePrincipalConfiguration = Oci.BigDataService.GetBdsInstanceResourcePrincipalConfiguration.Invoke(new()
        {
            BdsInstanceId = testBdsInstance.Id,
            ResourcePrincipalConfigurationId = testConfiguration.Id,
        });
    
    });
    
    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.GetBdsInstanceResourcePrincipalConfigurationArgs;
    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 testBdsInstanceResourcePrincipalConfiguration = BigDataServiceFunctions.getBdsInstanceResourcePrincipalConfiguration(GetBdsInstanceResourcePrincipalConfigurationArgs.builder()
                .bdsInstanceId(testBdsInstance.id())
                .resourcePrincipalConfigurationId(testConfiguration.id())
                .build());
    
        }
    }
    
    variables:
      testBdsInstanceResourcePrincipalConfiguration:
        fn::invoke:
          Function: oci:BigDataService:getBdsInstanceResourcePrincipalConfiguration
          Arguments:
            bdsInstanceId: ${testBdsInstance.id}
            resourcePrincipalConfigurationId: ${testConfiguration.id}
    

    Using getBdsInstanceResourcePrincipalConfiguration

    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 getBdsInstanceResourcePrincipalConfiguration(args: GetBdsInstanceResourcePrincipalConfigurationArgs, opts?: InvokeOptions): Promise<GetBdsInstanceResourcePrincipalConfigurationResult>
    function getBdsInstanceResourcePrincipalConfigurationOutput(args: GetBdsInstanceResourcePrincipalConfigurationOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceResourcePrincipalConfigurationResult>
    def get_bds_instance_resource_principal_configuration(bds_instance_id: Optional[str] = None,
                                                          resource_principal_configuration_id: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetBdsInstanceResourcePrincipalConfigurationResult
    def get_bds_instance_resource_principal_configuration_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                                          resource_principal_configuration_id: Optional[pulumi.Input[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceResourcePrincipalConfigurationResult]
    func GetBdsInstanceResourcePrincipalConfiguration(ctx *Context, args *GetBdsInstanceResourcePrincipalConfigurationArgs, opts ...InvokeOption) (*GetBdsInstanceResourcePrincipalConfigurationResult, error)
    func GetBdsInstanceResourcePrincipalConfigurationOutput(ctx *Context, args *GetBdsInstanceResourcePrincipalConfigurationOutputArgs, opts ...InvokeOption) GetBdsInstanceResourcePrincipalConfigurationResultOutput

    > Note: This function is named GetBdsInstanceResourcePrincipalConfiguration in the Go SDK.

    public static class GetBdsInstanceResourcePrincipalConfiguration 
    {
        public static Task<GetBdsInstanceResourcePrincipalConfigurationResult> InvokeAsync(GetBdsInstanceResourcePrincipalConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetBdsInstanceResourcePrincipalConfigurationResult> Invoke(GetBdsInstanceResourcePrincipalConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBdsInstanceResourcePrincipalConfigurationResult> getBdsInstanceResourcePrincipalConfiguration(GetBdsInstanceResourcePrincipalConfigurationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:BigDataService/getBdsInstanceResourcePrincipalConfiguration:getBdsInstanceResourcePrincipalConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BdsInstanceId string
    The OCID of the cluster.
    ResourcePrincipalConfigurationId string
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
    BdsInstanceId string
    The OCID of the cluster.
    ResourcePrincipalConfigurationId string
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    The OCID of the cluster.
    resourcePrincipalConfigurationId String
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
    bdsInstanceId string
    The OCID of the cluster.
    resourcePrincipalConfigurationId string
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
    bds_instance_id str
    The OCID of the cluster.
    resource_principal_configuration_id str
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    The OCID of the cluster.
    resourcePrincipalConfigurationId String
    Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.

    getBdsInstanceResourcePrincipalConfiguration Result

    The following output properties are available:

    BdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    ClusterAdminPassword string
    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.
    ForceRefreshResourcePrincipalTrigger int
    Id string
    The id of the ResourcePrincipalConfiguration.
    ResourcePrincipalConfigurationId string
    SessionTokenLifeSpanDurationInHours int
    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.
    TimeTokenExpiry string
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    TimeTokenRefreshed string
    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.
    BdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    ClusterAdminPassword string
    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.
    ForceRefreshResourcePrincipalTrigger int
    Id string
    The id of the ResourcePrincipalConfiguration.
    ResourcePrincipalConfigurationId string
    SessionTokenLifeSpanDurationInHours int
    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.
    TimeTokenExpiry string
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    TimeTokenRefreshed string
    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.
    bdsInstanceId String
    The OCID of the bdsInstance which is the parent resource id.
    clusterAdminPassword String
    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.
    forceRefreshResourcePrincipalTrigger Integer
    id String
    The id of the ResourcePrincipalConfiguration.
    resourcePrincipalConfigurationId String
    sessionTokenLifeSpanDurationInHours Integer
    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.
    timeTokenExpiry String
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    timeTokenRefreshed String
    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.
    bdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    clusterAdminPassword string
    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.
    forceRefreshResourcePrincipalTrigger number
    id string
    The id of the ResourcePrincipalConfiguration.
    resourcePrincipalConfigurationId string
    sessionTokenLifeSpanDurationInHours number
    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.
    timeTokenExpiry string
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    timeTokenRefreshed string
    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_id str
    The OCID of the bdsInstance which is the parent resource id.
    cluster_admin_password str
    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.
    force_refresh_resource_principal_trigger int
    id str
    The id of the ResourcePrincipalConfiguration.
    resource_principal_configuration_id str
    session_token_life_span_duration_in_hours int
    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_expiry str
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    time_token_refreshed str
    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.
    bdsInstanceId String
    The OCID of the bdsInstance which is the parent resource id.
    clusterAdminPassword String
    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.
    forceRefreshResourcePrincipalTrigger Number
    id String
    The id of the ResourcePrincipalConfiguration.
    resourcePrincipalConfigurationId String
    sessionTokenLifeSpanDurationInHours Number
    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.
    timeTokenExpiry String
    the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
    timeTokenRefreshed String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi