1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. ExternalDbSystemStackMonitoringsManagement
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.DatabaseManagement.ExternalDbSystemStackMonitoringsManagement

Explore with Pulumi AI

This resource provides the External Db System Stack Monitorings Management resource in Oracle Cloud Infrastructure Database Management service.

Enables Stack Monitoring for all the components of the specified external DB system (except databases).

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalDbSystemStackMonitoringsManagement = new oci.databasemanagement.ExternalDbSystemStackMonitoringsManagement("test_external_db_system_stack_monitorings_management", {
    externalDbSystemId: testExternalDbSystem.id,
    enableStackMonitoring: enableStackMonitoring,
    isEnabled: externalDbSystemStackMonitoringsManagementIsEnabled,
    metadata: externalDbSystemStackMonitoringsManagementMetadata,
});
Copy
import pulumi
import pulumi_oci as oci

test_external_db_system_stack_monitorings_management = oci.database_management.ExternalDbSystemStackMonitoringsManagement("test_external_db_system_stack_monitorings_management",
    external_db_system_id=test_external_db_system["id"],
    enable_stack_monitoring=enable_stack_monitoring,
    is_enabled=external_db_system_stack_monitorings_management_is_enabled,
    metadata=external_db_system_stack_monitorings_management_metadata)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemanagement.NewExternalDbSystemStackMonitoringsManagement(ctx, "test_external_db_system_stack_monitorings_management", &databasemanagement.ExternalDbSystemStackMonitoringsManagementArgs{
			ExternalDbSystemId:    pulumi.Any(testExternalDbSystem.Id),
			EnableStackMonitoring: pulumi.Any(enableStackMonitoring),
			IsEnabled:             pulumi.Any(externalDbSystemStackMonitoringsManagementIsEnabled),
			Metadata:              pulumi.Any(externalDbSystemStackMonitoringsManagementMetadata),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testExternalDbSystemStackMonitoringsManagement = new Oci.DatabaseManagement.ExternalDbSystemStackMonitoringsManagement("test_external_db_system_stack_monitorings_management", new()
    {
        ExternalDbSystemId = testExternalDbSystem.Id,
        EnableStackMonitoring = enableStackMonitoring,
        IsEnabled = externalDbSystemStackMonitoringsManagementIsEnabled,
        Metadata = externalDbSystemStackMonitoringsManagementMetadata,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystemStackMonitoringsManagement;
import com.pulumi.oci.DatabaseManagement.ExternalDbSystemStackMonitoringsManagementArgs;
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 testExternalDbSystemStackMonitoringsManagement = new ExternalDbSystemStackMonitoringsManagement("testExternalDbSystemStackMonitoringsManagement", ExternalDbSystemStackMonitoringsManagementArgs.builder()
            .externalDbSystemId(testExternalDbSystem.id())
            .enableStackMonitoring(enableStackMonitoring)
            .isEnabled(externalDbSystemStackMonitoringsManagementIsEnabled)
            .metadata(externalDbSystemStackMonitoringsManagementMetadata)
            .build());

    }
}
Copy
resources:
  testExternalDbSystemStackMonitoringsManagement:
    type: oci:DatabaseManagement:ExternalDbSystemStackMonitoringsManagement
    name: test_external_db_system_stack_monitorings_management
    properties:
      externalDbSystemId: ${testExternalDbSystem.id}
      enableStackMonitoring: ${enableStackMonitoring}
      isEnabled: ${externalDbSystemStackMonitoringsManagementIsEnabled}
      metadata: ${externalDbSystemStackMonitoringsManagementMetadata}
Copy

Create ExternalDbSystemStackMonitoringsManagement Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ExternalDbSystemStackMonitoringsManagement(name: string, args: ExternalDbSystemStackMonitoringsManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalDbSystemStackMonitoringsManagement(resource_name: str,
                                               args: ExternalDbSystemStackMonitoringsManagementArgs,
                                               opts: Optional[ResourceOptions] = None)

@overload
def ExternalDbSystemStackMonitoringsManagement(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               enable_stack_monitoring: Optional[bool] = None,
                                               external_db_system_id: Optional[str] = None,
                                               is_enabled: Optional[bool] = None,
                                               metadata: Optional[str] = None)
func NewExternalDbSystemStackMonitoringsManagement(ctx *Context, name string, args ExternalDbSystemStackMonitoringsManagementArgs, opts ...ResourceOption) (*ExternalDbSystemStackMonitoringsManagement, error)
public ExternalDbSystemStackMonitoringsManagement(string name, ExternalDbSystemStackMonitoringsManagementArgs args, CustomResourceOptions? opts = null)
public ExternalDbSystemStackMonitoringsManagement(String name, ExternalDbSystemStackMonitoringsManagementArgs args)
public ExternalDbSystemStackMonitoringsManagement(String name, ExternalDbSystemStackMonitoringsManagementArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalDbSystemStackMonitoringsManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExternalDbSystemStackMonitoringsManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExternalDbSystemStackMonitoringsManagementArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalDbSystemStackMonitoringsManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalDbSystemStackMonitoringsManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExternalDbSystemStackMonitoringsManagementArgs
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 externalDbSystemStackMonitoringsManagementResource = new Oci.DatabaseManagement.ExternalDbSystemStackMonitoringsManagement("externalDbSystemStackMonitoringsManagementResource", new()
{
    EnableStackMonitoring = false,
    ExternalDbSystemId = "string",
    IsEnabled = false,
    Metadata = "string",
});
Copy
example, err := DatabaseManagement.NewExternalDbSystemStackMonitoringsManagement(ctx, "externalDbSystemStackMonitoringsManagementResource", &DatabaseManagement.ExternalDbSystemStackMonitoringsManagementArgs{
	EnableStackMonitoring: pulumi.Bool(false),
	ExternalDbSystemId:    pulumi.String("string"),
	IsEnabled:             pulumi.Bool(false),
	Metadata:              pulumi.String("string"),
})
Copy
var externalDbSystemStackMonitoringsManagementResource = new ExternalDbSystemStackMonitoringsManagement("externalDbSystemStackMonitoringsManagementResource", ExternalDbSystemStackMonitoringsManagementArgs.builder()
    .enableStackMonitoring(false)
    .externalDbSystemId("string")
    .isEnabled(false)
    .metadata("string")
    .build());
Copy
external_db_system_stack_monitorings_management_resource = oci.database_management.ExternalDbSystemStackMonitoringsManagement("externalDbSystemStackMonitoringsManagementResource",
    enable_stack_monitoring=False,
    external_db_system_id="string",
    is_enabled=False,
    metadata="string")
Copy
const externalDbSystemStackMonitoringsManagementResource = new oci.databasemanagement.ExternalDbSystemStackMonitoringsManagement("externalDbSystemStackMonitoringsManagementResource", {
    enableStackMonitoring: false,
    externalDbSystemId: "string",
    isEnabled: false,
    metadata: "string",
});
Copy
type: oci:DatabaseManagement:ExternalDbSystemStackMonitoringsManagement
properties:
    enableStackMonitoring: false
    externalDbSystemId: string
    isEnabled: false
    metadata: string
Copy

ExternalDbSystemStackMonitoringsManagement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ExternalDbSystemStackMonitoringsManagement resource accepts the following input properties:

EnableStackMonitoring This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExternalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
IsEnabled Changes to this property will trigger replacement. bool
The status of the associated service.
Metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
EnableStackMonitoring This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExternalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
IsEnabled Changes to this property will trigger replacement. bool
The status of the associated service.
Metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring This property is required. Boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. Boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. String
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring This property is required. boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
enable_stack_monitoring This property is required. bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

external_db_system_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the external DB system.
is_enabled Changes to this property will trigger replacement. bool
The status of the associated service.
metadata Changes to this property will trigger replacement. str
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring This property is required. Boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. Boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. String
The associated service-specific inputs in JSON string format, which Database Management can identify.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalDbSystemStackMonitoringsManagement resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ExternalDbSystemStackMonitoringsManagement Resource

Get an existing ExternalDbSystemStackMonitoringsManagement 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?: ExternalDbSystemStackMonitoringsManagementState, opts?: CustomResourceOptions): ExternalDbSystemStackMonitoringsManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable_stack_monitoring: Optional[bool] = None,
        external_db_system_id: Optional[str] = None,
        is_enabled: Optional[bool] = None,
        metadata: Optional[str] = None) -> ExternalDbSystemStackMonitoringsManagement
func GetExternalDbSystemStackMonitoringsManagement(ctx *Context, name string, id IDInput, state *ExternalDbSystemStackMonitoringsManagementState, opts ...ResourceOption) (*ExternalDbSystemStackMonitoringsManagement, error)
public static ExternalDbSystemStackMonitoringsManagement Get(string name, Input<string> id, ExternalDbSystemStackMonitoringsManagementState? state, CustomResourceOptions? opts = null)
public static ExternalDbSystemStackMonitoringsManagement get(String name, Output<String> id, ExternalDbSystemStackMonitoringsManagementState state, CustomResourceOptions options)
resources:  _:    type: oci:DatabaseManagement:ExternalDbSystemStackMonitoringsManagement    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
EnableStackMonitoring bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExternalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
IsEnabled Changes to this property will trigger replacement. bool
The status of the associated service.
Metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
EnableStackMonitoring bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

ExternalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
IsEnabled Changes to this property will trigger replacement. bool
The status of the associated service.
Metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring Boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId Changes to this property will trigger replacement. String
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. Boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. String
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId Changes to this property will trigger replacement. string
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. string
The associated service-specific inputs in JSON string format, which Database Management can identify.
enable_stack_monitoring bool

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

external_db_system_id Changes to this property will trigger replacement. str
The OCID of the external DB system.
is_enabled Changes to this property will trigger replacement. bool
The status of the associated service.
metadata Changes to this property will trigger replacement. str
The associated service-specific inputs in JSON string format, which Database Management can identify.
enableStackMonitoring Boolean

(Updatable) A required field when set to true calls enable action and when set to false calls disable action.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

externalDbSystemId Changes to this property will trigger replacement. String
The OCID of the external DB system.
isEnabled Changes to this property will trigger replacement. Boolean
The status of the associated service.
metadata Changes to this property will trigger replacement. String
The associated service-specific inputs in JSON string format, which Database Management can identify.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.