CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails¶
- class oci.distributed_database.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails(**kwargs)¶
Bases:
CreateDistributedAutonomousDatabaseShardDatabaseDetailsConfiguration for creating a distributed autonomous database shard using an existing ADB-D VM cluster.
Attributes:
A constant which can be used with the protection_mode property of a CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
A constant which can be used with the protection_mode property of a CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
A constant which can be used with the source property of a CreateDistributedAutonomousDatabaseShardDatabaseDetails.
Gets the admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the admin_password_secret_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the admin_password_secret_version_number of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
[Required] Gets the cloud_autonomous_vm_cluster_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
[Required] Gets the compute_count of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
[Required] Gets the data_storage_size_in_gbs of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the fast_start_fail_over_lag_limit_in_seconds of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the is_auto_scaling_enabled of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the kms_key_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the kms_key_version_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the okv_end_point_group_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the okv_key_store_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the protection_mode of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
Gets the shard_space_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
[Required] Gets the source of this CreateDistributedAutonomousDatabaseShardDatabaseDetails.
Gets the standby_maintenance_buffer_in_days of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
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.
- PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'¶
A constant which can be used with the protection_mode property of a CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. 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 CreateDistributedAutonomousDatabaseShardDatabaseDetails. This constant has a value of “ADBD_EXISTING_CLUSTER”
- __init__(**kwargs)¶
Initializes a new CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails object with values from keyword arguments. The default value of the
sourceattribute of this class isADBD_EXISTING_CLUSTERand 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: “ADBD_EXISTING_CLUSTER”
admin_password (str) – The value to assign to the admin_password property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
admin_password_secret_id (str) – The value to assign to the admin_password_secret_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
admin_password_secret_version_number (int) – The value to assign to the admin_password_secret_version_number 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_name (str) – The value to assign to the shard_space_name 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.
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.
okv_key_store_id (str) – The value to assign to the okv_key_store_id property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
okv_end_point_group_name (str) – The value to assign to the okv_end_point_group_name property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
protection_mode (str) – The value to assign to the protection_mode property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”
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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
standby_maintenance_buffer_in_days (int) – The value to assign to the standby_maintenance_buffer_in_days property of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- property admin_password¶
Gets the admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. Admin password for shard database.
- Returns
The admin_password of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property admin_password_secret_id¶
Gets the admin_password_secret_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID. This cannot be used in conjunction with adminPassword.
- Returns
The admin_password_secret_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property admin_password_secret_version_number¶
Gets the admin_password_secret_version_number of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The version of the vault secret. If no version is specified, the latest version will be used.
- Returns
The admin_password_secret_version_number of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
int
- property 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
- property 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
- property 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
- property fast_start_fail_over_lag_limit_in_seconds¶
Gets the fast_start_fail_over_lag_limit_in_seconds of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The lag time preference based on data loss tolerance in seconds.
- Returns
The fast_start_fail_over_lag_limit_in_seconds of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. 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 CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
bool
- property 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
- property 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
- property okv_end_point_group_name¶
Gets the okv_end_point_group_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The OKV endpoint name.
- Returns
The okv_end_point_group_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property okv_key_store_id¶
Gets the okv_key_store_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The OCID of the key store used to create the shard.
- Returns
The okv_key_store_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property protection_mode¶
Gets the protection_mode of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The protection mode for the shard peer.
Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”
- Returns
The protection_mode of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property shard_space_name¶
Gets the shard_space_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The shard space name for the shard database. Shard space for an existing shard cannot be changed once the shard is created. The shard space name is used when creating new shards. For user-defined sharding, every shard must have a unique shard space name. For system-defined sharding, a shard space name is not required.
- Returns
The shard_space_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
str
- property source¶
[Required] Gets the source of this CreateDistributedAutonomousDatabaseShardDatabaseDetails. 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”
- Returns
The source of this CreateDistributedAutonomousDatabaseShardDatabaseDetails.
- Return type
str
- property standby_maintenance_buffer_in_days¶
Gets the standby_maintenance_buffer_in_days of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.
- Returns
The standby_maintenance_buffer_in_days of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.
- Return type
int
- property 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