Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi
oci.Mysql.getReplicas
Explore with Pulumi AI
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: compartmentId,
configurationId: testMysqlConfiguration.id,
dbSystemId: testMysqlDbSystem.id,
displayName: replicaDisplayName,
isUpToDate: replicaIsUpToDate,
replicaId: testReplica.id,
state: replicaState,
});
import pulumi
import pulumi_oci as oci
test_replicas = oci.Mysql.get_replicas(compartment_id=compartment_id,
configuration_id=test_mysql_configuration["id"],
db_system_id=test_mysql_db_system["id"],
display_name=replica_display_name,
is_up_to_date=replica_is_up_to_date,
replica_id=test_replica["id"],
state=replica_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: compartmentId,
ConfigurationId: pulumi.StringRef(testMysqlConfiguration.Id),
DbSystemId: pulumi.StringRef(testMysqlDbSystem.Id),
DisplayName: pulumi.StringRef(replicaDisplayName),
IsUpToDate: pulumi.BoolRef(replicaIsUpToDate),
ReplicaId: pulumi.StringRef(testReplica.Id),
State: pulumi.StringRef(replicaState),
}, 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 = compartmentId,
ConfigurationId = testMysqlConfiguration.Id,
DbSystemId = testMysqlDbSystem.Id,
DisplayName = replicaDisplayName,
IsUpToDate = replicaIsUpToDate,
ReplicaId = testReplica.Id,
State = replicaState,
});
});
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(compartmentId)
.configurationId(testMysqlConfiguration.id())
.dbSystemId(testMysqlDbSystem.id())
.displayName(replicaDisplayName)
.isUpToDate(replicaIsUpToDate)
.replicaId(testReplica.id())
.state(replicaState)
.build());
}
}
variables:
testReplicas:
fn::invoke:
function: oci:Mysql:getReplicas
arguments:
compartmentId: ${compartmentId}
configurationId: ${testMysqlConfiguration.id}
dbSystemId: ${testMysqlDbSystem.id}
displayName: ${replicaDisplayName}
isUpToDate: ${replicaIsUpToDate}
replicaId: ${testReplica.id}
state: ${replicaState}
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)
public static Output<GetReplicasResult> getReplicas(GetReplicasArgs args, InvokeOptions options)
fn::invoke:
function: oci:Mysql/getReplicas:getReplicas
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The compartment OCID.
- Configuration
Id string - The requested Configuration instance.
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
Changes to this property will trigger replacement.
Replicas Filter> - Is
Up boolTo Date - Filter instances if they are using the latest revision of the Configuration they are associated with.
- Replica
Id string - The read replica OCID.
- State string
- The LifecycleState of the read replica.
- Compartment
Id This property is required. string - The compartment OCID.
- Configuration
Id string - The requested Configuration instance.
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
Changes to this property will trigger replacement.
Replicas Filter - Is
Up boolTo Date - Filter instances if they are using the latest revision of the Configuration they are associated with.
- Replica
Id string - The read replica OCID.
- State string
- The LifecycleState of the read replica.
- compartment
Id This property is required. String - The compartment OCID.
- configuration
Id String - The requested Configuration instance.
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters
Changes to this property will trigger replacement.
Replicas Filter> - is
Up BooleanTo Date - Filter instances if they are using the latest revision of the Configuration they are associated with.
- replica
Id String - The read replica OCID.
- state String
- The LifecycleState of the read replica.
- compartment
Id This property is required. string - The compartment OCID.
- configuration
Id string - The requested Configuration instance.
- db
System stringId - The DB System OCID.
- display
Name string - A filter to return only the resource matching the given display name exactly.
- filters
Changes to this property will trigger replacement.
Replicas Filter[] - is
Up booleanTo Date - Filter instances if they are using the latest revision of the Configuration they are associated with.
- replica
Id string - The read replica OCID.
- state string
- The LifecycleState of the read replica.
- compartment_
id This property is required. str - The compartment OCID.
- configuration_
id str - The requested Configuration instance.
- db_
system_ strid - The DB System OCID.
- display_
name str - A filter to return only the resource matching the given display name exactly.
- filters
Changes to this property will trigger replacement.
Get Replicas Filter] - is_
up_ boolto_ date - 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.
- compartment
Id This property is required. String - The compartment OCID.
- configuration
Id String - The requested Configuration instance.
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters
Changes to this property will trigger replacement.
- is
Up BooleanTo Date - Filter instances if they are using the latest revision of the Configuration they are associated with.
- replica
Id String - The read replica OCID.
- state String
- The LifecycleState of the read replica.
getReplicas Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the read replica.
- Id string
- The provider-assigned unique ID for this managed resource.
- Replicas
List<Get
Replicas Replica> - The list of replicas.
- Configuration
Id string - The OCID of the Configuration to be used by the read replica.
- Db
System stringId - The OCID of the DB System the read replica is associated with.
- Display
Name string - The user-friendly name for the read replica. It does not have to be unique.
- Filters
List<Get
Replicas Filter> - Is
Up boolTo Date - Replica
Id string - State string
- The state of the read replica.
- Compartment
Id string - The OCID of the compartment that contains the read replica.
- Id string
- The provider-assigned unique ID for this managed resource.
- Replicas
[]Get
Replicas Replica - The list of replicas.
- Configuration
Id string - The OCID of the Configuration to be used by the read replica.
- Db
System stringId - The OCID of the DB System the read replica is associated with.
- Display
Name string - The user-friendly name for the read replica. It does not have to be unique.
- Filters
[]Get
Replicas Filter - Is
Up boolTo Date - Replica
Id string - State string
- The state of the read replica.
- compartment
Id String - The OCID of the compartment that contains the read replica.
- id String
- The provider-assigned unique ID for this managed resource.
- replicas
List<Get
Replicas Replica> - The list of replicas.
- configuration
Id String - The OCID of the Configuration to be used by the read replica.
- db
System StringId - The OCID of the DB System the read replica is associated with.
- display
Name String - The user-friendly name for the read replica. It does not have to be unique.
- filters
List<Get
Replicas Filter> - is
Up BooleanTo Date - replica
Id String - state String
- The state of the read replica.
- compartment
Id string - The OCID of the compartment that contains the read replica.
- id string
- The provider-assigned unique ID for this managed resource.
- replicas
Get
Replicas Replica[] - The list of replicas.
- configuration
Id string - The OCID of the Configuration to be used by the read replica.
- db
System stringId - The OCID of the DB System the read replica is associated with.
- display
Name string - The user-friendly name for the read replica. It does not have to be unique.
- filters
Get
Replicas Filter[] - is
Up booleanTo Date - replica
Id 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
Sequence[mysql.
Get Replicas Replica] - The list of replicas.
- configuration_
id str - The OCID of the Configuration to be used by the read replica.
- db_
system_ strid - 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
Sequence[mysql.
Get Replicas Filter] - is_
up_ boolto_ date - replica_
id str - state str
- The state of the read replica.
- compartment
Id 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.
- configuration
Id String - The OCID of the Configuration to be used by the read replica.
- db
System StringId - The OCID of the DB System the read replica is associated with.
- display
Name String - The user-friendly name for the read replica. It does not have to be unique.
- filters List<Property Map>
- is
Up BooleanTo Date - replica
Id String - state String
- The state of the read replica.
Supporting Types
GetReplicasFilter
GetReplicasReplica
- Availability
Domain This property is required. string - The name of the Availability Domain the read replica is located in.
- Compartment
Id This property is required. string - The compartment OCID.
- Configuration
Id This property is required. string - The requested Configuration instance.
- Db
System Id This property is required. string - The DB System OCID.
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description
This property is required. string - User provided description of the read replica.
- Display
Name This property is required. string - A filter to return only the resource matching the given display name exactly.
- Fault
Domain This property is required. string - The name of the Fault Domain the read replica is located in.
This property is required. Dictionary<string, string>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id
This property is required. string - The OCID of the read replica.
- Ip
Address This property is required. string - The IP address the read replica is configured to listen on.
- Is
Delete Protected This property is required. 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 This property is required. string - A message describing the state of the read replica.
- Mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- Port
This property is required. int - The port the read replica is configured to listen on.
- Port
X This property is required. int - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- Replica
Overrides This property is required. List<GetReplicas Replica Replica Override> - 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 This property is required. List<GetReplicas Replica Secure Connection> - Secure connection configuration details.
- Shape
Name This property is required. 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
This property is required. string - The LifecycleState of the read replica.
- Time
Created This property is required. string - The date and time the read replica was created, as described by RFC 3339.
- Time
Updated This property is required. string - The time the read replica was last updated, as described by RFC 3339.
- Availability
Domain This property is required. string - The name of the Availability Domain the read replica is located in.
- Compartment
Id This property is required. string - The compartment OCID.
- Configuration
Id This property is required. string - The requested Configuration instance.
- Db
System Id This property is required. string - The DB System OCID.
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description
This property is required. string - User provided description of the read replica.
- Display
Name This property is required. string - A filter to return only the resource matching the given display name exactly.
- Fault
Domain This property is required. string - The name of the Fault Domain the read replica is located in.
This property is required. map[string]string- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id
This property is required. string - The OCID of the read replica.
- Ip
Address This property is required. string - The IP address the read replica is configured to listen on.
- Is
Delete Protected This property is required. 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 This property is required. string - A message describing the state of the read replica.
- Mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- Port
This property is required. int - The port the read replica is configured to listen on.
- Port
X This property is required. int - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- Replica
Overrides This property is required. []GetReplicas Replica Replica Override - 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 This property is required. []GetReplicas Replica Secure Connection - Secure connection configuration details.
- Shape
Name This property is required. 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
This property is required. string - The LifecycleState of the read replica.
- Time
Created This property is required. string - The date and time the read replica was created, as described by RFC 3339.
- Time
Updated This property is required. string - The time the read replica was last updated, as described by RFC 3339.
- availability
Domain This property is required. String - The name of the Availability Domain the read replica is located in.
- compartment
Id This property is required. String - The compartment OCID.
- configuration
Id This property is required. String - The requested Configuration instance.
- db
System Id This property is required. String - The DB System OCID.
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. String - User provided description of the read replica.
- display
Name This property is required. String - A filter to return only the resource matching the given display name exactly.
- fault
Domain This property is required. String - The name of the Fault Domain the read replica is located in.
This property is required. Map<String,String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. String - The OCID of the read replica.
- ip
Address This property is required. String - The IP address the read replica is configured to listen on.
- is
Delete Protected This property is required. 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.
- lifecycle
Details This property is required. String - A message describing the state of the read replica.
- mysql
Version This property is required. String - The MySQL version to be used by the read replica.
- port
This property is required. Integer - The port the read replica is configured to listen on.
- port
X This property is required. Integer - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- replica
Overrides This property is required. List<GetReplicas Replica Replica Override> - 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 This property is required. List<GetReplicas Replica Secure Connection> - Secure connection configuration details.
- shape
Name This property is required. 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
This property is required. String - The LifecycleState of the read replica.
- time
Created This property is required. String - The date and time the read replica was created, as described by RFC 3339.
- time
Updated This property is required. String - The time the read replica was last updated, as described by RFC 3339.
- availability
Domain This property is required. string - The name of the Availability Domain the read replica is located in.
- compartment
Id This property is required. string - The compartment OCID.
- configuration
Id This property is required. string - The requested Configuration instance.
- db
System Id This property is required. string - The DB System OCID.
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. string - User provided description of the read replica.
- display
Name This property is required. string - A filter to return only the resource matching the given display name exactly.
- fault
Domain This property is required. string - The name of the Fault Domain the read replica is located in.
This property is required. {[key: string]: string}- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. string - The OCID of the read replica.
- ip
Address This property is required. string - The IP address the read replica is configured to listen on.
- is
Delete Protected This property is required. 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.
- lifecycle
Details This property is required. string - A message describing the state of the read replica.
- mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- port
This property is required. number - The port the read replica is configured to listen on.
- port
X This property is required. number - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- replica
Overrides This property is required. GetReplicas Replica Replica Override[] - 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 This property is required. GetReplicas Replica Secure Connection[] - Secure connection configuration details.
- shape
Name This property is required. 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
This property is required. string - The LifecycleState of the read replica.
- time
Created This property is required. string - The date and time the read replica was created, as described by RFC 3339.
- time
Updated This property is required. string - The time the read replica was last updated, as described by RFC 3339.
- availability_
domain This property is required. str - The name of the Availability Domain the read replica is located in.
- compartment_
id This property is required. str - The compartment OCID.
- configuration_
id This property is required. str - The requested Configuration instance.
- db_
system_ id This property is required. str - The DB System OCID.
This property is required. Mapping[str, str]- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. str - User provided description of the read replica.
- display_
name This property is required. str - A filter to return only the resource matching the given display name exactly.
- fault_
domain This property is required. str - The name of the Fault Domain the read replica is located in.
This property is required. Mapping[str, str]- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. str - The OCID of the read replica.
- ip_
address This property is required. str - The IP address the read replica is configured to listen on.
- is_
delete_ protected This property is required. 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 This property is required. str - A message describing the state of the read replica.
- mysql_
version This property is required. str - The MySQL version to be used by the read replica.
- port
This property is required. int - The port the read replica is configured to listen on.
- port_
x This property is required. int - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- replica_
overrides This property is required. Sequence[mysql.Get Replicas Replica Replica Override] - 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 This property is required. Sequence[mysql.Get Replicas Replica Secure Connection] - Secure connection configuration details.
- shape_
name This property is required. 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
This property is required. str - The LifecycleState of the read replica.
- time_
created This property is required. str - The date and time the read replica was created, as described by RFC 3339.
- time_
updated This property is required. str - The time the read replica was last updated, as described by RFC 3339.
- availability
Domain This property is required. String - The name of the Availability Domain the read replica is located in.
- compartment
Id This property is required. String - The compartment OCID.
- configuration
Id This property is required. String - The requested Configuration instance.
- db
System Id This property is required. String - The DB System OCID.
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description
This property is required. String - User provided description of the read replica.
- display
Name This property is required. String - A filter to return only the resource matching the given display name exactly.
- fault
Domain This property is required. String - The name of the Fault Domain the read replica is located in.
This property is required. Map<String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id
This property is required. String - The OCID of the read replica.
- ip
Address This property is required. String - The IP address the read replica is configured to listen on.
- is
Delete Protected This property is required. 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.
- lifecycle
Details This property is required. String - A message describing the state of the read replica.
- mysql
Version This property is required. String - The MySQL version to be used by the read replica.
- port
This property is required. Number - The port the read replica is configured to listen on.
- port
X This property is required. Number - The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
- replica
Overrides This property is required. 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.
- secure
Connections This property is required. List<Property Map> - Secure connection configuration details.
- shape
Name This property is required. 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
This property is required. String - The LifecycleState of the read replica.
- time
Created This property is required. String - The date and time the read replica was created, as described by RFC 3339.
- time
Updated This property is required. String - The time the read replica was last updated, as described by RFC 3339.
GetReplicasReplicaReplicaOverride
- Configuration
Id This property is required. string - The requested Configuration instance.
- Mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- Shape
Name This property is required. 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 This property is required. string - The requested Configuration instance.
- Mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- Shape
Name This property is required. 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 This property is required. String - The requested Configuration instance.
- mysql
Version This property is required. String - The MySQL version to be used by the read replica.
- shape
Name This property is required. 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 This property is required. string - The requested Configuration instance.
- mysql
Version This property is required. string - The MySQL version to be used by the read replica.
- shape
Name This property is required. 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 This property is required. str - The requested Configuration instance.
- mysql_
version This property is required. str - The MySQL version to be used by the read replica.
- shape_
name This property is required. 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.
- configuration
Id This property is required. String - The requested Configuration instance.
- mysql
Version This property is required. String - The MySQL version to be used by the read replica.
- shape
Name This property is required. 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
- Certificate
Generation Type This property is required. string - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- Certificate
Id This property is required. string - The OCID of the certificate to use.
- Certificate
Generation Type This property is required. string - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- Certificate
Id This property is required. string - The OCID of the certificate to use.
- certificate
Generation Type This property is required. String - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id This property is required. String - The OCID of the certificate to use.
- certificate
Generation Type This property is required. string - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id This property is required. string - The OCID of the certificate to use.
- certificate_
generation_ type This property is required. str - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate_
id This property is required. str - The OCID of the certificate to use.
- certificate
Generation Type This property is required. String - Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).
- certificate
Id This property is required. 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.