Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.DatabaseManagement.getManagedMySqlDatabaseGeneralReplicationInformation
Explore with Pulumi AI
This data source provides details about a specific Managed My Sql Database General Replication Information resource in Oracle Cloud Infrastructure Database Management service.
Retrieves general information regarding replication of a specific MySQL server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedMySqlDatabaseGeneralReplicationInformation = oci.DatabaseManagement.getManagedMySqlDatabaseGeneralReplicationInformation({
managedMySqlDatabaseId: testManagedMySqlDatabase.id,
});
import pulumi
import pulumi_oci as oci
test_managed_my_sql_database_general_replication_information = oci.DatabaseManagement.get_managed_my_sql_database_general_replication_information(managed_my_sql_database_id=test_managed_my_sql_database["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/databasemanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemanagement.GetManagedMySqlDatabaseGeneralReplicationInformation(ctx, &databasemanagement.GetManagedMySqlDatabaseGeneralReplicationInformationArgs{
ManagedMySqlDatabaseId: testManagedMySqlDatabase.Id,
}, nil)
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 testManagedMySqlDatabaseGeneralReplicationInformation = Oci.DatabaseManagement.GetManagedMySqlDatabaseGeneralReplicationInformation.Invoke(new()
{
ManagedMySqlDatabaseId = testManagedMySqlDatabase.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetManagedMySqlDatabaseGeneralReplicationInformationArgs;
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) {
final var testManagedMySqlDatabaseGeneralReplicationInformation = DatabaseManagementFunctions.getManagedMySqlDatabaseGeneralReplicationInformation(GetManagedMySqlDatabaseGeneralReplicationInformationArgs.builder()
.managedMySqlDatabaseId(testManagedMySqlDatabase.id())
.build());
}
}
variables:
testManagedMySqlDatabaseGeneralReplicationInformation:
fn::invoke:
function: oci:DatabaseManagement:getManagedMySqlDatabaseGeneralReplicationInformation
arguments:
managedMySqlDatabaseId: ${testManagedMySqlDatabase.id}
Using getManagedMySqlDatabaseGeneralReplicationInformation
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 getManagedMySqlDatabaseGeneralReplicationInformation(args: GetManagedMySqlDatabaseGeneralReplicationInformationArgs, opts?: InvokeOptions): Promise<GetManagedMySqlDatabaseGeneralReplicationInformationResult>
function getManagedMySqlDatabaseGeneralReplicationInformationOutput(args: GetManagedMySqlDatabaseGeneralReplicationInformationOutputArgs, opts?: InvokeOptions): Output<GetManagedMySqlDatabaseGeneralReplicationInformationResult>
def get_managed_my_sql_database_general_replication_information(managed_my_sql_database_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedMySqlDatabaseGeneralReplicationInformationResult
def get_managed_my_sql_database_general_replication_information_output(managed_my_sql_database_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedMySqlDatabaseGeneralReplicationInformationResult]
func GetManagedMySqlDatabaseGeneralReplicationInformation(ctx *Context, args *GetManagedMySqlDatabaseGeneralReplicationInformationArgs, opts ...InvokeOption) (*GetManagedMySqlDatabaseGeneralReplicationInformationResult, error)
func GetManagedMySqlDatabaseGeneralReplicationInformationOutput(ctx *Context, args *GetManagedMySqlDatabaseGeneralReplicationInformationOutputArgs, opts ...InvokeOption) GetManagedMySqlDatabaseGeneralReplicationInformationResultOutput
> Note: This function is named GetManagedMySqlDatabaseGeneralReplicationInformation
in the Go SDK.
public static class GetManagedMySqlDatabaseGeneralReplicationInformation
{
public static Task<GetManagedMySqlDatabaseGeneralReplicationInformationResult> InvokeAsync(GetManagedMySqlDatabaseGeneralReplicationInformationArgs args, InvokeOptions? opts = null)
public static Output<GetManagedMySqlDatabaseGeneralReplicationInformationResult> Invoke(GetManagedMySqlDatabaseGeneralReplicationInformationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedMySqlDatabaseGeneralReplicationInformationResult> getManagedMySqlDatabaseGeneralReplicationInformation(GetManagedMySqlDatabaseGeneralReplicationInformationArgs args, InvokeOptions options)
public static Output<GetManagedMySqlDatabaseGeneralReplicationInformationResult> getManagedMySqlDatabaseGeneralReplicationInformation(GetManagedMySqlDatabaseGeneralReplicationInformationArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseManagement/getManagedMySqlDatabaseGeneralReplicationInformation:getManagedMySqlDatabaseGeneralReplicationInformation
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
- managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- managed_
my_ strsql_ database_ id - The OCID of the Managed MySQL Database.
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
getManagedMySqlDatabaseGeneralReplicationInformation Result
The following output properties are available:
- Apply
Status stringSummary - A summary of the current status of apply operations.
- Binary
Log stringFormat - The binary logging format used by this server.
- Binary
Logging string - Status of binary logging on this server.
- Executed
Gtid stringSet - The set of global transaction identifiers for transactions that have been executed on this source server.
- Fetch
Status stringSummary - A summary of the current status of fetch operations.
- Gtid
Mode string - Global Transaction Identifier (GTID) mode of this server.
- High
Availability stringMember State - The state of this server as a group replication member.
- Host
Name string - This server's host name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Replications intCount - The number of sources this server is replicating from.
- Instance
Type string - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- Is
High boolAvailability Enabled - Specifies if high availability is enabled on this server.
- Managed
My stringSql Database Id - Outbound
Replications intCount - The number of replicas replicating from this server.
- Port int
- The number of the port on which the server listens for TCP/IP connections.
- Read
Only string - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- Seconds
Behind stringSource Max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- Server
Id string - This server's ID.
- Server
Uuid string - This server's Universally Unique Identifier (UUID).
- Apply
Status stringSummary - A summary of the current status of apply operations.
- Binary
Log stringFormat - The binary logging format used by this server.
- Binary
Logging string - Status of binary logging on this server.
- Executed
Gtid stringSet - The set of global transaction identifiers for transactions that have been executed on this source server.
- Fetch
Status stringSummary - A summary of the current status of fetch operations.
- Gtid
Mode string - Global Transaction Identifier (GTID) mode of this server.
- High
Availability stringMember State - The state of this server as a group replication member.
- Host
Name string - This server's host name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Replications intCount - The number of sources this server is replicating from.
- Instance
Type string - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- Is
High boolAvailability Enabled - Specifies if high availability is enabled on this server.
- Managed
My stringSql Database Id - Outbound
Replications intCount - The number of replicas replicating from this server.
- Port int
- The number of the port on which the server listens for TCP/IP connections.
- Read
Only string - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- Seconds
Behind stringSource Max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- Server
Id string - This server's ID.
- Server
Uuid string - This server's Universally Unique Identifier (UUID).
- apply
Status StringSummary - A summary of the current status of apply operations.
- binary
Log StringFormat - The binary logging format used by this server.
- binary
Logging String - Status of binary logging on this server.
- executed
Gtid StringSet - The set of global transaction identifiers for transactions that have been executed on this source server.
- fetch
Status StringSummary - A summary of the current status of fetch operations.
- gtid
Mode String - Global Transaction Identifier (GTID) mode of this server.
- high
Availability StringMember State - The state of this server as a group replication member.
- host
Name String - This server's host name.
- id String
- The provider-assigned unique ID for this managed resource.
- inbound
Replications IntegerCount - The number of sources this server is replicating from.
- instance
Type String - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- is
High BooleanAvailability Enabled - Specifies if high availability is enabled on this server.
- managed
My StringSql Database Id - outbound
Replications IntegerCount - The number of replicas replicating from this server.
- port Integer
- The number of the port on which the server listens for TCP/IP connections.
- read
Only String - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- seconds
Behind StringSource Max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- server
Id String - This server's ID.
- server
Uuid String - This server's Universally Unique Identifier (UUID).
- apply
Status stringSummary - A summary of the current status of apply operations.
- binary
Log stringFormat - The binary logging format used by this server.
- binary
Logging string - Status of binary logging on this server.
- executed
Gtid stringSet - The set of global transaction identifiers for transactions that have been executed on this source server.
- fetch
Status stringSummary - A summary of the current status of fetch operations.
- gtid
Mode string - Global Transaction Identifier (GTID) mode of this server.
- high
Availability stringMember State - The state of this server as a group replication member.
- host
Name string - This server's host name.
- id string
- The provider-assigned unique ID for this managed resource.
- inbound
Replications numberCount - The number of sources this server is replicating from.
- instance
Type string - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- is
High booleanAvailability Enabled - Specifies if high availability is enabled on this server.
- managed
My stringSql Database Id - outbound
Replications numberCount - The number of replicas replicating from this server.
- port number
- The number of the port on which the server listens for TCP/IP connections.
- read
Only string - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- seconds
Behind stringSource Max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- server
Id string - This server's ID.
- server
Uuid string - This server's Universally Unique Identifier (UUID).
- apply_
status_ strsummary - A summary of the current status of apply operations.
- binary_
log_ strformat - The binary logging format used by this server.
- binary_
logging str - Status of binary logging on this server.
- executed_
gtid_ strset - The set of global transaction identifiers for transactions that have been executed on this source server.
- fetch_
status_ strsummary - A summary of the current status of fetch operations.
- gtid_
mode str - Global Transaction Identifier (GTID) mode of this server.
- high_
availability_ strmember_ state - The state of this server as a group replication member.
- host_
name str - This server's host name.
- id str
- The provider-assigned unique ID for this managed resource.
- inbound_
replications_ intcount - The number of sources this server is replicating from.
- instance_
type str - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- is_
high_ boolavailability_ enabled - Specifies if high availability is enabled on this server.
- managed_
my_ strsql_ database_ id - outbound_
replications_ intcount - The number of replicas replicating from this server.
- port int
- The number of the port on which the server listens for TCP/IP connections.
- read_
only str - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- seconds_
behind_ strsource_ max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- server_
id str - This server's ID.
- server_
uuid str - This server's Universally Unique Identifier (UUID).
- apply
Status StringSummary - A summary of the current status of apply operations.
- binary
Log StringFormat - The binary logging format used by this server.
- binary
Logging String - Status of binary logging on this server.
- executed
Gtid StringSet - The set of global transaction identifiers for transactions that have been executed on this source server.
- fetch
Status StringSummary - A summary of the current status of fetch operations.
- gtid
Mode String - Global Transaction Identifier (GTID) mode of this server.
- high
Availability StringMember State - The state of this server as a group replication member.
- host
Name String - This server's host name.
- id String
- The provider-assigned unique ID for this managed resource.
- inbound
Replications NumberCount - The number of sources this server is replicating from.
- instance
Type String - The type of the instance. Source, Replica, Primary Group Member, Secondary Group Member, and so on. If the instance is replicating from one or more sources and has one or more replicas, i.e., it belongs to a replication chain, the instance type can be Replica/Source.
- is
High BooleanAvailability Enabled - Specifies if high availability is enabled on this server.
- managed
My StringSql Database Id - outbound
Replications NumberCount - The number of replicas replicating from this server.
- port Number
- The number of the port on which the server listens for TCP/IP connections.
- read
Only String - If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
- seconds
Behind StringSource Max - The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
- server
Id String - This server's ID.
- server
Uuid String - This server's Universally Unique Identifier (UUID).
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.