Oracle Cloud Infrastructure
getManagedDatabaseGroup
This data source provides details about a specific Managed Database Group resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testManagedDatabaseGroup = Output.Create(Oci.DatabaseManagement.GetManagedDatabaseGroup.InvokeAsync(new Oci.DatabaseManagement.GetManagedDatabaseGroupArgs
{
ManagedDatabaseGroupId = oci_database_management_managed_database_group.Test_managed_database_group.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.GetManagedDatabaseGroup(ctx, &databasemanagement.GetManagedDatabaseGroupArgs{
ManagedDatabaseGroupId: oci_database_management_managed_database_group.Test_managed_database_group.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_managed_database_group = oci.DatabaseManagement.get_managed_database_group(managed_database_group_id=oci_database_management_managed_database_group["test_managed_database_group"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabaseGroup = oci.DatabaseManagement.getManagedDatabaseGroup({
managedDatabaseGroupId: oci_database_management_managed_database_group.test_managed_database_group.id,
});
Coming soon!
Using getManagedDatabaseGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedDatabaseGroup(args: GetManagedDatabaseGroupArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseGroupResult>
function getManagedDatabaseGroupOutput(args: GetManagedDatabaseGroupOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseGroupResult>
def get_managed_database_group(managed_database_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseGroupResult
def get_managed_database_group_output(managed_database_group_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseGroupResult]
func GetManagedDatabaseGroup(ctx *Context, args *GetManagedDatabaseGroupArgs, opts ...InvokeOption) (*GetManagedDatabaseGroupResult, error)
func GetManagedDatabaseGroupOutput(ctx *Context, args *GetManagedDatabaseGroupOutputArgs, opts ...InvokeOption) GetManagedDatabaseGroupResultOutput
> Note: This function is named GetManagedDatabaseGroup
in the Go SDK.
public static class GetManagedDatabaseGroup
{
public static Task<GetManagedDatabaseGroupResult> InvokeAsync(GetManagedDatabaseGroupArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseGroupResult> Invoke(GetManagedDatabaseGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseGroupResult> getManagedDatabaseGroup(GetManagedDatabaseGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:DatabaseManagement/getManagedDatabaseGroup:getManagedDatabaseGroup
Arguments:
# Arguments dictionary
The following arguments are supported:
- Managed
Database stringGroup Id The OCID of the Managed Database Group.
- Managed
Database stringGroup Id The OCID of the Managed Database Group.
- managed
Database StringGroup Id The OCID of the Managed Database Group.
- managed
Database stringGroup Id The OCID of the Managed Database Group.
- managed_
database_ strgroup_ id The OCID of the Managed Database Group.
- managed
Database StringGroup Id The OCID of the Managed Database Group.
getManagedDatabaseGroup Result
The following output properties are available:
- Compartment
Id string The OCID of the compartment in which the Managed Database resides.
- Description string
The information specified by the user about the Managed Database Group.
- Id string
The OCID of the Managed Database.
- Managed
Database stringGroup Id - Managed
Databases List<GetManaged Database Group Managed Database> A list of Managed Databases in the Managed Database Group.
- Name string
The name of the Managed Database Group.
- State string
The current lifecycle state of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database resides.
- Description string
The information specified by the user about the Managed Database Group.
- Id string
The OCID of the Managed Database.
- Managed
Database stringGroup Id - Managed
Databases []GetManaged Database Group Managed Database A list of Managed Databases in the Managed Database Group.
- Name string
The name of the Managed Database Group.
- State string
The current lifecycle state of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database resides.
- description String
The information specified by the user about the Managed Database Group.
- id String
The OCID of the Managed Database.
- managed
Database StringGroup Id - managed
Databases List<GetManaged Database Group Managed Database> A list of Managed Databases in the Managed Database Group.
- name String
The name of the Managed Database Group.
- state String
The current lifecycle state of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database resides.
- description string
The information specified by the user about the Managed Database Group.
- id string
The OCID of the Managed Database.
- managed
Database stringGroup Id - managed
Databases GetManaged Database Group Managed Database[] A list of Managed Databases in the Managed Database Group.
- name string
The name of the Managed Database Group.
- state string
The current lifecycle state of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database resides.
- description str
The information specified by the user about the Managed Database Group.
- id str
The OCID of the Managed Database.
- managed_
database_ strgroup_ id - managed_
databases GetManaged Database Group Managed Database] A list of Managed Databases in the Managed Database Group.
- name str
The name of the Managed Database Group.
- state str
The current lifecycle state of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database resides.
- description String
The information specified by the user about the Managed Database Group.
- id String
The OCID of the Managed Database.
- managed
Database StringGroup Id - managed
Databases List<Property Map> A list of Managed Databases in the Managed Database Group.
- name String
The name of the Managed Database Group.
- state String
The current lifecycle state of the Managed Database Group.
- 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
GetManagedDatabaseGroupManagedDatabase
- Compartment
Id string The OCID of the compartment in which the Managed Database 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.
- Deployment
Type string The infrastructure used to deploy the Oracle Database.
- Id string
The OCID of the Managed Database.
- Name string
The name of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database 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.
- Deployment
Type string The infrastructure used to deploy the Oracle Database.
- Id string
The OCID of the Managed Database.
- Name string
The name of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database 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.
- deployment
Type String The infrastructure used to deploy the Oracle Database.
- id String
The OCID of the Managed Database.
- name String
The name of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database 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.
- deployment
Type string The infrastructure used to deploy the Oracle Database.
- id string
The OCID of the Managed Database.
- name string
The name of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database 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.
- deployment_
type str The infrastructure used to deploy the Oracle Database.
- id str
The OCID of the Managed Database.
- name str
The name of the Managed Database Group.
- 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 The OCID of the compartment in which the Managed Database 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.
- deployment
Type String The infrastructure used to deploy the Oracle Database.
- id String
The OCID of the Managed Database.
- name String
The name of the Managed Database Group.
- 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.