ShardPeerWithDedicatedInfra

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

Bases: object

Details of the shard peer

Attributes

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.
metadata Gets the metadata of this ShardPeerWithDedicatedInfra.
shard_group [Required] Gets the shard_group 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.
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.
  • 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
metadata

Gets the metadata of this ShardPeerWithDedicatedInfra.

Returns:The metadata of this ShardPeerWithDedicatedInfra.
Return type:oci.distributed_database.models.DistributedAutonomousDbMetadata
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
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