import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the External Pluggable Database Operations Insights Management resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/ExternalPluggableDatabaseOperationsInsightsManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Enable Operations Insights for the external pluggable database. * When deleting this resource block , we call disable if it was in enabled state . * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalPluggableDatabaseOperationsInsightsManagement = new oci.database.ExternalPluggableDatabaseOperationsInsightsManagement("test_external_pluggable_database_operations_insights_management", { * externalDatabaseConnectorId: testExternalDatabaseConnector.id, * externalPluggableDatabaseId: testExternalPluggableDatabase.id, * enableOperationsInsights: true, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ExternalPluggableDatabaseOperationsInsightsManagement extends pulumi.CustomResource { /** * Get an existing ExternalPluggableDatabaseOperationsInsightsManagement 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?: ExternalPluggableDatabaseOperationsInsightsManagementState, opts?: pulumi.CustomResourceOptions): ExternalPluggableDatabaseOperationsInsightsManagement; /** * Returns true if the given object is an instance of ExternalPluggableDatabaseOperationsInsightsManagement. 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 ExternalPluggableDatabaseOperationsInsightsManagement; /** * (Updatable) Enabling OPSI on External Pluggable Databases . Requires boolean value "true" or "false". * * ** 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 enableOperationsInsights: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). */ readonly externalDatabaseConnectorId: pulumi.Output; /** * The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly externalPluggableDatabaseId: pulumi.Output; /** * Create a ExternalPluggableDatabaseOperationsInsightsManagement 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: ExternalPluggableDatabaseOperationsInsightsManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalPluggableDatabaseOperationsInsightsManagement resources. */ export interface ExternalPluggableDatabaseOperationsInsightsManagementState { /** * (Updatable) Enabling OPSI on External Pluggable Databases . Requires boolean value "true" or "false". * * ** 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 */ enableOperationsInsights?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). */ externalDatabaseConnectorId?: pulumi.Input; /** * The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalPluggableDatabaseId?: pulumi.Input; } /** * The set of arguments for constructing a ExternalPluggableDatabaseOperationsInsightsManagement resource. */ export interface ExternalPluggableDatabaseOperationsInsightsManagementArgs { /** * (Updatable) Enabling OPSI on External Pluggable Databases . Requires boolean value "true" or "false". * * ** 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 */ enableOperationsInsights: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). */ externalDatabaseConnectorId: pulumi.Input; /** * The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalPluggableDatabaseId: pulumi.Input; } //# sourceMappingURL=externalPluggableDatabaseOperationsInsightsManagement.d.ts.map