GuestOsResourceIdFilter

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

Bases: oci.fleet_software_update.models.guest_os_fleet_discovery_filter.GuestOsFleetDiscoveryFilter

The OCIDs of associated resources to include when discovering Exadata VM Cluster targets for a ‘GUEST_OS’ collection.

Attributes

ENTITY_TYPE_CLOUDEXADATAINFRASTRUCTURE A constant which can be used with the entity_type property of a GuestOsResourceIdFilter.
ENTITY_TYPE_CLOUDVMCLUSTER A constant which can be used with the entity_type property of a GuestOsResourceIdFilter.
ENTITY_TYPE_EXADATAINFRASTRUCTURE A constant which can be used with the entity_type property of a GuestOsResourceIdFilter.
ENTITY_TYPE_FSUCOLLECTION A constant which can be used with the entity_type property of a GuestOsResourceIdFilter.
ENTITY_TYPE_VMCLUSTER A constant which can be used with the entity_type property of a GuestOsResourceIdFilter.
MODE_EXCLUDE str(object=’’) -> str
MODE_INCLUDE str(object=’’) -> str
OPERATOR_AND A constant which can be used with the operator property of a GuestOsResourceIdFilter.
OPERATOR_OR A constant which can be used with the operator property of a GuestOsResourceIdFilter.
TYPE_COMPARTMENT_ID str(object=’’) -> str
TYPE_DEFINED_TAG str(object=’’) -> str
TYPE_EXADATA_RELEASE_VERSION str(object=’’) -> str
TYPE_FREEFORM_TAG str(object=’’) -> str
TYPE_RESOURCE_ID str(object=’’) -> str
TYPE_VERSION str(object=’’) -> str
entity_type [Required] Gets the entity_type of this GuestOsResourceIdFilter.
identifiers [Required] Gets the identifiers of this GuestOsResourceIdFilter.
mode Gets the mode of this GuestOsFleetDiscoveryFilter.
operator Gets the operator of this GuestOsResourceIdFilter.
type [Required] Gets the type of this GuestOsFleetDiscoveryFilter.

Methods

__init__(**kwargs) Initializes a new GuestOsResourceIdFilter 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.
ENTITY_TYPE_CLOUDEXADATAINFRASTRUCTURE = 'CLOUDEXADATAINFRASTRUCTURE'

A constant which can be used with the entity_type property of a GuestOsResourceIdFilter. This constant has a value of “CLOUDEXADATAINFRASTRUCTURE”

ENTITY_TYPE_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

A constant which can be used with the entity_type property of a GuestOsResourceIdFilter. This constant has a value of “CLOUDVMCLUSTER”

ENTITY_TYPE_EXADATAINFRASTRUCTURE = 'EXADATAINFRASTRUCTURE'

A constant which can be used with the entity_type property of a GuestOsResourceIdFilter. This constant has a value of “EXADATAINFRASTRUCTURE”

ENTITY_TYPE_FSUCOLLECTION = 'FSUCOLLECTION'

A constant which can be used with the entity_type property of a GuestOsResourceIdFilter. This constant has a value of “FSUCOLLECTION”

ENTITY_TYPE_VMCLUSTER = 'VMCLUSTER'

A constant which can be used with the entity_type property of a GuestOsResourceIdFilter. This constant has a value of “VMCLUSTER”

MODE_EXCLUDE = 'EXCLUDE'
MODE_INCLUDE = 'INCLUDE'
OPERATOR_AND = 'AND'

A constant which can be used with the operator property of a GuestOsResourceIdFilter. This constant has a value of “AND”

OPERATOR_OR = 'OR'

A constant which can be used with the operator property of a GuestOsResourceIdFilter. This constant has a value of “OR”

TYPE_COMPARTMENT_ID = 'COMPARTMENT_ID'
TYPE_DEFINED_TAG = 'DEFINED_TAG'
TYPE_EXADATA_RELEASE_VERSION = 'EXADATA_RELEASE_VERSION'
TYPE_FREEFORM_TAG = 'FREEFORM_TAG'
TYPE_RESOURCE_ID = 'RESOURCE_ID'
TYPE_VERSION = 'VERSION'
__init__(**kwargs)

Initializes a new GuestOsResourceIdFilter object with values from keyword arguments. The default value of the type attribute of this class is RESOURCE_ID and it should not be changed. 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 GuestOsResourceIdFilter. 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 GuestOsResourceIdFilter. 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’.
  • entity_type (str) – The value to assign to the entity_type property of this GuestOsResourceIdFilter. Allowed values for this property are: “EXADATAINFRASTRUCTURE”, “CLOUDEXADATAINFRASTRUCTURE”, “VMCLUSTER”, “CLOUDVMCLUSTER”, “FSUCOLLECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • identifiers (list[str]) – The value to assign to the identifiers property of this GuestOsResourceIdFilter.
  • operator (str) – The value to assign to the operator property of this GuestOsResourceIdFilter. Allowed values for this property are: “AND”, “OR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
entity_type

[Required] Gets the entity_type of this GuestOsResourceIdFilter. Type of associated resource.

Allowed values for this property are: “EXADATAINFRASTRUCTURE”, “CLOUDEXADATAINFRASTRUCTURE”, “VMCLUSTER”, “CLOUDVMCLUSTER”, “FSUCOLLECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_type of this GuestOsResourceIdFilter.
Return type:str
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.

identifiers

[Required] Gets the identifiers of this GuestOsResourceIdFilter. The OCIDs of associated resources to include when discovering Exadata VM Cluster targets for a ‘GUEST_OS’ collection. Specified resources must match the specified ‘entityType’. FsuCollection of type ‘GI’ or ‘GUEST_OS’ can be specified.

Returns:The identifiers of this GuestOsResourceIdFilter.
Return type:list[str]
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
operator

Gets the operator of this GuestOsResourceIdFilter. Type of join for each element in this filter.

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

Returns:The operator of this GuestOsResourceIdFilter.
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