import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the 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/DatabaseDbmFeaturesManagement * * 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 cloud database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseDbmFeaturesManagement = new oci.databasemanagement.DatabaseDbmFeaturesManagement("test_database_dbm_features_management", { * databaseId: testDatabase.id, * enableDatabaseDbmFeature: enableDatabaseDbmFeature === "true", * featureDetails: { * feature: databaseDbmFeaturesManagementFeatureDetailsFeature, * enableDatabaseDbmFeature: enableDatabaseDbmFeature, * connectorDetails: { * connectorType: databaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType, * databaseConnectorId: testDatabaseConnector.id, * managementAgentId: testManagementAgent.id, * privateEndPointId: testPrivateEndPoint.id, * }, * databaseConnectionDetails: { * connectionCredentials: { * credentialName: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName, * credentialType: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType, * namedCredentialId: testNamedCredential.id, * passwordSecretId: testSecret.id, * role: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole, * sslSecretId: testSecret.id, * userName: testUser.name, * }, * connectionString: { * connectionType: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType, * port: Number(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort), * protocol: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol, * service: databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService, * }, * }, * canEnableAllCurrentPdbs: databaseDbmFeaturesManagementFeatureDetailsCanEnableAllCurrentPdbs === "true", * isAutoEnablePluggableDatabase: databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase === "true", * managementType: databaseDbmFeaturesManagementFeatureDetailsManagementType, * }, * }); * ``` */ export declare class DatabaseDbmFeaturesManagement extends pulumi.CustomResource { /** * Get an existing DatabaseDbmFeaturesManagement 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?: DatabaseDbmFeaturesManagementState, opts?: pulumi.CustomResourceOptions): DatabaseDbmFeaturesManagement; /** * Returns true if the given object is an instance of DatabaseDbmFeaturesManagement. 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 DatabaseDbmFeaturesManagement; readonly canDisableAllPdbs: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. */ readonly databaseId: pulumi.Output; /** * (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 enableDatabaseDbmFeature: pulumi.Output; readonly feature: pulumi.Output; /** * The details required to enable the specified Database Management feature. */ readonly featureDetails: pulumi.Output; readonly modifyDatabaseDbmFeature: pulumi.Output; /** * Create a DatabaseDbmFeaturesManagement 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: DatabaseDbmFeaturesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatabaseDbmFeaturesManagement resources. */ export interface DatabaseDbmFeaturesManagementState { canDisableAllPdbs?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. */ databaseId?: pulumi.Input; /** * (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 */ enableDatabaseDbmFeature?: pulumi.Input; feature?: pulumi.Input; /** * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; modifyDatabaseDbmFeature?: pulumi.Input; } /** * The set of arguments for constructing a DatabaseDbmFeaturesManagement resource. */ export interface DatabaseDbmFeaturesManagementArgs { canDisableAllPdbs?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. */ databaseId: pulumi.Input; /** * (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 */ enableDatabaseDbmFeature: pulumi.Input; feature?: pulumi.Input; /** * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; modifyDatabaseDbmFeature?: pulumi.Input; } //# sourceMappingURL=databaseDbmFeaturesManagement.d.ts.map