import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Database Tools Connection Credential Public Synonym resource in Oracle Cloud Infrastructure Database Tools Runtime service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database_tools_runtime * * Creates a public synonym for the given credentials * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseToolsConnectionCredentialPublicSynonym = new oci.databasetools.RuntimeDatabaseToolsConnectionCredentialPublicSynonym("test_database_tools_connection_credential_public_synonym", { * credentialKey: databaseToolsConnectionCredentialPublicSynonymCredentialKey, * databaseToolsConnectionId: testDatabaseToolsConnection.id, * key: databaseToolsConnectionCredentialPublicSynonymKey, * }); * ``` * * ## Import * * DatabaseToolsConnectionCredentialPublicSynonyms can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsConnectionCredentialPublicSynonym:RuntimeDatabaseToolsConnectionCredentialPublicSynonym test_database_tools_connection_credential_public_synonym "databaseToolsConnections/{databaseToolsConnectionId}/credentials/{credentialKey}/publicSynonyms/{publicSynonymKey}" * ``` */ export declare class RuntimeDatabaseToolsConnectionCredentialPublicSynonym extends pulumi.CustomResource { /** * Get an existing RuntimeDatabaseToolsConnectionCredentialPublicSynonym 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?: RuntimeDatabaseToolsConnectionCredentialPublicSynonymState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsConnectionCredentialPublicSynonym; /** * Returns true if the given object is an instance of RuntimeDatabaseToolsConnectionCredentialPublicSynonym. 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 RuntimeDatabaseToolsConnectionCredentialPublicSynonym; /** * The name of the credential */ readonly credentialKey: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection. */ readonly databaseToolsConnectionId: pulumi.Output; /** * The name of the public synonym for the credential * * ** 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 key: pulumi.Output; /** * Create a RuntimeDatabaseToolsConnectionCredentialPublicSynonym 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: RuntimeDatabaseToolsConnectionCredentialPublicSynonymArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuntimeDatabaseToolsConnectionCredentialPublicSynonym resources. */ export interface RuntimeDatabaseToolsConnectionCredentialPublicSynonymState { /** * The name of the credential */ credentialKey?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection. */ databaseToolsConnectionId?: pulumi.Input; /** * The name of the public synonym for the credential * * ** 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 */ key?: pulumi.Input; } /** * The set of arguments for constructing a RuntimeDatabaseToolsConnectionCredentialPublicSynonym resource. */ export interface RuntimeDatabaseToolsConnectionCredentialPublicSynonymArgs { /** * The name of the credential */ credentialKey: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection. */ databaseToolsConnectionId: pulumi.Input; /** * The name of the public synonym for the credential * * ** 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 */ key: pulumi.Input; } //# sourceMappingURL=runtimeDatabaseToolsConnectionCredentialPublicSynonym.d.ts.map