Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataSafe.getTargetDatabaseRole
Explore with Pulumi AI
Using getTargetDatabaseRole
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 getTargetDatabaseRole(args: GetTargetDatabaseRoleArgs, opts?: InvokeOptions): Promise<GetTargetDatabaseRoleResult>
function getTargetDatabaseRoleOutput(args: GetTargetDatabaseRoleOutputArgs, opts?: InvokeOptions): Output<GetTargetDatabaseRoleResult>def get_target_database_role(authentication_type: Optional[str] = None,
                             filters: Optional[Sequence[GetTargetDatabaseRoleFilter]] = None,
                             is_oracle_maintained: Optional[bool] = None,
                             role_name_contains: Optional[str] = None,
                             role_names: Optional[Sequence[str]] = None,
                             target_database_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetTargetDatabaseRoleResult
def get_target_database_role_output(authentication_type: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTargetDatabaseRoleFilterArgs]]]] = None,
                             is_oracle_maintained: Optional[pulumi.Input[bool]] = None,
                             role_name_contains: Optional[pulumi.Input[str]] = None,
                             role_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             target_database_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetTargetDatabaseRoleResult]func GetTargetDatabaseRole(ctx *Context, args *GetTargetDatabaseRoleArgs, opts ...InvokeOption) (*GetTargetDatabaseRoleResult, error)
func GetTargetDatabaseRoleOutput(ctx *Context, args *GetTargetDatabaseRoleOutputArgs, opts ...InvokeOption) GetTargetDatabaseRoleResultOutput> Note: This function is named GetTargetDatabaseRole in the Go SDK.
public static class GetTargetDatabaseRole 
{
    public static Task<GetTargetDatabaseRoleResult> InvokeAsync(GetTargetDatabaseRoleArgs args, InvokeOptions? opts = null)
    public static Output<GetTargetDatabaseRoleResult> Invoke(GetTargetDatabaseRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTargetDatabaseRoleResult> getTargetDatabaseRole(GetTargetDatabaseRoleArgs args, InvokeOptions options)
public static Output<GetTargetDatabaseRoleResult> getTargetDatabaseRole(GetTargetDatabaseRoleArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getTargetDatabaseRole:getTargetDatabaseRole
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TargetDatabase stringId 
- AuthenticationType string
- Filters
List<GetTarget Database Role Filter> 
- IsOracle boolMaintained 
- RoleName stringContains 
- RoleNames List<string>
- TargetDatabase stringId 
- AuthenticationType string
- Filters
[]GetTarget Database Role Filter 
- IsOracle boolMaintained 
- RoleName stringContains 
- RoleNames []string
- targetDatabase StringId 
- authenticationType String
- filters
List<GetTarget Database Role Filter> 
- isOracle BooleanMaintained 
- roleName StringContains 
- roleNames List<String>
- targetDatabase stringId 
- authenticationType string
- filters
GetTarget Database Role Filter[] 
- isOracle booleanMaintained 
- roleName stringContains 
- roleNames string[]
- targetDatabase StringId 
- authenticationType String
- filters List<Property Map>
- isOracle BooleanMaintained 
- roleName StringContains 
- roleNames List<String>
getTargetDatabaseRole Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
List<GetTarget Database Role Role> 
- TargetDatabase stringId 
- AuthenticationType string
- Filters
List<GetTarget Database Role Filter> 
- IsOracle boolMaintained 
- RoleName stringContains 
- RoleNames List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
[]GetTarget Database Role Role 
- TargetDatabase stringId 
- AuthenticationType string
- Filters
[]GetTarget Database Role Filter 
- IsOracle boolMaintained 
- RoleName stringContains 
- RoleNames []string
- id String
- The provider-assigned unique ID for this managed resource.
- roles
List<GetTarget Database Role Role> 
- targetDatabase StringId 
- authenticationType String
- filters
List<GetTarget Database Role Filter> 
- isOracle BooleanMaintained 
- roleName StringContains 
- roleNames List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- roles
GetTarget Database Role Role[] 
- targetDatabase stringId 
- authenticationType string
- filters
GetTarget Database Role Filter[] 
- isOracle booleanMaintained 
- roleName stringContains 
- roleNames string[]
- id str
- The provider-assigned unique ID for this managed resource.
- roles
Sequence[GetTarget Database Role Role] 
- target_database_ strid 
- authentication_type str
- filters
Sequence[GetTarget Database Role Filter] 
- is_oracle_ boolmaintained 
- role_name_ strcontains 
- role_names Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- roles List<Property Map>
- targetDatabase StringId 
- authenticationType String
- filters List<Property Map>
- isOracle BooleanMaintained 
- roleName StringContains 
- roleNames List<String>
Supporting Types
GetTargetDatabaseRoleFilter    
GetTargetDatabaseRoleRole    
- AuthenticationType string
- IsCommon bool
- IsImplicit bool
- IsInherited bool
- IsOracle boolMaintained 
- IsPassword boolRequired 
- RoleName string
- AuthenticationType string
- IsCommon bool
- IsImplicit bool
- IsInherited bool
- IsOracle boolMaintained 
- IsPassword boolRequired 
- RoleName string
- authenticationType String
- isCommon Boolean
- isImplicit Boolean
- isInherited Boolean
- isOracle BooleanMaintained 
- isPassword BooleanRequired 
- roleName String
- authenticationType string
- isCommon boolean
- isImplicit boolean
- isInherited boolean
- isOracle booleanMaintained 
- isPassword booleanRequired 
- roleName string
- authentication_type str
- is_common bool
- is_implicit bool
- is_inherited bool
- is_oracle_ boolmaintained 
- is_password_ boolrequired 
- role_name str
- authenticationType String
- isCommon Boolean
- isImplicit Boolean
- isInherited Boolean
- isOracle BooleanMaintained 
- isPassword BooleanRequired 
- roleName String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.