oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.Database.ExternalNonContainerDatabaseManagement

This resource provides the External Non Container Database Management resource in Oracle Cloud Infrastructure Database service.

Enable Database Management Service for the external non-container database. For more information about the Database Management Service, see Database Management Service.

Example Usage

Coming soon!

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.ExternalNonContainerDatabaseManagement;
import com.pulumi.oci.Database.ExternalNonContainerDatabaseManagementArgs;
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 testExternalNonContainerDatabaseManagement = new ExternalNonContainerDatabaseManagement("testExternalNonContainerDatabaseManagement", ExternalNonContainerDatabaseManagementArgs.builder()        
            .externalDatabaseConnectorId(oci_database_external_database_connector.test_external_database_connector().id())
            .externalNonContainerDatabaseId(oci_database_external_non_container_database.test_external_non_container_database().id())
            .licenseMode(var_.external_non_container_database_management_license_model())
            .build());

    }
}

Coming soon!

Coming soon!

resources:
  testExternalNonContainerDatabaseManagement:
    type: oci:Database:ExternalNonContainerDatabaseManagement
    properties:
      #Required
      externalDatabaseConnectorId: ${oci_database_external_database_connector.test_external_database_connector.id}
      externalNonContainerDatabaseId: ${oci_database_external_non_container_database.test_external_non_container_database.id}
      #Optional
      licenseMode: ${var.external_non_container_database_management_license_model}

Create ExternalNonContainerDatabaseManagement Resource

new ExternalNonContainerDatabaseManagement(name: string, args: ExternalNonContainerDatabaseManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalNonContainerDatabaseManagement(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           enable_management: Optional[bool] = None,
                                           external_database_connector_id: Optional[str] = None,
                                           external_non_container_database_id: Optional[str] = None,
                                           license_model: Optional[str] = None)
@overload
def ExternalNonContainerDatabaseManagement(resource_name: str,
                                           args: ExternalNonContainerDatabaseManagementArgs,
                                           opts: Optional[ResourceOptions] = None)
func NewExternalNonContainerDatabaseManagement(ctx *Context, name string, args ExternalNonContainerDatabaseManagementArgs, opts ...ResourceOption) (*ExternalNonContainerDatabaseManagement, error)
public ExternalNonContainerDatabaseManagement(string name, ExternalNonContainerDatabaseManagementArgs args, CustomResourceOptions? opts = null)
public ExternalNonContainerDatabaseManagement(String name, ExternalNonContainerDatabaseManagementArgs args)
public ExternalNonContainerDatabaseManagement(String name, ExternalNonContainerDatabaseManagementArgs args, CustomResourceOptions options)
type: oci:Database:ExternalNonContainerDatabaseManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ExternalNonContainerDatabaseManagementArgs
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 ExternalNonContainerDatabaseManagementArgs
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 ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ExternalNonContainerDatabaseManagementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ExternalNonContainerDatabaseManagement 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 ExternalNonContainerDatabaseManagement resource accepts the following input properties:

EnableManagement bool
ExternalDatabaseConnectorId string

The OCID of the external database connector.

ExternalNonContainerDatabaseId string

The external non-container database OCID.

LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

EnableManagement bool
ExternalDatabaseConnectorId string

The OCID of the external database connector.

ExternalNonContainerDatabaseId string

The external non-container database OCID.

LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement Boolean
externalDatabaseConnectorId String

The OCID of the external database connector.

externalNonContainerDatabaseId String

The external non-container database OCID.

licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement boolean
externalDatabaseConnectorId string

The OCID of the external database connector.

externalNonContainerDatabaseId string

The external non-container database OCID.

licenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

enable_management bool
external_database_connector_id str

The OCID of the external database connector.

external_non_container_database_id str

The external non-container database OCID.

license_model str

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement Boolean
externalDatabaseConnectorId String

The OCID of the external database connector.

externalNonContainerDatabaseId String

The external non-container database OCID.

licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalNonContainerDatabaseManagement 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 ExternalNonContainerDatabaseManagement Resource

Get an existing ExternalNonContainerDatabaseManagement 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?: ExternalNonContainerDatabaseManagementState, opts?: CustomResourceOptions): ExternalNonContainerDatabaseManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable_management: Optional[bool] = None,
        external_database_connector_id: Optional[str] = None,
        external_non_container_database_id: Optional[str] = None,
        license_model: Optional[str] = None) -> ExternalNonContainerDatabaseManagement
func GetExternalNonContainerDatabaseManagement(ctx *Context, name string, id IDInput, state *ExternalNonContainerDatabaseManagementState, opts ...ResourceOption) (*ExternalNonContainerDatabaseManagement, error)
public static ExternalNonContainerDatabaseManagement Get(string name, Input<string> id, ExternalNonContainerDatabaseManagementState? state, CustomResourceOptions? opts = null)
public static ExternalNonContainerDatabaseManagement get(String name, Output<String> id, ExternalNonContainerDatabaseManagementState 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.
The following state arguments are supported:
EnableManagement bool
ExternalDatabaseConnectorId string

The OCID of the external database connector.

ExternalNonContainerDatabaseId string

The external non-container database OCID.

LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

EnableManagement bool
ExternalDatabaseConnectorId string

The OCID of the external database connector.

ExternalNonContainerDatabaseId string

The external non-container database OCID.

LicenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement Boolean
externalDatabaseConnectorId String

The OCID of the external database connector.

externalNonContainerDatabaseId String

The external non-container database OCID.

licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement boolean
externalDatabaseConnectorId string

The OCID of the external database connector.

externalNonContainerDatabaseId string

The external non-container database OCID.

licenseModel string

The Oracle license model that applies to the external database. Required only for enabling database management.

enable_management bool
external_database_connector_id str

The OCID of the external database connector.

external_non_container_database_id str

The external non-container database OCID.

license_model str

The Oracle license model that applies to the external database. Required only for enabling database management.

enableManagement Boolean
externalDatabaseConnectorId String

The OCID of the external database connector.

externalNonContainerDatabaseId String

The external non-container database OCID.

licenseModel String

The Oracle license model that applies to the external database. Required only for enabling database management.

Import

Import is not supported for this resource.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.