oci.DatabaseManagement.ManagedDatabaseGroup
Explore with Pulumi AI
This resource provides the Managed Database Group resource in Oracle Cloud Infrastructure Database Management service.
Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabaseGroup = new oci.databasemanagement.ManagedDatabaseGroup("test_managed_database_group", {
compartmentId: compartmentId,
name: managedDatabaseGroupName,
definedTags: {
"Operations.CostCenter": "42",
},
description: managedDatabaseGroupDescription,
freeformTags: {
Department: "Finance",
},
managedDatabases: [{
id: managedDatabaseId,
}],
});
import pulumi
import pulumi_oci as oci
test_managed_database_group = oci.database_management.ManagedDatabaseGroup("test_managed_database_group",
compartment_id=compartment_id,
name=managed_database_group_name,
defined_tags={
"Operations.CostCenter": "42",
},
description=managed_database_group_description,
freeform_tags={
"Department": "Finance",
},
managed_databases=[oci.database_management.ManagedDatabaseGroupManagedDatabaseArgs(
id=managed_database_id,
)])
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.NewManagedDatabaseGroup(ctx, "test_managed_database_group", &DatabaseManagement.ManagedDatabaseGroupArgs{
CompartmentId: pulumi.Any(compartmentId),
Name: pulumi.Any(managedDatabaseGroupName),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
Description: pulumi.Any(managedDatabaseGroupDescription),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
ManagedDatabases: databasemanagement.ManagedDatabaseGroupManagedDatabaseArray{
&databasemanagement.ManagedDatabaseGroupManagedDatabaseArgs{
Id: pulumi.Any(managedDatabaseId),
},
},
})
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 testManagedDatabaseGroup = new Oci.DatabaseManagement.ManagedDatabaseGroup("test_managed_database_group", new()
{
CompartmentId = compartmentId,
Name = managedDatabaseGroupName,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = managedDatabaseGroupDescription,
FreeformTags =
{
{ "Department", "Finance" },
},
ManagedDatabases = new[]
{
new Oci.DatabaseManagement.Inputs.ManagedDatabaseGroupManagedDatabaseArgs
{
Id = managedDatabaseId,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ManagedDatabaseGroup;
import com.pulumi.oci.DatabaseManagement.ManagedDatabaseGroupArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseGroupManagedDatabaseArgs;
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 testManagedDatabaseGroup = new ManagedDatabaseGroup("testManagedDatabaseGroup", ManagedDatabaseGroupArgs.builder()
.compartmentId(compartmentId)
.name(managedDatabaseGroupName)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(managedDatabaseGroupDescription)
.freeformTags(Map.of("Department", "Finance"))
.managedDatabases(ManagedDatabaseGroupManagedDatabaseArgs.builder()
.id(managedDatabaseId)
.build())
.build());
}
}
resources:
testManagedDatabaseGroup:
type: oci:DatabaseManagement:ManagedDatabaseGroup
name: test_managed_database_group
properties:
compartmentId: ${compartmentId}
name: ${managedDatabaseGroupName}
definedTags:
Operations.CostCenter: '42'
description: ${managedDatabaseGroupDescription}
freeformTags:
Department: Finance
managedDatabases:
- id: ${managedDatabaseId}
Create ManagedDatabaseGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedDatabaseGroup(name: string, args: ManagedDatabaseGroupArgs, opts?: CustomResourceOptions);
@overload
def ManagedDatabaseGroup(resource_name: str,
args: ManagedDatabaseGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedDatabaseGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
managed_databases: Optional[Sequence[_databasemanagement.ManagedDatabaseGroupManagedDatabaseArgs]] = None,
name: Optional[str] = None)
func NewManagedDatabaseGroup(ctx *Context, name string, args ManagedDatabaseGroupArgs, opts ...ResourceOption) (*ManagedDatabaseGroup, error)
public ManagedDatabaseGroup(string name, ManagedDatabaseGroupArgs args, CustomResourceOptions? opts = null)
public ManagedDatabaseGroup(String name, ManagedDatabaseGroupArgs args)
public ManagedDatabaseGroup(String name, ManagedDatabaseGroupArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ManagedDatabaseGroup
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 ManagedDatabaseGroupArgs
- 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 ManagedDatabaseGroupArgs
- 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 ManagedDatabaseGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedDatabaseGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedDatabaseGroupArgs
- 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 managedDatabaseGroupResource = new Oci.DatabaseManagement.ManagedDatabaseGroup("managedDatabaseGroupResource", new()
{
CompartmentId = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
FreeformTags =
{
{ "string", "any" },
},
ManagedDatabases = new[]
{
new Oci.DatabaseManagement.Inputs.ManagedDatabaseGroupManagedDatabaseArgs
{
CompartmentId = "string",
DatabaseSubType = "string",
DatabaseType = "string",
DefinedTags =
{
{ "string", "any" },
},
DeploymentType = "string",
FreeformTags =
{
{ "string", "any" },
},
Id = "string",
Name = "string",
SystemTags =
{
{ "string", "any" },
},
TimeAdded = "string",
WorkloadType = "string",
},
},
Name = "string",
});
example, err := DatabaseManagement.NewManagedDatabaseGroup(ctx, "managedDatabaseGroupResource", &DatabaseManagement.ManagedDatabaseGroupArgs{
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
ManagedDatabases: databasemanagement.ManagedDatabaseGroupManagedDatabaseArray{
&databasemanagement.ManagedDatabaseGroupManagedDatabaseArgs{
CompartmentId: pulumi.String("string"),
DatabaseSubType: pulumi.String("string"),
DatabaseType: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DeploymentType: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Id: pulumi.String("string"),
Name: pulumi.String("string"),
SystemTags: pulumi.Map{
"string": pulumi.Any("any"),
},
TimeAdded: pulumi.String("string"),
WorkloadType: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
var managedDatabaseGroupResource = new ManagedDatabaseGroup("managedDatabaseGroupResource", ManagedDatabaseGroupArgs.builder()
.compartmentId("string")
.definedTags(Map.of("string", "any"))
.description("string")
.freeformTags(Map.of("string", "any"))
.managedDatabases(ManagedDatabaseGroupManagedDatabaseArgs.builder()
.compartmentId("string")
.databaseSubType("string")
.databaseType("string")
.definedTags(Map.of("string", "any"))
.deploymentType("string")
.freeformTags(Map.of("string", "any"))
.id("string")
.name("string")
.systemTags(Map.of("string", "any"))
.timeAdded("string")
.workloadType("string")
.build())
.name("string")
.build());
managed_database_group_resource = oci.database_management.ManagedDatabaseGroup("managedDatabaseGroupResource",
compartment_id="string",
defined_tags={
"string": "any",
},
description="string",
freeform_tags={
"string": "any",
},
managed_databases=[oci.database_management.ManagedDatabaseGroupManagedDatabaseArgs(
compartment_id="string",
database_sub_type="string",
database_type="string",
defined_tags={
"string": "any",
},
deployment_type="string",
freeform_tags={
"string": "any",
},
id="string",
name="string",
system_tags={
"string": "any",
},
time_added="string",
workload_type="string",
)],
name="string")
const managedDatabaseGroupResource = new oci.databasemanagement.ManagedDatabaseGroup("managedDatabaseGroupResource", {
compartmentId: "string",
definedTags: {
string: "any",
},
description: "string",
freeformTags: {
string: "any",
},
managedDatabases: [{
compartmentId: "string",
databaseSubType: "string",
databaseType: "string",
definedTags: {
string: "any",
},
deploymentType: "string",
freeformTags: {
string: "any",
},
id: "string",
name: "string",
systemTags: {
string: "any",
},
timeAdded: "string",
workloadType: "string",
}],
name: "string",
});
type: oci:DatabaseManagement:ManagedDatabaseGroup
properties:
compartmentId: string
definedTags:
string: any
description: string
freeformTags:
string: any
managedDatabases:
- compartmentId: string
databaseSubType: string
databaseType: string
definedTags:
string: any
deploymentType: string
freeformTags:
string: any
id: string
name: string
systemTags:
string: any
timeAdded: string
workloadType: string
name: string
ManagedDatabaseGroup 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 ManagedDatabaseGroup resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- Description string
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- Managed
Databases List<ManagedDatabase Group Managed Database> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- Description string
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- Managed
Databases []ManagedDatabase Group Managed Database Args - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description String
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed
Databases List<ManagedDatabase Group Managed Database> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- {[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"}
- description string
- (Updatable) The information specified by the user about the Managed Database Group.
- {[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"}
- managed
Databases ManagedDatabase Group Managed Database[] - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- compartment_
id str - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description str
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed_
databases Sequence[databasemanagement.Managed Database Group Managed Database Args] - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name str
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description String
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed
Databases List<Property Map> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedDatabaseGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- Time
Updated string - The date and time the Managed Database Group was last updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- Time
Updated string - The date and time the Managed Database Group was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time
Updated String - The date and time the Managed Database Group was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current lifecycle state of the Managed Database Group.
- {[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 Managed Database Group was created.
- time
Updated string - The date and time the Managed Database Group was last updated.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time_
updated str - The date and time the Managed Database Group was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time
Updated String - The date and time the Managed Database Group was last updated.
Look up Existing ManagedDatabaseGroup Resource
Get an existing ManagedDatabaseGroup 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?: ManagedDatabaseGroupState, opts?: CustomResourceOptions): ManagedDatabaseGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
managed_databases: Optional[Sequence[_databasemanagement.ManagedDatabaseGroupManagedDatabaseArgs]] = None,
name: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ManagedDatabaseGroup
func GetManagedDatabaseGroup(ctx *Context, name string, id IDInput, state *ManagedDatabaseGroupState, opts ...ResourceOption) (*ManagedDatabaseGroup, error)
public static ManagedDatabaseGroup Get(string name, Input<string> id, ManagedDatabaseGroupState? state, CustomResourceOptions? opts = null)
public static ManagedDatabaseGroup get(String name, Output<String> id, ManagedDatabaseGroupState 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 Managed Database Group resides.
- 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"}
- Description string
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- Managed
Databases List<ManagedDatabase Group Managed Database> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- State string
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- Time
Updated string - The date and time the Managed Database Group was last updated.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- Description string
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- Managed
Databases []ManagedDatabase Group Managed Database Args - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- State string
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- Time
Updated string - The date and time the Managed Database Group was last updated.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description String
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed
Databases List<ManagedDatabase Group Managed Database> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- state String
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time
Updated String - The date and time the Managed Database Group was last updated.
- compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- {[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"}
- description string
- (Updatable) The information specified by the user about the Managed Database Group.
- {[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"}
- managed
Databases ManagedDatabase Group Managed Database[] - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- state string
- The current lifecycle state of the Managed Database Group.
- {[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 Managed Database Group was created.
- time
Updated string - The date and time the Managed Database Group was last updated.
- compartment_
id str - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description str
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed_
databases Sequence[databasemanagement.Managed Database Group Managed Database Args] - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name str
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- state str
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time_
updated str - The date and time the Managed Database Group was last updated.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- 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"}
- description String
- (Updatable) The information specified by the user about the Managed Database Group.
- 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"}
- managed
Databases List<Property Map> - (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group.
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- state String
- The current lifecycle state of the Managed Database Group.
- 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 Managed Database Group was created.
- time
Updated String - The date and time the Managed Database Group was last updated.
Supporting Types
ManagedDatabaseGroupManagedDatabase, ManagedDatabaseGroupManagedDatabaseArgs
- Compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- Database
Sub stringType - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- Database
Type string - The type of Oracle Database installation.
- 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"}
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- 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"}
- Id string
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- 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
Added string - The date and time the Managed Database was added to the group.
- Workload
Type string - The workload type of the Autonomous Database.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- Database
Sub stringType - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- Database
Type string - The type of Oracle Database installation.
- 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"}
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- 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"}
- Id string
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- Name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- 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
Added string - The date and time the Managed Database was added to the group.
- Workload
Type string - The workload type of the Autonomous Database.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- database
Sub StringType - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- database
Type String - The type of Oracle Database installation.
- 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"}
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- 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"}
- id String
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- 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
Added String - The date and time the Managed Database was added to the group.
- workload
Type String - The workload type of the Autonomous Database.
- compartment
Id string - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- database
Sub stringType - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- database
Type string - The type of Oracle Database installation.
- {[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"}
- deployment
Type string - The infrastructure used to deploy the Oracle Database.
- {[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"}
- id string
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- name string
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- {[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
Added string - The date and time the Managed Database was added to the group.
- workload
Type string - The workload type of the Autonomous Database.
- compartment_
id str - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- database_
sub_ strtype - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- database_
type str - The type of Oracle Database installation.
- 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"}
- deployment_
type str - The infrastructure used to deploy the Oracle Database.
- 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"}
- id str
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- name str
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- 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_
added str - The date and time the Managed Database was added to the group.
- workload_
type str - The workload type of the Autonomous Database.
- compartment
Id String - (Updatable) The OCID of the compartment in which the Managed Database Group resides.
- database
Sub StringType - The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- database
Type String - The type of Oracle Database installation.
- 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"}
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- 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"}
- id String
The OCID of the managed database that needs to be added to the Managed Database Group.
** 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
- name String
- The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- 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
Added String - The date and time the Managed Database was added to the group.
- workload
Type String - The workload type of the Autonomous Database.
Import
ManagedDatabaseGroups can be imported using the id
, e.g.
$ pulumi import oci:DatabaseManagement/managedDatabaseGroup:ManagedDatabaseGroup test_managed_database_group "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.