import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the External Non Container 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/ExternalNonContainerDatabaseOperationsInsightsManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Enable Operations Insights for the external non-container 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 testExternalNonContainerDatabaseOperationsInsightsManagement = new oci.database.ExternalNonContainerDatabaseOperationsInsightsManagement("test_external_non_container_database_operations_insights_management", { * externalDatabaseConnectorId: testExternalDatabaseConnector.id, * externalNonContainerDatabaseId: testExternalNonContainerDatabase.id, * enableOperationsInsights: true, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ExternalNonContainerDatabaseOperationsInsightsManagement extends pulumi.CustomResource { /** * Get an existing ExternalNonContainerDatabaseOperationsInsightsManagement 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?: ExternalNonContainerDatabaseOperationsInsightsManagementState, opts?: pulumi.CustomResourceOptions): ExternalNonContainerDatabaseOperationsInsightsManagement; /** * Returns true if the given object is an instance of ExternalNonContainerDatabaseOperationsInsightsManagement. 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 ExternalNonContainerDatabaseOperationsInsightsManagement; /** * (Updatable) Enabling OPSI on External non-container 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 external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly externalNonContainerDatabaseId: pulumi.Output; /** * Create a ExternalNonContainerDatabaseOperationsInsightsManagement 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: ExternalNonContainerDatabaseOperationsInsightsManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalNonContainerDatabaseOperationsInsightsManagement resources. */ export interface ExternalNonContainerDatabaseOperationsInsightsManagementState { /** * (Updatable) Enabling OPSI on External non-container 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 external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalNonContainerDatabaseId?: pulumi.Input; } /** * The set of arguments for constructing a ExternalNonContainerDatabaseOperationsInsightsManagement resource. */ export interface ExternalNonContainerDatabaseOperationsInsightsManagementArgs { /** * (Updatable) Enabling OPSI on External non-container 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 external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalNonContainerDatabaseId: pulumi.Input; } //# sourceMappingURL=externalNonContainerDatabaseOperationsInsightsManagement.d.ts.map