oci.Database.PluggableDatabaseManagementsManagement
Explore with Pulumi AI
This resource provides the Pluggable Database Pluggabledatabasemanagements Management resource in Oracle Cloud Infrastructure Database service.
Enables the Database Management service for an Oracle Pluggable Database located in Oracle Cloud Infrastructure. This service allows the pluggable database to access tools including Metrics and Performance hub. Database Management is enabled at the pluggable database (PDB) level.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPluggableDatabasePluggabledatabasemanagementsManagement = new oci.database.PluggableDatabaseManagementsManagement("test_pluggable_database_pluggabledatabasemanagements_management", {
    pluggableDatabaseId: testPluggableDatabase.id,
    enablePluggabledatabasemanagement: enablePluggabledatabasemanagement,
    credentialDetails: {
        passwordSecretId: testSecret.id,
        userName: testUser.name,
    },
    privateEndPointId: testPrivateEndPoint.id,
    serviceName: testService.name,
    port: pluggableDatabasePluggabledatabasemanagementsManagementPort,
    protocol: pluggableDatabasePluggabledatabasemanagementsManagementProtocol,
    role: pluggableDatabasePluggabledatabasemanagementsManagementRole,
    sslSecretId: testSecret.id,
});
import pulumi
import pulumi_oci as oci
test_pluggable_database_pluggabledatabasemanagements_management = oci.database.PluggableDatabaseManagementsManagement("test_pluggable_database_pluggabledatabasemanagements_management",
    pluggable_database_id=test_pluggable_database["id"],
    enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement,
    credential_details={
        "password_secret_id": test_secret["id"],
        "user_name": test_user["name"],
    },
    private_end_point_id=test_private_end_point["id"],
    service_name=test_service["name"],
    port=pluggable_database_pluggabledatabasemanagements_management_port,
    protocol=pluggable_database_pluggabledatabasemanagements_management_protocol,
    role=pluggable_database_pluggabledatabasemanagements_management_role,
    ssl_secret_id=test_secret["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.NewPluggableDatabaseManagementsManagement(ctx, "test_pluggable_database_pluggabledatabasemanagements_management", &database.PluggableDatabaseManagementsManagementArgs{
			PluggableDatabaseId:               pulumi.Any(testPluggableDatabase.Id),
			EnablePluggabledatabasemanagement: pulumi.Any(enablePluggabledatabasemanagement),
			CredentialDetails: &database.PluggableDatabaseManagementsManagementCredentialDetailsArgs{
				PasswordSecretId: pulumi.Any(testSecret.Id),
				UserName:         pulumi.Any(testUser.Name),
			},
			PrivateEndPointId: pulumi.Any(testPrivateEndPoint.Id),
			ServiceName:       pulumi.Any(testService.Name),
			Port:              pulumi.Any(pluggableDatabasePluggabledatabasemanagementsManagementPort),
			Protocol:          pulumi.Any(pluggableDatabasePluggabledatabasemanagementsManagementProtocol),
			Role:              pulumi.Any(pluggableDatabasePluggabledatabasemanagementsManagementRole),
			SslSecretId:       pulumi.Any(testSecret.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testPluggableDatabasePluggabledatabasemanagementsManagement = new Oci.Database.PluggableDatabaseManagementsManagement("test_pluggable_database_pluggabledatabasemanagements_management", new()
    {
        PluggableDatabaseId = testPluggableDatabase.Id,
        EnablePluggabledatabasemanagement = enablePluggabledatabasemanagement,
        CredentialDetails = new Oci.Database.Inputs.PluggableDatabaseManagementsManagementCredentialDetailsArgs
        {
            PasswordSecretId = testSecret.Id,
            UserName = testUser.Name,
        },
        PrivateEndPointId = testPrivateEndPoint.Id,
        ServiceName = testService.Name,
        Port = pluggableDatabasePluggabledatabasemanagementsManagementPort,
        Protocol = pluggableDatabasePluggabledatabasemanagementsManagementProtocol,
        Role = pluggableDatabasePluggabledatabasemanagementsManagementRole,
        SslSecretId = testSecret.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.PluggableDatabaseManagementsManagement;
import com.pulumi.oci.Database.PluggableDatabaseManagementsManagementArgs;
import com.pulumi.oci.Database.inputs.PluggableDatabaseManagementsManagementCredentialDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testPluggableDatabasePluggabledatabasemanagementsManagement = new PluggableDatabaseManagementsManagement("testPluggableDatabasePluggabledatabasemanagementsManagement", PluggableDatabaseManagementsManagementArgs.builder()
            .pluggableDatabaseId(testPluggableDatabase.id())
            .enablePluggabledatabasemanagement(enablePluggabledatabasemanagement)
            .credentialDetails(PluggableDatabaseManagementsManagementCredentialDetailsArgs.builder()
                .passwordSecretId(testSecret.id())
                .userName(testUser.name())
                .build())
            .privateEndPointId(testPrivateEndPoint.id())
            .serviceName(testService.name())
            .port(pluggableDatabasePluggabledatabasemanagementsManagementPort)
            .protocol(pluggableDatabasePluggabledatabasemanagementsManagementProtocol)
            .role(pluggableDatabasePluggabledatabasemanagementsManagementRole)
            .sslSecretId(testSecret.id())
            .build());
    }
}
resources:
  testPluggableDatabasePluggabledatabasemanagementsManagement:
    type: oci:Database:PluggableDatabaseManagementsManagement
    name: test_pluggable_database_pluggabledatabasemanagements_management
    properties:
      pluggableDatabaseId: ${testPluggableDatabase.id}
      enablePluggabledatabasemanagement: ${enablePluggabledatabasemanagement}
      credentialDetails:
        passwordSecretId: ${testSecret.id}
        userName: ${testUser.name}
      privateEndPointId: ${testPrivateEndPoint.id}
      serviceName: ${testService.name}
      port: ${pluggableDatabasePluggabledatabasemanagementsManagementPort}
      protocol: ${pluggableDatabasePluggabledatabasemanagementsManagementProtocol}
      role: ${pluggableDatabasePluggabledatabasemanagementsManagementRole}
      sslSecretId: ${testSecret.id}
Create PluggableDatabaseManagementsManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PluggableDatabaseManagementsManagement(name: string, args: PluggableDatabaseManagementsManagementArgs, opts?: CustomResourceOptions);@overload
def PluggableDatabaseManagementsManagement(resource_name: str,
                                           args: PluggableDatabaseManagementsManagementArgs,
                                           opts: Optional[ResourceOptions] = None)
@overload
def PluggableDatabaseManagementsManagement(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           credential_details: Optional[PluggableDatabaseManagementsManagementCredentialDetailsArgs] = None,
                                           enable_pluggabledatabasemanagement: Optional[bool] = None,
                                           pluggable_database_id: Optional[str] = None,
                                           private_end_point_id: Optional[str] = None,
                                           service_name: Optional[str] = None,
                                           port: Optional[int] = None,
                                           protocol: Optional[str] = None,
                                           role: Optional[str] = None,
                                           ssl_secret_id: Optional[str] = None)func NewPluggableDatabaseManagementsManagement(ctx *Context, name string, args PluggableDatabaseManagementsManagementArgs, opts ...ResourceOption) (*PluggableDatabaseManagementsManagement, error)public PluggableDatabaseManagementsManagement(string name, PluggableDatabaseManagementsManagementArgs args, CustomResourceOptions? opts = null)
public PluggableDatabaseManagementsManagement(String name, PluggableDatabaseManagementsManagementArgs args)
public PluggableDatabaseManagementsManagement(String name, PluggableDatabaseManagementsManagementArgs args, CustomResourceOptions options)
type: oci:Database:PluggableDatabaseManagementsManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PluggableDatabaseManagementsManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PluggableDatabaseManagementsManagementArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PluggableDatabaseManagementsManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PluggableDatabaseManagementsManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PluggableDatabaseManagementsManagementArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var pluggableDatabaseManagementsManagementResource = new Oci.Database.PluggableDatabaseManagementsManagement("pluggableDatabaseManagementsManagementResource", new()
{
    CredentialDetails = new Oci.Database.Inputs.PluggableDatabaseManagementsManagementCredentialDetailsArgs
    {
        PasswordSecretId = "string",
        UserName = "string",
    },
    EnablePluggabledatabasemanagement = false,
    PluggableDatabaseId = "string",
    PrivateEndPointId = "string",
    ServiceName = "string",
    Port = 0,
    Protocol = "string",
    Role = "string",
    SslSecretId = "string",
});
example, err := database.NewPluggableDatabaseManagementsManagement(ctx, "pluggableDatabaseManagementsManagementResource", &database.PluggableDatabaseManagementsManagementArgs{
	CredentialDetails: &database.PluggableDatabaseManagementsManagementCredentialDetailsArgs{
		PasswordSecretId: pulumi.String("string"),
		UserName:         pulumi.String("string"),
	},
	EnablePluggabledatabasemanagement: pulumi.Bool(false),
	PluggableDatabaseId:               pulumi.String("string"),
	PrivateEndPointId:                 pulumi.String("string"),
	ServiceName:                       pulumi.String("string"),
	Port:                              pulumi.Int(0),
	Protocol:                          pulumi.String("string"),
	Role:                              pulumi.String("string"),
	SslSecretId:                       pulumi.String("string"),
})
var pluggableDatabaseManagementsManagementResource = new PluggableDatabaseManagementsManagement("pluggableDatabaseManagementsManagementResource", PluggableDatabaseManagementsManagementArgs.builder()
    .credentialDetails(PluggableDatabaseManagementsManagementCredentialDetailsArgs.builder()
        .passwordSecretId("string")
        .userName("string")
        .build())
    .enablePluggabledatabasemanagement(false)
    .pluggableDatabaseId("string")
    .privateEndPointId("string")
    .serviceName("string")
    .port(0)
    .protocol("string")
    .role("string")
    .sslSecretId("string")
    .build());
pluggable_database_managements_management_resource = oci.database.PluggableDatabaseManagementsManagement("pluggableDatabaseManagementsManagementResource",
    credential_details={
        "password_secret_id": "string",
        "user_name": "string",
    },
    enable_pluggabledatabasemanagement=False,
    pluggable_database_id="string",
    private_end_point_id="string",
    service_name="string",
    port=0,
    protocol="string",
    role="string",
    ssl_secret_id="string")
const pluggableDatabaseManagementsManagementResource = new oci.database.PluggableDatabaseManagementsManagement("pluggableDatabaseManagementsManagementResource", {
    credentialDetails: {
        passwordSecretId: "string",
        userName: "string",
    },
    enablePluggabledatabasemanagement: false,
    pluggableDatabaseId: "string",
    privateEndPointId: "string",
    serviceName: "string",
    port: 0,
    protocol: "string",
    role: "string",
    sslSecretId: "string",
});
type: oci:Database:PluggableDatabaseManagementsManagement
properties:
    credentialDetails:
        passwordSecretId: string
        userName: string
    enablePluggabledatabasemanagement: false
    pluggableDatabaseId: string
    port: 0
    privateEndPointId: string
    protocol: string
    role: string
    serviceName: string
    sslSecretId: string
PluggableDatabaseManagementsManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PluggableDatabaseManagementsManagement resource accepts the following input properties:
- CredentialDetails PluggableDatabase Managements Management Credential Details 
- Data for the credential used to connect to the database.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- PluggableDatabase stringId 
- The database OCID.
- PrivateEnd stringPoint Id 
- The OCID of the private endpoint.
- ServiceName string
- The name of the Oracle Database service that will be used to connect to the database.
- Port int
- The port used to connect to the pluggable database.
- Protocol string
- Protocol used by the database connection.
- Role string
- The role of the user that will be connecting to the pluggable database.
- SslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- CredentialDetails PluggableDatabase Managements Management Credential Details Args 
- Data for the credential used to connect to the database.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- PluggableDatabase stringId 
- The database OCID.
- PrivateEnd stringPoint Id 
- The OCID of the private endpoint.
- ServiceName string
- The name of the Oracle Database service that will be used to connect to the database.
- Port int
- The port used to connect to the pluggable database.
- Protocol string
- Protocol used by the database connection.
- Role string
- The role of the user that will be connecting to the pluggable database.
- SslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- credentialDetails PluggableManagements Management Credential Details 
- Data for the credential used to connect to the database.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- pluggableDatabase StringId 
- The database OCID.
- privateEnd StringPoint Id 
- The OCID of the private endpoint.
- serviceName String
- The name of the Oracle Database service that will be used to connect to the database.
- port Integer
- The port used to connect to the pluggable database.
- protocol String
- Protocol used by the database connection.
- role String
- The role of the user that will be connecting to the pluggable database.
- sslSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- credentialDetails PluggableDatabase Managements Management Credential Details 
- Data for the credential used to connect to the database.
- enablePluggabledatabasemanagement boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- pluggableDatabase stringId 
- The database OCID.
- privateEnd stringPoint Id 
- The OCID of the private endpoint.
- serviceName string
- The name of the Oracle Database service that will be used to connect to the database.
- port number
- The port used to connect to the pluggable database.
- protocol string
- Protocol used by the database connection.
- role string
- The role of the user that will be connecting to the pluggable database.
- sslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- credential_details PluggableDatabase Managements Management Credential Details Args 
- Data for the credential used to connect to the database.
- enable_pluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- pluggable_database_ strid 
- The database OCID.
- private_end_ strpoint_ id 
- The OCID of the private endpoint.
- service_name str
- The name of the Oracle Database service that will be used to connect to the database.
- port int
- The port used to connect to the pluggable database.
- protocol str
- Protocol used by the database connection.
- role str
- The role of the user that will be connecting to the pluggable database.
- ssl_secret_ strid 
- The OCID of the Oracle Cloud Infrastructure secret.
- credentialDetails Property Map
- Data for the credential used to connect to the database.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- pluggableDatabase StringId 
- The database OCID.
- privateEnd StringPoint Id 
- The OCID of the private endpoint.
- serviceName String
- The name of the Oracle Database service that will be used to connect to the database.
- port Number
- The port used to connect to the pluggable database.
- protocol String
- Protocol used by the database connection.
- role String
- The role of the user that will be connecting to the pluggable database.
- sslSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
Outputs
All input properties are implicitly available as output properties. Additionally, the PluggableDatabaseManagementsManagement resource produces the following output properties:
- CompartmentId string
- The OCID of the compartment.
- ConnectionStrings List<PluggableDatabase Managements Management Connection String> 
- Connection strings to connect to an Oracle Pluggable Database.
- ContainerDatabase stringId 
- The OCID of the CDB.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The provider-assigned unique ID for this managed resource.
- IsRestricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- OpenMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- PdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- PluggableDatabase List<PluggableManagement Configs Database Managements Management Pluggable Database Management Config> 
- The configuration of the Pluggable Database Management service.
- State string
- The current state of the pluggable database.
- TimeCreated string
- The date and time the pluggable database was created.
- CompartmentId string
- The OCID of the compartment.
- ConnectionStrings []PluggableDatabase Managements Management Connection String 
- Connection strings to connect to an Oracle Pluggable Database.
- ContainerDatabase stringId 
- The OCID of the CDB.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The provider-assigned unique ID for this managed resource.
- IsRestricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- OpenMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- PdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- PluggableDatabase []PluggableManagement Configs Database Managements Management Pluggable Database Management Config 
- The configuration of the Pluggable Database Management service.
- State string
- The current state of the pluggable database.
- TimeCreated string
- The date and time the pluggable database was created.
- compartmentId String
- The OCID of the compartment.
- connectionStrings List<PluggableManagements Management Connection String> 
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase StringId 
- The OCID of the CDB.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The provider-assigned unique ID for this managed resource.
- isRestricted Boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- openMode String
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName String
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase List<PluggableManagement Configs Managements Management Pluggable Management Config> 
- The configuration of the Pluggable Database Management service.
- state String
- The current state of the pluggable database.
- timeCreated String
- The date and time the pluggable database was created.
- compartmentId string
- The OCID of the compartment.
- connectionStrings PluggableDatabase Managements Management Connection String[] 
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase stringId 
- The OCID of the CDB.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- The provider-assigned unique ID for this managed resource.
- isRestricted boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails string
- Detailed message for the lifecycle state.
- openMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase PluggableManagement Configs Database Managements Management Pluggable Database Management Config[] 
- The configuration of the Pluggable Database Management service.
- state string
- The current state of the pluggable database.
- timeCreated string
- The date and time the pluggable database was created.
- compartment_id str
- The OCID of the compartment.
- connection_strings Sequence[PluggableDatabase Managements Management Connection String] 
- Connection strings to connect to an Oracle Pluggable Database.
- container_database_ strid 
- The OCID of the CDB.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- The provider-assigned unique ID for this managed resource.
- is_restricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycle_details str
- Detailed message for the lifecycle state.
- open_mode str
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdb_name str
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggable_database_ Sequence[Pluggablemanagement_ configs Database Managements Management Pluggable Database Management Config] 
- The configuration of the Pluggable Database Management service.
- state str
- The current state of the pluggable database.
- time_created str
- The date and time the pluggable database was created.
- compartmentId String
- The OCID of the compartment.
- connectionStrings List<Property Map>
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase StringId 
- The OCID of the CDB.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The provider-assigned unique ID for this managed resource.
- isRestricted Boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- openMode String
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName String
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase List<Property Map>Management Configs 
- The configuration of the Pluggable Database Management service.
- state String
- The current state of the pluggable database.
- timeCreated String
- The date and time the pluggable database was created.
Look up Existing PluggableDatabaseManagementsManagement Resource
Get an existing PluggableDatabaseManagementsManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PluggableDatabaseManagementsManagementState, opts?: CustomResourceOptions): PluggableDatabaseManagementsManagement@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        connection_strings: Optional[Sequence[PluggableDatabaseManagementsManagementConnectionStringArgs]] = None,
        container_database_id: Optional[str] = None,
        credential_details: Optional[PluggableDatabaseManagementsManagementCredentialDetailsArgs] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        enable_pluggabledatabasemanagement: Optional[bool] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_restricted: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        open_mode: Optional[str] = None,
        pdb_name: Optional[str] = None,
        pluggable_database_id: Optional[str] = None,
        pluggable_database_management_configs: Optional[Sequence[PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfigArgs]] = None,
        port: Optional[int] = None,
        private_end_point_id: Optional[str] = None,
        protocol: Optional[str] = None,
        role: Optional[str] = None,
        service_name: Optional[str] = None,
        ssl_secret_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> PluggableDatabaseManagementsManagementfunc GetPluggableDatabaseManagementsManagement(ctx *Context, name string, id IDInput, state *PluggableDatabaseManagementsManagementState, opts ...ResourceOption) (*PluggableDatabaseManagementsManagement, error)public static PluggableDatabaseManagementsManagement Get(string name, Input<string> id, PluggableDatabaseManagementsManagementState? state, CustomResourceOptions? opts = null)public static PluggableDatabaseManagementsManagement get(String name, Output<String> id, PluggableDatabaseManagementsManagementState state, CustomResourceOptions options)resources:  _:    type: oci:Database:PluggableDatabaseManagementsManagement    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- The OCID of the compartment.
- ConnectionStrings List<PluggableDatabase Managements Management Connection String> 
- Connection strings to connect to an Oracle Pluggable Database.
- ContainerDatabase stringId 
- The OCID of the CDB.
- CredentialDetails PluggableDatabase Managements Management Credential Details 
- Data for the credential used to connect to the database.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- IsRestricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- OpenMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- PdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- PluggableDatabase stringId 
- The database OCID.
- PluggableDatabase List<PluggableManagement Configs Database Managements Management Pluggable Database Management Config> 
- The configuration of the Pluggable Database Management service.
- Port int
- The port used to connect to the pluggable database.
- PrivateEnd stringPoint Id 
- The OCID of the private endpoint.
- Protocol string
- Protocol used by the database connection.
- Role string
- The role of the user that will be connecting to the pluggable database.
- ServiceName string
- The name of the Oracle Database service that will be used to connect to the database.
- SslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- State string
- The current state of the pluggable database.
- TimeCreated string
- The date and time the pluggable database was created.
- CompartmentId string
- The OCID of the compartment.
- ConnectionStrings []PluggableDatabase Managements Management Connection String Args 
- Connection strings to connect to an Oracle Pluggable Database.
- ContainerDatabase stringId 
- The OCID of the CDB.
- CredentialDetails PluggableDatabase Managements Management Credential Details Args 
- Data for the credential used to connect to the database.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- IsRestricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- LifecycleDetails string
- Detailed message for the lifecycle state.
- OpenMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- PdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- PluggableDatabase stringId 
- The database OCID.
- PluggableDatabase []PluggableManagement Configs Database Managements Management Pluggable Database Management Config Args 
- The configuration of the Pluggable Database Management service.
- Port int
- The port used to connect to the pluggable database.
- PrivateEnd stringPoint Id 
- The OCID of the private endpoint.
- Protocol string
- Protocol used by the database connection.
- Role string
- The role of the user that will be connecting to the pluggable database.
- ServiceName string
- The name of the Oracle Database service that will be used to connect to the database.
- SslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- State string
- The current state of the pluggable database.
- TimeCreated string
- The date and time the pluggable database was created.
- compartmentId String
- The OCID of the compartment.
- connectionStrings List<PluggableManagements Management Connection String> 
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase StringId 
- The OCID of the CDB.
- credentialDetails PluggableManagements Management Credential Details 
- Data for the credential used to connect to the database.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isRestricted Boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- openMode String
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName String
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase StringId 
- The database OCID.
- pluggableDatabase List<PluggableManagement Configs Managements Management Pluggable Management Config> 
- The configuration of the Pluggable Database Management service.
- port Integer
- The port used to connect to the pluggable database.
- privateEnd StringPoint Id 
- The OCID of the private endpoint.
- protocol String
- Protocol used by the database connection.
- role String
- The role of the user that will be connecting to the pluggable database.
- serviceName String
- The name of the Oracle Database service that will be used to connect to the database.
- sslSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- state String
- The current state of the pluggable database.
- timeCreated String
- The date and time the pluggable database was created.
- compartmentId string
- The OCID of the compartment.
- connectionStrings PluggableDatabase Managements Management Connection String[] 
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase stringId 
- The OCID of the CDB.
- credentialDetails PluggableDatabase Managements Management Credential Details 
- Data for the credential used to connect to the database.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- enablePluggabledatabasemanagement boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isRestricted boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails string
- Detailed message for the lifecycle state.
- openMode string
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName string
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase stringId 
- The database OCID.
- pluggableDatabase PluggableManagement Configs Database Managements Management Pluggable Database Management Config[] 
- The configuration of the Pluggable Database Management service.
- port number
- The port used to connect to the pluggable database.
- privateEnd stringPoint Id 
- The OCID of the private endpoint.
- protocol string
- Protocol used by the database connection.
- role string
- The role of the user that will be connecting to the pluggable database.
- serviceName string
- The name of the Oracle Database service that will be used to connect to the database.
- sslSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- state string
- The current state of the pluggable database.
- timeCreated string
- The date and time the pluggable database was created.
- compartment_id str
- The OCID of the compartment.
- connection_strings Sequence[PluggableDatabase Managements Management Connection String Args] 
- Connection strings to connect to an Oracle Pluggable Database.
- container_database_ strid 
- The OCID of the CDB.
- credential_details PluggableDatabase Managements Management Credential Details Args 
- Data for the credential used to connect to the database.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- enable_pluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- is_restricted bool
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycle_details str
- Detailed message for the lifecycle state.
- open_mode str
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdb_name str
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggable_database_ strid 
- The database OCID.
- pluggable_database_ Sequence[Pluggablemanagement_ configs Database Managements Management Pluggable Database Management Config Args] 
- The configuration of the Pluggable Database Management service.
- port int
- The port used to connect to the pluggable database.
- private_end_ strpoint_ id 
- The OCID of the private endpoint.
- protocol str
- Protocol used by the database connection.
- role str
- The role of the user that will be connecting to the pluggable database.
- service_name str
- The name of the Oracle Database service that will be used to connect to the database.
- ssl_secret_ strid 
- The OCID of the Oracle Cloud Infrastructure secret.
- state str
- The current state of the pluggable database.
- time_created str
- The date and time the pluggable database was created.
- compartmentId String
- The OCID of the compartment.
- connectionStrings List<Property Map>
- Connection strings to connect to an Oracle Pluggable Database.
- containerDatabase StringId 
- The OCID of the CDB.
- credentialDetails Property Map
- Data for the credential used to connect to the database.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- isRestricted Boolean
- The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
- lifecycleDetails String
- Detailed message for the lifecycle state.
- openMode String
- The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).
- pdbName String
- The name for the pluggable database (PDB). The name is unique in the context of a container database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.
- pluggableDatabase StringId 
- The database OCID.
- pluggableDatabase List<Property Map>Management Configs 
- The configuration of the Pluggable Database Management service.
- port Number
- The port used to connect to the pluggable database.
- privateEnd StringPoint Id 
- The OCID of the private endpoint.
- protocol String
- Protocol used by the database connection.
- role String
- The role of the user that will be connecting to the pluggable database.
- serviceName String
- The name of the Oracle Database service that will be used to connect to the database.
- sslSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- state String
- The current state of the pluggable database.
- timeCreated String
- The date and time the pluggable database was created.
Supporting Types
PluggableDatabaseManagementsManagementConnectionString, PluggableDatabaseManagementsManagementConnectionStringArgs            
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- AllConnection Dictionary<string, string>Strings 
- All connection strings to use to connect to the pluggable database.
- PdbDefault string
- A host name-based PDB connection string.
- PdbIp stringDefault 
- An IP-based PDB connection string.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- AllConnection map[string]stringStrings 
- All connection strings to use to connect to the pluggable database.
- PdbDefault string
- A host name-based PDB connection string.
- PdbIp stringDefault 
- An IP-based PDB connection string.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- allConnection Map<String,String>Strings 
- All connection strings to use to connect to the pluggable database.
- pdbDefault String
- A host name-based PDB connection string.
- pdbIp StringDefault 
- An IP-based PDB connection string.
- enablePluggabledatabasemanagement boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- allConnection {[key: string]: string}Strings 
- All connection strings to use to connect to the pluggable database.
- pdbDefault string
- A host name-based PDB connection string.
- pdbIp stringDefault 
- An IP-based PDB connection string.
- enable_pluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- all_connection_ Mapping[str, str]strings 
- All connection strings to use to connect to the pluggable database.
- pdb_default str
- A host name-based PDB connection string.
- pdb_ip_ strdefault 
- An IP-based PDB connection string.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- allConnection Map<String>Strings 
- All connection strings to use to connect to the pluggable database.
- pdbDefault String
- A host name-based PDB connection string.
- pdbIp StringDefault 
- An IP-based PDB connection string.
PluggableDatabaseManagementsManagementCredentialDetails, PluggableDatabaseManagementsManagementCredentialDetailsArgs            
- PasswordSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- UserName string
- The name of the Oracle Database user that will be used to connect to the database.
- PasswordSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- UserName string
- The name of the Oracle Database user that will be used to connect to the database.
- passwordSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- userName String
- The name of the Oracle Database user that will be used to connect to the database.
- passwordSecret stringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- userName string
- The name of the Oracle Database user that will be used to connect to the database.
- password_secret_ strid 
- The OCID of the Oracle Cloud Infrastructure secret.
- user_name str
- The name of the Oracle Database user that will be used to connect to the database.
- passwordSecret StringId 
- The OCID of the Oracle Cloud Infrastructure secret.
- userName String
- The name of the Oracle Database user that will be used to connect to the database.
PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfig, PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfigArgs                
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- ManagementStatus string
- The status of the Pluggable Database Management service.
- EnablePluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- ManagementStatus string
- The status of the Pluggable Database Management service.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- managementStatus String
- The status of the Pluggable Database Management service.
- enablePluggabledatabasemanagement boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- managementStatus string
- The status of the Pluggable Database Management service.
- enable_pluggabledatabasemanagement bool
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- management_status str
- The status of the Pluggable Database Management service.
- enablePluggabledatabasemanagement Boolean
- (Updatable) A required field when set to - truecalls enable action and when set to- falsecalls 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 
- managementStatus String
- The status of the Pluggable Database Management service.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.