Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.DatabaseManagement.getManagedMySqlDatabaseOutboundReplications
Explore with Pulumi AI
This data source provides the list of Managed My Sql Database Outbound Replications in Oracle Cloud Infrastructure Database Management service.
Retrieves information pertaining to outbound replications of a specific MySQL server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedMySqlDatabaseOutboundReplications = oci.DatabaseManagement.getManagedMySqlDatabaseOutboundReplications({
managedMySqlDatabaseId: testManagedMySqlDatabase.id,
});
import pulumi
import pulumi_oci as oci
test_managed_my_sql_database_outbound_replications = oci.DatabaseManagement.get_managed_my_sql_database_outbound_replications(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.GetManagedMySqlDatabaseOutboundReplications(ctx, &databasemanagement.GetManagedMySqlDatabaseOutboundReplicationsArgs{
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 testManagedMySqlDatabaseOutboundReplications = Oci.DatabaseManagement.GetManagedMySqlDatabaseOutboundReplications.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.GetManagedMySqlDatabaseOutboundReplicationsArgs;
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 testManagedMySqlDatabaseOutboundReplications = DatabaseManagementFunctions.getManagedMySqlDatabaseOutboundReplications(GetManagedMySqlDatabaseOutboundReplicationsArgs.builder()
.managedMySqlDatabaseId(testManagedMySqlDatabase.id())
.build());
}
}
variables:
testManagedMySqlDatabaseOutboundReplications:
fn::invoke:
function: oci:DatabaseManagement:getManagedMySqlDatabaseOutboundReplications
arguments:
managedMySqlDatabaseId: ${testManagedMySqlDatabase.id}
Using getManagedMySqlDatabaseOutboundReplications
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 getManagedMySqlDatabaseOutboundReplications(args: GetManagedMySqlDatabaseOutboundReplicationsArgs, opts?: InvokeOptions): Promise<GetManagedMySqlDatabaseOutboundReplicationsResult>
function getManagedMySqlDatabaseOutboundReplicationsOutput(args: GetManagedMySqlDatabaseOutboundReplicationsOutputArgs, opts?: InvokeOptions): Output<GetManagedMySqlDatabaseOutboundReplicationsResult>
def get_managed_my_sql_database_outbound_replications(filters: Optional[Sequence[GetManagedMySqlDatabaseOutboundReplicationsFilter]] = None,
managed_my_sql_database_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedMySqlDatabaseOutboundReplicationsResult
def get_managed_my_sql_database_outbound_replications_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagedMySqlDatabaseOutboundReplicationsFilterArgs]]]] = None,
managed_my_sql_database_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedMySqlDatabaseOutboundReplicationsResult]
func GetManagedMySqlDatabaseOutboundReplications(ctx *Context, args *GetManagedMySqlDatabaseOutboundReplicationsArgs, opts ...InvokeOption) (*GetManagedMySqlDatabaseOutboundReplicationsResult, error)
func GetManagedMySqlDatabaseOutboundReplicationsOutput(ctx *Context, args *GetManagedMySqlDatabaseOutboundReplicationsOutputArgs, opts ...InvokeOption) GetManagedMySqlDatabaseOutboundReplicationsResultOutput
> Note: This function is named GetManagedMySqlDatabaseOutboundReplications
in the Go SDK.
public static class GetManagedMySqlDatabaseOutboundReplications
{
public static Task<GetManagedMySqlDatabaseOutboundReplicationsResult> InvokeAsync(GetManagedMySqlDatabaseOutboundReplicationsArgs args, InvokeOptions? opts = null)
public static Output<GetManagedMySqlDatabaseOutboundReplicationsResult> Invoke(GetManagedMySqlDatabaseOutboundReplicationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedMySqlDatabaseOutboundReplicationsResult> getManagedMySqlDatabaseOutboundReplications(GetManagedMySqlDatabaseOutboundReplicationsArgs args, InvokeOptions options)
public static Output<GetManagedMySqlDatabaseOutboundReplicationsResult> getManagedMySqlDatabaseOutboundReplications(GetManagedMySqlDatabaseOutboundReplicationsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseManagement/getManagedMySqlDatabaseOutboundReplications:getManagedMySqlDatabaseOutboundReplications
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- Filters
List<Get
Managed My Sql Database Outbound Replications Filter>
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- Filters
[]Get
Managed My Sql Database Outbound Replications Filter
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
- filters
List<Get
Managed My Sql Database Outbound Replications Filter>
- managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- filters
Get
Managed My Sql Database Outbound Replications Filter[]
- managed_
my_ strsql_ database_ id - The OCID of the Managed MySQL Database.
- filters
Sequence[Get
Managed My Sql Database Outbound Replications Filter]
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
- filters List<Property Map>
getManagedMySqlDatabaseOutboundReplications Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
My stringSql Database Id - Managed
My List<GetSql Database Outbound Replication Collections Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection> - The list of managed_my_sql_database_outbound_replication_collection.
- Filters
List<Get
Managed My Sql Database Outbound Replications Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
My stringSql Database Id - Managed
My []GetSql Database Outbound Replication Collections Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection - The list of managed_my_sql_database_outbound_replication_collection.
- Filters
[]Get
Managed My Sql Database Outbound Replications Filter
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id - managed
My List<GetSql Database Outbound Replication Collections Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection> - The list of managed_my_sql_database_outbound_replication_collection.
- filters
List<Get
Managed My Sql Database Outbound Replications Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- managed
My stringSql Database Id - managed
My GetSql Database Outbound Replication Collections Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection[] - The list of managed_my_sql_database_outbound_replication_collection.
- filters
Get
Managed My Sql Database Outbound Replications Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
my_ strsql_ database_ id - managed_
my_ Sequence[Getsql_ database_ outbound_ replication_ collections Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection] - The list of managed_my_sql_database_outbound_replication_collection.
- filters
Sequence[Get
Managed My Sql Database Outbound Replications Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id - managed
My List<Property Map>Sql Database Outbound Replication Collections - The list of managed_my_sql_database_outbound_replication_collection.
- filters List<Property Map>
Supporting Types
GetManagedMySqlDatabaseOutboundReplicationsFilter
GetManagedMySqlDatabaseOutboundReplicationsManagedMySqlDatabaseOutboundReplicationCollection
- Items
List<Get
Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection Item> - The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- Outbound
Replications intCount - The number of outbound replications from this server.
- Items
[]Get
Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection Item - The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- Outbound
Replications intCount - The number of outbound replications from this server.
- items
List<Get
Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection Item> - The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- outbound
Replications IntegerCount - The number of outbound replications from this server.
- items
Get
Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection Item[] - The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- outbound
Replications numberCount - The number of outbound replications from this server.
- items
Sequence[Get
Managed My Sql Database Outbound Replications Managed My Sql Database Outbound Replication Collection Item] - The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- outbound_
replications_ intcount - The number of outbound replications from this server.
- items List<Property Map>
- The list of ManagedMySqlDatabaseOutboundReplicationSummary records.
- outbound
Replications NumberCount - The number of outbound replications from this server.
GetManagedMySqlDatabaseOutboundReplicationsManagedMySqlDatabaseOutboundReplicationCollectionItem
- Replica
Host string - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- Replica
Port int - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- Replica
Server stringId - The server ID value of the replica.
- Replica
Uuid string - The Universally Unique Identifier (UUID) value of the replica server.
- Replica
Host string - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- Replica
Port int - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- Replica
Server stringId - The server ID value of the replica.
- Replica
Uuid string - The Universally Unique Identifier (UUID) value of the replica server.
- replica
Host String - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- replica
Port Integer - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- replica
Server StringId - The server ID value of the replica.
- replica
Uuid String - The Universally Unique Identifier (UUID) value of the replica server.
- replica
Host string - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- replica
Port number - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- replica
Server stringId - The server ID value of the replica.
- replica
Uuid string - The Universally Unique Identifier (UUID) value of the replica server.
- replica_
host str - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- replica_
port int - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- replica_
server_ strid - The server ID value of the replica.
- replica_
uuid str - The Universally Unique Identifier (UUID) value of the replica server.
- replica
Host String - The host name of the replica server, as specified on the replica with the --report-host option. This can differ from the machine name as configured in the operating system.
- replica
Port Number - The port on the replica server, as specified on the replica with the --report-port option. A zero in this column means that the replica port (--report-port) was not set.
- replica
Server StringId - The server ID value of the replica.
- replica
Uuid String - The Universally Unique Identifier (UUID) value of the replica server.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.