/** * Database Service API * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). * OpenAPI spec version: 20160918 * Contact: sic_dbaas_cp_us_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * 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.
*
*/
export interface UpdateDbSystemDetails {
/**
* The new number of CPU cores to set for the DB system. Not applicable for INTEL based virtual machine DB systems. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
*/
"cpuCoreCount"?: number;
"version"?: model.PatchDetails;
/**
* 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.
*/
"sshPublicKeys"?: Array
Example: {@code {\"Department\": \"Finance\"}}
*
*/
"freeformTags"?: {
[key: string]: string;
};
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
*
*/
"definedTags"?: {
[key: string]: {
[key: string]: any;
};
};
/**
* Security Attributes for this resource. Each key is predefined and scoped to a namespace.
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
* Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}}
*
*/
"securityAttributes"?: {
[key: string]: {
[key: string]: any;
};
};
/**
* 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 {@link #listDbSystemShapes(ListDbSystemShapesRequest) listDbSystemShapes} operation.
*
*/
"shape"?: string;
/**
* The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) 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](https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm).
* **NsgIds restrictions:**
* - A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty.
*
*/
"nsgIds"?: Array