Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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[_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:
- Target
Database stringId - Authentication
Type string - Filters
List<Get
Target Database Role Filter> - Is
Oracle boolMaintained - Role
Name stringContains - Role
Names List<string>
- Target
Database stringId - Authentication
Type string - Filters
[]Get
Target Database Role Filter - Is
Oracle boolMaintained - Role
Name stringContains - Role
Names []string
- target
Database StringId - authentication
Type String - filters
List<Get
Target Database Role Filter> - is
Oracle BooleanMaintained - role
Name StringContains - role
Names List<String>
- target
Database stringId - authentication
Type string - filters
Get
Target Database Role Filter[] - is
Oracle booleanMaintained - role
Name stringContains - role
Names string[]
- target
Database StringId - authentication
Type String - filters List<Property Map>
- is
Oracle BooleanMaintained - role
Name StringContains - role
Names List<String>
getTargetDatabaseRole Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
List<Get
Target Database Role Role> - Target
Database stringId - Authentication
Type string - Filters
List<Get
Target Database Role Filter> - Is
Oracle boolMaintained - Role
Name stringContains - Role
Names List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Roles
[]Get
Target Database Role Role - Target
Database stringId - Authentication
Type string - Filters
[]Get
Target Database Role Filter - Is
Oracle boolMaintained - Role
Name stringContains - Role
Names []string
- id String
- The provider-assigned unique ID for this managed resource.
- roles
List<Get
Target Database Role Role> - target
Database StringId - authentication
Type String - filters
List<Get
Target Database Role Filter> - is
Oracle BooleanMaintained - role
Name StringContains - role
Names List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- roles
Get
Target Database Role Role[] - target
Database stringId - authentication
Type string - filters
Get
Target Database Role Filter[] - is
Oracle booleanMaintained - role
Name stringContains - role
Names string[]
- id str
- The provider-assigned unique ID for this managed resource.
- roles
Sequence[datasafe.
Get Target Database Role Role] - target_
database_ strid - authentication_
type str - filters
Sequence[datasafe.
Get Target 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>
- target
Database StringId - authentication
Type String - filters List<Property Map>
- is
Oracle BooleanMaintained - role
Name StringContains - role
Names List<String>
Supporting Types
GetTargetDatabaseRoleFilter
GetTargetDatabaseRoleRole
- Authentication
Type string - Is
Common bool - Is
Implicit bool - Is
Inherited bool - Is
Oracle boolMaintained - Is
Password boolRequired - Role
Name string
- Authentication
Type string - Is
Common bool - Is
Implicit bool - Is
Inherited bool - Is
Oracle boolMaintained - Is
Password boolRequired - Role
Name string
- authentication
Type String - is
Common Boolean - is
Implicit Boolean - is
Inherited Boolean - is
Oracle BooleanMaintained - is
Password BooleanRequired - role
Name String
- authentication
Type string - is
Common boolean - is
Implicit boolean - is
Inherited boolean - is
Oracle booleanMaintained - is
Password booleanRequired - role
Name string
- authentication_
type str - is_
common bool - is_
implicit bool - is_
inherited bool - is_
oracle_ boolmaintained - is_
password_ boolrequired - role_
name str
- authentication
Type String - is
Common Boolean - is
Implicit Boolean - is
Inherited Boolean - is
Oracle BooleanMaintained - is
Password BooleanRequired - role
Name String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.