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.

Attributes

LICENSE_MODEL_BRING_YOUR_OWN_LICENSE A constant which can be used with the license_model property of a UpdateDbSystemDetails.
LICENSE_MODEL_LICENSE_INCLUDED A constant which can be used with the license_model property of a UpdateDbSystemDetails.
backup_network_nsg_ids Gets the backup_network_nsg_ids of this UpdateDbSystemDetails.
cpu_core_count Gets the cpu_core_count of this UpdateDbSystemDetails.
data_storage_size_in_gbs Gets the data_storage_size_in_gbs of this UpdateDbSystemDetails.
defined_tags Gets the defined_tags of this UpdateDbSystemDetails.
freeform_tags Gets the freeform_tags of this UpdateDbSystemDetails.
license_model Gets the license_model of this UpdateDbSystemDetails.
maintenance_window_details Gets the maintenance_window_details of this UpdateDbSystemDetails.
nsg_ids Gets the nsg_ids of this UpdateDbSystemDetails.
shape Gets the shape of this UpdateDbSystemDetails.
ssh_public_keys Gets the ssh_public_keys of this UpdateDbSystemDetails.
version Gets the version of this UpdateDbSystemDetails.

Methods

__init__(**kwargs) Initializes a new UpdateDbSystemDetails object with values from keyword arguments.
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'

A constant which can be used with the license_model property of a UpdateDbSystemDetails. This constant has a value of “BRING_YOUR_OWN_LICENSE”

LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'

A constant which can be used with the license_model property of a UpdateDbSystemDetails. This constant has a value of “LICENSE_INCLUDED”

__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.
  • shape (str) – The value to assign to the shape 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.
  • license_model (str) – The value to assign to the license_model property of this UpdateDbSystemDetails. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”
  • maintenance_window_details (MaintenanceWindow) – The value to assign to the maintenance_window_details 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)
license_model

Gets the license_model of this UpdateDbSystemDetails. The Oracle Database license model that applies to all databases on the DB system. The default is LICENSE_INCLUDED.

Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”

Returns:The license_model of this UpdateDbSystemDetails.
Return type:str
maintenance_window_details

Gets the maintenance_window_details of this UpdateDbSystemDetails.

Returns:The maintenance_window_details of this UpdateDbSystemDetails.
Return type:MaintenanceWindow
nsg_ids

Gets the nsg_ids of this UpdateDbSystemDetails. A list of the OCIDs of the network security groups (NSGs) that this resource 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. NsgIds restrictions: - Autonomous Databases with private access require at least 1 Network Security Group (NSG). The nsgIds array cannot be empty.

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

Gets the shape of this UpdateDbSystemDetails. The shape of the DB system. The shape determines resources allocated to the DB system. - For virtual machine shapes, the number of CPU cores and memory

To get a list of shapes, use the list_db_system_shapes() operation.

Returns:The shape of this UpdateDbSystemDetails.
Return type: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