CreateShardPeerWithDedicatedInfraDetails

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

Bases: object

Details required for creation of autonomous dedicated infrastructure based shard peer.

Attributes

PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a CreateShardPeerWithDedicatedInfraDetails.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a CreateShardPeerWithDedicatedInfraDetails.
cloud_autonomous_vm_cluster_id [Required] Gets the cloud_autonomous_vm_cluster_id of this CreateShardPeerWithDedicatedInfraDetails.
fast_start_fail_over_lag_limit_in_seconds Gets the fast_start_fail_over_lag_limit_in_seconds of this CreateShardPeerWithDedicatedInfraDetails.
is_automatic_failover_enabled Gets the is_automatic_failover_enabled of this CreateShardPeerWithDedicatedInfraDetails.
protection_mode Gets the protection_mode of this CreateShardPeerWithDedicatedInfraDetails.
standby_maintenance_buffer_in_days Gets the standby_maintenance_buffer_in_days of this CreateShardPeerWithDedicatedInfraDetails.

Methods

__init__(**kwargs) Initializes a new CreateShardPeerWithDedicatedInfraDetails 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 CreateShardPeerWithDedicatedInfraDetails. 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 CreateShardPeerWithDedicatedInfraDetails. This constant has a value of “MAXIMUM_PERFORMANCE”

__init__(**kwargs)

Initializes a new CreateShardPeerWithDedicatedInfraDetails 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 CreateShardPeerWithDedicatedInfraDetails.
  • protection_mode (str) – The value to assign to the protection_mode property of this CreateShardPeerWithDedicatedInfraDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”
  • 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 CreateShardPeerWithDedicatedInfraDetails.
  • is_automatic_failover_enabled (bool) – The value to assign to the is_automatic_failover_enabled property of this CreateShardPeerWithDedicatedInfraDetails.
  • standby_maintenance_buffer_in_days (int) – The value to assign to the standby_maintenance_buffer_in_days property of this CreateShardPeerWithDedicatedInfraDetails.
cloud_autonomous_vm_cluster_id

[Required] Gets the cloud_autonomous_vm_cluster_id of this CreateShardPeerWithDedicatedInfraDetails. The OCID of the cloud Autonomous VM Cluster for the peer shard.

Returns:The cloud_autonomous_vm_cluster_id of this CreateShardPeerWithDedicatedInfraDetails.
Return type:str
fast_start_fail_over_lag_limit_in_seconds

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

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

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

Returns:The is_automatic_failover_enabled of this CreateShardPeerWithDedicatedInfraDetails.
Return type:bool
protection_mode

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

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”

Returns:The protection_mode of this CreateShardPeerWithDedicatedInfraDetails.
Return type:str
standby_maintenance_buffer_in_days

Gets the standby_maintenance_buffer_in_days of this CreateShardPeerWithDedicatedInfraDetails. 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 CreateShardPeerWithDedicatedInfraDetails.
Return type:int