GsmDetails

class oci.globally_distributed_database.models.GsmDetails(**kwargs)

Bases: object

Details of global service manager(GSM also known as shard director) instances for sharded database.

Attributes

STATUS_CONFIGURED A constant which can be used with the status property of a GsmDetails.
STATUS_CREATED A constant which can be used with the status property of a GsmDetails.
STATUS_CREATING A constant which can be used with the status property of a GsmDetails.
STATUS_DELETED A constant which can be used with the status property of a GsmDetails.
STATUS_DELETING A constant which can be used with the status property of a GsmDetails.
STATUS_FAILED A constant which can be used with the status property of a GsmDetails.
STATUS_NEEDS_ATTENTION A constant which can be used with the status property of a GsmDetails.
STATUS_READY_FOR_CONFIGURATION A constant which can be used with the status property of a GsmDetails.
STATUS_UPDATING A constant which can be used with the status property of a GsmDetails.
compute_count [Required] Gets the compute_count of this GsmDetails.
data_storage_size_in_gbs [Required] Gets the data_storage_size_in_gbs of this GsmDetails.
metadata Gets the metadata of this GsmDetails.
name [Required] Gets the name of this GsmDetails.
status [Required] Gets the status of this GsmDetails.
supporting_resource_id Gets the supporting_resource_id of this GsmDetails.
time_created [Required] Gets the time_created of this GsmDetails.
time_ssl_certificate_expires Gets the time_ssl_certificate_expires of this GsmDetails.
time_updated [Required] Gets the time_updated of this GsmDetails.

Methods

__init__(**kwargs) Initializes a new GsmDetails object with values from keyword arguments.
STATUS_CONFIGURED = 'CONFIGURED'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “CONFIGURED”

STATUS_CREATED = 'CREATED'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “CREATED”

STATUS_CREATING = 'CREATING'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “CREATING”

STATUS_DELETED = 'DELETED'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “DELETED”

STATUS_DELETING = 'DELETING'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “DELETING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “FAILED”

STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the status property of a GsmDetails. 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 GsmDetails. This constant has a value of “READY_FOR_CONFIGURATION”

STATUS_UPDATING = 'UPDATING'

A constant which can be used with the status property of a GsmDetails. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new GsmDetails 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 GsmDetails.
  • compute_count (float) – The value to assign to the compute_count property of this GsmDetails.
  • data_storage_size_in_gbs (float) – The value to assign to the data_storage_size_in_gbs property of this GsmDetails.
  • time_created (datetime) – The value to assign to the time_created property of this GsmDetails.
  • time_updated (datetime) – The value to assign to the time_updated property of this GsmDetails.
  • time_ssl_certificate_expires (datetime) – The value to assign to the time_ssl_certificate_expires property of this GsmDetails.
  • status (str) – The value to assign to the status property of this GsmDetails. 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 GsmDetails.
  • metadata (dict(str, object)) – The value to assign to the metadata property of this GsmDetails.
compute_count

[Required] Gets the compute_count of this GsmDetails. The compute count for the GSM instance.

Returns:The compute_count of this GsmDetails.
Return type:float
data_storage_size_in_gbs

[Required] Gets the data_storage_size_in_gbs of this GsmDetails. The data disk group size to be allocated in GBs.

Returns:The data_storage_size_in_gbs of this GsmDetails.
Return type:float
metadata

Gets the metadata of this GsmDetails. Additional metadata related to GSM’s underlying supporting resource.

Returns:The metadata of this GsmDetails.
Return type:dict(str, object)
name

[Required] Gets the name of this GsmDetails. Name of the GSM instance

Returns:The name of this GsmDetails.
Return type:str
status

[Required] Gets the status of this GsmDetails. Status of shard or catalog or gsm for the sharded 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 GsmDetails.
Return type:str
supporting_resource_id

Gets the supporting_resource_id of this GsmDetails. Identifier of the underlying supporting resource.

Returns:The supporting_resource_id of this GsmDetails.
Return type:str
time_created

[Required] Gets the time_created of this GsmDetails. The time the GSM instance was created. An RFC3339 formatted datetime string

Returns:The time_created of this GsmDetails.
Return type:datetime
time_ssl_certificate_expires

Gets the time_ssl_certificate_expires of this GsmDetails. The time the ssl certificate associated with GSM expires. An RFC3339 formatted datetime string

Returns:The time_ssl_certificate_expires of this GsmDetails.
Return type:datetime
time_updated

[Required] Gets the time_updated of this GsmDetails. The time the GSM instance was last updated. An RFC3339 formatted datetime string

Returns:The time_updated of this GsmDetails.
Return type:datetime