1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Mysql
  5. getReplicas
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Mysql.getReplicas

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This data source provides the list of Replicas in Oracle Cloud Infrastructure MySQL Database service.

    Lists all the read replicas that match the specified filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testReplicas = oci.Mysql.getReplicas({
        compartmentId: _var.compartment_id,
        configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id,
        dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id,
        displayName: _var.replica_display_name,
        isUpToDate: _var.replica_is_up_to_date,
        replicaId: oci_mysql_replica.test_replica.id,
        state: _var.replica_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_replicas = oci.Mysql.get_replicas(compartment_id=var["compartment_id"],
        configuration_id=oci_mysql_mysql_configuration["test_mysql_configuration"]["id"],
        db_system_id=oci_mysql_mysql_db_system["test_mysql_db_system"]["id"],
        display_name=var["replica_display_name"],
        is_up_to_date=var["replica_is_up_to_date"],
        replica_id=oci_mysql_replica["test_replica"]["id"],
        state=var["replica_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Mysql.GetReplicas(ctx, &mysql.GetReplicasArgs{
    			CompartmentId:   _var.Compartment_id,
    			ConfigurationId: pulumi.StringRef(oci_mysql_mysql_configuration.Test_mysql_configuration.Id),
    			DbSystemId:      pulumi.StringRef(oci_mysql_mysql_db_system.Test_mysql_db_system.Id),
    			DisplayName:     pulumi.StringRef(_var.Replica_display_name),
    			IsUpToDate:      pulumi.BoolRef(_var.Replica_is_up_to_date),
    			ReplicaId:       pulumi.StringRef(oci_mysql_replica.Test_replica.Id),
    			State:           pulumi.StringRef(_var.Replica_state),
    		}, 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 testReplicas = Oci.Mysql.GetReplicas.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id,
            DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id,
            DisplayName = @var.Replica_display_name,
            IsUpToDate = @var.Replica_is_up_to_date,
            ReplicaId = oci_mysql_replica.Test_replica.Id,
            State = @var.Replica_state,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Mysql.MysqlFunctions;
    import com.pulumi.oci.Mysql.inputs.GetReplicasArgs;
    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 testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder()
                .compartmentId(var_.compartment_id())
                .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id())
                .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id())
                .displayName(var_.replica_display_name())
                .isUpToDate(var_.replica_is_up_to_date())
                .replicaId(oci_mysql_replica.test_replica().id())
                .state(var_.replica_state())
                .build());
    
        }
    }
    
    variables:
      testReplicas:
        fn::invoke:
          Function: oci:Mysql:getReplicas
          Arguments:
            compartmentId: ${var.compartment_id}
            configurationId: ${oci_mysql_mysql_configuration.test_mysql_configuration.id}
            dbSystemId: ${oci_mysql_mysql_db_system.test_mysql_db_system.id}
            displayName: ${var.replica_display_name}
            isUpToDate: ${var.replica_is_up_to_date}
            replicaId: ${oci_mysql_replica.test_replica.id}
            state: ${var.replica_state}
    

    Using getReplicas

    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 getReplicas(args: GetReplicasArgs, opts?: InvokeOptions): Promise<GetReplicasResult>
    function getReplicasOutput(args: GetReplicasOutputArgs, opts?: InvokeOptions): Output<GetReplicasResult>
    def get_replicas(compartment_id: Optional[str] = None,
                     configuration_id: Optional[str] = None,
                     db_system_id: Optional[str] = None,
                     display_name: Optional[str] = None,
                     filters: Optional[Sequence[_mysql.GetReplicasFilter]] = None,
                     is_up_to_date: Optional[bool] = None,
                     replica_id: Optional[str] = None,
                     state: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetReplicasResult
    def get_replicas_output(compartment_id: Optional[pulumi.Input[str]] = None,
                     configuration_id: Optional[pulumi.Input[str]] = None,
                     db_system_id: Optional[pulumi.Input[str]] = None,
                     display_name: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_mysql.GetReplicasFilterArgs]]]] = None,
                     is_up_to_date: Optional[pulumi.Input[bool]] = None,
                     replica_id: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetReplicasResult]
    func GetReplicas(ctx *Context, args *GetReplicasArgs, opts ...InvokeOption) (*GetReplicasResult, error)
    func GetReplicasOutput(ctx *Context, args *GetReplicasOutputArgs, opts ...InvokeOption) GetReplicasResultOutput

    > Note: This function is named GetReplicas in the Go SDK.

    public static class GetReplicas 
    {
        public static Task<GetReplicasResult> InvokeAsync(GetReplicasArgs args, InvokeOptions? opts = null)
        public static Output<GetReplicasResult> Invoke(GetReplicasInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReplicasResult> getReplicas(GetReplicasArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Mysql/getReplicas:getReplicas
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    ConfigurationId string
    The requested Configuration instance.
    DbSystemId string
    The DB System OCID.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Filters List<GetReplicasFilter>
    IsUpToDate bool
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    ReplicaId string
    The read replica OCID.
    State string
    The LifecycleState of the read replica.
    CompartmentId string
    The compartment OCID.
    ConfigurationId string
    The requested Configuration instance.
    DbSystemId string
    The DB System OCID.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    Filters []GetReplicasFilter
    IsUpToDate bool
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    ReplicaId string
    The read replica OCID.
    State string
    The LifecycleState of the read replica.
    compartmentId String
    The compartment OCID.
    configurationId String
    The requested Configuration instance.
    dbSystemId String
    The DB System OCID.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    filters List<GetReplicasFilter>
    isUpToDate Boolean
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    replicaId String
    The read replica OCID.
    state String
    The LifecycleState of the read replica.
    compartmentId string
    The compartment OCID.
    configurationId string
    The requested Configuration instance.
    dbSystemId string
    The DB System OCID.
    displayName string
    A filter to return only the resource matching the given display name exactly.
    filters GetReplicasFilter[]
    isUpToDate boolean
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    replicaId string
    The read replica OCID.
    state string
    The LifecycleState of the read replica.
    compartment_id str
    The compartment OCID.
    configuration_id str
    The requested Configuration instance.
    db_system_id str
    The DB System OCID.
    display_name str
    A filter to return only the resource matching the given display name exactly.
    filters GetReplicasFilter]
    is_up_to_date bool
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    replica_id str
    The read replica OCID.
    state str
    The LifecycleState of the read replica.
    compartmentId String
    The compartment OCID.
    configurationId String
    The requested Configuration instance.
    dbSystemId String
    The DB System OCID.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    filters List<Property Map>
    isUpToDate Boolean
    Filter instances if they are using the latest revision of the Configuration they are associated with.
    replicaId String
    The read replica OCID.
    state String
    The LifecycleState of the read replica.

    getReplicas Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the read replica.
    Id string
    The provider-assigned unique ID for this managed resource.
    Replicas List<GetReplicasReplica>
    The list of replicas.
    ConfigurationId string
    The OCID of the Configuration to be used by the read replica.
    DbSystemId string
    The OCID of the DB System the read replica is associated with.
    DisplayName string
    The user-friendly name for the read replica. It does not have to be unique.
    Filters List<GetReplicasFilter>
    IsUpToDate bool
    ReplicaId string
    State string
    The state of the read replica.
    CompartmentId string
    The OCID of the compartment that contains the read replica.
    Id string
    The provider-assigned unique ID for this managed resource.
    Replicas []GetReplicasReplica
    The list of replicas.
    ConfigurationId string
    The OCID of the Configuration to be used by the read replica.
    DbSystemId string
    The OCID of the DB System the read replica is associated with.
    DisplayName string
    The user-friendly name for the read replica. It does not have to be unique.
    Filters []GetReplicasFilter
    IsUpToDate bool
    ReplicaId string
    State string
    The state of the read replica.
    compartmentId String
    The OCID of the compartment that contains the read replica.
    id String
    The provider-assigned unique ID for this managed resource.
    replicas List<GetReplicasReplica>
    The list of replicas.
    configurationId String
    The OCID of the Configuration to be used by the read replica.
    dbSystemId String
    The OCID of the DB System the read replica is associated with.
    displayName String
    The user-friendly name for the read replica. It does not have to be unique.
    filters List<GetReplicasFilter>
    isUpToDate Boolean
    replicaId String
    state String
    The state of the read replica.
    compartmentId string
    The OCID of the compartment that contains the read replica.
    id string
    The provider-assigned unique ID for this managed resource.
    replicas GetReplicasReplica[]
    The list of replicas.
    configurationId string
    The OCID of the Configuration to be used by the read replica.
    dbSystemId string
    The OCID of the DB System the read replica is associated with.
    displayName string
    The user-friendly name for the read replica. It does not have to be unique.
    filters GetReplicasFilter[]
    isUpToDate boolean
    replicaId string
    state string
    The state of the read replica.
    compartment_id str
    The OCID of the compartment that contains the read replica.
    id str
    The provider-assigned unique ID for this managed resource.
    replicas GetReplicasReplica]
    The list of replicas.
    configuration_id str
    The OCID of the Configuration to be used by the read replica.
    db_system_id str
    The OCID of the DB System the read replica is associated with.
    display_name str
    The user-friendly name for the read replica. It does not have to be unique.
    filters GetReplicasFilter]
    is_up_to_date bool
    replica_id str
    state str
    The state of the read replica.
    compartmentId String
    The OCID of the compartment that contains the read replica.
    id String
    The provider-assigned unique ID for this managed resource.
    replicas List<Property Map>
    The list of replicas.
    configurationId String
    The OCID of the Configuration to be used by the read replica.
    dbSystemId String
    The OCID of the DB System the read replica is associated with.
    displayName String
    The user-friendly name for the read replica. It does not have to be unique.
    filters List<Property Map>
    isUpToDate Boolean
    replicaId String
    state String
    The state of the read replica.

    Supporting Types

    GetReplicasFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetReplicasReplica

    AvailabilityDomain string
    The name of the Availability Domain the read replica is located in.
    CompartmentId string
    The compartment OCID.
    ConfigurationId string
    The requested Configuration instance.
    DbSystemId string
    The DB System OCID.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    User provided description of the read replica.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    FaultDomain string
    The name of the Fault Domain the read replica is located in.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the read replica.
    IpAddress string
    The IP address the read replica is configured to listen on.
    IsDeleteProtected bool
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    LifecycleDetails string
    A message describing the state of the read replica.
    MysqlVersion string
    The MySQL version to be used by the read replica.
    Port int
    The port the read replica is configured to listen on.
    PortX int
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    ReplicaOverrides List<GetReplicasReplicaReplicaOverride>
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    SecureConnections List<GetReplicasReplicaSecureConnection>
    Secure connection configuration details.
    ShapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    State string
    The LifecycleState of the read replica.
    TimeCreated string
    The date and time the read replica was created, as described by RFC 3339.
    TimeUpdated string
    The time the read replica was last updated, as described by RFC 3339.
    AvailabilityDomain string
    The name of the Availability Domain the read replica is located in.
    CompartmentId string
    The compartment OCID.
    ConfigurationId string
    The requested Configuration instance.
    DbSystemId string
    The DB System OCID.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    User provided description of the read replica.
    DisplayName string
    A filter to return only the resource matching the given display name exactly.
    FaultDomain string
    The name of the Fault Domain the read replica is located in.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the read replica.
    IpAddress string
    The IP address the read replica is configured to listen on.
    IsDeleteProtected bool
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    LifecycleDetails string
    A message describing the state of the read replica.
    MysqlVersion string
    The MySQL version to be used by the read replica.
    Port int
    The port the read replica is configured to listen on.
    PortX int
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    ReplicaOverrides []GetReplicasReplicaReplicaOverride
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    SecureConnections []GetReplicasReplicaSecureConnection
    Secure connection configuration details.
    ShapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    State string
    The LifecycleState of the read replica.
    TimeCreated string
    The date and time the read replica was created, as described by RFC 3339.
    TimeUpdated string
    The time the read replica was last updated, as described by RFC 3339.
    availabilityDomain String
    The name of the Availability Domain the read replica is located in.
    compartmentId String
    The compartment OCID.
    configurationId String
    The requested Configuration instance.
    dbSystemId String
    The DB System OCID.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    User provided description of the read replica.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    faultDomain String
    The name of the Fault Domain the read replica is located in.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the read replica.
    ipAddress String
    The IP address the read replica is configured to listen on.
    isDeleteProtected Boolean
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    lifecycleDetails String
    A message describing the state of the read replica.
    mysqlVersion String
    The MySQL version to be used by the read replica.
    port Integer
    The port the read replica is configured to listen on.
    portX Integer
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    replicaOverrides List<GetReplicasReplicaReplicaOverride>
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    secureConnections List<GetReplicasReplicaSecureConnection>
    Secure connection configuration details.
    shapeName String
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    state String
    The LifecycleState of the read replica.
    timeCreated String
    The date and time the read replica was created, as described by RFC 3339.
    timeUpdated String
    The time the read replica was last updated, as described by RFC 3339.
    availabilityDomain string
    The name of the Availability Domain the read replica is located in.
    compartmentId string
    The compartment OCID.
    configurationId string
    The requested Configuration instance.
    dbSystemId string
    The DB System OCID.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    User provided description of the read replica.
    displayName string
    A filter to return only the resource matching the given display name exactly.
    faultDomain string
    The name of the Fault Domain the read replica is located in.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the read replica.
    ipAddress string
    The IP address the read replica is configured to listen on.
    isDeleteProtected boolean
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    lifecycleDetails string
    A message describing the state of the read replica.
    mysqlVersion string
    The MySQL version to be used by the read replica.
    port number
    The port the read replica is configured to listen on.
    portX number
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    replicaOverrides GetReplicasReplicaReplicaOverride[]
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    secureConnections GetReplicasReplicaSecureConnection[]
    Secure connection configuration details.
    shapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    state string
    The LifecycleState of the read replica.
    timeCreated string
    The date and time the read replica was created, as described by RFC 3339.
    timeUpdated string
    The time the read replica was last updated, as described by RFC 3339.
    availability_domain str
    The name of the Availability Domain the read replica is located in.
    compartment_id str
    The compartment OCID.
    configuration_id str
    The requested Configuration instance.
    db_system_id str
    The DB System OCID.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    User provided description of the read replica.
    display_name str
    A filter to return only the resource matching the given display name exactly.
    fault_domain str
    The name of the Fault Domain the read replica is located in.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The OCID of the read replica.
    ip_address str
    The IP address the read replica is configured to listen on.
    is_delete_protected bool
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    lifecycle_details str
    A message describing the state of the read replica.
    mysql_version str
    The MySQL version to be used by the read replica.
    port int
    The port the read replica is configured to listen on.
    port_x int
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    replica_overrides GetReplicasReplicaReplicaOverride]
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    secure_connections GetReplicasReplicaSecureConnection]
    Secure connection configuration details.
    shape_name str
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    state str
    The LifecycleState of the read replica.
    time_created str
    The date and time the read replica was created, as described by RFC 3339.
    time_updated str
    The time the read replica was last updated, as described by RFC 3339.
    availabilityDomain String
    The name of the Availability Domain the read replica is located in.
    compartmentId String
    The compartment OCID.
    configurationId String
    The requested Configuration instance.
    dbSystemId String
    The DB System OCID.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    User provided description of the read replica.
    displayName String
    A filter to return only the resource matching the given display name exactly.
    faultDomain String
    The name of the Fault Domain the read replica is located in.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the read replica.
    ipAddress String
    The IP address the read replica is configured to listen on.
    isDeleteProtected Boolean
    Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
    lifecycleDetails String
    A message describing the state of the read replica.
    mysqlVersion String
    The MySQL version to be used by the read replica.
    port Number
    The port the read replica is configured to listen on.
    portX Number
    The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
    replicaOverrides List<Property Map>
    By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system.
    secureConnections List<Property Map>
    Secure connection configuration details.
    shapeName String
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    state String
    The LifecycleState of the read replica.
    timeCreated String
    The date and time the read replica was created, as described by RFC 3339.
    timeUpdated String
    The time the read replica was last updated, as described by RFC 3339.

    GetReplicasReplicaReplicaOverride

    ConfigurationId string
    The requested Configuration instance.
    MysqlVersion string
    The MySQL version to be used by the read replica.
    ShapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    ConfigurationId string
    The requested Configuration instance.
    MysqlVersion string
    The MySQL version to be used by the read replica.
    ShapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    configurationId String
    The requested Configuration instance.
    mysqlVersion String
    The MySQL version to be used by the read replica.
    shapeName String
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    configurationId string
    The requested Configuration instance.
    mysqlVersion string
    The MySQL version to be used by the read replica.
    shapeName string
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    configuration_id str
    The requested Configuration instance.
    mysql_version str
    The MySQL version to be used by the read replica.
    shape_name str
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.
    configurationId String
    The requested Configuration instance.
    mysqlVersion String
    The MySQL version to be used by the read replica.
    shapeName String
    The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the ListShapes operation.

    GetReplicasReplicaSecureConnection

    CertificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    CertificateId string
    The OCID of the certificate to use.
    CertificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    CertificateId string
    The OCID of the certificate to use.
    certificateGenerationType String
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId String
    The OCID of the certificate to use.
    certificateGenerationType string
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId string
    The OCID of the certificate to use.
    certificate_generation_type str
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificate_id str
    The OCID of the certificate to use.
    certificateGenerationType String
    Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
    certificateId String
    The OCID of the certificate to use.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi