Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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[_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:
- Bds
Instance stringId - The OCID of the cluster.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Bds Instance Resource Principal Configurations Filter> - State string
- The state of the ResourcePrincipalConfiguration.
- Bds
Instance stringId - The OCID of the cluster.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Bds Instance Resource Principal Configurations Filter - State string
- The state of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the cluster.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Bds Instance Resource Principal Configurations Filter> - state String
- The state of the ResourcePrincipalConfiguration.
- bds
Instance stringId - The OCID of the cluster.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Bds 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[bigdataservice.
Get Bds Instance Resource Principal Configurations Filter] - state str
- The state of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the cluster.
- display
Name 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:
- Bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Principal List<GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration> - The list of resource_principal_configurations.
- 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.
- Filters
List<Get
Bds Instance Resource Principal Configurations Filter> - State string
- The state of the ResourcePrincipalConfiguration.
- Bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Principal []GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration - The list of resource_principal_configurations.
- 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.
- Filters
[]Get
Bds Instance Resource Principal Configurations Filter - State string
- The state of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the bdsInstance which is the parent resource id.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Principal List<GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration> - The list of resource_principal_configurations.
- 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.
- filters
List<Get
Bds Instance Resource Principal Configurations Filter> - state String
- The state of the ResourcePrincipalConfiguration.
- bds
Instance stringId - The OCID of the bdsInstance which is the parent resource id.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Principal GetConfigurations Bds Instance Resource Principal Configurations Resource Principal Configuration[] - The list of resource_principal_configurations.
- 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.
- filters
Get
Bds 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[bigdataservice.configurations Get 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[bigdataservice.
Get Bds Instance Resource Principal Configurations Filter] - state str
- The state of the ResourcePrincipalConfiguration.
- bds
Instance StringId - The OCID of the bdsInstance which is the parent resource id.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Principal List<Property Map>Configurations - The list of resource_principal_configurations.
- 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.
- filters List<Property Map>
- state String
- The state of the ResourcePrincipalConfiguration.
Supporting Types
GetBdsInstanceResourcePrincipalConfigurationsFilter
GetBdsInstanceResourcePrincipalConfigurationsResourcePrincipalConfiguration
- 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.
- Force
Refresh intResource Principal Trigger - Id string
- The id of the ResourcePrincipalConfiguration.
- 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 cluster.
- Cluster
Admin stringPassword - Display
Name string - A filter to return only resources that match the entire display name given.
- Force
Refresh intResource Principal Trigger - Id string
- The id of the ResourcePrincipalConfiguration.
- 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 cluster.
- cluster
Admin StringPassword - display
Name String - A filter to return only resources that match the entire display name given.
- force
Refresh IntegerResource Principal Trigger - id String
- The id of the ResourcePrincipalConfiguration.
- 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 cluster.
- cluster
Admin stringPassword - display
Name string - A filter to return only resources that match the entire display name given.
- force
Refresh numberResource Principal Trigger - id string
- The id of the ResourcePrincipalConfiguration.
- 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 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.
- 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.
- force
Refresh NumberResource Principal Trigger - id String
- The id of the ResourcePrincipalConfiguration.
- 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.