1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. DbmulticloudOracleDbGcpKeyRing
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
 logo
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi

    This resource provides the Oracle Db Gcp Key Ring resource in Oracle Cloud Infrastructure Dbmulticloud service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-multicloud-integrations/latest/OracleDbGcpKeyRing

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dbmulticloud

    Creates DB GCP Key Rings based on the provided information and retrieves the associated keys.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOracleDbGcpKeyRing = new oci.oci.DbmulticloudOracleDbGcpKeyRing("test_oracle_db_gcp_key_ring", {
        compartmentId: compartmentId,
        displayName: oracleDbGcpKeyRingDisplayName,
        oracleDbConnectorId: testOracleDbConnector.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        gcpKeyRingId: testGcpKeyRing.id,
        location: oracleDbGcpKeyRingLocation,
        properties: oracleDbGcpKeyRingProperties,
        type: oracleDbGcpKeyRingType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oracle_db_gcp_key_ring = oci.oci.DbmulticloudOracleDbGcpKeyRing("test_oracle_db_gcp_key_ring",
        compartment_id=compartment_id,
        display_name=oracle_db_gcp_key_ring_display_name,
        oracle_db_connector_id=test_oracle_db_connector["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        gcp_key_ring_id=test_gcp_key_ring["id"],
        location=oracle_db_gcp_key_ring_location,
        properties=oracle_db_gcp_key_ring_properties,
        type=oracle_db_gcp_key_ring_type)
    
    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.NewDbmulticloudOracleDbGcpKeyRing(ctx, "test_oracle_db_gcp_key_ring", &oci.DbmulticloudOracleDbGcpKeyRingArgs{
    			CompartmentId:       pulumi.Any(compartmentId),
    			DisplayName:         pulumi.Any(oracleDbGcpKeyRingDisplayName),
    			OracleDbConnectorId: pulumi.Any(testOracleDbConnector.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			GcpKeyRingId: pulumi.Any(testGcpKeyRing.Id),
    			Location:     pulumi.Any(oracleDbGcpKeyRingLocation),
    			Properties:   pulumi.Any(oracleDbGcpKeyRingProperties),
    			Type:         pulumi.Any(oracleDbGcpKeyRingType),
    		})
    		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 = new Oci.Oci.DbmulticloudOracleDbGcpKeyRing("test_oracle_db_gcp_key_ring", new()
        {
            CompartmentId = compartmentId,
            DisplayName = oracleDbGcpKeyRingDisplayName,
            OracleDbConnectorId = testOracleDbConnector.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            GcpKeyRingId = testGcpKeyRing.Id,
            Location = oracleDbGcpKeyRingLocation,
            Properties = oracleDbGcpKeyRingProperties,
            Type = oracleDbGcpKeyRingType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.DbmulticloudOracleDbGcpKeyRing;
    import com.pulumi.oci.oci.DbmulticloudOracleDbGcpKeyRingArgs;
    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) {
            var testOracleDbGcpKeyRing = new DbmulticloudOracleDbGcpKeyRing("testOracleDbGcpKeyRing", DbmulticloudOracleDbGcpKeyRingArgs.builder()
                .compartmentId(compartmentId)
                .displayName(oracleDbGcpKeyRingDisplayName)
                .oracleDbConnectorId(testOracleDbConnector.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .gcpKeyRingId(testGcpKeyRing.id())
                .location(oracleDbGcpKeyRingLocation)
                .properties(oracleDbGcpKeyRingProperties)
                .type(oracleDbGcpKeyRingType)
                .build());
    
        }
    }
    
    resources:
      testOracleDbGcpKeyRing:
        type: oci:oci:DbmulticloudOracleDbGcpKeyRing
        name: test_oracle_db_gcp_key_ring
        properties:
          compartmentId: ${compartmentId}
          displayName: ${oracleDbGcpKeyRingDisplayName}
          oracleDbConnectorId: ${testOracleDbConnector.id}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          gcpKeyRingId: ${testGcpKeyRing.id}
          location: ${oracleDbGcpKeyRingLocation}
          properties: ${oracleDbGcpKeyRingProperties}
          type: ${oracleDbGcpKeyRingType}
    

    Create DbmulticloudOracleDbGcpKeyRing Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbmulticloudOracleDbGcpKeyRing(name: string, args: DbmulticloudOracleDbGcpKeyRingArgs, opts?: CustomResourceOptions);
    @overload
    def DbmulticloudOracleDbGcpKeyRing(resource_name: str,
                                       args: DbmulticloudOracleDbGcpKeyRingArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbmulticloudOracleDbGcpKeyRing(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       compartment_id: Optional[str] = None,
                                       display_name: Optional[str] = None,
                                       oracle_db_connector_id: Optional[str] = None,
                                       defined_tags: Optional[Mapping[str, str]] = None,
                                       freeform_tags: Optional[Mapping[str, str]] = None,
                                       gcp_key_ring_id: Optional[str] = None,
                                       location: Optional[str] = None,
                                       properties: Optional[Mapping[str, str]] = None,
                                       type: Optional[str] = None)
    func NewDbmulticloudOracleDbGcpKeyRing(ctx *Context, name string, args DbmulticloudOracleDbGcpKeyRingArgs, opts ...ResourceOption) (*DbmulticloudOracleDbGcpKeyRing, error)
    public DbmulticloudOracleDbGcpKeyRing(string name, DbmulticloudOracleDbGcpKeyRingArgs args, CustomResourceOptions? opts = null)
    public DbmulticloudOracleDbGcpKeyRing(String name, DbmulticloudOracleDbGcpKeyRingArgs args)
    public DbmulticloudOracleDbGcpKeyRing(String name, DbmulticloudOracleDbGcpKeyRingArgs args, CustomResourceOptions options)
    
    type: oci:oci:DbmulticloudOracleDbGcpKeyRing
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DbmulticloudOracleDbGcpKeyRingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DbmulticloudOracleDbGcpKeyRingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DbmulticloudOracleDbGcpKeyRingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbmulticloudOracleDbGcpKeyRingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbmulticloudOracleDbGcpKeyRingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dbmulticloudOracleDbGcpKeyRingResource = new Oci.Oci.DbmulticloudOracleDbGcpKeyRing("dbmulticloudOracleDbGcpKeyRingResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        OracleDbConnectorId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        GcpKeyRingId = "string",
        Location = "string",
        Properties = 
        {
            { "string", "string" },
        },
        Type = "string",
    });
    
    example, err := oci.NewDbmulticloudOracleDbGcpKeyRing(ctx, "dbmulticloudOracleDbGcpKeyRingResource", &oci.DbmulticloudOracleDbGcpKeyRingArgs{
    	CompartmentId:       pulumi.String("string"),
    	DisplayName:         pulumi.String("string"),
    	OracleDbConnectorId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	GcpKeyRingId: pulumi.String("string"),
    	Location:     pulumi.String("string"),
    	Properties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var dbmulticloudOracleDbGcpKeyRingResource = new DbmulticloudOracleDbGcpKeyRing("dbmulticloudOracleDbGcpKeyRingResource", DbmulticloudOracleDbGcpKeyRingArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .oracleDbConnectorId("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .gcpKeyRingId("string")
        .location("string")
        .properties(Map.of("string", "string"))
        .type("string")
        .build());
    
    dbmulticloud_oracle_db_gcp_key_ring_resource = oci.oci.DbmulticloudOracleDbGcpKeyRing("dbmulticloudOracleDbGcpKeyRingResource",
        compartment_id="string",
        display_name="string",
        oracle_db_connector_id="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        gcp_key_ring_id="string",
        location="string",
        properties={
            "string": "string",
        },
        type="string")
    
    const dbmulticloudOracleDbGcpKeyRingResource = new oci.oci.DbmulticloudOracleDbGcpKeyRing("dbmulticloudOracleDbGcpKeyRingResource", {
        compartmentId: "string",
        displayName: "string",
        oracleDbConnectorId: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        gcpKeyRingId: "string",
        location: "string",
        properties: {
            string: "string",
        },
        type: "string",
    });
    
    type: oci:oci:DbmulticloudOracleDbGcpKeyRing
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        gcpKeyRingId: string
        location: string
        oracleDbConnectorId: string
        properties:
            string: string
        type: string
    

    DbmulticloudOracleDbGcpKeyRing Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DbmulticloudOracleDbGcpKeyRing resource accepts the following input properties:

    CompartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DisplayName string
    (Updatable) Display name of DB GCP Key Ring resource.
    OracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>
    (Updatable) 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.
    Location string
    Location of the GCP Key Ring resource.
    Properties Dictionary<string, string>
    Oracle DB GCP Key Ring resource's properties.
    Type string

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DisplayName string
    (Updatable) Display name of DB GCP Key Ring resource.
    OracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string
    (Updatable) 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.
    Location string
    Location of the GCP Key Ring resource.
    Properties map[string]string
    Oracle DB GCP Key Ring resource's properties.
    Type string

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    displayName String
    (Updatable) Display name of DB GCP Key Ring resource.
    oracleDbConnectorId String
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>
    (Updatable) 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.
    location String
    Location of the GCP Key Ring resource.
    properties Map<String,String>
    Oracle DB GCP Key Ring resource's properties.
    type String

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    displayName string
    (Updatable) Display name of DB GCP Key Ring resource.
    oracleDbConnectorId string
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}
    (Updatable) 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.
    location string
    Location of the GCP Key Ring resource.
    properties {[key: string]: string}
    Oracle DB GCP Key Ring resource's properties.
    type string

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    display_name str
    (Updatable) Display name of DB GCP Key Ring resource.
    oracle_db_connector_id str
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]
    (Updatable) 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.
    location str
    Location of the GCP Key Ring resource.
    properties Mapping[str, str]
    Oracle DB GCP Key Ring resource's properties.
    type str

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    displayName String
    (Updatable) Display name of DB GCP Key Ring resource.
    oracleDbConnectorId String
    The OCID of the compartment where the Oracle DB GCP Identity Connector resource resides.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>
    (Updatable) 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.
    location String
    Location of the GCP Key Ring resource.
    properties Map<String>
    Oracle DB GCP Key Ring resource's properties.
    type String

    Oracle DB GCP Key Ring resource Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbmulticloudOracleDbGcpKeyRing resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    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'
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    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'
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    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'

    Look up Existing DbmulticloudOracleDbGcpKeyRing Resource

    Get an existing DbmulticloudOracleDbGcpKeyRing resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DbmulticloudOracleDbGcpKeyRingState, opts?: CustomResourceOptions): DbmulticloudOracleDbGcpKeyRing
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            gcp_key_ring_id: Optional[str] = None,
            lifecycle_state_details: Optional[str] = None,
            location: Optional[str] = None,
            oracle_db_connector_id: Optional[str] = None,
            properties: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> DbmulticloudOracleDbGcpKeyRing
    func GetDbmulticloudOracleDbGcpKeyRing(ctx *Context, name string, id IDInput, state *DbmulticloudOracleDbGcpKeyRingState, opts ...ResourceOption) (*DbmulticloudOracleDbGcpKeyRing, error)
    public static DbmulticloudOracleDbGcpKeyRing Get(string name, Input<string> id, DbmulticloudOracleDbGcpKeyRingState? state, CustomResourceOptions? opts = null)
    public static DbmulticloudOracleDbGcpKeyRing get(String name, Output<String> id, DbmulticloudOracleDbGcpKeyRingState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:DbmulticloudOracleDbGcpKeyRing    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    FreeformTags Dictionary<string, string>
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    FreeformTags map[string]string
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    freeformTags Map<String,String>
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    freeformTags {[key: string]: string}
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    freeform_tags Mapping[str, str]
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The compartment OCID where the Oracle DB GCP Key Ring resource resides.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) Display name of DB GCP Key Ring resource.
    freeformTags Map<String>
    (Updatable) 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.
    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.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    OracleDbGcpKeyRings can be imported using the id, e.g.

    $ pulumi import oci:oci/dbmulticloudOracleDbGcpKeyRing:DbmulticloudOracleDbGcpKeyRing test_oracle_db_gcp_key_ring "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
     logo
    Viewing docs for Oracle Cloud Infrastructure v4.5.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.