ApplianceImageSummary

class oci.cloud_bridge.models.ApplianceImageSummary(**kwargs)

Bases: object

Description of the ApplianceImage.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ApplianceImageSummary.
checksum [Required] Gets the checksum of this ApplianceImageSummary.
defined_tags Gets the defined_tags of this ApplianceImageSummary.
display_name [Required] Gets the display_name of this ApplianceImageSummary.
download_url [Required] Gets the download_url of this ApplianceImageSummary.
file_name [Required] Gets the file_name of this ApplianceImageSummary.
format [Required] Gets the format of this ApplianceImageSummary.
freeform_tags Gets the freeform_tags of this ApplianceImageSummary.
id [Required] Gets the id of this ApplianceImageSummary.
lifecycle_state Gets the lifecycle_state of this ApplianceImageSummary.
platform [Required] Gets the platform of this ApplianceImageSummary.
size_in_mbs [Required] Gets the size_in_mbs of this ApplianceImageSummary.
time_created [Required] Gets the time_created of this ApplianceImageSummary.
time_updated [Required] Gets the time_updated of this ApplianceImageSummary.
version [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.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ApplianceImageSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ApplianceImageSummary.
checksum

[Required] Gets the checksum of this ApplianceImageSummary. The checksum of the image file.

Returns:The checksum of this ApplianceImageSummary.
Return type:str
defined_tags

Gets the defined_tags of this ApplianceImageSummary. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this ApplianceImageSummary.
Return type:dict(str, dict(str, object))
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
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
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
format

[Required] Gets the format of this ApplianceImageSummary. The file format of the image file.

Returns:The format of this ApplianceImageSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this ApplianceImageSummary. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this ApplianceImageSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ApplianceImageSummary. Unique identifier that is immutable on creation.

Returns:The id of this ApplianceImageSummary.
Return type:str
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
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
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
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
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
version

[Required] Gets the version of this ApplianceImageSummary. The version of the image file.

Returns:The version of this ApplianceImageSummary.
Return type:str