1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getDbmulticloudOracleDbGcpKeyRing
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
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 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/v3/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 dictionary

    The following arguments are supported:

    OracleDbGcpKeyRingId string
    The OCID of the Oracle DB GCP Key-Ring resource.
    OracleDbGcpKeyRingId string
    The OCID of the Oracle DB GCP Key-Ring resource.
    oracleDbGcpKeyRingId String
    The OCID of the Oracle DB GCP Key-Ring resource.
    oracleDbGcpKeyRingId string
    The OCID of the Oracle DB GCP Key-Ring resource.
    oracle_db_gcp_key_ring_id str
    The OCID of the Oracle DB GCP Key-Ring resource.
    oracleDbGcpKeyRingId String
    The OCID of the Oracle DB GCP Key-Ring resource.

    getDbmulticloudOracleDbGcpKeyRing Result

    The following output properties are available:

    CompartmentId string
    The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DefinedTags 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"}
    DisplayName string
    Display name of DB GCP Key Ring resource.
    FreeformTags 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"}
    GcpKeyRingId string
    GCP Key Ring ID.
    Id string
    The OCID of the DB GCP Key Ring resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    Location of the GCP Key Ring resource.
    OracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    OracleDbGcpKeyRingId string
    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.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
    TimeUpdated 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.
    CompartmentId string
    The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DefinedTags 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"}
    DisplayName string
    Display name of DB GCP Key Ring resource.
    FreeformTags 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"}
    GcpKeyRingId string
    GCP Key Ring ID.
    Id string
    The OCID of the DB GCP Key Ring resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    Location of the GCP Key Ring resource.
    OracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    OracleDbGcpKeyRingId string
    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.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
    TimeUpdated 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.
    compartmentId String
    The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags 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"}
    displayName String
    Display name of DB GCP Key Ring resource.
    freeformTags 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"}
    gcpKeyRingId String
    GCP Key Ring ID.
    id String
    The OCID of the DB GCP Key Ring resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    Location of the GCP Key Ring resource.
    oracleDbConnectorId String
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    oracleDbGcpKeyRingId String
    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.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
    timeUpdated 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.
    compartmentId string
    The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags {[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"}
    displayName string
    Display name of DB GCP Key Ring resource.
    freeformTags {[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"}
    gcpKeyRingId string
    GCP Key Ring ID.
    id string
    The OCID of the DB GCP Key Ring resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    location string
    Location of the GCP Key Ring resource.
    oracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    oracleDbGcpKeyRingId string
    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.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
    timeUpdated 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.
    defined_tags 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.
    freeform_tags 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_ring_id str
    GCP Key Ring ID.
    id str
    The OCID of the DB GCP Key Ring resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    location str
    Location of the GCP Key Ring resource.
    oracle_db_connector_id str
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    oracle_db_gcp_key_ring_id str
    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.
    system_tags 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.
    compartmentId String
    The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags 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"}
    displayName String
    Display name of DB GCP Key Ring resource.
    freeformTags 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"}
    gcpKeyRingId String
    GCP Key Ring ID.
    id String
    The OCID of the DB GCP Key Ring resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    Location of the GCP Key Ring resource.
    oracleDbConnectorId String
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    oracleDbGcpKeyRingId String
    properties Map<String>
    Oracle DB GCP Key Ring resource's properties.
    state String
    The lifecycle state of the Oracle DB GCP Key Ring resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the DB GCP Key Ring resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'
    timeUpdated 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate