CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails¶
-
class
oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails(**kwargs)¶ Bases:
oci.distributed_database_v26.models.create_distributed_autonomous_database_shard_database_details.CreateDistributedAutonomousDatabaseShardDatabaseDetailsConfiguration for creating a distributed autonomous database shard using an existing ADB-D VM cluster.
Attributes
PROTECTION_MODE_MAXIMUM_AVAILABILITYA constant which can be used with the protection_mode property of a CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. PROTECTION_MODE_MAXIMUM_PERFORMANCEA constant which can be used with the protection_mode property of a CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. SOURCE_ADBD_EXISTING_CLUSTERstr(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. fast_start_fail_over_lag_limit_in_secondsGets the fast_start_fail_over_lag_limit_in_seconds of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. is_auto_scaling_enabledGets the is_auto_scaling_enabled of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. kms_key_idGets the kms_key_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. kms_key_version_idGets the kms_key_version_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. okv_end_point_group_nameGets the okv_end_point_group_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. okv_key_store_idGets the okv_key_store_id of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. protection_modeGets the protection_mode of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. shard_space_nameGets the shard_space_name of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. source[Required] Gets the source of this CreateDistributedAutonomousDatabaseShardDatabaseDetails. standby_maintenance_buffer_in_daysGets the standby_maintenance_buffer_in_days of this CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails. vault_idGets 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'¶
-
__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.
- 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.
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-