Replica

class borneo.Replica[source]

Bases: object

Cloud service only

Information representing a single replica. One or more of these is returned in TableResult for tables that have replicas

Added in version 5.4.2.

Methods Summary

get_capacity_mode()

Returns the TableLimits.CAPACITY_MODE of the replica table

get_ocid()

Returns the OCID of the replica table

get_name()

Returns the name of the replica

get_state()

Returns the state of the replica

get_write_units()

Returns the value of write units for the replica table

Methods Documentation

get_capacity_mode()[source]

Returns the TableLimits.CAPACITY_MODE of the replica table

Returns:

the mode

Return type:

TableLimits.CAPACITY_MODE

get_ocid()[source]

Returns the OCID of the replica table

Returns:

the OCID

Return type:

str

get_name()[source]

Returns the name of the replica

Returns:

the name

Return type:

str

get_state()[source]

Returns the state of the replica

Returns:

the state

Return type:

State

get_write_units()[source]

Returns the value of write units for the replica table

Returns:

the units

Return type:

int