CreateDatabaseSoftwareImageDetails¶
-
class
oci.database.models.
CreateDatabaseSoftwareImageDetails
(**kwargs)¶ Bases:
object
Parameters for creating a database software image in the specified compartment.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes
IMAGE_SHAPE_FAMILY_EXACC_SHAPE
A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. IMAGE_SHAPE_FAMILY_EXADATA_SHAPE
A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE
A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. IMAGE_SHAPE_FAMILY_VM_BM_SHAPE
A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. IMAGE_TYPE_DATABASE_IMAGE
A constant which can be used with the image_type property of a CreateDatabaseSoftwareImageDetails. IMAGE_TYPE_GRID_IMAGE
A constant which can be used with the image_type property of a CreateDatabaseSoftwareImageDetails. compartment_id
[Required] Gets the compartment_id of this CreateDatabaseSoftwareImageDetails. database_software_image_one_off_patches
Gets the database_software_image_one_off_patches of this CreateDatabaseSoftwareImageDetails. database_version
Gets the database_version of this CreateDatabaseSoftwareImageDetails. defined_tags
Gets the defined_tags of this CreateDatabaseSoftwareImageDetails. display_name
[Required] Gets the display_name of this CreateDatabaseSoftwareImageDetails. freeform_tags
Gets the freeform_tags of this CreateDatabaseSoftwareImageDetails. image_shape_family
Gets the image_shape_family of this CreateDatabaseSoftwareImageDetails. image_type
Gets the image_type of this CreateDatabaseSoftwareImageDetails. ls_inventory
Gets the ls_inventory of this CreateDatabaseSoftwareImageDetails. patch_set
Gets the patch_set of this CreateDatabaseSoftwareImageDetails. source_db_home_id
Gets the source_db_home_id of this CreateDatabaseSoftwareImageDetails. Methods
__init__
(**kwargs)Initializes a new CreateDatabaseSoftwareImageDetails object with values from keyword arguments. -
IMAGE_SHAPE_FAMILY_EXACC_SHAPE
= 'EXACC_SHAPE'¶ A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “EXACC_SHAPE”
-
IMAGE_SHAPE_FAMILY_EXADATA_SHAPE
= 'EXADATA_SHAPE'¶ A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “EXADATA_SHAPE”
-
IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE
= 'EXADBXS_SHAPE'¶ A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “EXADBXS_SHAPE”
-
IMAGE_SHAPE_FAMILY_VM_BM_SHAPE
= 'VM_BM_SHAPE'¶ A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “VM_BM_SHAPE”
-
IMAGE_TYPE_DATABASE_IMAGE
= 'DATABASE_IMAGE'¶ A constant which can be used with the image_type property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “DATABASE_IMAGE”
-
IMAGE_TYPE_GRID_IMAGE
= 'GRID_IMAGE'¶ A constant which can be used with the image_type property of a CreateDatabaseSoftwareImageDetails. This constant has a value of “GRID_IMAGE”
-
__init__
(**kwargs)¶ Initializes a new CreateDatabaseSoftwareImageDetails 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 CreateDatabaseSoftwareImageDetails.
- database_version (str) – The value to assign to the database_version property of this CreateDatabaseSoftwareImageDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDatabaseSoftwareImageDetails.
- image_shape_family (str) – The value to assign to the image_shape_family property of this CreateDatabaseSoftwareImageDetails. Allowed values for this property are: “VM_BM_SHAPE”, “EXADATA_SHAPE”, “EXACC_SHAPE”, “EXADBXS_SHAPE”
- image_type (str) – The value to assign to the image_type property of this CreateDatabaseSoftwareImageDetails. Allowed values for this property are: “GRID_IMAGE”, “DATABASE_IMAGE”
- patch_set (str) – The value to assign to the patch_set property of this CreateDatabaseSoftwareImageDetails.
- database_software_image_one_off_patches (list[str]) – The value to assign to the database_software_image_one_off_patches property of this CreateDatabaseSoftwareImageDetails.
- ls_inventory (str) – The value to assign to the ls_inventory property of this CreateDatabaseSoftwareImageDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseSoftwareImageDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseSoftwareImageDetails.
- source_db_home_id (str) – The value to assign to the source_db_home_id property of this CreateDatabaseSoftwareImageDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateDatabaseSoftwareImageDetails. The OCID of the compartment the database software image belongs in.
Returns: The compartment_id of this CreateDatabaseSoftwareImageDetails. Return type: str
-
database_software_image_one_off_patches
¶ Gets the database_software_image_one_off_patches of this CreateDatabaseSoftwareImageDetails. List of one-off patches for Database Homes.
Returns: The database_software_image_one_off_patches of this CreateDatabaseSoftwareImageDetails. Return type: list[str]
-
database_version
¶ Gets the database_version of this CreateDatabaseSoftwareImageDetails. The database version with which the database software image is to be built.
Returns: The database_version of this CreateDatabaseSoftwareImageDetails. Return type: str
Gets the defined_tags of this CreateDatabaseSoftwareImageDetails. 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 CreateDatabaseSoftwareImageDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this CreateDatabaseSoftwareImageDetails. The user-friendly name for the database software image. The name does not have to be unique.
Returns: The display_name of this CreateDatabaseSoftwareImageDetails. Return type: str
Gets the freeform_tags of this CreateDatabaseSoftwareImageDetails. 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 CreateDatabaseSoftwareImageDetails. Return type: dict(str, str)
-
image_shape_family
¶ Gets the image_shape_family of this CreateDatabaseSoftwareImageDetails. To what shape the image is meant for.
Allowed values for this property are: “VM_BM_SHAPE”, “EXADATA_SHAPE”, “EXACC_SHAPE”, “EXADBXS_SHAPE”
Returns: The image_shape_family of this CreateDatabaseSoftwareImageDetails. Return type: str
-
image_type
¶ Gets the image_type of this CreateDatabaseSoftwareImageDetails. The type of software image. Can be grid or database.
Allowed values for this property are: “GRID_IMAGE”, “DATABASE_IMAGE”
Returns: The image_type of this CreateDatabaseSoftwareImageDetails. Return type: str
-
ls_inventory
¶ Gets the ls_inventory of this CreateDatabaseSoftwareImageDetails. The output from the OPatch lsInventory command, which is passed as a string.
Returns: The ls_inventory of this CreateDatabaseSoftwareImageDetails. Return type: str
-
patch_set
¶ Gets the patch_set of this CreateDatabaseSoftwareImageDetails. The PSU or PBP or Release Updates. To get a list of supported versions, use the
list_db_versions()
operation.Returns: The patch_set of this CreateDatabaseSoftwareImageDetails. Return type: str
-