UpdateMachineImageDetails¶
- class oci.marketplace_publisher.models.UpdateMachineImageDetails(**kwargs)¶
Bases:
objectMachine image details required to update a Image artifact.
Methods:
__init__(**kwargs)Initializes a new UpdateMachineImageDetails object with values from keyword arguments.
Attributes:
Gets the image_shape_compatibility_entries of this UpdateMachineImageDetails.
Gets the is_snapshot_allowed of this UpdateMachineImageDetails.
Gets the source_image_id of this UpdateMachineImageDetails.
Gets the username of this UpdateMachineImageDetails.
- __init__(**kwargs)¶
Initializes a new UpdateMachineImageDetails 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 UpdateMachineImageDetails.
username (str) – The value to assign to the username property of this UpdateMachineImageDetails.
is_snapshot_allowed (bool) – The value to assign to the is_snapshot_allowed property of this UpdateMachineImageDetails.
image_shape_compatibility_entries (list[oci.marketplace_publisher.models.ImageShapeCompatibility]) – The value to assign to the image_shape_compatibility_entries property of this UpdateMachineImageDetails.
- property image_shape_compatibility_entries¶
Gets the image_shape_compatibility_entries of this UpdateMachineImageDetails. List of shape configurations supported by the image.
- Returns
The image_shape_compatibility_entries of this UpdateMachineImageDetails.
- Return type
list[oci.marketplace_publisher.models.ImageShapeCompatibility]
- property is_snapshot_allowed¶
Gets the is_snapshot_allowed of this UpdateMachineImageDetails. Identified if customer can take a snapshot of instance running on the machine image.
- Returns
The is_snapshot_allowed of this UpdateMachineImageDetails.
- Return type
bool
- property source_image_id¶
Gets the source_image_id of this UpdateMachineImageDetails. The OCID of source machine image.
- Returns
The source_image_id of this UpdateMachineImageDetails.
- Return type
str
- property username¶
Gets the username of this UpdateMachineImageDetails. The username for machine image.
- Returns
The username of this UpdateMachineImageDetails.
- Return type
str