CreateOneoffPatchDetails¶
- class oci.database.models.CreateOneoffPatchDetails(**kwargs)¶
Bases:
objectData to create the one-off patch for the specificed database version.
Methods:
__init__(**kwargs)Initializes a new CreateOneoffPatchDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateOneoffPatchDetails.
[Required] Gets the db_version of this CreateOneoffPatchDetails.
Gets the defined_tags of this CreateOneoffPatchDetails.
[Required] Gets the display_name of this CreateOneoffPatchDetails.
Gets the freeform_tags of this CreateOneoffPatchDetails.
Gets the one_off_patches of this CreateOneoffPatchDetails.
[Required] Gets the release_update of this CreateOneoffPatchDetails.
- __init__(**kwargs)¶
Initializes a new CreateOneoffPatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateOneoffPatchDetails.
display_name (str) – The value to assign to the display_name property of this CreateOneoffPatchDetails.
db_version (str) – The value to assign to the db_version property of this CreateOneoffPatchDetails.
release_update (str) – The value to assign to the release_update property of this CreateOneoffPatchDetails.
one_off_patches (list[str]) – The value to assign to the one_off_patches property of this CreateOneoffPatchDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOneoffPatchDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOneoffPatchDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateOneoffPatchDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateOneoffPatchDetails.
- Return type
str
- property db_version¶
[Required] Gets the db_version of this CreateOneoffPatchDetails. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
- Returns
The db_version of this CreateOneoffPatchDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateOneoffPatchDetails. 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 CreateOneoffPatchDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateOneoffPatchDetails. One-off patch name.
- Returns
The display_name of this CreateOneoffPatchDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateOneoffPatchDetails. 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 CreateOneoffPatchDetails.
- Return type
dict(str, str)
- property one_off_patches¶
Gets the one_off_patches of this CreateOneoffPatchDetails. List of one-off patches for Database Homes.
- Returns
The one_off_patches of this CreateOneoffPatchDetails.
- Return type
list[str]
- property release_update¶
[Required] Gets the release_update of this CreateOneoffPatchDetails. The PSU or PBP or Release Updates. To get a list of supported versions, use the
list_db_versions()operation.- Returns
The release_update of this CreateOneoffPatchDetails.
- Return type
str