CreateAutonomousDatabaseSoftwareImageDetails¶
- class oci.database.models.CreateAutonomousDatabaseSoftwareImageDetails(**kwargs)¶
Bases:
objectParameters for creating a Autonomous AI Database Software Image
Attributes:
A constant which can be used with the image_shape_family property of a CreateAutonomousDatabaseSoftwareImageDetails.
A constant which can be used with the image_shape_family property of a CreateAutonomousDatabaseSoftwareImageDetails.
[Required] Gets the compartment_id of this CreateAutonomousDatabaseSoftwareImageDetails.
Gets the defined_tags of this CreateAutonomousDatabaseSoftwareImageDetails.
[Required] Gets the display_name of this CreateAutonomousDatabaseSoftwareImageDetails.
Gets the freeform_tags of this CreateAutonomousDatabaseSoftwareImageDetails.
[Required] Gets the image_shape_family of this CreateAutonomousDatabaseSoftwareImageDetails.
[Required] Gets the source_cdb_id of this CreateAutonomousDatabaseSoftwareImageDetails.
Methods:
__init__(**kwargs)Initializes a new CreateAutonomousDatabaseSoftwareImageDetails 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 CreateAutonomousDatabaseSoftwareImageDetails. 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 CreateAutonomousDatabaseSoftwareImageDetails. This constant has a value of “EXADATA_SHAPE”
- __init__(**kwargs)¶
Initializes a new CreateAutonomousDatabaseSoftwareImageDetails 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 CreateAutonomousDatabaseSoftwareImageDetails.
display_name (str) – The value to assign to the display_name property of this CreateAutonomousDatabaseSoftwareImageDetails.
source_cdb_id (str) – The value to assign to the source_cdb_id property of this CreateAutonomousDatabaseSoftwareImageDetails.
image_shape_family (str) – The value to assign to the image_shape_family property of this CreateAutonomousDatabaseSoftwareImageDetails. Allowed values for this property are: “EXADATA_SHAPE”, “EXACC_SHAPE”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAutonomousDatabaseSoftwareImageDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAutonomousDatabaseSoftwareImageDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateAutonomousDatabaseSoftwareImageDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateAutonomousDatabaseSoftwareImageDetails. 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 CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateAutonomousDatabaseSoftwareImageDetails. The user-friendly name for the Autonomous AI Database Software Image. The name does not have to be unique.
- Returns
The display_name of this CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateAutonomousDatabaseSoftwareImageDetails. 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 CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
dict(str, str)
- property image_shape_family¶
[Required] Gets the image_shape_family of this CreateAutonomousDatabaseSoftwareImageDetails. To what shape the image is meant for.
Allowed values for this property are: “EXADATA_SHAPE”, “EXACC_SHAPE”
- Returns
The image_shape_family of this CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
str
- property source_cdb_id¶
[Required] Gets the source_cdb_id of this CreateAutonomousDatabaseSoftwareImageDetails. The source Autonomous Container Database OCID from which to create Autonomous AI Database Software Image.
- Returns
The source_cdb_id of this CreateAutonomousDatabaseSoftwareImageDetails.
- Return type
str