InstanceConfigurationInstanceSourceImageFilterDetails¶
- class oci.core.models.InstanceConfigurationInstanceSourceImageFilterDetails(**kwargs)¶
Bases:
objectThese are the criteria for selecting an image. This is required if imageId is not specified.
Methods:
__init__(**kwargs)Initializes a new InstanceConfigurationInstanceSourceImageFilterDetails object with values from keyword arguments.
Attributes:
Gets the compartment_id of this InstanceConfigurationInstanceSourceImageFilterDetails.
Gets the defined_tags_filter of this InstanceConfigurationInstanceSourceImageFilterDetails.
Gets the operating_system of this InstanceConfigurationInstanceSourceImageFilterDetails.
Gets the operating_system_version of this InstanceConfigurationInstanceSourceImageFilterDetails.
- __init__(**kwargs)¶
Initializes a new InstanceConfigurationInstanceSourceImageFilterDetails 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 InstanceConfigurationInstanceSourceImageFilterDetails.
defined_tags_filter (dict(str, dict(str, object))) – The value to assign to the defined_tags_filter property of this InstanceConfigurationInstanceSourceImageFilterDetails.
operating_system (str) – The value to assign to the operating_system property of this InstanceConfigurationInstanceSourceImageFilterDetails.
operating_system_version (str) – The value to assign to the operating_system_version property of this InstanceConfigurationInstanceSourceImageFilterDetails.
- property compartment_id¶
Gets the compartment_id of this InstanceConfigurationInstanceSourceImageFilterDetails. The OCID of the compartment containing images to search
- Returns
The compartment_id of this InstanceConfigurationInstanceSourceImageFilterDetails.
- Return type
str
- property defined_tags_filter¶
Gets the defined_tags_filter of this InstanceConfigurationInstanceSourceImageFilterDetails. 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 InstanceConfigurationInstanceSourceImageFilterDetails.
- Return type
dict(str, dict(str, object))
- property operating_system¶
Gets the operating_system of this InstanceConfigurationInstanceSourceImageFilterDetails. The image’s operating system.
Example: Oracle Linux
- Returns
The operating_system of this InstanceConfigurationInstanceSourceImageFilterDetails.
- Return type
str
- property operating_system_version¶
Gets the operating_system_version of this InstanceConfigurationInstanceSourceImageFilterDetails. The image’s operating system version.
Example: 7.2
- Returns
The operating_system_version of this InstanceConfigurationInstanceSourceImageFilterDetails.
- Return type
str