1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getTargetDatabaseRole
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.getTargetDatabaseRole

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

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

    The following arguments are supported:

    getTargetDatabaseRole Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Roles List<GetTargetDatabaseRoleRole>
    TargetDatabaseId string
    AuthenticationType string
    Filters List<GetTargetDatabaseRoleFilter>
    IsOracleMaintained bool
    RoleNameContains string
    RoleNames List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Roles []GetTargetDatabaseRoleRole
    TargetDatabaseId string
    AuthenticationType string
    Filters []GetTargetDatabaseRoleFilter
    IsOracleMaintained bool
    RoleNameContains string
    RoleNames []string
    id String
    The provider-assigned unique ID for this managed resource.
    roles List<GetTargetDatabaseRoleRole>
    targetDatabaseId String
    authenticationType String
    filters List<GetTargetDatabaseRoleFilter>
    isOracleMaintained Boolean
    roleNameContains String
    roleNames List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    roles GetTargetDatabaseRoleRole[]
    targetDatabaseId string
    authenticationType string
    filters GetTargetDatabaseRoleFilter[]
    isOracleMaintained boolean
    roleNameContains string
    roleNames string[]
    id String
    The provider-assigned unique ID for this managed resource.
    roles List<Property Map>
    targetDatabaseId String
    authenticationType String
    filters List<Property Map>
    isOracleMaintained Boolean
    roleNameContains String
    roleNames List<String>

    Supporting Types

    GetTargetDatabaseRoleFilter

    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

    GetTargetDatabaseRoleRole

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi