import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the External Listener resource in Oracle Cloud Infrastructure Database Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/ExternalListener * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * * Updates the external listener specified by `externalListenerId`. * * ## Import * * ExternalListeners can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseManagement/externalListener:ExternalListener test_external_listener "id" * ``` */ export declare class ExternalListener extends pulumi.CustomResource { /** * Get an existing ExternalListener 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?: ExternalListenerState, opts?: pulumi.CustomResourceOptions): ExternalListener; /** * Returns true if the given object is an instance of ExternalListener. 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 ExternalListener; /** * The additional details of the external listener defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: pulumi.Output<{ [key: string]: string; }>; /** * The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled. */ readonly adrHomeDirectory: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. */ readonly compartmentId: pulumi.Output; /** * The name of the external listener. */ readonly componentName: 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; }>; /** * The user-friendly name for the database. The name does not have to be unique. */ readonly displayName: pulumi.Output; /** * The list of protocol addresses the listener is configured to listen on. */ readonly endpoints: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ readonly externalConnectorId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. */ readonly externalDbHomeId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB node. */ readonly externalDbNodeId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the listener is a part of. */ readonly externalDbSystemId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external listener. */ readonly externalListenerId: 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"}` * * ** 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 freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The name of the host on which the external listener is running. */ readonly hostName: pulumi.Output; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The listener alias. */ readonly listenerAlias: pulumi.Output; /** * The location of the listener configuration file listener.ora. */ readonly listenerOraLocation: pulumi.Output; /** * The type of listener. */ readonly listenerType: pulumi.Output; /** * The destination directory of the listener log file. */ readonly logDirectory: pulumi.Output; /** * The Oracle home location of the listener. */ readonly oracleHome: pulumi.Output; /** * The list of ASMs that are serviced by the listener. */ readonly servicedAsms: pulumi.Output; /** * The list of databases that are serviced by the listener. */ readonly servicedDatabases: pulumi.Output; /** * The current lifecycle state of the external listener. */ readonly state: pulumi.Output; /** * System 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). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the external listener was created. */ readonly timeCreated: pulumi.Output; /** * The date and time the external listener was last updated. */ readonly timeUpdated: pulumi.Output; /** * The destination directory of the listener trace file. */ readonly traceDirectory: pulumi.Output; /** * The listener version. */ readonly version: pulumi.Output; /** * Create a ExternalListener 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: ExternalListenerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalListener resources. */ export interface ExternalListenerState { /** * The additional details of the external listener defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ additionalDetails?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled. */ adrHomeDirectory?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. */ compartmentId?: pulumi.Input; /** * The name of the external listener. */ componentName?: 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>; /** * The user-friendly name for the database. The name does not have to be unique. */ displayName?: pulumi.Input; /** * The list of protocol addresses the listener is configured to listen on. */ endpoints?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalConnectorId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. */ externalDbHomeId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB node. */ externalDbNodeId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the listener is a part of. */ externalDbSystemId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external listener. */ externalListenerId?: 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"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name of the host on which the external listener is running. */ hostName?: pulumi.Input; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The listener alias. */ listenerAlias?: pulumi.Input; /** * The location of the listener configuration file listener.ora. */ listenerOraLocation?: pulumi.Input; /** * The type of listener. */ listenerType?: pulumi.Input; /** * The destination directory of the listener log file. */ logDirectory?: pulumi.Input; /** * The Oracle home location of the listener. */ oracleHome?: pulumi.Input; /** * The list of ASMs that are serviced by the listener. */ servicedAsms?: pulumi.Input[] | undefined>; /** * The list of databases that are serviced by the listener. */ servicedDatabases?: pulumi.Input[] | undefined>; /** * The current lifecycle state of the external listener. */ state?: pulumi.Input; /** * System 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). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the external listener was created. */ timeCreated?: pulumi.Input; /** * The date and time the external listener was last updated. */ timeUpdated?: pulumi.Input; /** * The destination directory of the listener trace file. */ traceDirectory?: pulumi.Input; /** * The listener version. */ version?: pulumi.Input; } /** * The set of arguments for constructing a ExternalListener resource. */ export interface ExternalListenerArgs { /** * (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) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalConnectorId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external listener. */ externalListenerId: 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"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=externalListener.d.ts.map