import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/PluggabledatabasePluggableDatabaseDbmFeaturesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * Enables a Database Management feature for the specified Oracle cloud pluggable database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPluggabledatabasePluggableDatabaseDbmFeaturesManagement = new oci.databasemanagement.PluggabledatabasePluggableDatabaseDbmFeaturesManagement("test_pluggabledatabase_pluggable_database_dbm_features_management", { * pluggableDatabaseId: testPluggableDatabase.id, * enablePluggableDatabaseDbmFeature: enablePluggableDatabaseDbmFeature === "true", * featureDetails: { * feature: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsFeature, * enablePluggableDatabaseDbmFeature: enablePluggableDatabaseDbmFeature, * connectorDetails: { * connectorType: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType, * databaseConnectorId: testDatabaseConnector.id, * managementAgentId: testManagementAgent.id, * privateEndPointId: testPrivateEndPoint.id, * }, * databaseConnectionDetails: { * connectionCredentials: { * credentialName: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName, * credentialType: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType, * namedCredentialId: testNamedCredential.id, * passwordSecretId: testSecret.id, * role: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole, * sslSecretId: testSecret.id, * userName: testUser.name, * }, * connectionString: { * connectionType: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType, * port: Number(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort), * protocol: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol, * service: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService, * }, * }, * canEnableAllCurrentPdbs: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsCanEnableAllCurrentPdbs === "true", * isAutoEnablePluggableDatabase: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase === "true", * managementType: pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType, * }, * }); * ``` */ export declare class PluggabledatabasePluggableDatabaseDbmFeaturesManagement extends pulumi.CustomResource { /** * Get an existing PluggabledatabasePluggableDatabaseDbmFeaturesManagement 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?: PluggabledatabasePluggableDatabaseDbmFeaturesManagementState, opts?: pulumi.CustomResourceOptions): PluggabledatabasePluggableDatabaseDbmFeaturesManagement; /** * Returns true if the given object is an instance of PluggabledatabasePluggableDatabaseDbmFeaturesManagement. 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 PluggabledatabasePluggableDatabaseDbmFeaturesManagement; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 enablePluggableDatabaseDbmFeature: pulumi.Output; readonly feature: pulumi.Output; /** * The details required to enable the specified Database Management feature. */ readonly featureDetails: pulumi.Output; readonly modifyPluggableDatabaseDbmFeature: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ readonly pluggableDatabaseId: pulumi.Output; /** * Create a PluggabledatabasePluggableDatabaseDbmFeaturesManagement 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: PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PluggabledatabasePluggableDatabaseDbmFeaturesManagement resources. */ export interface PluggabledatabasePluggableDatabaseDbmFeaturesManagementState { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enablePluggableDatabaseDbmFeature?: pulumi.Input; feature?: pulumi.Input; /** * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; modifyPluggableDatabaseDbmFeature?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ pluggableDatabaseId?: pulumi.Input; } /** * The set of arguments for constructing a PluggabledatabasePluggableDatabaseDbmFeaturesManagement resource. */ export interface PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enablePluggableDatabaseDbmFeature: pulumi.Input; feature?: pulumi.Input; /** * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; modifyPluggableDatabaseDbmFeature?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ pluggableDatabaseId: pulumi.Input; } //# sourceMappingURL=pluggabledatabasePluggableDatabaseDbmFeaturesManagement.d.ts.map