DbResourceIdFilter¶
-
class
oci.fleet_software_update.models.DbResourceIdFilter(**kwargs)¶ Bases:
oci.fleet_software_update.models.db_fleet_discovery_filter.DbFleetDiscoveryFilterRelated resource Ids to include in the discovery.
Attributes
ENTITY_TYPE_CLOUDEXADATAINFRASTRUCTUREA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_CLOUDVMCLUSTERA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_DATABASESOFTWAREIMAGEA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_DBHOMEA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_EXADATAINFRASTRUCTUREA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_FSUCOLLECTIONA constant which can be used with the entity_type property of a DbResourceIdFilter. ENTITY_TYPE_VMCLUSTERA constant which can be used with the entity_type property of a DbResourceIdFilter. MODE_EXCLUDEstr(object=’’) -> str MODE_INCLUDEstr(object=’’) -> str OPERATOR_ANDA constant which can be used with the operator property of a DbResourceIdFilter. OPERATOR_ORA constant which can be used with the operator property of a DbResourceIdFilter. TYPE_COMPARTMENT_IDstr(object=’’) -> str TYPE_DB_HOME_NAMEstr(object=’’) -> str TYPE_DB_NAMEstr(object=’’) -> str TYPE_DB_UNIQUE_NAMEstr(object=’’) -> str TYPE_DEFINED_TAGstr(object=’’) -> str TYPE_FREEFORM_TAGstr(object=’’) -> str TYPE_RESOURCE_IDstr(object=’’) -> str TYPE_VERSIONstr(object=’’) -> str entity_type[Required] Gets the entity_type of this DbResourceIdFilter. identifiers[Required] Gets the identifiers of this DbResourceIdFilter. modeGets the mode of this DbFleetDiscoveryFilter. operatorGets the operator of this DbResourceIdFilter. type[Required] Gets the type of this DbFleetDiscoveryFilter. Methods
__init__(**kwargs)Initializes a new DbResourceIdFilter 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 DbResourceIdFilter. This constant has a value of “CLOUDEXADATAINFRASTRUCTURE”
-
ENTITY_TYPE_CLOUDVMCLUSTER= 'CLOUDVMCLUSTER'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. This constant has a value of “CLOUDVMCLUSTER”
-
ENTITY_TYPE_DATABASESOFTWAREIMAGE= 'DATABASESOFTWAREIMAGE'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. This constant has a value of “DATABASESOFTWAREIMAGE”
-
ENTITY_TYPE_DBHOME= 'DBHOME'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. This constant has a value of “DBHOME”
-
ENTITY_TYPE_EXADATAINFRASTRUCTURE= 'EXADATAINFRASTRUCTURE'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. This constant has a value of “EXADATAINFRASTRUCTURE”
-
ENTITY_TYPE_FSUCOLLECTION= 'FSUCOLLECTION'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. This constant has a value of “FSUCOLLECTION”
-
ENTITY_TYPE_VMCLUSTER= 'VMCLUSTER'¶ A constant which can be used with the entity_type property of a DbResourceIdFilter. 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 DbResourceIdFilter. This constant has a value of “AND”
-
OPERATOR_OR= 'OR'¶ A constant which can be used with the operator property of a DbResourceIdFilter. 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 DbResourceIdFilter object with values from keyword arguments. The default value of the
typeattribute of this class isRESOURCE_IDand 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 DbResourceIdFilter. 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 DbResourceIdFilter. 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 DbResourceIdFilter. Allowed values for this property are: “DATABASESOFTWAREIMAGE”, “DBHOME”, “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 DbResourceIdFilter.
- operator (str) – The value to assign to the operator property of this DbResourceIdFilter. 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 DbResourceIdFilter. Type of resource to match in the discovery.
Allowed values for this property are: “DATABASESOFTWAREIMAGE”, “DBHOME”, “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 DbResourceIdFilter. 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 DbResourceIdFilter. Related resource Ids to include in the discovery. All must match the specified entityType.
Returns: The identifiers of this DbResourceIdFilter. Return type: list[str]
-
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 DbResourceIdFilter. 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 DbResourceIdFilter. Return type: str
-
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
-