ShardPeerWithDedicatedInfra

class oci.distributed_database.models.ShardPeerWithDedicatedInfra(**kwargs)

Bases: object

Details of the shard peer

Attributes

PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a ShardPeerWithDedicatedInfra.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a ShardPeerWithDedicatedInfra.
STATUS_CONFIGURED A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_CREATED A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_CREATING A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_DELETED A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_DELETING A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_FAILED A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_NEEDS_ATTENTION A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_READY_FOR_CONFIGURATION A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
STATUS_UPDATING A constant which can be used with the status property of a ShardPeerWithDedicatedInfra.
cloud_autonomous_vm_cluster_id [Required] Gets the cloud_autonomous_vm_cluster_id of this ShardPeerWithDedicatedInfra.
container_database_id Gets the container_database_id of this ShardPeerWithDedicatedInfra.
fast_start_fail_over_lag_limit_in_seconds Gets the fast_start_fail_over_lag_limit_in_seconds of this ShardPeerWithDedicatedInfra.
is_automatic_failover_enabled Gets the is_automatic_failover_enabled of this ShardPeerWithDedicatedInfra.
metadata Gets the metadata of this ShardPeerWithDedicatedInfra.
protection_mode Gets the protection_mode of this ShardPeerWithDedicatedInfra.
shard_group [Required] Gets the shard_group of this ShardPeerWithDedicatedInfra.
standby_maintenance_buffer_in_days Gets the standby_maintenance_buffer_in_days of this ShardPeerWithDedicatedInfra.
status [Required] Gets the status of this ShardPeerWithDedicatedInfra.
supporting_resource_id Gets the supporting_resource_id of this ShardPeerWithDedicatedInfra.
time_created [Required] Gets the time_created of this ShardPeerWithDedicatedInfra.
time_updated [Required] Gets the time_updated of this ShardPeerWithDedicatedInfra.

Methods

__init__(**kwargs) Initializes a new ShardPeerWithDedicatedInfra object with values from keyword arguments.
PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a ShardPeerWithDedicatedInfra. This constant has a value of “MAXIMUM_AVAILABILITY”

PROTECTION_MODE_MAXIMUM_PERFORMANCE = 'MAXIMUM_PERFORMANCE'

A constant which can be used with the protection_mode property of a ShardPeerWithDedicatedInfra. This constant has a value of “MAXIMUM_PERFORMANCE”

STATUS_CONFIGURED = 'CONFIGURED'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “CONFIGURED”

STATUS_CREATED = 'CREATED'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “CREATED”

STATUS_CREATING = 'CREATING'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “CREATING”

STATUS_DELETED = 'DELETED'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “DELETED”

STATUS_DELETING = 'DELETING'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “DELETING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “FAILED”

STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “NEEDS_ATTENTION”

STATUS_READY_FOR_CONFIGURATION = 'READY_FOR_CONFIGURATION'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “READY_FOR_CONFIGURATION”

STATUS_UPDATING = 'UPDATING'

A constant which can be used with the status property of a ShardPeerWithDedicatedInfra. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new ShardPeerWithDedicatedInfra object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cloud_autonomous_vm_cluster_id (str) – The value to assign to the cloud_autonomous_vm_cluster_id property of this ShardPeerWithDedicatedInfra.
  • shard_group (str) – The value to assign to the shard_group property of this ShardPeerWithDedicatedInfra.
  • status (str) – The value to assign to the status property of this ShardPeerWithDedicatedInfra. Allowed values for this property are: “FAILED”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, “CREATED”, “READY_FOR_CONFIGURATION”, “CONFIGURED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • supporting_resource_id (str) – The value to assign to the supporting_resource_id property of this ShardPeerWithDedicatedInfra.
  • container_database_id (str) – The value to assign to the container_database_id property of this ShardPeerWithDedicatedInfra.
  • time_created (datetime) – The value to assign to the time_created property of this ShardPeerWithDedicatedInfra.
  • time_updated (datetime) – The value to assign to the time_updated property of this ShardPeerWithDedicatedInfra.
  • protection_mode (str) – The value to assign to the protection_mode property of this ShardPeerWithDedicatedInfra. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • fast_start_fail_over_lag_limit_in_seconds (int) – The value to assign to the fast_start_fail_over_lag_limit_in_seconds property of this ShardPeerWithDedicatedInfra.
  • is_automatic_failover_enabled (bool) – The value to assign to the is_automatic_failover_enabled property of this ShardPeerWithDedicatedInfra.
  • standby_maintenance_buffer_in_days (int) – The value to assign to the standby_maintenance_buffer_in_days property of this ShardPeerWithDedicatedInfra.
  • metadata (oci.distributed_database.models.DistributedAutonomousDbMetadata) – The value to assign to the metadata property of this ShardPeerWithDedicatedInfra.
cloud_autonomous_vm_cluster_id

[Required] Gets the cloud_autonomous_vm_cluster_id of this ShardPeerWithDedicatedInfra. The OCID of the cloudAutonomousVmCluster.

Returns:The cloud_autonomous_vm_cluster_id of this ShardPeerWithDedicatedInfra.
Return type:str
container_database_id

Gets the container_database_id of this ShardPeerWithDedicatedInfra. the identifier of the container database for underlying supporting resource.

Returns:The container_database_id of this ShardPeerWithDedicatedInfra.
Return type:str
fast_start_fail_over_lag_limit_in_seconds

Gets the fast_start_fail_over_lag_limit_in_seconds of this ShardPeerWithDedicatedInfra. The lag time for my preference based on data loss tolerance in seconds.

Returns:The fast_start_fail_over_lag_limit_in_seconds of this ShardPeerWithDedicatedInfra.
Return type:int
is_automatic_failover_enabled

Gets the is_automatic_failover_enabled of this ShardPeerWithDedicatedInfra. Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association

Returns:The is_automatic_failover_enabled of this ShardPeerWithDedicatedInfra.
Return type:bool
metadata

Gets the metadata of this ShardPeerWithDedicatedInfra.

Returns:The metadata of this ShardPeerWithDedicatedInfra.
Return type:oci.distributed_database.models.DistributedAutonomousDbMetadata
protection_mode

Gets the protection_mode of this ShardPeerWithDedicatedInfra. The protectionMode for the shard peer.

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The protection_mode of this ShardPeerWithDedicatedInfra.
Return type:str
shard_group

[Required] Gets the shard_group of this ShardPeerWithDedicatedInfra. The name of the shardGroup for the peer.

Returns:The shard_group of this ShardPeerWithDedicatedInfra.
Return type:str
standby_maintenance_buffer_in_days

Gets the standby_maintenance_buffer_in_days of this ShardPeerWithDedicatedInfra. The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before schedlued maintenance of the primary database.

Returns:The standby_maintenance_buffer_in_days of this ShardPeerWithDedicatedInfra.
Return type:int
status

[Required] Gets the status of this ShardPeerWithDedicatedInfra. Status of shard with dedicated infrastructure for the Globally distributed autonomous database.

Allowed values for this property are: “FAILED”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, “CREATED”, “READY_FOR_CONFIGURATION”, “CONFIGURED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this ShardPeerWithDedicatedInfra.
Return type:str
supporting_resource_id

Gets the supporting_resource_id of this ShardPeerWithDedicatedInfra. the identifier of the underlying supporting resource.

Returns:The supporting_resource_id of this ShardPeerWithDedicatedInfra.
Return type:str
time_created

[Required] Gets the time_created of this ShardPeerWithDedicatedInfra. The time the shard peer was created. An RFC3339 formatted datetime string

Returns:The time_created of this ShardPeerWithDedicatedInfra.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ShardPeerWithDedicatedInfra. The time the shard peer was last updated. An RFC3339 formatted datetime string

Returns:The time_updated of this ShardPeerWithDedicatedInfra.
Return type:datetime