DbFreeformTagsFilter

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

Bases: oci.fleet_software_update.models.db_fleet_discovery_filter.DbFleetDiscoveryFilter

Freeform tags to include in the discovery.

Attributes

MODE_EXCLUDE str(object=’’) -> str
MODE_INCLUDE str(object=’’) -> str
OPERATOR_AND A constant which can be used with the operator property of a DbFreeformTagsFilter.
OPERATOR_OR A constant which can be used with the operator property of a DbFreeformTagsFilter.
TYPE_COMPARTMENT_ID str(object=’’) -> str
TYPE_DB_HOME_NAME str(object=’’) -> str
TYPE_DB_NAME str(object=’’) -> str
TYPE_DB_UNIQUE_NAME str(object=’’) -> str
TYPE_DEFINED_TAG str(object=’’) -> str
TYPE_FREEFORM_TAG str(object=’’) -> str
TYPE_RESOURCE_ID str(object=’’) -> str
TYPE_VERSION str(object=’’) -> str
mode Gets the mode of this DbFleetDiscoveryFilter.
operator Gets the operator of this DbFreeformTagsFilter.
tags [Required] Gets the tags of this DbFreeformTagsFilter.
type [Required] Gets the type of this DbFleetDiscoveryFilter.

Methods

__init__(**kwargs) Initializes a new DbFreeformTagsFilter 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'
MODE_INCLUDE = 'INCLUDE'
OPERATOR_AND = 'AND'

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

OPERATOR_OR = 'OR'

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

TYPE_COMPARTMENT_ID = 'COMPARTMENT_ID'
TYPE_DB_HOME_NAME = 'DB_HOME_NAME'
TYPE_DB_NAME = 'DB_NAME'
TYPE_DB_UNIQUE_NAME = 'DB_UNIQUE_NAME'
TYPE_DEFINED_TAG = 'DEFINED_TAG'
TYPE_FREEFORM_TAG = 'FREEFORM_TAG'
TYPE_RESOURCE_ID = 'RESOURCE_ID'
TYPE_VERSION = 'VERSION'
__init__(**kwargs)

Initializes a new DbFreeformTagsFilter object with values from keyword arguments. The default value of the type attribute of this class is FREEFORM_TAG 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 DbFreeformTagsFilter. Allowed values for this property are: “COMPARTMENT_ID”, “VERSION”, “DB_NAME”, “DB_UNIQUE_NAME”, “DB_HOME_NAME”, “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 DbFreeformTagsFilter. 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’.
  • tags (list[oci.fleet_software_update.models.FreeformTagFilterEntry]) – The value to assign to the tags property of this DbFreeformTagsFilter.
  • operator (str) – The value to assign to the operator property of this DbFreeformTagsFilter. 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’.
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 DbFleetDiscoveryFilter. INCLUDE or EXCLUDE the filter results in the discovery for DB targets. Supported for ‘FSUCOLLECTION’ RESOURCE_ID filter only.

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 DbFleetDiscoveryFilter.
Return type:str
operator

Gets the operator of this DbFreeformTagsFilter. 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 DbFreeformTagsFilter.
Return type:str
tags

[Required] Gets the tags of this DbFreeformTagsFilter. Freeform tags to include in the discovery.

Returns:The tags of this DbFreeformTagsFilter.
Return type:list[oci.fleet_software_update.models.FreeformTagFilterEntry]
type

[Required] Gets the type of this DbFleetDiscoveryFilter. Type of filters supported for Database targets discovery.

Allowed values for this property are: “COMPARTMENT_ID”, “VERSION”, “DB_NAME”, “DB_UNIQUE_NAME”, “DB_HOME_NAME”, “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 DbFleetDiscoveryFilter.
Return type:str