ImportedPackage¶
- class oci.oda.models.ImportedPackage(**kwargs)¶
Bases:
objectAn imported/instantiated package within an instance.
Attributes:
A constant which can be used with the status property of a ImportedPackage.
A constant which can be used with the status property of a ImportedPackage.
A constant which can be used with the status property of a ImportedPackage.
[Required] Gets the current_package_id of this ImportedPackage.
Gets the defined_tags of this ImportedPackage.
[Required] Gets the display_name of this ImportedPackage.
Gets the freeform_tags of this ImportedPackage.
[Required] Gets the name of this ImportedPackage.
[Required] Gets the oda_instance_id of this ImportedPackage.
[Required] Gets the parameter_values of this ImportedPackage.
[Required] Gets the status of this ImportedPackage.
[Required] Gets the status_message of this ImportedPackage.
[Required] Gets the time_created of this ImportedPackage.
[Required] Gets the time_updated of this ImportedPackage.
[Required] Gets the version of this ImportedPackage.
Methods:
__init__(**kwargs)Initializes a new ImportedPackage object with values from keyword arguments.
- STATUS_FAILED = 'FAILED'¶
A constant which can be used with the status property of a ImportedPackage. This constant has a value of “FAILED”
- STATUS_OPERATION_PENDING = 'OPERATION_PENDING'¶
A constant which can be used with the status property of a ImportedPackage. This constant has a value of “OPERATION_PENDING”
- STATUS_READY = 'READY'¶
A constant which can be used with the status property of a ImportedPackage. This constant has a value of “READY”
- __init__(**kwargs)¶
Initializes a new ImportedPackage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
oda_instance_id (str) – The value to assign to the oda_instance_id property of this ImportedPackage.
current_package_id (str) – The value to assign to the current_package_id property of this ImportedPackage.
name (str) – The value to assign to the name property of this ImportedPackage.
display_name (str) – The value to assign to the display_name property of this ImportedPackage.
version (str) – The value to assign to the version property of this ImportedPackage.
status (str) – The value to assign to the status property of this ImportedPackage. Allowed values for this property are: “READY”, “OPERATION_PENDING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this ImportedPackage.
time_updated (datetime) – The value to assign to the time_updated property of this ImportedPackage.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ImportedPackage.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ImportedPackage.
status_message (str) – The value to assign to the status_message property of this ImportedPackage.
parameter_values (dict(str, str)) – The value to assign to the parameter_values property of this ImportedPackage.
- property current_package_id¶
[Required] Gets the current_package_id of this ImportedPackage. ID of the package.
- Returns
The current_package_id of this ImportedPackage.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ImportedPackage. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this ImportedPackage.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this ImportedPackage. Display name of the package (can change across versions).
- Returns
The display_name of this ImportedPackage.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ImportedPackage. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this ImportedPackage.
- Return type
dict(str, str)
- property name¶
[Required] Gets the name of this ImportedPackage. Stable name of the package (the same across versions).
- Returns
The name of this ImportedPackage.
- Return type
str
- property oda_instance_id¶
[Required] Gets the oda_instance_id of this ImportedPackage. ID of the host instance.
- Returns
The oda_instance_id of this ImportedPackage.
- Return type
str
- property parameter_values¶
[Required] Gets the parameter_values of this ImportedPackage. A list of parameter values used to import the package.
- Returns
The parameter_values of this ImportedPackage.
- Return type
dict(str, str)
- property status¶
[Required] Gets the status of this ImportedPackage. Status of the imported package.
Allowed values for this property are: “READY”, “OPERATION_PENDING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this ImportedPackage.
- Return type
str
- property status_message¶
[Required] Gets the status_message of this ImportedPackage. Short message explaining the status of this imported package.
- Returns
The status_message of this ImportedPackage.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this ImportedPackage. When the imported package was created. A date-time string as described in RFC 3339, section 14.29.
- Returns
The time_created of this ImportedPackage.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this ImportedPackage. When the imported package was last updated. A date-time string as described in RFC 3339, section 14.29.
- Returns
The time_updated of this ImportedPackage.
- Return type
datetime
- property version¶
[Required] Gets the version of this ImportedPackage. version of the package.
- Returns
The version of this ImportedPackage.
- Return type
str