Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
This data source provides details about a specific Oracle Db Gcp Key resource in Oracle Cloud Infrastructure Dbmulticloud service.
Retrieves Oracle DB Google Cloud Key details using a specific resource OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOracleDbGcpKey = oci.oci.getDbmulticloudOracleDbGcpKey({
oracleDbGcpKeyId: testOracleDbGcpKeyOciDbmulticloudOracleDbGcpKey.id,
});
import pulumi
import pulumi_oci as oci
test_oracle_db_gcp_key = oci.oci.get_dbmulticloud_oracle_db_gcp_key(oracle_db_gcp_key_id=test_oracle_db_gcp_key_oci_dbmulticloud_oracle_db_gcp_key["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetDbmulticloudOracleDbGcpKey(ctx, &oci.GetDbmulticloudOracleDbGcpKeyArgs{
OracleDbGcpKeyId: testOracleDbGcpKeyOciDbmulticloudOracleDbGcpKey.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 testOracleDbGcpKey = Oci.Oci.GetDbmulticloudOracleDbGcpKey.Invoke(new()
{
OracleDbGcpKeyId = testOracleDbGcpKeyOciDbmulticloudOracleDbGcpKey.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetDbmulticloudOracleDbGcpKeyArgs;
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 testOracleDbGcpKey = OciFunctions.getDbmulticloudOracleDbGcpKey(GetDbmulticloudOracleDbGcpKeyArgs.builder()
.oracleDbGcpKeyId(testOracleDbGcpKeyOciDbmulticloudOracleDbGcpKey.id())
.build());
}
}
variables:
testOracleDbGcpKey:
fn::invoke:
function: oci:oci:getDbmulticloudOracleDbGcpKey
arguments:
oracleDbGcpKeyId: ${testOracleDbGcpKeyOciDbmulticloudOracleDbGcpKey.id}
Using getDbmulticloudOracleDbGcpKey
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 getDbmulticloudOracleDbGcpKey(args: GetDbmulticloudOracleDbGcpKeyArgs, opts?: InvokeOptions): Promise<GetDbmulticloudOracleDbGcpKeyResult>
function getDbmulticloudOracleDbGcpKeyOutput(args: GetDbmulticloudOracleDbGcpKeyOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudOracleDbGcpKeyResult>def get_dbmulticloud_oracle_db_gcp_key(oracle_db_gcp_key_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbmulticloudOracleDbGcpKeyResult
def get_dbmulticloud_oracle_db_gcp_key_output(oracle_db_gcp_key_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudOracleDbGcpKeyResult]func GetDbmulticloudOracleDbGcpKey(ctx *Context, args *GetDbmulticloudOracleDbGcpKeyArgs, opts ...InvokeOption) (*GetDbmulticloudOracleDbGcpKeyResult, error)
func GetDbmulticloudOracleDbGcpKeyOutput(ctx *Context, args *GetDbmulticloudOracleDbGcpKeyOutputArgs, opts ...InvokeOption) GetDbmulticloudOracleDbGcpKeyResultOutput> Note: This function is named GetDbmulticloudOracleDbGcpKey in the Go SDK.
public static class GetDbmulticloudOracleDbGcpKey
{
public static Task<GetDbmulticloudOracleDbGcpKeyResult> InvokeAsync(GetDbmulticloudOracleDbGcpKeyArgs args, InvokeOptions? opts = null)
public static Output<GetDbmulticloudOracleDbGcpKeyResult> Invoke(GetDbmulticloudOracleDbGcpKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbmulticloudOracleDbGcpKeyResult> getDbmulticloudOracleDbGcpKey(GetDbmulticloudOracleDbGcpKeyArgs args, InvokeOptions options)
public static Output<GetDbmulticloudOracleDbGcpKeyResult> getDbmulticloudOracleDbGcpKey(GetDbmulticloudOracleDbGcpKeyArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDbmulticloudOracleDbGcpKey:getDbmulticloudOracleDbGcpKey
arguments:
# arguments dictionaryThe following arguments are supported:
- Oracle
Db stringGcp Key Id - The OCID of the Oracle DB Google Cloud Key resource.
- Oracle
Db stringGcp Key Id - The OCID of the Oracle DB Google Cloud Key resource.
- oracle
Db StringGcp Key Id - The OCID of the Oracle DB Google Cloud Key resource.
- oracle
Db stringGcp Key Id - The OCID of the Oracle DB Google Cloud Key resource.
- oracle_
db_ strgcp_ key_ id - The OCID of the Oracle DB Google Cloud Key resource.
- oracle
Db StringGcp Key Id - The OCID of the Oracle DB Google Cloud Key resource.
getDbmulticloudOracleDbGcpKey Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - Display name of Oracle DB Google Key resource.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Gcp
Key stringId - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- Gcp
Key Dictionary<string, string>Properties - Gcp Key properties
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Oracle
Db stringGcp Key Id - Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- Resource
Type string - Key resource type.
- State string
- The current lifecycle state of the Oracle DB Google Key resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - Display name of Oracle DB Google Key resource.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Gcp
Key stringId - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- Gcp
Key map[string]stringProperties - Gcp Key properties
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Oracle
Db stringGcp Key Id - Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- Resource
Type string - Key resource type.
- State string
- The current lifecycle state of the Oracle DB Google Key resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- compartment
Id String - The OCID of the compartment that contains Oracle DB Google Key resource.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - Display name of Oracle DB Google Key resource.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - gcp
Key StringId - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- gcp
Key Map<String,String>Properties - Gcp Key properties
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- oracle
Db StringGcp Key Id - oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- resource
Type String - Key resource type.
- state String
- The current lifecycle state of the Oracle DB Google Key resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated String - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - Display name of Oracle DB Google Key resource.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - gcp
Key stringId - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- gcp
Key {[key: string]: string}Properties - Gcp Key properties
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- oracle
Db stringGcp Key Id - oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- resource
Type string - Key resource type.
- state string
- The current lifecycle state of the Oracle DB Google Key resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated string - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- compartment_
id str - The OCID of the compartment that contains Oracle DB Google Key resource.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - Display name of Oracle DB Google Key resource.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - gcp_
key_ strid - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- gcp_
key_ Mapping[str, str]properties - Gcp Key properties
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state_ strdetails - Description of the current lifecycle state in more detail.
- oracle_
db_ strgcp_ key_ id - oracle_
db_ strgcp_ key_ ring_ id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- resource_
type str - Key resource type.
- state str
- The current lifecycle state of the Oracle DB Google Key resource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time_
updated str - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- compartment
Id String - The OCID of the compartment that contains Oracle DB Google Key resource.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - Display name of Oracle DB Google Key resource.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - gcp
Key StringId - TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
- gcp
Key Map<String>Properties - Gcp Key properties
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- oracle
Db StringGcp Key Id - oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- resource
Type String - Key resource type.
- state String
- The current lifecycle state of the Oracle DB Google Key resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the Oracle DB Google Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
- time
Updated String - Time when the Oracle DB Google Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
