Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.BigDataService.getBdsInstanceResourcePrincipalConfiguration
Explore with Pulumi AI
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:
- Bds
Instance stringId - The OCID of the cluster.
- Resource
Principal stringConfiguration Id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
- Bds
Instance stringId - The OCID of the cluster.
- Resource
Principal stringConfiguration Id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the cluster.
- resource
Principal StringConfiguration Id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
- bds
Instance stringId - The OCID of the cluster.
- resource
Principal stringConfiguration Id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
- bds_
instance_ strid - The OCID of the cluster.
- resource_
principal_ strconfiguration_ id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the cluster.
- resource
Principal StringConfiguration Id - Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration.
getBdsInstanceResourcePrincipalConfiguration Result
The following output properties are available:
- Bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- Cluster
Admin stringPassword - Display
Name 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.
- Force
Refresh intResource Principal Trigger - Id string
- The id of the ResourcePrincipalConfiguration.
- Resource
Principal stringConfiguration Id - Session
Token intLife Span Duration In Hours - Life span in hours of each resource principal session token.
- State string
- The state of the ResourcePrincipalConfiguration.
- Time
Created string - The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- Time
Token stringExpiry - the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- Time
Token stringRefreshed - the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- Time
Updated string - The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- Bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- Cluster
Admin stringPassword - Display
Name 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.
- Force
Refresh intResource Principal Trigger - Id string
- The id of the ResourcePrincipalConfiguration.
- Resource
Principal stringConfiguration Id - Session
Token intLife Span Duration In Hours - Life span in hours of each resource principal session token.
- State string
- The state of the ResourcePrincipalConfiguration.
- Time
Created string - The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- Time
Token stringExpiry - the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- Time
Token stringRefreshed - the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- Time
Updated string - The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bds
Instance StringId - The OCID of the bdsInstance which is the parent resource id.
- cluster
Admin StringPassword - display
Name 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.
- force
Refresh IntegerResource Principal Trigger - id String
- The id of the ResourcePrincipalConfiguration.
- resource
Principal StringConfiguration Id - session
Token IntegerLife Span Duration In Hours - Life span in hours of each resource principal session token.
- state String
- The state of the ResourcePrincipalConfiguration.
- time
Created String - The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- time
Token StringExpiry - the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- time
Token StringRefreshed - the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- time
Updated String - The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- cluster
Admin stringPassword - display
Name 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.
- force
Refresh numberResource Principal Trigger - id string
- The id of the ResourcePrincipalConfiguration.
- resource
Principal stringConfiguration Id - session
Token numberLife Span Duration In Hours - Life span in hours of each resource principal session token.
- state string
- The state of the ResourcePrincipalConfiguration.
- time
Created string - The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- time
Token stringExpiry - the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- time
Token stringRefreshed - the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- time
Updated string - The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
- bds_
instance_ strid - The OCID of the bdsInstance which is the parent resource id.
- cluster_
admin_ strpassword - 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_ intresource_ principal_ trigger - id str
- The id of the ResourcePrincipalConfiguration.
- resource_
principal_ strconfiguration_ id - 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.
- bds
Instance StringId - The OCID of the bdsInstance which is the parent resource id.
- cluster
Admin StringPassword - display
Name 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.
- force
Refresh NumberResource Principal Trigger - id String
- The id of the ResourcePrincipalConfiguration.
- resource
Principal StringConfiguration Id - session
Token NumberLife Span Duration In Hours - Life span in hours of each resource principal session token.
- state String
- The state of the ResourcePrincipalConfiguration.
- time
Created String - The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
- time
Token StringExpiry - the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
- time
Token StringRefreshed - the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
- time
Updated 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.