DistributedDatabaseGsm¶
-
class
oci.distributed_database.models.DistributedDatabaseGsm(**kwargs)¶ Bases:
objectDetails of global service manager(GSM also known as shard director) instances for the Globally distributed database.
Attributes
STATUS_CONFIGUREDA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_CREATEDA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_CREATINGA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_DELETEDA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_DELETINGA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_FAILEDA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_NEEDS_ATTENTIONA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_READY_FOR_CONFIGURATIONA constant which can be used with the status property of a DistributedDatabaseGsm. STATUS_UPDATINGA constant which can be used with the status property of a DistributedDatabaseGsm. compute_count[Required] Gets the compute_count of this DistributedDatabaseGsm. data_storage_size_in_gbs[Required] Gets the data_storage_size_in_gbs of this DistributedDatabaseGsm. gsm_image_detailsGets the gsm_image_details of this DistributedDatabaseGsm. metadataGets the metadata of this DistributedDatabaseGsm. name[Required] Gets the name of this DistributedDatabaseGsm. status[Required] Gets the status of this DistributedDatabaseGsm. supporting_resource_idGets the supporting_resource_id of this DistributedDatabaseGsm. time_created[Required] Gets the time_created of this DistributedDatabaseGsm. time_ssl_certificate_expiresGets the time_ssl_certificate_expires of this DistributedDatabaseGsm. time_updated[Required] Gets the time_updated of this DistributedDatabaseGsm. Methods
__init__(**kwargs)Initializes a new DistributedDatabaseGsm object with values from keyword arguments. -
STATUS_CONFIGURED= 'CONFIGURED'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “CONFIGURED”
-
STATUS_CREATED= 'CREATED'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “CREATED”
-
STATUS_CREATING= 'CREATING'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “CREATING”
-
STATUS_DELETED= 'DELETED'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “DELETED”
-
STATUS_DELETING= 'DELETING'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “DELETING”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “FAILED”
-
STATUS_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. 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 DistributedDatabaseGsm. This constant has a value of “READY_FOR_CONFIGURATION”
-
STATUS_UPDATING= 'UPDATING'¶ A constant which can be used with the status property of a DistributedDatabaseGsm. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new DistributedDatabaseGsm object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this DistributedDatabaseGsm.
- compute_count (float) – The value to assign to the compute_count property of this DistributedDatabaseGsm.
- data_storage_size_in_gbs (float) – The value to assign to the data_storage_size_in_gbs property of this DistributedDatabaseGsm.
- time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseGsm.
- time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseGsm.
- status (str) – The value to assign to the status property of this DistributedDatabaseGsm. 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’.
- time_ssl_certificate_expires (datetime) – The value to assign to the time_ssl_certificate_expires property of this DistributedDatabaseGsm.
- supporting_resource_id (str) – The value to assign to the supporting_resource_id property of this DistributedDatabaseGsm.
- gsm_image_details (oci.distributed_database.models.DistributedDbGsmImage) – The value to assign to the gsm_image_details property of this DistributedDatabaseGsm.
- metadata (oci.distributed_database.models.DistributedDbMetadata) – The value to assign to the metadata property of this DistributedDatabaseGsm.
-
compute_count¶ [Required] Gets the compute_count of this DistributedDatabaseGsm. The compute count for the Global service manager instance.
Returns: The compute_count of this DistributedDatabaseGsm. Return type: float
-
data_storage_size_in_gbs¶ [Required] Gets the data_storage_size_in_gbs of this DistributedDatabaseGsm. The data disk group size to be allocated in GBs for the Global service manager instance.
Returns: The data_storage_size_in_gbs of this DistributedDatabaseGsm. Return type: float
-
gsm_image_details¶ Gets the gsm_image_details of this DistributedDatabaseGsm.
Returns: The gsm_image_details of this DistributedDatabaseGsm. Return type: oci.distributed_database.models.DistributedDbGsmImage
-
metadata¶ Gets the metadata of this DistributedDatabaseGsm.
Returns: The metadata of this DistributedDatabaseGsm. Return type: oci.distributed_database.models.DistributedDbMetadata
-
name¶ [Required] Gets the name of this DistributedDatabaseGsm. Name of the Global service manager instance
Returns: The name of this DistributedDatabaseGsm. Return type: str
-
status¶ [Required] Gets the status of this DistributedDatabaseGsm. Status of the gsm 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 DistributedDatabaseGsm. Return type: str
-
supporting_resource_id¶ Gets the supporting_resource_id of this DistributedDatabaseGsm. the identifier of the underlying supporting resource.
Returns: The supporting_resource_id of this DistributedDatabaseGsm. Return type: str
-
time_created¶ [Required] Gets the time_created of this DistributedDatabaseGsm. The time the Global service manager instance was created. An RFC3339 formatted datetime string
Returns: The time_created of this DistributedDatabaseGsm. Return type: datetime
-
time_ssl_certificate_expires¶ Gets the time_ssl_certificate_expires of this DistributedDatabaseGsm. The time the ssl certificate associated with Global service manager expires. An RFC3339 formatted datetime string
Returns: The time_ssl_certificate_expires of this DistributedDatabaseGsm. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this DistributedDatabaseGsm. The time the Global service manager instance was last updated. An RFC3339 formatted datetime string
Returns: The time_updated of this DistributedDatabaseGsm. Return type: datetime
-