ShardPeerWithExadbXs¶
-
class
oci.distributed_database.models.ShardPeerWithExadbXs(**kwargs)¶ Bases:
objectDetails of the shard peer
Attributes
STATUS_CONFIGUREDA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_CREATEDA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_CREATINGA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_DELETEDA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_DELETINGA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_FAILEDA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_NEEDS_ATTENTIONA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_READY_FOR_CONFIGURATIONA constant which can be used with the status property of a ShardPeerWithExadbXs. STATUS_UPDATINGA constant which can be used with the status property of a ShardPeerWithExadbXs. container_database_idGets the container_database_id of this ShardPeerWithExadbXs. metadataGets the metadata of this ShardPeerWithExadbXs. shard_group[Required] Gets the shard_group of this ShardPeerWithExadbXs. status[Required] Gets the status of this ShardPeerWithExadbXs. supporting_resource_idGets the supporting_resource_id of this ShardPeerWithExadbXs. time_created[Required] Gets the time_created of this ShardPeerWithExadbXs. time_updated[Required] Gets the time_updated of this ShardPeerWithExadbXs. vm_cluster_id[Required] Gets the vm_cluster_id of this ShardPeerWithExadbXs. Methods
__init__(**kwargs)Initializes a new ShardPeerWithExadbXs object with values from keyword arguments. -
STATUS_CONFIGURED= 'CONFIGURED'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “CONFIGURED”
-
STATUS_CREATED= 'CREATED'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “CREATED”
-
STATUS_CREATING= 'CREATING'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “CREATING”
-
STATUS_DELETED= 'DELETED'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “DELETED”
-
STATUS_DELETING= 'DELETING'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “DELETING”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “FAILED”
-
STATUS_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. 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 ShardPeerWithExadbXs. This constant has a value of “READY_FOR_CONFIGURATION”
-
STATUS_UPDATING= 'UPDATING'¶ A constant which can be used with the status property of a ShardPeerWithExadbXs. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new ShardPeerWithExadbXs object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this ShardPeerWithExadbXs.
- shard_group (str) – The value to assign to the shard_group property of this ShardPeerWithExadbXs.
- status (str) – The value to assign to the status property of this ShardPeerWithExadbXs. 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 ShardPeerWithExadbXs.
- container_database_id (str) – The value to assign to the container_database_id property of this ShardPeerWithExadbXs.
- time_created (datetime) – The value to assign to the time_created property of this ShardPeerWithExadbXs.
- time_updated (datetime) – The value to assign to the time_updated property of this ShardPeerWithExadbXs.
- metadata (oci.distributed_database.models.DistributedDbMetadata) – The value to assign to the metadata property of this ShardPeerWithExadbXs.
-
container_database_id¶ Gets the container_database_id of this ShardPeerWithExadbXs. the identifier of the container database for underlying supporting resource.
Returns: The container_database_id of this ShardPeerWithExadbXs. Return type: str
-
metadata¶ Gets the metadata of this ShardPeerWithExadbXs.
Returns: The metadata of this ShardPeerWithExadbXs. Return type: oci.distributed_database.models.DistributedDbMetadata
-
shard_group¶ [Required] Gets the shard_group of this ShardPeerWithExadbXs. The name of the shardGroup for the peer.
Returns: The shard_group of this ShardPeerWithExadbXs. Return type: str
-
status¶ [Required] Gets the status of this ShardPeerWithExadbXs. Status of catalog with VmCluster for the Globally ditributed 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 ShardPeerWithExadbXs. Return type: str
-
supporting_resource_id¶ Gets the supporting_resource_id of this ShardPeerWithExadbXs. the identifier of the underlying supporting resource.
Returns: The supporting_resource_id of this ShardPeerWithExadbXs. Return type: str
-
time_created¶ [Required] Gets the time_created of this ShardPeerWithExadbXs. The time the shard peer was created. An RFC3339 formatted datetime string
Returns: The time_created of this ShardPeerWithExadbXs. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this ShardPeerWithExadbXs. The time the shard peer was last updated. An RFC3339 formatted datetime string
Returns: The time_updated of this ShardPeerWithExadbXs. Return type: datetime
-