Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
This data source provides details about a specific Oracle Db Gcp Key Ring resource in Oracle Cloud Infrastructure Dbmulticloud service.
Retrieves the Oracle GCP Key Ring details using a specific Container resource OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOracleDbGcpKeyRing = oci.oci.getDbmulticloudOracleDbGcpKeyRing({
oracleDbGcpKeyRingId: testOracleDbGcpKeyRingOciDbmulticloudOracleDbGcpKeyRing.id,
});
import pulumi
import pulumi_oci as oci
test_oracle_db_gcp_key_ring = oci.oci.get_dbmulticloud_oracle_db_gcp_key_ring(oracle_db_gcp_key_ring_id=test_oracle_db_gcp_key_ring_oci_dbmulticloud_oracle_db_gcp_key_ring["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupDbmulticloudOracleDbGcpKeyRing(ctx, &oci.LookupDbmulticloudOracleDbGcpKeyRingArgs{
OracleDbGcpKeyRingId: testOracleDbGcpKeyRingOciDbmulticloudOracleDbGcpKeyRing.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 testOracleDbGcpKeyRing = Oci.Oci.GetDbmulticloudOracleDbGcpKeyRing.Invoke(new()
{
OracleDbGcpKeyRingId = testOracleDbGcpKeyRingOciDbmulticloudOracleDbGcpKeyRing.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.GetDbmulticloudOracleDbGcpKeyRingArgs;
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 testOracleDbGcpKeyRing = OciFunctions.getDbmulticloudOracleDbGcpKeyRing(GetDbmulticloudOracleDbGcpKeyRingArgs.builder()
.oracleDbGcpKeyRingId(testOracleDbGcpKeyRingOciDbmulticloudOracleDbGcpKeyRing.id())
.build());
}
}
variables:
testOracleDbGcpKeyRing:
fn::invoke:
function: oci:oci:getDbmulticloudOracleDbGcpKeyRing
arguments:
oracleDbGcpKeyRingId: ${testOracleDbGcpKeyRingOciDbmulticloudOracleDbGcpKeyRing.id}
Using getDbmulticloudOracleDbGcpKeyRing
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 getDbmulticloudOracleDbGcpKeyRing(args: GetDbmulticloudOracleDbGcpKeyRingArgs, opts?: InvokeOptions): Promise<GetDbmulticloudOracleDbGcpKeyRingResult>
function getDbmulticloudOracleDbGcpKeyRingOutput(args: GetDbmulticloudOracleDbGcpKeyRingOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudOracleDbGcpKeyRingResult>def get_dbmulticloud_oracle_db_gcp_key_ring(oracle_db_gcp_key_ring_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbmulticloudOracleDbGcpKeyRingResult
def get_dbmulticloud_oracle_db_gcp_key_ring_output(oracle_db_gcp_key_ring_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudOracleDbGcpKeyRingResult]func LookupDbmulticloudOracleDbGcpKeyRing(ctx *Context, args *LookupDbmulticloudOracleDbGcpKeyRingArgs, opts ...InvokeOption) (*LookupDbmulticloudOracleDbGcpKeyRingResult, error)
func LookupDbmulticloudOracleDbGcpKeyRingOutput(ctx *Context, args *LookupDbmulticloudOracleDbGcpKeyRingOutputArgs, opts ...InvokeOption) LookupDbmulticloudOracleDbGcpKeyRingResultOutput> Note: This function is named LookupDbmulticloudOracleDbGcpKeyRing in the Go SDK.
public static class GetDbmulticloudOracleDbGcpKeyRing
{
public static Task<GetDbmulticloudOracleDbGcpKeyRingResult> InvokeAsync(GetDbmulticloudOracleDbGcpKeyRingArgs args, InvokeOptions? opts = null)
public static Output<GetDbmulticloudOracleDbGcpKeyRingResult> Invoke(GetDbmulticloudOracleDbGcpKeyRingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbmulticloudOracleDbGcpKeyRingResult> getDbmulticloudOracleDbGcpKeyRing(GetDbmulticloudOracleDbGcpKeyRingArgs args, InvokeOptions options)
public static Output<GetDbmulticloudOracleDbGcpKeyRingResult> getDbmulticloudOracleDbGcpKeyRing(GetDbmulticloudOracleDbGcpKeyRingArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDbmulticloudOracleDbGcpKeyRing:getDbmulticloudOracleDbGcpKeyRing
arguments:
# arguments dictionaryThe following arguments are supported:
- Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB GCP Key-Ring resource.
- Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB GCP Key-Ring resource.
- oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB GCP Key-Ring resource.
- oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB GCP Key-Ring resource.
- oracle_
db_ strgcp_ key_ ring_ id - The OCID of the Oracle DB GCP Key-Ring resource.
- oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB GCP Key-Ring resource.
getDbmulticloudOracleDbGcpKeyRing Result
The following output properties are available:
- Compartment
Id string - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- 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 DB GCP Key Ring 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 stringRing Id - GCP Key Ring ID.
- Id string
- The OCID of the DB GCP Key Ring resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Location string
- Location of the GCP Key Ring resource.
- Oracle
Db stringConnector Id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- Oracle
Db stringGcp Key Ring Id - Properties Dictionary<string, string>
- Oracle DB GCP Key Ring resource's properties.
- State string
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- Time
Updated string - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- Type string
- Oracle DB GCP Key Ring resource Type.
- Compartment
Id string - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- 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 DB GCP Key Ring 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 stringRing Id - GCP Key Ring ID.
- Id string
- The OCID of the DB GCP Key Ring resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Location string
- Location of the GCP Key Ring resource.
- Oracle
Db stringConnector Id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- Oracle
Db stringGcp Key Ring Id - Properties map[string]string
- Oracle DB GCP Key Ring resource's properties.
- State string
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- Time
Updated string - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- Type string
- Oracle DB GCP Key Ring resource Type.
- compartment
Id String - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- 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 DB GCP Key Ring 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 StringRing Id - GCP Key Ring ID.
- id String
- The OCID of the DB GCP Key Ring resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- location String
- Location of the GCP Key Ring resource.
- oracle
Db StringConnector Id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- oracle
Db StringGcp Key Ring Id - properties Map<String,String>
- Oracle DB GCP Key Ring resource's properties.
- state String
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- time
Updated String - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- type String
- Oracle DB GCP Key Ring resource Type.
- compartment
Id string - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- {[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 DB GCP Key Ring 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 stringRing Id - GCP Key Ring ID.
- id string
- The OCID of the DB GCP Key Ring resource.
- lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- location string
- Location of the GCP Key Ring resource.
- oracle
Db stringConnector Id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- oracle
Db stringGcp Key Ring Id - properties {[key: string]: string}
- Oracle DB GCP Key Ring resource's properties.
- state string
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- time
Updated string - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- type string
- Oracle DB GCP Key Ring resource Type.
- compartment_
id str - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- 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 DB GCP Key Ring 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_ strring_ id - GCP Key Ring ID.
- id str
- The OCID of the DB GCP Key Ring resource.
- lifecycle_
state_ strdetails - Description of the current lifecycle state in more detail.
- location str
- Location of the GCP Key Ring resource.
- oracle_
db_ strconnector_ id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- oracle_
db_ strgcp_ key_ ring_ id - properties Mapping[str, str]
- Oracle DB GCP Key Ring resource's properties.
- state str
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- time_
updated str - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- type str
- Oracle DB GCP Key Ring resource Type.
- compartment
Id String - The compartment OCID where the Oracle DB GCP Key Ring resource resides.
- 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 DB GCP Key Ring 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 StringRing Id - GCP Key Ring ID.
- id String
- The OCID of the DB GCP Key Ring resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- location String
- Location of the GCP Key Ring resource.
- oracle
Db StringConnector Id - The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
- oracle
Db StringGcp Key Ring Id - properties Map<String>
- Oracle DB GCP Key Ring resource's properties.
- state String
- The lifecycle state of the Oracle DB GCP Key Ring 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 DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- time
Updated String - Time when the DB GCP Key Ring resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
- type String
- Oracle DB GCP Key Ring resource Type.
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.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
