import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * 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 * * OracleDbGcpKeyRings can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/dbmulticloudOracleDbGcpKeyRing:DbmulticloudOracleDbGcpKeyRing test_oracle_db_gcp_key_ring "id" * ``` */ export declare class DbmulticloudOracleDbGcpKeyRing extends pulumi.CustomResource { /** * Get an existing DbmulticloudOracleDbGcpKeyRing resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DbmulticloudOracleDbGcpKeyRingState, opts?: pulumi.CustomResourceOptions): DbmulticloudOracleDbGcpKeyRing; /** * Returns true if the given object is an instance of DbmulticloudOracleDbGcpKeyRing. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DbmulticloudOracleDbGcpKeyRing; readonly action: pulumi.Output; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the Oracle DB GCP Key Ring resource resides. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Display name of DB GCP Key Ring resource. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * GCP Key Ring ID. */ readonly gcpKeyRingId: pulumi.Output; /** * Description of the current lifecycle state in more detail. */ readonly lifecycleStateDetails: pulumi.Output; /** * Location of the GCP Key Ring resource. */ readonly location: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Oracle DB GCP Identity Connector resource resides. */ readonly oracleDbConnectorId: pulumi.Output; /** * Oracle DB GCP Key Ring resource's properties. */ readonly properties: pulumi.Output<{ [key: string]: string; }>; /** * Replication metadata, it has information about replication and target region. */ readonly replicationMetadatas: pulumi.Output; /** * The lifecycle state of the Oracle DB GCP Key Ring resource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The target region, where resource is replicated. */ readonly targetRegion: pulumi.Output; /** * Time when the DB GCP Key Ring resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' */ readonly timeCreated: pulumi.Output; /** * Time when the DB GCP Key Ring resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' */ readonly timeUpdated: pulumi.Output; /** * 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 */ readonly type: pulumi.Output; /** * Create a DbmulticloudOracleDbGcpKeyRing resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DbmulticloudOracleDbGcpKeyRingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DbmulticloudOracleDbGcpKeyRing resources. */ export interface DbmulticloudOracleDbGcpKeyRingState { action?: pulumi.Input; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the Oracle DB GCP Key Ring resource resides. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name of DB GCP Key Ring resource. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * GCP Key Ring ID. */ gcpKeyRingId?: pulumi.Input; /** * Description of the current lifecycle state in more detail. */ lifecycleStateDetails?: pulumi.Input; /** * Location of the GCP Key Ring resource. */ location?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Oracle DB GCP Identity Connector resource resides. */ oracleDbConnectorId?: pulumi.Input; /** * Oracle DB GCP Key Ring resource's properties. */ properties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Replication metadata, it has information about replication and target region. */ replicationMetadatas?: pulumi.Input[] | undefined>; /** * The lifecycle state of the Oracle DB GCP Key Ring resource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The target region, where resource is replicated. */ targetRegion?: pulumi.Input; /** * Time when the DB GCP Key Ring resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' */ timeCreated?: pulumi.Input; /** * Time when the DB GCP Key Ring resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' */ timeUpdated?: pulumi.Input; /** * 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 */ type?: pulumi.Input; } /** * The set of arguments for constructing a DbmulticloudOracleDbGcpKeyRing resource. */ export interface DbmulticloudOracleDbGcpKeyRingArgs { action?: pulumi.Input; /** * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the Oracle DB GCP Key Ring resource resides. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name of DB GCP Key Ring resource. */ displayName: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * GCP Key Ring ID. */ gcpKeyRingId?: pulumi.Input; /** * Location of the GCP Key Ring resource. */ location?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Oracle DB GCP Identity Connector resource resides. */ oracleDbConnectorId: pulumi.Input; /** * Oracle DB GCP Key Ring resource's properties. */ properties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The target region, where resource is replicated. */ targetRegion?: pulumi.Input; /** * 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 */ type?: pulumi.Input; } //# sourceMappingURL=dbmulticloudOracleDbGcpKeyRing.d.ts.map