MachineImageDetails

class oci.marketplace_publisher.models.MachineImageDetails(**kwargs)

Bases: object

Machine image details.

Attributes:

VALIDATION_STATUS_VALIDATION_COMPLETED

A constant which can be used with the validation_status property of a MachineImageDetails.

VALIDATION_STATUS_VALIDATION_FAILED

A constant which can be used with the validation_status property of a MachineImageDetails.

VALIDATION_STATUS_VALIDATION_IN_PROGRESS

A constant which can be used with the validation_status property of a MachineImageDetails.

image_shape_compatibility_entries

[Required] Gets the image_shape_compatibility_entries of this MachineImageDetails.

is_snapshot_allowed

[Required] Gets the is_snapshot_allowed of this MachineImageDetails.

source_image_id

[Required] Gets the source_image_id of this MachineImageDetails.

username

Gets the username of this MachineImageDetails.

validation_error

Gets the validation_error of this MachineImageDetails.

validation_status

[Required] Gets the validation_status of this MachineImageDetails.

Methods:

__init__(**kwargs)

Initializes a new MachineImageDetails object with values from keyword arguments.

VALIDATION_STATUS_VALIDATION_COMPLETED = 'VALIDATION_COMPLETED'

A constant which can be used with the validation_status property of a MachineImageDetails. This constant has a value of “VALIDATION_COMPLETED”

VALIDATION_STATUS_VALIDATION_FAILED = 'VALIDATION_FAILED'

A constant which can be used with the validation_status property of a MachineImageDetails. This constant has a value of “VALIDATION_FAILED”

VALIDATION_STATUS_VALIDATION_IN_PROGRESS = 'VALIDATION_IN_PROGRESS'

A constant which can be used with the validation_status property of a MachineImageDetails. This constant has a value of “VALIDATION_IN_PROGRESS”

__init__(**kwargs)

Initializes a new MachineImageDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • source_image_id (str) – The value to assign to the source_image_id property of this MachineImageDetails.

  • username (str) – The value to assign to the username property of this MachineImageDetails.

  • is_snapshot_allowed (bool) – The value to assign to the is_snapshot_allowed property of this MachineImageDetails.

  • image_shape_compatibility_entries (list[oci.marketplace_publisher.models.ImageShapeCompatibility]) – The value to assign to the image_shape_compatibility_entries property of this MachineImageDetails.

  • validation_status (str) – The value to assign to the validation_status property of this MachineImageDetails. Allowed values for this property are: “VALIDATION_IN_PROGRESS”, “VALIDATION_FAILED”, “VALIDATION_COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • validation_error (str) – The value to assign to the validation_error property of this MachineImageDetails.

property image_shape_compatibility_entries

[Required] Gets the image_shape_compatibility_entries of this MachineImageDetails. List of shape configurations supported by the image.

Returns

The image_shape_compatibility_entries of this MachineImageDetails.

Return type

list[oci.marketplace_publisher.models.ImageShapeCompatibility]

property is_snapshot_allowed

[Required] Gets the is_snapshot_allowed of this MachineImageDetails. Identified if customer can take a snapshot of instance running on the machine image.

Returns

The is_snapshot_allowed of this MachineImageDetails.

Return type

bool

property source_image_id

[Required] Gets the source_image_id of this MachineImageDetails. The source image ocid of the machine image.

Returns

The source_image_id of this MachineImageDetails.

Return type

str

property username

Gets the username of this MachineImageDetails. The username for machine image.

Returns

The username of this MachineImageDetails.

Return type

str

property validation_error

Gets the validation_error of this MachineImageDetails. Description of image validation errors.

Returns

The validation_error of this MachineImageDetails.

Return type

str

property validation_status

[Required] Gets the validation_status of this MachineImageDetails. Image validation status.

Allowed values for this property are: “VALIDATION_IN_PROGRESS”, “VALIDATION_FAILED”, “VALIDATION_COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The validation_status of this MachineImageDetails.

Return type

str