DistributedAutonomousDatabaseShardWithDedicatedInfra

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

Bases: oci.distributed_database.models.distributed_autonomous_database_shard.DistributedAutonomousDatabaseShard

Globally distributed autonomous database shard with dedicated autonomous infrastructure.

Attributes

SOURCE_ADB_D str(object=’’) -> str
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.
is_auto_scaling_enabled [Required] 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 DistributedAutonomousDatabaseShardWithDedicatedInfra.
name [Required] Gets the name of this DistributedAutonomousDatabaseShard.
peer_cloud_autonomous_vm_cluster_ids Gets the peer_cloud_autonomous_vm_cluster_ids of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
peer_details Gets the peer_details of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
shard_group [Required] Gets the shard_group of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
shard_space Gets the shard_space of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
source [Required] Gets the source of this DistributedAutonomousDatabaseShard.
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 DistributedAutonomousDatabaseShard.
time_updated [Required] Gets the time_updated of this DistributedAutonomousDatabaseShard.
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.
SOURCE_ADB_D = 'ADB_D'
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 ADB_D 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: “ADB_D”, ‘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.
  • 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.
  • shard_group (str) – The value to assign to the shard_group 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.
  • peer_cloud_autonomous_vm_cluster_ids (list[str]) – The value to assign to the peer_cloud_autonomous_vm_cluster_ids property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
  • shard_space (str) – The value to assign to the shard_space 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.
  • 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.
  • peer_details (list[oci.distributed_database.models.ShardPeerWithDedicatedInfra]) – The value to assign to the peer_details property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
  • metadata (oci.distributed_database.models.DistributedAutonomousDbMetadata) – The value to assign to the metadata property of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
cloud_autonomous_vm_cluster_id

[Required] Gets the cloud_autonomous_vm_cluster_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The OCID of the cloudAutonomousVmCluster.

Returns:The cloud_autonomous_vm_cluster_id of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:str
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
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
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
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.

is_auto_scaling_enabled

[Required] Gets the is_auto_scaling_enabled of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Determines the auto-scaling mode for the shard database.

Returns:The is_auto_scaling_enabled of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:bool
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
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
metadata

Gets the metadata of this DistributedAutonomousDatabaseShardWithDedicatedInfra.

Returns:The metadata of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:oci.distributed_database.models.DistributedAutonomousDbMetadata
name

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

Returns:The name of this DistributedAutonomousDatabaseShard.
Return type:str
peer_cloud_autonomous_vm_cluster_ids

Gets the peer_cloud_autonomous_vm_cluster_ids of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The collection of OCID of the peer cloudAutonomousVmClusters.

Returns:The peer_cloud_autonomous_vm_cluster_ids of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:list[str]
peer_details

Gets the peer_details of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Peer details for the shard with dedicated infrastructure.

Returns:The peer_details of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:list[oci.distributed_database.models.ShardPeerWithDedicatedInfra]
shard_group

[Required] Gets the shard_group of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The name of the shardGroup for the shard.

Returns:The shard_group of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:str
shard_space

Gets the shard_space of this DistributedAutonomousDatabaseShardWithDedicatedInfra. The shard space name for the Globally distributed autonomous database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards.

Returns:The shard_space of this DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:str
source

[Required] Gets the source of this DistributedAutonomousDatabaseShard. The source of Globally distributed autonomous database type: Use ADB_D for the Globally distributed autonomous database with autonomous dedicated cloudautonomousvmclusters.

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

Returns:The source of this DistributedAutonomousDatabaseShard.
Return type:str
status

[Required] Gets the status of this DistributedAutonomousDatabaseShardWithDedicatedInfra. Status of shard with dedicated infrastructure for the Globally distributed autonomous 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 DistributedAutonomousDatabaseShardWithDedicatedInfra.
Return type:str
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
time_created

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

Returns:The time_created of this DistributedAutonomousDatabaseShard.
Return type:datetime
time_updated

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

Returns:The time_updated of this DistributedAutonomousDatabaseShard.
Return type:datetime
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