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 the list of Oracle Db Gcp Keys in Oracle Cloud Infrastructure Dbmulticloud service.
Lists all Oracle DB Google Cloud Keys based on the specified filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOracleDbGcpKeys = oci.oci.getDbmulticloudOracleDbGcpKeys({
compartmentId: compartmentId,
displayName: oracleDbGcpKeyDisplayName,
oracleDbGcpKeyId: testOracleDbGcpKey.id,
oracleDbGcpKeyRingId: testOracleDbGcpKeyRing.id,
state: oracleDbGcpKeyState,
});
import pulumi
import pulumi_oci as oci
test_oracle_db_gcp_keys = oci.oci.get_dbmulticloud_oracle_db_gcp_keys(compartment_id=compartment_id,
display_name=oracle_db_gcp_key_display_name,
oracle_db_gcp_key_id=test_oracle_db_gcp_key["id"],
oracle_db_gcp_key_ring_id=test_oracle_db_gcp_key_ring["id"],
state=oracle_db_gcp_key_state)
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.GetDbmulticloudOracleDbGcpKeys(ctx, &oci.GetDbmulticloudOracleDbGcpKeysArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(oracleDbGcpKeyDisplayName),
OracleDbGcpKeyId: pulumi.StringRef(testOracleDbGcpKey.Id),
OracleDbGcpKeyRingId: pulumi.StringRef(testOracleDbGcpKeyRing.Id),
State: pulumi.StringRef(oracleDbGcpKeyState),
}, 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 testOracleDbGcpKeys = Oci.Oci.GetDbmulticloudOracleDbGcpKeys.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = oracleDbGcpKeyDisplayName,
OracleDbGcpKeyId = testOracleDbGcpKey.Id,
OracleDbGcpKeyRingId = testOracleDbGcpKeyRing.Id,
State = oracleDbGcpKeyState,
});
});
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.GetDbmulticloudOracleDbGcpKeysArgs;
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 testOracleDbGcpKeys = OciFunctions.getDbmulticloudOracleDbGcpKeys(GetDbmulticloudOracleDbGcpKeysArgs.builder()
.compartmentId(compartmentId)
.displayName(oracleDbGcpKeyDisplayName)
.oracleDbGcpKeyId(testOracleDbGcpKey.id())
.oracleDbGcpKeyRingId(testOracleDbGcpKeyRing.id())
.state(oracleDbGcpKeyState)
.build());
}
}
variables:
testOracleDbGcpKeys:
fn::invoke:
function: oci:oci:getDbmulticloudOracleDbGcpKeys
arguments:
compartmentId: ${compartmentId}
displayName: ${oracleDbGcpKeyDisplayName}
oracleDbGcpKeyId: ${testOracleDbGcpKey.id}
oracleDbGcpKeyRingId: ${testOracleDbGcpKeyRing.id}
state: ${oracleDbGcpKeyState}
Using getDbmulticloudOracleDbGcpKeys
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 getDbmulticloudOracleDbGcpKeys(args: GetDbmulticloudOracleDbGcpKeysArgs, opts?: InvokeOptions): Promise<GetDbmulticloudOracleDbGcpKeysResult>
function getDbmulticloudOracleDbGcpKeysOutput(args: GetDbmulticloudOracleDbGcpKeysOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudOracleDbGcpKeysResult>def get_dbmulticloud_oracle_db_gcp_keys(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetDbmulticloudOracleDbGcpKeysFilter]] = None,
oracle_db_gcp_key_id: Optional[str] = None,
oracle_db_gcp_key_ring_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbmulticloudOracleDbGcpKeysResult
def get_dbmulticloud_oracle_db_gcp_keys_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDbmulticloudOracleDbGcpKeysFilterArgs]]]] = None,
oracle_db_gcp_key_id: Optional[pulumi.Input[str]] = None,
oracle_db_gcp_key_ring_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudOracleDbGcpKeysResult]func GetDbmulticloudOracleDbGcpKeys(ctx *Context, args *GetDbmulticloudOracleDbGcpKeysArgs, opts ...InvokeOption) (*GetDbmulticloudOracleDbGcpKeysResult, error)
func GetDbmulticloudOracleDbGcpKeysOutput(ctx *Context, args *GetDbmulticloudOracleDbGcpKeysOutputArgs, opts ...InvokeOption) GetDbmulticloudOracleDbGcpKeysResultOutput> Note: This function is named GetDbmulticloudOracleDbGcpKeys in the Go SDK.
public static class GetDbmulticloudOracleDbGcpKeys
{
public static Task<GetDbmulticloudOracleDbGcpKeysResult> InvokeAsync(GetDbmulticloudOracleDbGcpKeysArgs args, InvokeOptions? opts = null)
public static Output<GetDbmulticloudOracleDbGcpKeysResult> Invoke(GetDbmulticloudOracleDbGcpKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbmulticloudOracleDbGcpKeysResult> getDbmulticloudOracleDbGcpKeys(GetDbmulticloudOracleDbGcpKeysArgs args, InvokeOptions options)
public static Output<GetDbmulticloudOracleDbGcpKeysResult> getDbmulticloudOracleDbGcpKeys(GetDbmulticloudOracleDbGcpKeysArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDbmulticloudOracleDbGcpKeys:getDbmulticloudOracleDbGcpKeys
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment.
- Display
Name string - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- Filters
List<Get
Dbmulticloud Oracle Db Gcp Keys Filter> - Oracle
Db stringGcp Key Id - A filter to return Oracle DB Google Cloud Key resources.
- Oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- State string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The ID of the compartment.
- Display
Name string - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- Filters
[]Get
Dbmulticloud Oracle Db Gcp Keys Filter - Oracle
Db stringGcp Key Id - A filter to return Oracle DB Google Cloud Key resources.
- Oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- State string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment.
- display
Name String - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- filters
List<Get
Dbmulticloud Oracle Db Gcp Keys Filter> - oracle
Db StringGcp Key Id - A filter to return Oracle DB Google Cloud Key resources.
- oracle
Db StringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- state String
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- compartment
Id string - The ID of the compartment.
- display
Name string - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- filters
Get
Dbmulticloud Oracle Db Gcp Keys Filter[] - oracle
Db stringGcp Key Id - A filter to return Oracle DB Google Cloud Key resources.
- oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- state string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- compartment_
id str - The ID of the compartment.
- display_
name str - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- filters
Sequence[Get
Dbmulticloud Oracle Db Gcp Keys Filter] - oracle_
db_ strgcp_ key_ id - A filter to return Oracle DB Google Cloud Key resources.
- oracle_
db_ strgcp_ key_ ring_ id - A filter to return Oracle DB GCP Key Rings.
- state str
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- compartment
Id String - The ID of the compartment.
- display
Name String - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- filters List<Property Map>
- oracle
Db StringGcp Key Id - A filter to return Oracle DB Google Cloud Key resources.
- oracle
Db StringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- state String
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
getDbmulticloudOracleDbGcpKeys Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oracle
Db List<GetGcp Key Summary Collections Dbmulticloud Oracle Db Gcp Keys Oracle Db Gcp Key Summary Collection> - The list of oracle_db_gcp_key_summary_collection.
- Display
Name string - Display name of Oracle DB Google Key resource.
- Filters
List<Get
Dbmulticloud Oracle Db Gcp Keys Filter> - Oracle
Db stringGcp Key Id - Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- State string
- The current lifecycle state of the Oracle DB Google Key resource.
- Compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oracle
Db []GetGcp Key Summary Collections Dbmulticloud Oracle Db Gcp Keys Oracle Db Gcp Key Summary Collection - The list of oracle_db_gcp_key_summary_collection.
- Display
Name string - Display name of Oracle DB Google Key resource.
- Filters
[]Get
Dbmulticloud Oracle Db Gcp Keys Filter - Oracle
Db stringGcp Key Id - Oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- State string
- The current lifecycle state of the Oracle DB Google Key resource.
- compartment
Id String - The OCID of the compartment that contains Oracle DB Google Key resource.
- id String
- The provider-assigned unique ID for this managed resource.
- oracle
Db List<GetGcp Key Summary Collections Dbmulticloud Oracle Db Gcp Keys Oracle Db Gcp Key Summary Collection> - The list of oracle_db_gcp_key_summary_collection.
- display
Name String - Display name of Oracle DB Google Key resource.
- filters
List<Get
Dbmulticloud Oracle Db Gcp Keys Filter> - oracle
Db StringGcp Key Id - oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- state String
- The current lifecycle state of the Oracle DB Google Key resource.
- compartment
Id string - The OCID of the compartment that contains Oracle DB Google Key resource.
- id string
- The provider-assigned unique ID for this managed resource.
- oracle
Db GetGcp Key Summary Collections Dbmulticloud Oracle Db Gcp Keys Oracle Db Gcp Key Summary Collection[] - The list of oracle_db_gcp_key_summary_collection.
- display
Name string - Display name of Oracle DB Google Key resource.
- filters
Get
Dbmulticloud Oracle Db Gcp Keys Filter[] - oracle
Db stringGcp Key Id - oracle
Db stringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- state string
- The current lifecycle state of the Oracle DB Google Key resource.
- compartment_
id str - The OCID of the compartment that contains Oracle DB Google Key resource.
- id str
- The provider-assigned unique ID for this managed resource.
- oracle_
db_ Sequence[Getgcp_ key_ summary_ collections Dbmulticloud Oracle Db Gcp Keys Oracle Db Gcp Key Summary Collection] - The list of oracle_db_gcp_key_summary_collection.
- display_
name str - Display name of Oracle DB Google Key resource.
- filters
Sequence[Get
Dbmulticloud Oracle Db Gcp Keys Filter] - oracle_
db_ strgcp_ key_ id - oracle_
db_ strgcp_ key_ ring_ id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- state str
- The current lifecycle state of the Oracle DB Google Key resource.
- compartment
Id String - The OCID of the compartment that contains Oracle DB Google Key resource.
- id String
- The provider-assigned unique ID for this managed resource.
- oracle
Db List<Property Map>Gcp Key Summary Collections - The list of oracle_db_gcp_key_summary_collection.
- display
Name String - Display name of Oracle DB Google Key resource.
- filters List<Property Map>
- oracle
Db StringGcp Key Id - oracle
Db StringGcp Key Ring Id - The OCID of the Oracle DB Google Cloud Key-Ring resource.
- state String
- The current lifecycle state of the Oracle DB Google Key resource.
Supporting Types
GetDbmulticloudOracleDbGcpKeysFilter
GetDbmulticloudOracleDbGcpKeysOracleDbGcpKeySummaryCollection
GetDbmulticloudOracleDbGcpKeysOracleDbGcpKeySummaryCollectionItem
- Compartment
Id string - The ID of the compartment.
- 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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- 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 OCID of the Oracle DB Google Key resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- Resource
Type string - Key resource type.
- State string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- 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 ID of the compartment.
- 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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- 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 OCID of the Oracle DB Google Key resource.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- Resource
Type string - Key resource type.
- State string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- 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 ID of the compartment.
- 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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- 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 OCID of the Oracle DB Google Key resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- oracle
Db StringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- resource
Type String - Key resource type.
- state String
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- 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 ID of the compartment.
- {[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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- {[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 OCID of the Oracle DB Google Key resource.
- lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- oracle
Db stringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- resource
Type string - Key resource type.
- state string
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- {[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 ID of the compartment.
- 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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- 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 OCID of the Oracle DB Google Key resource.
- lifecycle_
state_ strdetails - Description of the current lifecycle state in more detail.
- oracle_
db_ strgcp_ key_ ring_ id - A filter to return Oracle DB GCP Key Rings.
- resource_
type str - Key resource type.
- state str
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- 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 ID of the compartment.
- 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 - A filter to return Oracle DB Google Cloud Key resources that match the specified display name.
- 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 OCID of the Oracle DB Google Key resource.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- oracle
Db StringGcp Key Ring Id - A filter to return Oracle DB GCP Key Rings.
- resource
Type String - Key resource type.
- state String
- A filter to return only resources that match the specified lifecycle state. The state value is case-insensitive.
- 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.
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
