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_collection_options Gets the data_collection_options 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.
reco_storage_size_in_gbs Gets the reco_storage_size_in_gbs of this UpdateDbSystemDetails.
security_attributes Gets the security_attributes 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 (oci.database.models.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.
  • reco_storage_size_in_gbs (int) – The value to assign to the reco_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.
  • security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes 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 (oci.database.models.MaintenanceWindow) – The value to assign to the maintenance_window_details property of this UpdateDbSystemDetails.
  • data_collection_options (oci.database.models.DataCollectionOptions) – The value to assign to the data_collection_options 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 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 INTEL based virtual machine DB systems.

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

Gets the data_collection_options of this UpdateDbSystemDetails.

Returns:The data_collection_options of this UpdateDbSystemDetails.
Return type:oci.database.models.DataCollectionOptions
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:oci.database.models.MaintenanceWindow
nsg_ids

Gets the nsg_ids of this UpdateDbSystemDetails. The list of OCIDs for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

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

Gets the reco_storage_size_in_gbs of this UpdateDbSystemDetails. The size, in gigabytes, to scale the attached RECO 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 the software volume. Applies only to virtual machine DB systems.

Returns:The reco_storage_size_in_gbs of this UpdateDbSystemDetails.
Return type:int
security_attributes

Gets the security_attributes of this UpdateDbSystemDetails. Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}

Returns:The security_attributes of this UpdateDbSystemDetails.
Return type:dict(str, dict(str, object))
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:oci.database.models.PatchDetails