update_autonomous_database
async
¶
update_autonomous_database(
autonomous_database_id: ResourceIdOrArn,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
admin_password: Optional[SensitiveString] = None,
compute_count: Optional[float] = None,
cpu_core_count: Optional[int] = None,
data_storage_size_in_t_bs: Optional[int] = None,
data_storage_size_in_g_bs: Optional[int] = None,
display_name: Optional[ResourceDisplayName] = None,
db_name: Optional[str] = None,
db_version: Optional[str] = None,
db_workload: Optional[DbWorkload] = None,
db_tools_details: Optional[DatabaseToolList] = None,
database_edition: Optional[DatabaseEdition] = None,
license_model: Optional[LicenseModel] = None,
is_auto_scaling_enabled: Optional[bool] = None,
is_auto_scaling_for_storage_enabled: Optional[bool] = None,
is_backup_retention_locked: Optional[bool] = None,
is_local_data_guard_enabled: Optional[bool] = None,
is_mtls_connection_required: Optional[bool] = None,
is_refreshable_clone: Optional[bool] = None,
is_disconnect_peer: Optional[bool] = None,
backup_retention_period_in_days: Optional[int] = None,
byol_compute_count_limit: Optional[float] = None,
local_adg_auto_failover_max_data_loss_limit: Optional[int] = None,
autonomous_maintenance_schedule_type: Optional[
AutonomousMaintenanceScheduleType
] = None,
customer_contacts_to_send_to_oci: Optional[CustomerContacts] = None,
scheduled_operations: Optional[ScheduledOperationDetailsList] = None,
long_term_backup_schedule: Optional[LongTermBackupSchedule] = None,
open_mode: Optional[OpenMode] = None,
permission_level: Optional[PermissionLevel] = None,
refreshable_mode: Optional[RefreshableMode] = None,
private_endpoint_ip: Optional[str] = None,
private_endpoint_label: Optional[str] = None,
peer_db_id: Optional[ResourceIdOrArn] = None,
resource_pool_leader_id: Optional[ResourceIdOrArn] = None,
resource_pool_summary: Optional[ResourcePoolSummary] = None,
standby_allowlisted_ips_source: Optional[StandbyAllowlistedIpsSource] = None,
standby_allowlisted_ips: Optional[StringList] = None,
allowlisted_ips: Optional[StringList] = None,
auto_refresh_frequency_in_seconds: Optional[int] = None,
auto_refresh_point_lag_in_seconds: Optional[int] = None,
time_of_auto_refresh_start: Optional[datetime] = None,
encryption_key_provider: Optional[EncryptionKeyProviderInput] = None,
encryption_key_configuration: Optional[EncryptionKeyConfigurationInput] = None,
admin_password_source: Optional[AdminPasswordSource] = None,
admin_password_source_configuration: Optional[
AdminPasswordSourceConfigurationInput
] = None,
) -> UpdateAutonomousDatabaseOutput
Updates the properties of an Autonomous Database.
Parameters:
-
autonomous_database_id(ResourceIdOrArn) –The unique identifier of the Autonomous Database to update.
-
admin_password(Optional[SensitiveString], default:None) –The new password for the
ADMINuser of the Autonomous Database. -
compute_count(Optional[float], default:None) –The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.
-
cpu_core_count(Optional[int], default:None) –The number of CPU cores to allocate to the Autonomous Database.
-
data_storage_size_in_t_bs(Optional[int], default:None) –The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.
-
data_storage_size_in_g_bs(Optional[int], default:None) –The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.
-
display_name(Optional[ResourceDisplayName], default:None) –The new user-friendly name for the Autonomous Database.
-
db_name(Optional[str], default:None) –The new name of the Autonomous Database.
-
db_version(Optional[str], default:None) –The Oracle Database software version to use for the Autonomous Database.
-
db_workload(Optional[DbWorkload], default:None) –The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
-
db_tools_details(Optional[DatabaseToolList], default:None) –The list of database management tools to enable for the Autonomous Database.
-
database_edition(Optional[DatabaseEdition], default:None) –The Oracle Database edition to apply to the Autonomous Database.
-
license_model(Optional[LicenseModel], default:None) –The Oracle license model to apply to the Autonomous Database.
-
is_auto_scaling_enabled(Optional[bool], default:None) –Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.
-
is_auto_scaling_for_storage_enabled(Optional[bool], default:None) –Specifies whether to enable automatic scaling of the storage for the Autonomous Database.
-
is_backup_retention_locked(Optional[bool], default:None) –Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.
-
is_local_data_guard_enabled(Optional[bool], default:None) –Specifies whether to enable local Oracle Data Guard for the Autonomous Database.
-
is_mtls_connection_required(Optional[bool], default:None) –Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.
-
is_refreshable_clone(Optional[bool], default:None) –Specifies whether the Autonomous Database is a refreshable clone.
-
is_disconnect_peer(Optional[bool], default:None) –Specifies whether to disconnect the Autonomous Database from its peer database.
-
backup_retention_period_in_days(Optional[int], default:None) –The retention period, in days, for automatic backups of the Autonomous Database.
-
byol_compute_count_limit(Optional[float], default:None) –The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.
-
local_adg_auto_failover_max_data_loss_limit(Optional[int], default:None) –The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.
-
autonomous_maintenance_schedule_type(Optional[AutonomousMaintenanceScheduleType], default:None) –The maintenance schedule type for the Autonomous Database.
-
customer_contacts_to_send_to_oci(Optional[CustomerContacts], default:None) –The list of customer contacts to receive operational notifications from OCI for the Autonomous Database.
-
scheduled_operations(Optional[ScheduledOperationDetailsList], default:None) –The list of scheduled start and stop times for the Autonomous Database.
-
long_term_backup_schedule(Optional[LongTermBackupSchedule], default:None) –The long-term backup schedule for the Autonomous Database.
-
open_mode(Optional[OpenMode], default:None) –The mode in which to open the Autonomous Database, either read-only or read/write.
-
permission_level(Optional[PermissionLevel], default:None) –The permission level of the Autonomous Database.
-
refreshable_mode(Optional[RefreshableMode], default:None) –The refresh mode of the refreshable clone Autonomous Database.
-
private_endpoint_ip(Optional[str], default:None) –The private endpoint IP address for the Autonomous Database.
-
private_endpoint_label(Optional[str], default:None) –The private endpoint label for the Autonomous Database.
-
peer_db_id(Optional[ResourceIdOrArn], default:None) –The unique identifier of the peer Autonomous Database.
-
resource_pool_leader_id(Optional[ResourceIdOrArn], default:None) –The unique identifier of the resource pool leader Autonomous Database.
-
resource_pool_summary(Optional[ResourcePoolSummary], default:None) –The configuration of the resource pool for the Autonomous Database.
-
standby_allowlisted_ips_source(Optional[StandbyAllowlistedIpsSource], default:None) –The source of the allowlisted IP addresses for the standby Autonomous Database.
-
standby_allowlisted_ips(Optional[StringList], default:None) –The list of IP addresses that are allowed to access the standby Autonomous Database.
-
allowlisted_ips(Optional[StringList], default:None) –The list of IP addresses that are allowed to access the Autonomous Database.
-
auto_refresh_frequency_in_seconds(Optional[int], default:None) –The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.
-
auto_refresh_point_lag_in_seconds(Optional[int], default:None) –The time lag, in seconds, between the refreshable clone and its source Autonomous Database.
-
time_of_auto_refresh_start(Optional[datetime], default:None) –The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.
-
encryption_key_provider(Optional[EncryptionKeyProviderInput], default:None) –The provider of the encryption key to use for the Autonomous Database.
-
encryption_key_configuration(Optional[EncryptionKeyConfigurationInput], default:None) –The configuration of the encryption key to use for the Autonomous Database.
-
admin_password_source(Optional[AdminPasswordSource], default:None) –The source of the admin password for the Autonomous Database. When set to
CUSTOMER_MANAGED_AWS_SECRET, the admin password is retrieved from an Amazon Web Services Secrets Manager secret. -
admin_password_source_configuration(Optional[AdminPasswordSourceConfigurationInput], default:None) –The configuration of the admin password source for the Autonomous Database.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
ConflictException–Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/async_odb.py
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 | |