InstanceSourceImageFilterDetails

class oci.core.models.InstanceSourceImageFilterDetails(**kwargs)

Bases: object

These are the criteria for selecting an image. This is required if imageId is not specified.

Methods

__init__(**kwargs) Initializes a new InstanceSourceImageFilterDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this InstanceSourceImageFilterDetails.
defined_tags_filter Gets the defined_tags_filter of this InstanceSourceImageFilterDetails.
operating_system Gets the operating_system of this InstanceSourceImageFilterDetails.
operating_system_version Gets the operating_system_version of this InstanceSourceImageFilterDetails.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this InstanceSourceImageFilterDetails.
  • defined_tags_filter (dict(str, dict(str, object))) – The value to assign to the defined_tags_filter property of this InstanceSourceImageFilterDetails.
  • operating_system (str) – The value to assign to the operating_system property of this InstanceSourceImageFilterDetails.
  • operating_system_version (str) – The value to assign to the operating_system_version property of this InstanceSourceImageFilterDetails.
compartment_id

[Required] Gets the compartment_id of this InstanceSourceImageFilterDetails. The OCID of the compartment containing images to search

Returns:The compartment_id of this InstanceSourceImageFilterDetails.
Return type:str
defined_tags_filter

Gets the defined_tags_filter of this InstanceSourceImageFilterDetails. Filter based on these defined tags. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:The defined_tags_filter of this InstanceSourceImageFilterDetails.
Return type:dict(str, dict(str, object))
operating_system

Gets the operating_system of this InstanceSourceImageFilterDetails. The image’s operating system.

Example: Oracle Linux

Returns:The operating_system of this InstanceSourceImageFilterDetails.
Return type:str
operating_system_version

Gets the operating_system_version of this InstanceSourceImageFilterDetails. The image’s operating system version.

Example: 7.2

Returns:The operating_system_version of this InstanceSourceImageFilterDetails.
Return type:str