GuestOsFleetDiscoveryFilter

class oci.fleet_software_update.models.GuestOsFleetDiscoveryFilter(**kwargs)

Bases: object

Discover Exadata VM Cluster targets for a ‘GUEST_OS’ collection by querying OCI Search Service using specified filters.

Attributes

MODE_EXCLUDE A constant which can be used with the mode property of a GuestOsFleetDiscoveryFilter.
MODE_INCLUDE A constant which can be used with the mode property of a GuestOsFleetDiscoveryFilter.
TYPE_COMPARTMENT_ID A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
TYPE_DEFINED_TAG A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
TYPE_EXADATA_RELEASE_VERSION A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
TYPE_FREEFORM_TAG A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
TYPE_RESOURCE_ID A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
TYPE_VERSION A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter.
mode Gets the mode of this GuestOsFleetDiscoveryFilter.
type [Required] Gets the type of this GuestOsFleetDiscoveryFilter.

Methods

__init__(**kwargs) Initializes a new GuestOsFleetDiscoveryFilter object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
MODE_EXCLUDE = 'EXCLUDE'

A constant which can be used with the mode property of a GuestOsFleetDiscoveryFilter. This constant has a value of “EXCLUDE”

MODE_INCLUDE = 'INCLUDE'

A constant which can be used with the mode property of a GuestOsFleetDiscoveryFilter. This constant has a value of “INCLUDE”

TYPE_COMPARTMENT_ID = 'COMPARTMENT_ID'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “COMPARTMENT_ID”

TYPE_DEFINED_TAG = 'DEFINED_TAG'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “DEFINED_TAG”

TYPE_EXADATA_RELEASE_VERSION = 'EXADATA_RELEASE_VERSION'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “EXADATA_RELEASE_VERSION”

TYPE_FREEFORM_TAG = 'FREEFORM_TAG'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “FREEFORM_TAG”

TYPE_RESOURCE_ID = 'RESOURCE_ID'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “RESOURCE_ID”

TYPE_VERSION = 'VERSION'

A constant which can be used with the type property of a GuestOsFleetDiscoveryFilter. This constant has a value of “VERSION”

__init__(**kwargs)

Initializes a new GuestOsFleetDiscoveryFilter object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this GuestOsFleetDiscoveryFilter. Allowed values for this property are: “COMPARTMENT_ID”, “VERSION”, “EXADATA_RELEASE_VERSION”, “FREEFORM_TAG”, “DEFINED_TAG”, “RESOURCE_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • mode (str) – The value to assign to the mode property of this GuestOsFleetDiscoveryFilter. Allowed values for this property are: “INCLUDE”, “EXCLUDE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

mode

Gets the mode of this GuestOsFleetDiscoveryFilter. INCLUDE or EXCLUDE the filter results when discovering Exadata VM Cluster targets for a ‘GUEST_OS’ collection. Supported only for RESOURCE_ID filter.

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

Returns:The mode of this GuestOsFleetDiscoveryFilter.
Return type:str
type

[Required] Gets the type of this GuestOsFleetDiscoveryFilter. Filters supported for searching Exadata VM Cluster targets for a ‘GUEST_OS’ collection.

Allowed values for this property are: “COMPARTMENT_ID”, “VERSION”, “EXADATA_RELEASE_VERSION”, “FREEFORM_TAG”, “DEFINED_TAG”, “RESOURCE_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this GuestOsFleetDiscoveryFilter.
Return type:str