import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Externalpluggabledatabases Stack Monitoring resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/ExternalpluggabledatabasesStackMonitoring * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Enable Stack Monitoring for the external pluggable database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalpluggabledatabasesStackMonitoring = new oci.database.ExternalPluggableDatabasesStackMonitoring("test_externalpluggabledatabases_stack_monitoring", { * externalDatabaseConnectorId: testExternalDatabaseConnector.id, * externalPluggableDatabaseId: testExternalPluggableDatabase.id, * enableStackMonitoring: true, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class ExternalPluggableDatabasesStackMonitoring extends pulumi.CustomResource { /** * Get an existing ExternalPluggableDatabasesStackMonitoring 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?: ExternalPluggableDatabasesStackMonitoringState, opts?: pulumi.CustomResourceOptions): ExternalPluggableDatabasesStackMonitoring; /** * Returns true if the given object is an instance of ExternalPluggableDatabasesStackMonitoring. 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 ExternalPluggableDatabasesStackMonitoring; /** * (Updatable) Enabling Stack Monitoring 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 enableStackMonitoring: 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 ExternalPluggableDatabasesStackMonitoring 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: ExternalPluggableDatabasesStackMonitoringArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExternalPluggableDatabasesStackMonitoring resources. */ export interface ExternalPluggableDatabasesStackMonitoringState { /** * (Updatable) Enabling Stack Monitoring 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 */ enableStackMonitoring?: 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 ExternalPluggableDatabasesStackMonitoring resource. */ export interface ExternalPluggableDatabasesStackMonitoringArgs { /** * (Updatable) Enabling Stack Monitoring 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 */ enableStackMonitoring: 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=externalPluggableDatabasesStackMonitoring.d.ts.map