DistributedAutonomousDatabaseShardWithDedicatedInfra

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

Bases: DistributedAutonomousDatabaseShardDatabase

Details of a distributed autonomous database shard on dedicated infrastructure.

Attributes:

PROTECTION_MODE_MAXIMUM_AVAILABILITY

A constant which can be used with the protection_mode property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

PROTECTION_MODE_MAXIMUM_PERFORMANCE

A constant which can be used with the protection_mode property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

SOURCE_ADBD_EXISTING_CLUSTER

A constant which can be used with the source property of a DistributedAutonomousDatabaseShardDatabase.

STATUS_CONFIGURED

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_CREATED

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_CREATING

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_DELETED

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_DELETING

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_FAILED

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_NEEDS_ATTENTION

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_READY_FOR_CONFIGURATION

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

STATUS_UPDATING

A constant which can be used with the status property of a DistributedAutonomousDatabaseShardWithDedicatedInfra.

cloud_autonomous_vm_cluster_id

[Required] Gets the cloud_autonomous_vm_cluster_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

compute_count

[Required] Gets the compute_count of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

container_database_id

Gets the container_database_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

data_storage_size_in_gbs

[Required] Gets the data_storage_size_in_gbs of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

fast_start_fail_over_lag_limit_in_seconds

Gets the fast_start_fail_over_lag_limit_in_seconds of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

is_auto_scaling_enabled

Gets the is_auto_scaling_enabled of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

kms_key_id

Gets the kms_key_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

kms_key_version_id

Gets the kms_key_version_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

metadata

Gets the metadata of this DistributedAutonomousDatabaseShardDatabase.

name

[Required] Gets the name of this DistributedAutonomousDatabaseShardDatabase.

okv_end_point_group_name

Gets the okv_end_point_group_name of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

okv_key_store_id

Gets the okv_key_store_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

protection_mode

Gets the protection_mode of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

source

[Required] Gets the source of this DistributedAutonomousDatabaseShardDatabase.

standby_maintenance_buffer_in_days

Gets the standby_maintenance_buffer_in_days of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

status

[Required] Gets the status of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

supporting_resource_id

Gets the supporting_resource_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

time_created

[Required] Gets the time_created of this DistributedAutonomousDatabaseShardDatabase.

time_updated

[Required] Gets the time_updated of this DistributedAutonomousDatabaseShardDatabase.

vault_id

Gets the vault_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Methods:

__init__(**kwargs)

Initializes a new DistributedAutonomousDatabaseShardWithDedicatedInfra object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a DistributedAutonomousDatabaseShardWithDedicatedInfra. This constant has a value of “MAXIMUM_AVAILABILITY”

PROTECTION_MODE_MAXIMUM_PERFORMANCE = 'MAXIMUM_PERFORMANCE'

A constant which can be used with the protection_mode property of a DistributedAutonomousDatabaseShardWithDedicatedInfra. This constant has a value of “MAXIMUM_PERFORMANCE”

SOURCE_ADBD_EXISTING_CLUSTER = 'ADBD_EXISTING_CLUSTER'

A constant which can be used with the source property of a DistributedAutonomousDatabaseShardDatabase. This constant has a value of “ADBD_EXISTING_CLUSTER”

STATUS_CONFIGURED = 'CONFIGURED'

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

STATUS_CREATED = 'CREATED'

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

STATUS_CREATING = 'CREATING'

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

STATUS_DELETED = 'DELETED'

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

STATUS_DELETING = 'DELETING'

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

STATUS_FAILED = 'FAILED'

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

STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

STATUS_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new DistributedAutonomousDatabaseShardWithDedicatedInfra object with values from keyword arguments. The default value of the source attribute of this class is ADBD_EXISTING_CLUSTER and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • source (str) – The value to assign to the source property of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Allowed values for this property are: “ADBD_EXISTING_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • name (str) – The value to assign to the name property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • time_created (datetime) – The value to assign to the time_created property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • time_updated (datetime) – The value to assign to the time_updated property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • metadata (oci.distributed_database.models.DistributedAutonomousDbMetadata) – The value to assign to the metadata property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • compute_count (float) – The value to assign to the compute_count property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • data_storage_size_in_gbs (float) – The value to assign to the data_storage_size_in_gbs property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • cloud_autonomous_vm_cluster_id (str) – The value to assign to the cloud_autonomous_vm_cluster_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • vault_id (str) – The value to assign to the vault_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • kms_key_id (str) – The value to assign to the kms_key_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • okv_key_store_id (str) – The value to assign to the okv_key_store_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • okv_end_point_group_name (str) – The value to assign to the okv_end_point_group_name property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • protection_mode (str) – The value to assign to the protection_mode property of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • fast_start_fail_over_lag_limit_in_seconds (int) – The value to assign to the fast_start_fail_over_lag_limit_in_seconds property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • standby_maintenance_buffer_in_days (int) – The value to assign to the standby_maintenance_buffer_in_days property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • status (str) – The value to assign to the status property of this DistributedAutonomousDatabaseShardWithDedicatedInfra. 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 DistributedAutonomousDatabaseShardWithDedicatedInfra.

  • container_database_id (str) – The value to assign to the container_database_id property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

property cloud_autonomous_vm_cluster_id

[Required] Gets the cloud_autonomous_vm_cluster_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the cloud Autonomous Exadata VM Cluster.

Returns

The cloud_autonomous_vm_cluster_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property compute_count

[Required] Gets the compute_count of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The compute count for the shard database. It has to be in multiples of 2.

Returns

The compute_count of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

float

property container_database_id

Gets the container_database_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. the identifier of the container database for underlying supporting resource.

Returns

The container_database_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property data_storage_size_in_gbs

[Required] Gets the data_storage_size_in_gbs of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The data disk group size to be allocated in GBs for the shard database.

Returns

The data_storage_size_in_gbs of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

float

property fast_start_fail_over_lag_limit_in_seconds

Gets the fast_start_fail_over_lag_limit_in_seconds of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The lag time preference based on data loss tolerance in seconds.

Returns

The fast_start_fail_over_lag_limit_in_seconds of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

int

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property is_auto_scaling_enabled

Gets the is_auto_scaling_enabled of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Indicates if vertical auto scaling is enabled for the Autonomous AI Database CPU core count. The default value is FALSE.

Returns

The is_auto_scaling_enabled of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

bool

property kms_key_id

Gets the kms_key_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns

The kms_key_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property kms_key_version_id

Gets the kms_key_version_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.

Returns

The kms_key_version_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property metadata

Gets the metadata of this DistributedAutonomousDatabaseShardDatabase.

Returns

The metadata of this DistributedAutonomousDatabaseShardDatabase.

Return type

oci.distributed_database.models.DistributedAutonomousDbMetadata

property name

[Required] Gets the name of this DistributedAutonomousDatabaseShardDatabase. Name of the shard.

Returns

The name of this DistributedAutonomousDatabaseShardDatabase.

Return type

str

property okv_end_point_group_name

Gets the okv_end_point_group_name of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OKV endpoint name.

Returns

The okv_end_point_group_name of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property okv_key_store_id

Gets the okv_key_store_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the key store used to create the shard.

Returns

The okv_key_store_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property protection_mode

Gets the protection_mode of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The protection mode for the shard peer.

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The protection_mode of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property source

[Required] Gets the source of this DistributedAutonomousDatabaseShardDatabase. The source of the Globally distributed autonomous database type. Use ADBD_EXISTING_CLUSTER for an autonomous database on Dedicated Infrastructure that uses a pre-existing cluster.

Allowed values for this property are: “ADBD_EXISTING_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The source of this DistributedAutonomousDatabaseShardDatabase.

Return type

str

property standby_maintenance_buffer_in_days

Gets the standby_maintenance_buffer_in_days of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.

Returns

The standby_maintenance_buffer_in_days of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

int

property status

[Required] Gets the status of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Status of the distributed autonomous database shard.

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 DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property supporting_resource_id

Gets the supporting_resource_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. the identifier of the underlying supporting resource.

Returns

The supporting_resource_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str

property time_created

[Required] Gets the time_created of this DistributedAutonomousDatabaseShardDatabase. The time the shard was created. An RFC3339 formatted datetime string.

Returns

The time_created of this DistributedAutonomousDatabaseShardDatabase.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this DistributedAutonomousDatabaseShardDatabase. The time the shard was last updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this DistributedAutonomousDatabaseShardDatabase.

Return type

datetime

property vault_id

Gets the vault_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the Oracle Cloud Infrastructure vault. This parameter and kmsKeyId are required for Customer Managed Keys.

Returns

The vault_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Return type

str