UpdateDbSystemDetails

class oci.database.models.UpdateDbSystemDetails(**kwargs)

Bases: object

Describes the parameters for updating the DB system.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

__init__(**kwargs)

Initializes a new UpdateDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cpu_core_count (int) -- The value to assign to the cpu_core_count property of this UpdateDbSystemDetails.
  • version (PatchDetails) -- The value to assign to the version property of this UpdateDbSystemDetails.
  • ssh_public_keys (list[str]) -- The value to assign to the ssh_public_keys property of this UpdateDbSystemDetails.
  • data_storage_size_in_gbs (int) -- The value to assign to the data_storage_size_in_gbs property of this UpdateDbSystemDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this UpdateDbSystemDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this UpdateDbSystemDetails.
  • nsg_ids (list[str]) -- The value to assign to the nsg_ids property of this UpdateDbSystemDetails.
  • backup_network_nsg_ids (list[str]) -- The value to assign to the backup_network_nsg_ids property of this UpdateDbSystemDetails.
backup_network_nsg_ids

Gets the backup_network_nsg_ids of this UpdateDbSystemDetails. A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata DB systems.

Returns:The backup_network_nsg_ids of this UpdateDbSystemDetails.
Return type:list[str]
cpu_core_count

Gets the cpu_core_count of this UpdateDbSystemDetails. The new number of CPU cores to set for the DB system. Not applicable for virtual machine DB systems.

Returns:The cpu_core_count of this UpdateDbSystemDetails.
Return type:int
data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this UpdateDbSystemDetails. The size, in gigabytes, to scale the attached storage up to for this virtual machine DB system. This value must be greater than current storage size. Note that the resulting total storage size attached will be greater than the amount requested to allow for REDO/RECO space and software volume. Applies only to virtual machine DB systems.

Returns:The data_storage_size_in_gbs of this UpdateDbSystemDetails.
Return type:int
defined_tags

Gets the defined_tags of this UpdateDbSystemDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:The defined_tags of this UpdateDbSystemDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this UpdateDbSystemDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {"Department": "Finance"}

Returns:The freeform_tags of this UpdateDbSystemDetails.
Return type:dict(str, str)
nsg_ids

Gets the nsg_ids of this UpdateDbSystemDetails. A list of the OCIDs of the network security groups (NSGs) that this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules.

Returns:The nsg_ids of this UpdateDbSystemDetails.
Return type:list[str]
ssh_public_keys

Gets the ssh_public_keys of this UpdateDbSystemDetails. The public key portion of the key pair to use for SSH access to the DB system. Multiple public keys can be provided. The length of the combined keys cannot exceed 40,000 characters.

Returns:The ssh_public_keys of this UpdateDbSystemDetails.
Return type:list[str]
version

Gets the version of this UpdateDbSystemDetails.

Returns:The version of this UpdateDbSystemDetails.
Return type:PatchDetails