CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails

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

Bases: oci.distributed_database.models.create_distributed_autonomous_database_shard_details.CreateDistributedAutonomousDatabaseShardDetails

Globally distributed autonomous database shard with dedicated autonomous infrastructure.

Attributes

SOURCE_ADB_D str(object=’’) -> str
admin_password [Required] Gets the admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
cloud_autonomous_vm_cluster_id [Required] Gets the cloud_autonomous_vm_cluster_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
compute_count [Required] Gets the compute_count of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
data_storage_size_in_gbs [Required] Gets the data_storage_size_in_gbs of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
is_auto_scaling_enabled [Required] Gets the is_auto_scaling_enabled of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
kms_key_id Gets the kms_key_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
kms_key_version_id Gets the kms_key_version_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
peer_cloud_autonomous_vm_cluster_ids Gets the peer_cloud_autonomous_vm_cluster_ids of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
shard_space Gets the shard_space of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
source [Required] Gets the source of this CreateDistributedAutonomousDatabaseShardDetails.
vault_id Gets the vault_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.

Methods

__init__(**kwargs) Initializes a new CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails 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'
__init__(**kwargs)

Initializes a new CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. Allowed values for this property are: “ADB_D”
  • admin_password (str) – The value to assign to the admin_password property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • compute_count (float) – The value to assign to the compute_count property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • data_storage_size_in_gbs (float) – The value to assign to the data_storage_size_in_gbs property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • shard_space (str) – The value to assign to the shard_space property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • cloud_autonomous_vm_cluster_id (str) – The value to assign to the cloud_autonomous_vm_cluster_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • peer_cloud_autonomous_vm_cluster_ids (list[str]) – The value to assign to the peer_cloud_autonomous_vm_cluster_ids property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • vault_id (str) – The value to assign to the vault_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
admin_password

[Required] Gets the admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. Admin password for shard database.

Returns:The admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:str
cloud_autonomous_vm_cluster_id

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

Returns:The cloud_autonomous_vm_cluster_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:str
compute_count

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

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

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

Returns:The data_storage_size_in_gbs of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. Determines the auto-scaling mode for the shard database.

Returns:The is_auto_scaling_enabled of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:bool
kms_key_id

Gets the kms_key_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:str
kms_key_version_id

Gets the kms_key_version_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:str
peer_cloud_autonomous_vm_cluster_ids

Gets the peer_cloud_autonomous_vm_cluster_ids of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The collection of OCID of the peer cloudAutonomousExadataVMClusters.

Returns:The peer_cloud_autonomous_vm_cluster_ids of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:list[str]
shard_space

Gets the shard_space of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required.

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

[Required] Gets the source of this CreateDistributedAutonomousDatabaseShardDetails. 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”

Returns:The source of this CreateDistributedAutonomousDatabaseShardDetails.
Return type:str
vault_id

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

Returns:The vault_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Return type:str