oci.Database.ExternalContainerDatabaseManagement
Explore with Pulumi AI
This resource provides the External Container Database Management resource in Oracle Cloud Infrastructure Database service.
Enables Database Management Service for the external container database. For more information about the Database Management Service, see Database Management Service.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
testExternalContainerDatabaseManagement:
type: oci:Database:ExternalContainerDatabaseManagement
name: test_external_container_database_management
properties:
externalContainerDatabaseId: ${testExternalContainerDatabase.id}
externalDatabaseConnectorId: ${testExternalDatabaseConnector.id}
licenseMode: ${externalNonContainerDatabaseManagementLicenseModel}
Create ExternalContainerDatabaseManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalContainerDatabaseManagement(name: string, args: ExternalContainerDatabaseManagementArgs, opts?: CustomResourceOptions);
@overload
def ExternalContainerDatabaseManagement(resource_name: str,
args: ExternalContainerDatabaseManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalContainerDatabaseManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_management: Optional[bool] = None,
external_container_database_id: Optional[str] = None,
external_database_connector_id: Optional[str] = None,
license_model: Optional[str] = None)
func NewExternalContainerDatabaseManagement(ctx *Context, name string, args ExternalContainerDatabaseManagementArgs, opts ...ResourceOption) (*ExternalContainerDatabaseManagement, error)
public ExternalContainerDatabaseManagement(string name, ExternalContainerDatabaseManagementArgs args, CustomResourceOptions? opts = null)
public ExternalContainerDatabaseManagement(String name, ExternalContainerDatabaseManagementArgs args)
public ExternalContainerDatabaseManagement(String name, ExternalContainerDatabaseManagementArgs args, CustomResourceOptions options)
type: oci:Database:ExternalContainerDatabaseManagement
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 ExternalContainerDatabaseManagementArgs
- 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 ExternalContainerDatabaseManagementArgs
- 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 ExternalContainerDatabaseManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalContainerDatabaseManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalContainerDatabaseManagementArgs
- 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 externalContainerDatabaseManagementResource = new Oci.Database.ExternalContainerDatabaseManagement("externalContainerDatabaseManagementResource", new()
{
EnableManagement = false,
ExternalContainerDatabaseId = "string",
ExternalDatabaseConnectorId = "string",
LicenseModel = "string",
});
example, err := Database.NewExternalContainerDatabaseManagement(ctx, "externalContainerDatabaseManagementResource", &Database.ExternalContainerDatabaseManagementArgs{
EnableManagement: pulumi.Bool(false),
ExternalContainerDatabaseId: pulumi.String("string"),
ExternalDatabaseConnectorId: pulumi.String("string"),
LicenseModel: pulumi.String("string"),
})
var externalContainerDatabaseManagementResource = new ExternalContainerDatabaseManagement("externalContainerDatabaseManagementResource", ExternalContainerDatabaseManagementArgs.builder()
.enableManagement(false)
.externalContainerDatabaseId("string")
.externalDatabaseConnectorId("string")
.licenseModel("string")
.build());
external_container_database_management_resource = oci.database.ExternalContainerDatabaseManagement("externalContainerDatabaseManagementResource",
enable_management=False,
external_container_database_id="string",
external_database_connector_id="string",
license_model="string")
const externalContainerDatabaseManagementResource = new oci.database.ExternalContainerDatabaseManagement("externalContainerDatabaseManagementResource", {
enableManagement: false,
externalContainerDatabaseId: "string",
externalDatabaseConnectorId: "string",
licenseModel: "string",
});
type: oci:Database:ExternalContainerDatabaseManagement
properties:
enableManagement: false
externalContainerDatabaseId: string
externalDatabaseConnectorId: string
licenseModel: string
ExternalContainerDatabaseManagement 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 ExternalContainerDatabaseManagement resource accepts the following input properties:
- Enable
Management bool - External
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- External
Database stringConnector Id - The OCID of the external database connector.
- License
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- Enable
Management bool - External
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- External
Database stringConnector Id - The OCID of the external database connector.
- License
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management Boolean - external
Container StringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database StringConnector Id - The OCID of the external database connector.
- license
Model String The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management boolean - external
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database stringConnector Id - The OCID of the external database connector.
- license
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable_
management bool - external_
container_ strdatabase_ id - The ExternalContainerDatabase OCID.
- external_
database_ strconnector_ id - The OCID of the external database connector.
- license_
model str The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management Boolean - external
Container StringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database StringConnector Id - The OCID of the external database connector.
- license
Model String The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalContainerDatabaseManagement 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 ExternalContainerDatabaseManagement Resource
Get an existing ExternalContainerDatabaseManagement 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?: ExternalContainerDatabaseManagementState, opts?: CustomResourceOptions): ExternalContainerDatabaseManagement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable_management: Optional[bool] = None,
external_container_database_id: Optional[str] = None,
external_database_connector_id: Optional[str] = None,
license_model: Optional[str] = None) -> ExternalContainerDatabaseManagement
func GetExternalContainerDatabaseManagement(ctx *Context, name string, id IDInput, state *ExternalContainerDatabaseManagementState, opts ...ResourceOption) (*ExternalContainerDatabaseManagement, error)
public static ExternalContainerDatabaseManagement Get(string name, Input<string> id, ExternalContainerDatabaseManagementState? state, CustomResourceOptions? opts = null)
public static ExternalContainerDatabaseManagement get(String name, Output<String> id, ExternalContainerDatabaseManagementState 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.
- Enable
Management bool - External
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- External
Database stringConnector Id - The OCID of the external database connector.
- License
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- Enable
Management bool - External
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- External
Database stringConnector Id - The OCID of the external database connector.
- License
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management Boolean - external
Container StringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database StringConnector Id - The OCID of the external database connector.
- license
Model String The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management boolean - external
Container stringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database stringConnector Id - The OCID of the external database connector.
- license
Model string The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable_
management bool - external_
container_ strdatabase_ id - The ExternalContainerDatabase OCID.
- external_
database_ strconnector_ id - The OCID of the external database connector.
- license_
model str The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
- enable
Management Boolean - external
Container StringDatabase Id - The ExternalContainerDatabase OCID.
- external
Database StringConnector Id - The OCID of the external database connector.
- license
Model String The Oracle license model that applies to the external database. Required only for enabling database management.
** 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
Import is not supported for this resource.
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.