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[_database.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=oci.database.PluggableDatabaseManagementsManagementCredentialDetailsArgs(
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
The PluggableDatabaseManagementsManagement resource accepts the following input properties:
- Credential
Details PluggableDatabase Managements Management Credential Details - Data for the credential used to connect to the database.
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- Pluggable
Database stringId - The database OCID.
- Private
End stringPoint Id - The OCID of the private endpoint.
- Service
Name 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.
- Ssl
Secret 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
true
calls enable action and when set tofalse
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
- Pluggable
Database stringId - The database OCID.
- Private
End stringPoint Id - The OCID of the private endpoint.
- Service
Name 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.
- Ssl
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- credential
Details PluggableManagements Management Credential Details - Data for the credential used to connect to the database.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- pluggable
Database StringId - The database OCID.
- private
End StringPoint Id - The OCID of the private endpoint.
- service
Name 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.
- ssl
Secret StringId - The OCID of the Oracle Cloud Infrastructure secret.
- credential
Details PluggableDatabase Managements Management Credential Details - Data for the credential used to connect to the database.
- enable
Pluggabledatabasemanagement boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- pluggable
Database stringId - The database OCID.
- private
End stringPoint Id - The OCID of the private endpoint.
- service
Name 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.
- ssl
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- credential_
details database.Pluggable Database 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
true
calls enable action and when set tofalse
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
- 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.
- credential
Details Property Map - Data for the credential used to connect to the database.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- pluggable
Database StringId - The database OCID.
- private
End StringPoint Id - The OCID of the private endpoint.
- service
Name 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.
- ssl
Secret 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:
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings List<PluggableDatabase Managements Management Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database 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.
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pluggable
Database 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.
- Time
Created string - The date and time the pluggable database was created.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings []PluggableDatabase Managements Management Connection String - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database 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.
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pluggable
Database []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.
- Time
Created string - The date and time the pluggable database was created.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<PluggableManagements Management Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database 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.
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database 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.
- time
Created String - The date and time the pluggable database was created.
- compartment
Id string - The OCID of the compartment.
- connection
Strings PluggableDatabase Managements Management Connection String[] - Connection strings to connect to an Oracle Pluggable Database.
- container
Database 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.
- is
Restricted 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.
- lifecycle
Details string - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database 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.
- time
Created string - The date and time the pluggable database was created.
- compartment_
id str - The OCID of the compartment.
- connection_
strings Sequence[database.Pluggable Database 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[database.management_ configs Pluggable 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.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<Property Map> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database 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.
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database List<Property Map>Management Configs - The configuration of the Pluggable Database Management service.
- state String
- The current state of the pluggable database.
- time
Created 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[_database.PluggableDatabaseManagementsManagementConnectionStringArgs]] = None,
container_database_id: Optional[str] = None,
credential_details: Optional[_database.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[_database.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) -> PluggableDatabaseManagementsManagement
func 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)
Resource lookup is not supported in YAML
- 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.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings List<PluggableDatabase Managements Management Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- Credential
Details 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.
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- 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"}
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pluggable
Database stringId - The database OCID.
- Pluggable
Database 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.
- Private
End 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.
- Service
Name string - The name of the Oracle Database service that will be used to connect to the database.
- Ssl
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- State string
- The current state of the pluggable database.
- Time
Created string - The date and time the pluggable database was created.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings []PluggableDatabase Managements Management Connection String Args - Connection strings to connect to an Oracle Pluggable Database.
- Container
Database stringId - The OCID of the CDB.
- Credential
Details 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.
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- 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"}
- 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 string - Detailed message for the lifecycle state.
- Open
Mode 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).
- Pdb
Name 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.
- Pluggable
Database stringId - The database OCID.
- Pluggable
Database []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 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.
- Service
Name string - The name of the Oracle Database service that will be used to connect to the database.
- Ssl
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- State string
- The current state of the pluggable database.
- Time
Created string - The date and time the pluggable database was created.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<PluggableManagements Management Connection String> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- credential
Details 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.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- 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"}
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database StringId - The database OCID.
- pluggable
Database 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.
- private
End 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.
- service
Name String - The name of the Oracle Database service that will be used to connect to the database.
- ssl
Secret StringId - The OCID of the Oracle Cloud Infrastructure secret.
- state String
- The current state of the pluggable database.
- time
Created String - The date and time the pluggable database was created.
- compartment
Id string - The OCID of the compartment.
- connection
Strings PluggableDatabase Managements Management Connection String[] - Connection strings to connect to an Oracle Pluggable Database.
- container
Database stringId - The OCID of the CDB.
- credential
Details 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.
- enable
Pluggabledatabasemanagement boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- {[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"}
- is
Restricted 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.
- lifecycle
Details string - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database stringId - The database OCID.
- pluggable
Database 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.
- private
End 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.
- service
Name string - The name of the Oracle Database service that will be used to connect to the database.
- ssl
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- state string
- The current state of the pluggable database.
- time
Created string - The date and time the pluggable database was created.
- compartment_
id str - The OCID of the compartment.
- connection_
strings Sequence[database.Pluggable Database Managements Management Connection String Args] - Connection strings to connect to an Oracle Pluggable Database.
- container_
database_ strid - The OCID of the CDB.
- credential_
details database.Pluggable Database 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
true
calls enable action and when set tofalse
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
- 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[database.management_ configs Pluggable 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.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<Property Map> - Connection strings to connect to an Oracle Pluggable Database.
- container
Database StringId - The OCID of the CDB.
- credential
Details 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.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- 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"}
- is
Restricted 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.
- lifecycle
Details String - Detailed message for the lifecycle state.
- open
Mode 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).
- pdb
Name 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.
- pluggable
Database StringId - The database OCID.
- pluggable
Database List<Property Map>Management Configs - The configuration of the Pluggable Database Management service.
- port Number
- The port used to connect to the pluggable database.
- private
End 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.
- service
Name String - The name of the Oracle Database service that will be used to connect to the database.
- ssl
Secret StringId - The OCID of the Oracle Cloud Infrastructure secret.
- state String
- The current state of the pluggable database.
- time
Created String - The date and time the pluggable database was created.
Supporting Types
PluggableDatabaseManagementsManagementConnectionString, PluggableDatabaseManagementsManagementConnectionStringArgs
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- All
Connection Dictionary<string, string>Strings - All connection strings to use to connect to the pluggable database.
- Pdb
Default string - A host name-based PDB connection string.
- Pdb
Ip stringDefault - An IP-based PDB connection string.
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- All
Connection map[string]stringStrings - All connection strings to use to connect to the pluggable database.
- Pdb
Default string - A host name-based PDB connection string.
- Pdb
Ip stringDefault - An IP-based PDB connection string.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- all
Connection Map<String,String>Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default String - A host name-based PDB connection string.
- pdb
Ip StringDefault - An IP-based PDB connection string.
- enable
Pluggabledatabasemanagement boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- all
Connection {[key: string]: string}Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default string - A host name-based PDB connection string.
- pdb
Ip stringDefault - An IP-based PDB connection string.
- enable_
pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- 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.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- all
Connection Map<String>Strings - All connection strings to use to connect to the pluggable database.
- pdb
Default String - A host name-based PDB connection string.
- pdb
Ip StringDefault - An IP-based PDB connection string.
PluggableDatabaseManagementsManagementCredentialDetails, PluggableDatabaseManagementsManagementCredentialDetailsArgs
- Password
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- User
Name string - The name of the Oracle Database user that will be used to connect to the database.
- Password
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- User
Name string - The name of the Oracle Database user that will be used to connect to the database.
- password
Secret StringId - The OCID of the Oracle Cloud Infrastructure secret.
- user
Name String - The name of the Oracle Database user that will be used to connect to the database.
- password
Secret stringId - The OCID of the Oracle Cloud Infrastructure secret.
- user
Name 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.
- password
Secret StringId - The OCID of the Oracle Cloud Infrastructure secret.
- user
Name String - The name of the Oracle Database user that will be used to connect to the database.
PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfig, PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfigArgs
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- Management
Status string - The status of the Pluggable Database Management service.
- Enable
Pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- Management
Status string - The status of the Pluggable Database Management service.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- management
Status String - The status of the Pluggable Database Management service.
- enable
Pluggabledatabasemanagement boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- management
Status string - The status of the Pluggable Database Management service.
- enable_
pluggabledatabasemanagement bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- management_
status str - The status of the Pluggable Database Management service.
- enable
Pluggabledatabasemanagement Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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
- management
Status 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
oci
Terraform Provider.