oci.DatabaseManagement.ExternalDbSystem
Explore with Pulumi AI
This resource provides the External Db System resource in Oracle Cloud Infrastructure Database Management service.
Creates an external DB system and its related resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExternalDbSystem = new oci.databasemanagement.ExternalDbSystem("test_external_db_system", {
compartmentId: compartmentId,
dbSystemDiscoveryId: testDbSystemDiscovery.id,
databaseManagementConfig: {
licenseModel: externalDbSystemDatabaseManagementConfigLicenseModel,
},
definedTags: {
"Operations.CostCenter": "42",
},
displayName: externalDbSystemDisplayName,
freeformTags: {
Department: "Finance",
},
stackMonitoringConfig: {
isEnabled: externalDbSystemStackMonitoringConfigIsEnabled,
metadata: externalDbSystemStackMonitoringConfigMetadata,
},
});
import pulumi
import pulumi_oci as oci
test_external_db_system = oci.database_management.ExternalDbSystem("test_external_db_system",
compartment_id=compartment_id,
db_system_discovery_id=test_db_system_discovery["id"],
database_management_config=oci.database_management.ExternalDbSystemDatabaseManagementConfigArgs(
license_model=external_db_system_database_management_config_license_model,
),
defined_tags={
"Operations.CostCenter": "42",
},
display_name=external_db_system_display_name,
freeform_tags={
"Department": "Finance",
},
stack_monitoring_config=oci.database_management.ExternalDbSystemStackMonitoringConfigArgs(
is_enabled=external_db_system_stack_monitoring_config_is_enabled,
metadata=external_db_system_stack_monitoring_config_metadata,
))
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseManagement.NewExternalDbSystem(ctx, "test_external_db_system", &DatabaseManagement.ExternalDbSystemArgs{
CompartmentId: pulumi.Any(compartmentId),
DbSystemDiscoveryId: pulumi.Any(testDbSystemDiscovery.Id),
DatabaseManagementConfig: &databasemanagement.ExternalDbSystemDatabaseManagementConfigArgs{
LicenseModel: pulumi.Any(externalDbSystemDatabaseManagementConfigLicenseModel),
},
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(externalDbSystemDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
StackMonitoringConfig: &databasemanagement.ExternalDbSystemStackMonitoringConfigArgs{
IsEnabled: pulumi.Any(externalDbSystemStackMonitoringConfigIsEnabled),
Metadata: pulumi.Any(externalDbSystemStackMonitoringConfigMetadata),
},
})
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 testExternalDbSystem = new Oci.DatabaseManagement.ExternalDbSystem("test_external_db_system", new()
{
CompartmentId = compartmentId,
DbSystemDiscoveryId = testDbSystemDiscovery.Id,
DatabaseManagementConfig = new Oci.DatabaseManagement.Inputs.ExternalDbSystemDatabaseManagementConfigArgs
{
LicenseModel = externalDbSystemDatabaseManagementConfigLicenseModel,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = externalDbSystemDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
StackMonitoringConfig = new Oci.DatabaseManagement.Inputs.ExternalDbSystemStackMonitoringConfigArgs
{
IsEnabled = externalDbSystemStackMonitoringConfigIsEnabled,
Metadata = externalDbSystemStackMonitoringConfigMetadata,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystem;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystemArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalDbSystemDatabaseManagementConfigArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ExternalDbSystemStackMonitoringConfigArgs;
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 testExternalDbSystem = new ExternalDbSystem("testExternalDbSystem", ExternalDbSystemArgs.builder()
.compartmentId(compartmentId)
.dbSystemDiscoveryId(testDbSystemDiscovery.id())
.databaseManagementConfig(ExternalDbSystemDatabaseManagementConfigArgs.builder()
.licenseModel(externalDbSystemDatabaseManagementConfigLicenseModel)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(externalDbSystemDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.stackMonitoringConfig(ExternalDbSystemStackMonitoringConfigArgs.builder()
.isEnabled(externalDbSystemStackMonitoringConfigIsEnabled)
.metadata(externalDbSystemStackMonitoringConfigMetadata)
.build())
.build());
}
}
resources:
testExternalDbSystem:
type: oci:DatabaseManagement:ExternalDbSystem
name: test_external_db_system
properties:
compartmentId: ${compartmentId}
dbSystemDiscoveryId: ${testDbSystemDiscovery.id}
databaseManagementConfig:
licenseModel: ${externalDbSystemDatabaseManagementConfigLicenseModel}
definedTags:
Operations.CostCenter: '42'
displayName: ${externalDbSystemDisplayName}
freeformTags:
Department: Finance
stackMonitoringConfig:
isEnabled: ${externalDbSystemStackMonitoringConfigIsEnabled}
metadata: ${externalDbSystemStackMonitoringConfigMetadata}
Create ExternalDbSystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalDbSystem(name: string, args: ExternalDbSystemArgs, opts?: CustomResourceOptions);
@overload
def ExternalDbSystem(resource_name: str,
args: ExternalDbSystemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalDbSystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
db_system_discovery_id: Optional[str] = None,
database_management_config: Optional[_databasemanagement.ExternalDbSystemDatabaseManagementConfigArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
stack_monitoring_config: Optional[_databasemanagement.ExternalDbSystemStackMonitoringConfigArgs] = None)
func NewExternalDbSystem(ctx *Context, name string, args ExternalDbSystemArgs, opts ...ResourceOption) (*ExternalDbSystem, error)
public ExternalDbSystem(string name, ExternalDbSystemArgs args, CustomResourceOptions? opts = null)
public ExternalDbSystem(String name, ExternalDbSystemArgs args)
public ExternalDbSystem(String name, ExternalDbSystemArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalDbSystem
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 ExternalDbSystemArgs
- 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 ExternalDbSystemArgs
- 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 ExternalDbSystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalDbSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalDbSystemArgs
- 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 externalDbSystemResource = new Oci.DatabaseManagement.ExternalDbSystem("externalDbSystemResource", new()
{
CompartmentId = "string",
DbSystemDiscoveryId = "string",
DatabaseManagementConfig = new Oci.DatabaseManagement.Inputs.ExternalDbSystemDatabaseManagementConfigArgs
{
LicenseModel = "string",
},
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
StackMonitoringConfig = new Oci.DatabaseManagement.Inputs.ExternalDbSystemStackMonitoringConfigArgs
{
IsEnabled = false,
Metadata = "string",
},
});
example, err := DatabaseManagement.NewExternalDbSystem(ctx, "externalDbSystemResource", &DatabaseManagement.ExternalDbSystemArgs{
CompartmentId: pulumi.String("string"),
DbSystemDiscoveryId: pulumi.String("string"),
DatabaseManagementConfig: &databasemanagement.ExternalDbSystemDatabaseManagementConfigArgs{
LicenseModel: pulumi.String("string"),
},
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
StackMonitoringConfig: &databasemanagement.ExternalDbSystemStackMonitoringConfigArgs{
IsEnabled: pulumi.Bool(false),
Metadata: pulumi.String("string"),
},
})
var externalDbSystemResource = new ExternalDbSystem("externalDbSystemResource", ExternalDbSystemArgs.builder()
.compartmentId("string")
.dbSystemDiscoveryId("string")
.databaseManagementConfig(ExternalDbSystemDatabaseManagementConfigArgs.builder()
.licenseModel("string")
.build())
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.stackMonitoringConfig(ExternalDbSystemStackMonitoringConfigArgs.builder()
.isEnabled(false)
.metadata("string")
.build())
.build());
external_db_system_resource = oci.database_management.ExternalDbSystem("externalDbSystemResource",
compartment_id="string",
db_system_discovery_id="string",
database_management_config=oci.database_management.ExternalDbSystemDatabaseManagementConfigArgs(
license_model="string",
),
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
stack_monitoring_config=oci.database_management.ExternalDbSystemStackMonitoringConfigArgs(
is_enabled=False,
metadata="string",
))
const externalDbSystemResource = new oci.databasemanagement.ExternalDbSystem("externalDbSystemResource", {
compartmentId: "string",
dbSystemDiscoveryId: "string",
databaseManagementConfig: {
licenseModel: "string",
},
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
stackMonitoringConfig: {
isEnabled: false,
metadata: "string",
},
});
type: oci:DatabaseManagement:ExternalDbSystem
properties:
compartmentId: string
databaseManagementConfig:
licenseModel: string
dbSystemDiscoveryId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
stackMonitoringConfig:
isEnabled: false
metadata: string
ExternalDbSystem 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 ExternalDbSystem resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which the external DB system resides.
- Db
System stringDiscovery Id - The OCID of the DB system discovery.
- Database
Management ExternalConfig Db System Database Management Config - The details required to enable Database Management for an external DB system.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Dictionary<string, object>
- (Updatable) 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"}
- Stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the external DB system resides.
- Db
System stringDiscovery Id - The OCID of the DB system discovery.
- Database
Management ExternalConfig Db System Database Management Config Args - The details required to enable Database Management for an external DB system.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- map[string]interface{}
- (Updatable) 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"}
- Stack
Monitoring ExternalConfig Db System Stack Monitoring Config Args - The details of the associated service that will be enabled or disabled for an external DB System.
- compartment
Id String - (Updatable) The OCID of the compartment in which the external DB system resides.
- db
System StringDiscovery Id - The OCID of the DB system discovery.
- database
Management ExternalConfig Db System Config - The details required to enable Database Management for an external DB system.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Map<String,Object>
- (Updatable) 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"}
- stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- compartment
Id string - (Updatable) The OCID of the compartment in which the external DB system resides.
- db
System stringDiscovery Id - The OCID of the DB system discovery.
- database
Management ExternalConfig Db System Database Management Config - The details required to enable Database Management for an external DB system.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- {[key: string]: any}
- (Updatable) 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"}
- stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- compartment_
id str - (Updatable) The OCID of the compartment in which the external DB system resides.
- db_
system_ strdiscovery_ id - The OCID of the DB system discovery.
- database_
management_ databasemanagement.config External Db System Database Management Config Args - The details required to enable Database Management for an external DB system.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Mapping[str, Any]
- (Updatable) 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"}
- stack_
monitoring_ databasemanagement.config External Db System Stack Monitoring Config Args - The details of the associated service that will be enabled or disabled for an external DB System.
- compartment
Id String - (Updatable) The OCID of the compartment in which the external DB system resides.
- db
System StringDiscovery Id - The OCID of the DB system discovery.
- database
Management Property MapConfig - The details required to enable Database Management for an external DB system.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Map<Any>
- (Updatable) 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"}
- stack
Monitoring Property MapConfig - The details of the associated service that will be enabled or disabled for an external DB System.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalDbSystem resource produces the following output properties:
- Discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- Home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cluster bool - Indicates whether the DB system is a cluster DB system or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- State string
- The current lifecycle state of the external DB system resource.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the external DB system was created.
- Time
Updated string - The date and time the external DB system was last updated.
- Discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- Home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cluster bool - Indicates whether the DB system is a cluster DB system or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- State string
- The current lifecycle state of the external DB system resource.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the external DB system was created.
- Time
Updated string - The date and time the external DB system was last updated.
- discovery
Agent StringId - The OCID of the management agent used during the discovery of the DB system.
- home
Directory String - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Cluster Boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- state String
- The current lifecycle state of the external DB system resource.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the external DB system was created.
- time
Updated String - The date and time the external DB system was last updated.
- discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Cluster boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details string - Additional information about the current lifecycle state.
- state string
- The current lifecycle state of the external DB system resource.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the external DB system was created.
- time
Updated string - The date and time the external DB system was last updated.
- discovery_
agent_ strid - The OCID of the management agent used during the discovery of the DB system.
- home_
directory str - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
cluster bool - Indicates whether the DB system is a cluster DB system or not.
- lifecycle_
details str - Additional information about the current lifecycle state.
- state str
- The current lifecycle state of the external DB system resource.
- Mapping[str, Any]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the external DB system was created.
- time_
updated str - The date and time the external DB system was last updated.
- discovery
Agent StringId - The OCID of the management agent used during the discovery of the DB system.
- home
Directory String - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Cluster Boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- state String
- The current lifecycle state of the external DB system resource.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the external DB system was created.
- time
Updated String - The date and time the external DB system was last updated.
Look up Existing ExternalDbSystem Resource
Get an existing ExternalDbSystem 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?: ExternalDbSystemState, opts?: CustomResourceOptions): ExternalDbSystem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
database_management_config: Optional[_databasemanagement.ExternalDbSystemDatabaseManagementConfigArgs] = None,
db_system_discovery_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
discovery_agent_id: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
home_directory: Optional[str] = None,
is_cluster: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
stack_monitoring_config: Optional[_databasemanagement.ExternalDbSystemStackMonitoringConfigArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ExternalDbSystem
func GetExternalDbSystem(ctx *Context, name string, id IDInput, state *ExternalDbSystemState, opts ...ResourceOption) (*ExternalDbSystem, error)
public static ExternalDbSystem Get(string name, Input<string> id, ExternalDbSystemState? state, CustomResourceOptions? opts = null)
public static ExternalDbSystem get(String name, Output<String> id, ExternalDbSystemState 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 - (Updatable) The OCID of the compartment in which the external DB system resides.
- Database
Management ExternalConfig Db System Database Management Config - The details required to enable Database Management for an external DB system.
- Db
System stringDiscovery Id - The OCID of the DB system discovery.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- Display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Dictionary<string, object>
- (Updatable) 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"}
- Home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- Is
Cluster bool - Indicates whether the DB system is a cluster DB system or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- State string
- The current lifecycle state of the external DB system resource.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the external DB system was created.
- Time
Updated string - The date and time the external DB system was last updated.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the external DB system resides.
- Database
Management ExternalConfig Db System Database Management Config Args - The details required to enable Database Management for an external DB system.
- Db
System stringDiscovery Id - The OCID of the DB system discovery.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- Display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- map[string]interface{}
- (Updatable) 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"}
- Home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- Is
Cluster bool - Indicates whether the DB system is a cluster DB system or not.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Stack
Monitoring ExternalConfig Db System Stack Monitoring Config Args - The details of the associated service that will be enabled or disabled for an external DB System.
- State string
- The current lifecycle state of the external DB system resource.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the external DB system was created.
- Time
Updated string - The date and time the external DB system was last updated.
- compartment
Id String - (Updatable) The OCID of the compartment in which the external DB system resides.
- database
Management ExternalConfig Db System Config - The details required to enable Database Management for an external DB system.
- db
System StringDiscovery Id - The OCID of the DB system discovery.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Agent StringId - The OCID of the management agent used during the discovery of the DB system.
- display
Name String - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Map<String,Object>
- (Updatable) 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"}
- home
Directory String - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- is
Cluster Boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- state String
- The current lifecycle state of the external DB system resource.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the external DB system was created.
- time
Updated String - The date and time the external DB system was last updated.
- compartment
Id string - (Updatable) The OCID of the compartment in which the external DB system resides.
- database
Management ExternalConfig Db System Database Management Config - The details required to enable Database Management for an external DB system.
- db
System stringDiscovery Id - The OCID of the DB system discovery.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Agent stringId - The OCID of the management agent used during the discovery of the DB system.
- display
Name string - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- {[key: string]: any}
- (Updatable) 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"}
- home
Directory string - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- is
Cluster boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details string - Additional information about the current lifecycle state.
- stack
Monitoring ExternalConfig Db System Stack Monitoring Config - The details of the associated service that will be enabled or disabled for an external DB System.
- state string
- The current lifecycle state of the external DB system resource.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the external DB system was created.
- time
Updated string - The date and time the external DB system was last updated.
- compartment_
id str - (Updatable) The OCID of the compartment in which the external DB system resides.
- database_
management_ databasemanagement.config External Db System Database Management Config Args - The details required to enable Database Management for an external DB system.
- db_
system_ strdiscovery_ id - The OCID of the DB system discovery.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery_
agent_ strid - The OCID of the management agent used during the discovery of the DB system.
- display_
name str - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Mapping[str, Any]
- (Updatable) 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"}
- home_
directory str - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- is_
cluster bool - Indicates whether the DB system is a cluster DB system or not.
- lifecycle_
details str - Additional information about the current lifecycle state.
- stack_
monitoring_ databasemanagement.config External Db System Stack Monitoring Config Args - The details of the associated service that will be enabled or disabled for an external DB System.
- state str
- The current lifecycle state of the external DB system resource.
- Mapping[str, Any]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the external DB system was created.
- time_
updated str - The date and time the external DB system was last updated.
- compartment
Id String - (Updatable) The OCID of the compartment in which the external DB system resides.
- database
Management Property MapConfig - The details required to enable Database Management for an external DB system.
- db
System StringDiscovery Id - The OCID of the DB system discovery.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Agent StringId - The OCID of the management agent used during the discovery of the DB system.
- display
Name String - (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
- Map<Any>
- (Updatable) 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"}
- home
Directory String - The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
- is
Cluster Boolean - Indicates whether the DB system is a cluster DB system or not.
- lifecycle
Details String - Additional information about the current lifecycle state.
- stack
Monitoring Property MapConfig - The details of the associated service that will be enabled or disabled for an external DB System.
- state String
- The current lifecycle state of the external DB system resource.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the external DB system was created.
- time
Updated String - The date and time the external DB system was last updated.
Supporting Types
ExternalDbSystemDatabaseManagementConfig, ExternalDbSystemDatabaseManagementConfigArgs
- License
Model string - The Oracle license model that applies to the external database.
- License
Model string - The Oracle license model that applies to the external database.
- license
Model String - The Oracle license model that applies to the external database.
- license
Model string - The Oracle license model that applies to the external database.
- license_
model str - The Oracle license model that applies to the external database.
- license
Model String - The Oracle license model that applies to the external database.
ExternalDbSystemStackMonitoringConfig, ExternalDbSystemStackMonitoringConfigArgs
- Is
Enabled bool - The status of the associated service.
- Metadata string
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
- Is
Enabled bool - The status of the associated service.
- Metadata string
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
- is
Enabled Boolean - The status of the associated service.
- metadata String
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
- is
Enabled boolean - The status of the associated service.
- metadata string
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
- is_
enabled bool - The status of the associated service.
- metadata str
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
- is
Enabled Boolean - The status of the associated service.
- metadata String
The associated service-specific inputs in JSON string format, which Database Management can identify.
** 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
Import
ExternalDbSystems can be imported using the id
, e.g.
$ pulumi import oci:DatabaseManagement/externalDbSystem:ExternalDbSystem test_external_db_system "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.