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:
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
A constant which can be used with the status property of a DistributedDatabaseGsm.
[Required] Gets the compute_count of this DistributedDatabaseGsm.
[Required] Gets the data_storage_size_in_gbs of this DistributedDatabaseGsm.
Gets the gsm_image_details of this DistributedDatabaseGsm.
Gets the metadata of this DistributedDatabaseGsm.
[Required] Gets the name of this DistributedDatabaseGsm.
[Required] Gets the status of this DistributedDatabaseGsm.
Gets the supporting_resource_id of this DistributedDatabaseGsm.
[Required] Gets the time_created of this DistributedDatabaseGsm.
Gets the time_ssl_certificate_expires of this DistributedDatabaseGsm.
[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.
- property 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
- property 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
- property gsm_image_details¶
Gets the gsm_image_details of this DistributedDatabaseGsm.
- Returns
The gsm_image_details of this DistributedDatabaseGsm.
- Return type
- property metadata¶
Gets the metadata of this DistributedDatabaseGsm.
- Returns
The metadata of this DistributedDatabaseGsm.
- Return type
- property name¶
[Required] Gets the name of this DistributedDatabaseGsm. Name of the Global service manager instance
- Returns
The name of this DistributedDatabaseGsm.
- Return type
str
- property status¶
[Required] Gets the status of this DistributedDatabaseGsm. Status of the gsm.
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
- property 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
- property 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
- property 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
- property 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