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