ApplianceImageSummary¶
- class oci.cloud_bridge.models.ApplianceImageSummary(**kwargs)¶
Bases:
objectDescription of the ApplianceImage.
Attributes:
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
[Required] Gets the checksum of this ApplianceImageSummary.
[Required] Gets the display_name of this ApplianceImageSummary.
[Required] Gets the download_url of this ApplianceImageSummary.
[Required] Gets the file_name of this ApplianceImageSummary.
[Required] Gets the format of this ApplianceImageSummary.
[Required] Gets the id of this ApplianceImageSummary.
Gets the lifecycle_state of this ApplianceImageSummary.
[Required] Gets the platform of this ApplianceImageSummary.
[Required] Gets the size_in_mbs of this ApplianceImageSummary.
[Required] Gets the time_created of this ApplianceImageSummary.
[Required] Gets the time_updated of this ApplianceImageSummary.
[Required] Gets the version of this ApplianceImageSummary.
Methods:
__init__(**kwargs)Initializes a new ApplianceImageSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a ApplianceImageSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new ApplianceImageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this ApplianceImageSummary.
file_name (str) – The value to assign to the file_name property of this ApplianceImageSummary.
display_name (str) – The value to assign to the display_name property of this ApplianceImageSummary.
version (str) – The value to assign to the version property of this ApplianceImageSummary.
size_in_mbs (str) – The value to assign to the size_in_mbs property of this ApplianceImageSummary.
checksum (str) – The value to assign to the checksum property of this ApplianceImageSummary.
platform (str) – The value to assign to the platform property of this ApplianceImageSummary.
format (str) – The value to assign to the format property of this ApplianceImageSummary.
time_created (datetime) – The value to assign to the time_created property of this ApplianceImageSummary.
time_updated (datetime) – The value to assign to the time_updated property of this ApplianceImageSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ApplianceImageSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
download_url (str) – The value to assign to the download_url property of this ApplianceImageSummary.
- property checksum¶
[Required] Gets the checksum of this ApplianceImageSummary. The checksum of the image file.
- Returns
The checksum of this ApplianceImageSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this ApplianceImageSummary. The name of the image to be displayed.
- Returns
The display_name of this ApplianceImageSummary.
- Return type
str
- property download_url¶
[Required] Gets the download_url of this ApplianceImageSummary. The URL from which the appliance image can be downloaded.
- Returns
The download_url of this ApplianceImageSummary.
- Return type
str
- property file_name¶
[Required] Gets the file_name of this ApplianceImageSummary. The name of the appliance Image file.
- Returns
The file_name of this ApplianceImageSummary.
- Return type
str
- property format¶
[Required] Gets the format of this ApplianceImageSummary. The file format of the image file.
- Returns
The format of this ApplianceImageSummary.
- Return type
str
- property id¶
[Required] Gets the id of this ApplianceImageSummary. Unique identifier that is immutable on creation.
- Returns
The id of this ApplianceImageSummary.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this ApplianceImageSummary. The current state of the appliance image.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this ApplianceImageSummary.
- Return type
str
- property platform¶
[Required] Gets the platform of this ApplianceImageSummary. The virtualization platform that the image file supports.
- Returns
The platform of this ApplianceImageSummary.
- Return type
str
- property size_in_mbs¶
[Required] Gets the size_in_mbs of this ApplianceImageSummary. The size of the image file in megabytes.
- Returns
The size_in_mbs of this ApplianceImageSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this ApplianceImageSummary. The time when the appliance image was created.An RFC3339 formatted datetime string.
- Returns
The time_created of this ApplianceImageSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this ApplianceImageSummary. The time when the appliance image was last updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this ApplianceImageSummary.
- Return type
datetime
- property version¶
[Required] Gets the version of this ApplianceImageSummary. The version of the image file.
- Returns
The version of this ApplianceImageSummary.
- Return type
str