Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
This data source provides the list of Database Tools Connection Credential Execute Grantees in Oracle Cloud Infrastructure Database Tools Runtime service.
Get a list of all execute grantees
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsConnectionCredentialExecuteGrantees = oci.databasetools.getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees({
credentialKey: databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
databaseToolsConnectionId: testDatabaseToolsConnection.id,
});
import pulumi
import pulumi_oci as oci
test_database_tools_connection_credential_execute_grantees = oci.databasetools.get_runtime_database_tools_connection_credential_execute_grantees(credential_key=database_tools_connection_credential_execute_grantee_credential_key,
database_tools_connection_id=test_database_tools_connection["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasetools"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasetools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(ctx, &databasetools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs{
CredentialKey: databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
DatabaseToolsConnectionId: testDatabaseToolsConnection.Id,
}, 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 testDatabaseToolsConnectionCredentialExecuteGrantees = Oci.DatabaseTools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantees.Invoke(new()
{
CredentialKey = databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
DatabaseToolsConnectionId = testDatabaseToolsConnection.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseTools.DatabaseToolsFunctions;
import com.pulumi.oci.DatabaseTools.inputs.GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testDatabaseToolsConnectionCredentialExecuteGrantees = DatabaseToolsFunctions.getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs.builder()
.credentialKey(databaseToolsConnectionCredentialExecuteGranteeCredentialKey)
.databaseToolsConnectionId(testDatabaseToolsConnection.id())
.build());
}
}
variables:
testDatabaseToolsConnectionCredentialExecuteGrantees:
fn::invoke:
function: oci:DatabaseTools:getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees
arguments:
credentialKey: ${databaseToolsConnectionCredentialExecuteGranteeCredentialKey}
databaseToolsConnectionId: ${testDatabaseToolsConnection.id}
Example coming soon!
Using getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees
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 getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(args: GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult>
function getRuntimeDatabaseToolsConnectionCredentialExecuteGranteesOutput(args: GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult>def get_runtime_database_tools_connection_credential_execute_grantees(credential_key: Optional[str] = None,
database_tools_connection_id: Optional[str] = None,
filters: Optional[Sequence[GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult
def get_runtime_database_tools_connection_credential_execute_grantees_output(credential_key: pulumi.Input[Optional[str]] = None,
database_tools_connection_id: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult]func GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(ctx *Context, args *GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs, opts ...InvokeOption) (*GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult, error)
func GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesOutput(ctx *Context, args *GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesOutputArgs, opts ...InvokeOption) GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResultOutput> Note: This function is named GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantees in the Go SDK.
public static class GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantees
{
public static Task<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult> InvokeAsync(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs args, InvokeOptions? opts = null)
public static Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult> Invoke(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult> getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs args, InvokeOptions options)
public static Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesResult> getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees:getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees
arguments:
# arguments dictionarydata "oci_databasetools_getruntimedatabasetoolsconnectioncredentialexecutegrantees" "name" {
# arguments
}The following arguments are supported:
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Filters
List<Get
Runtime Database Tools Connection Credential Execute Grantees Filter>
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Filters
[]Get
Runtime Database Tools Connection Credential Execute Grantees Filter
- credential_
key string - The name of the credential
- database_
tools_ stringconnection_ id - The OCID of a Database Tools connection.
- filters list(object)
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- filters
List<Get
Runtime Connection Credential Execute Grantees Filter>
- credential
Key string - The name of the credential
- database
Tools stringConnection Id - The OCID of a Database Tools connection.
- filters
Get
Runtime Database Tools Connection Credential Execute Grantees Filter[]
- credential_
key str - The name of the credential
- database_
tools_ strconnection_ id - The OCID of a Database Tools connection.
- filters
Sequence[Get
Runtime Database Tools Connection Credential Execute Grantees Filter]
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- filters List<Property Map>
getRuntimeDatabaseToolsConnectionCredentialExecuteGrantees Result
The following output properties are available:
- Credential
Execute List<GetGrantee Collections Runtime Database Tools Connection Credential Execute Grantees Credential Execute Grantee Collection> - The list of credential_execute_grantee_collection.
- Credential
Key string - Database
Tools stringConnection Id - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Runtime Database Tools Connection Credential Execute Grantees Filter>
- Credential
Execute []GetGrantee Collections Runtime Database Tools Connection Credential Execute Grantees Credential Execute Grantee Collection - The list of credential_execute_grantee_collection.
- Credential
Key string - Database
Tools stringConnection Id - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Runtime Database Tools Connection Credential Execute Grantees Filter
- credential_
execute_ list(object)grantee_ collections - The list of credential_execute_grantee_collection.
- credential_
key string - database_
tools_ stringconnection_ id - id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- credential
Execute List<GetGrantee Collections Runtime Connection Credential Execute Grantees Credential Execute Grantee Collection> - The list of credential_execute_grantee_collection.
- credential
Key String - database
Tools StringConnection Id - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Runtime Connection Credential Execute Grantees Filter>
- credential
Execute GetGrantee Collections Runtime Database Tools Connection Credential Execute Grantees Credential Execute Grantee Collection[] - The list of credential_execute_grantee_collection.
- credential
Key string - database
Tools stringConnection Id - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Runtime Database Tools Connection Credential Execute Grantees Filter[]
- credential_
execute_ Sequence[Getgrantee_ collections Runtime Database Tools Connection Credential Execute Grantees Credential Execute Grantee Collection] - The list of credential_execute_grantee_collection.
- credential_
key str - database_
tools_ strconnection_ id - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Runtime Database Tools Connection Credential Execute Grantees Filter]
- credential
Execute List<Property Map>Grantee Collections - The list of credential_execute_grantee_collection.
- credential
Key String - database
Tools StringConnection Id - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesCredentialExecuteGranteeCollection
GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesCredentialExecuteGranteeCollectionItem
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Key string
- The name of the user to grant the EXECUTE privilege on the credential.
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential_
key string - The name of the credential
- database_
tools_ stringconnection_ id - The OCID of a Database Tools connection.
- key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- key String
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key string - The name of the credential
- database
Tools stringConnection Id - The OCID of a Database Tools connection.
- key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential_
key str - The name of the credential
- database_
tools_ strconnection_ id - The OCID of a Database Tools connection.
- key str
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- key String
- The name of the user to grant the EXECUTE privilege on the credential.
GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
