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

oci.BigDataService.getBdsInstanceResourcePrincipalConfigurations

Explore with Pulumi AI

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

    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[_bigdataservice.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[_bigdataservice.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:BigDataService/getBdsInstanceResourcePrincipalConfigurations:getBdsInstanceResourcePrincipalConfigurations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BdsInstanceId string
    The OCID of the cluster.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetBdsInstanceResourcePrincipalConfigurationsFilter>
    State string
    The state of the ResourcePrincipalConfiguration.
    BdsInstanceId string
    The OCID of the cluster.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetBdsInstanceResourcePrincipalConfigurationsFilter
    State string
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    The OCID of the cluster.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetBdsInstanceResourcePrincipalConfigurationsFilter>
    state String
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId string
    The OCID of the cluster.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetBdsInstanceResourcePrincipalConfigurationsFilter[]
    state string
    The state of the ResourcePrincipalConfiguration.
    bds_instance_id str
    The OCID of the cluster.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[bigdataservice.GetBdsInstanceResourcePrincipalConfigurationsFilter]
    state str
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    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:

    BdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourcePrincipalConfigurations List<GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration>
    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<GetBdsInstanceResourcePrincipalConfigurationsFilter>
    State string
    The state of the ResourcePrincipalConfiguration.
    BdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourcePrincipalConfigurations []GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration
    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 []GetBdsInstanceResourcePrincipalConfigurationsFilter
    State string
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    The OCID of the bdsInstance which is the parent resource id.
    id String
    The provider-assigned unique ID for this managed resource.
    resourcePrincipalConfigurations List<GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration>
    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<GetBdsInstanceResourcePrincipalConfigurationsFilter>
    state String
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId string
    The OCID of the bdsInstance which is the parent resource id.
    id string
    The provider-assigned unique ID for this managed resource.
    resourcePrincipalConfigurations GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration[]
    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 GetBdsInstanceResourcePrincipalConfigurationsFilter[]
    state string
    The state of the ResourcePrincipalConfiguration.
    bds_instance_id str
    The OCID of the bdsInstance which is the parent resource id.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_principal_configurations Sequence[bigdataservice.GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration]
    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[bigdataservice.GetBdsInstanceResourcePrincipalConfigurationsFilter]
    state str
    The state of the ResourcePrincipalConfiguration.
    bdsInstanceId String
    The OCID of the bdsInstance which is the parent resource id.
    id String
    The provider-assigned unique ID for this managed resource.
    resourcePrincipalConfigurations List<Property Map>
    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

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration

    BdsInstanceId string
    The OCID of the cluster.
    ClusterAdminPassword string
    DisplayName string
    A filter to return only resources that match the entire display name given.
    ForceRefreshResourcePrincipalTrigger int
    Id string
    The id of the ResourcePrincipalConfiguration.
    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 cluster.
    ClusterAdminPassword string
    DisplayName string
    A filter to return only resources that match the entire display name given.
    ForceRefreshResourcePrincipalTrigger int
    Id string
    The id of the ResourcePrincipalConfiguration.
    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 cluster.
    clusterAdminPassword String
    displayName String
    A filter to return only resources that match the entire display name given.
    forceRefreshResourcePrincipalTrigger Integer
    id String
    The id of the ResourcePrincipalConfiguration.
    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 cluster.
    clusterAdminPassword string
    displayName string
    A filter to return only resources that match the entire display name given.
    forceRefreshResourcePrincipalTrigger number
    id string
    The id of the ResourcePrincipalConfiguration.
    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 cluster.
    cluster_admin_password str
    display_name str
    A filter to return only resources that match the entire display name given.
    force_refresh_resource_principal_trigger int
    id str
    The id of the ResourcePrincipalConfiguration.
    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 cluster.
    clusterAdminPassword String
    displayName String
    A filter to return only resources that match the entire display name given.
    forceRefreshResourcePrincipalTrigger Number
    id String
    The id of the ResourcePrincipalConfiguration.
    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