GiDefinedTagsFilter¶
-
class
oci.fleet_software_update.models.GiDefinedTagsFilter(**kwargs)¶ Bases:
oci.fleet_software_update.models.gi_fleet_discovery_filter.GiFleetDiscoveryFilterDefined tags to include in the discovery.
Attributes
MODE_EXCLUDEstr(object=’’) -> str MODE_INCLUDEstr(object=’’) -> str OPERATOR_ANDA constant which can be used with the operator property of a GiDefinedTagsFilter. OPERATOR_ORA constant which can be used with the operator property of a GiDefinedTagsFilter. TYPE_COMPARTMENT_IDstr(object=’’) -> str TYPE_DEFINED_TAGstr(object=’’) -> str TYPE_FREEFORM_TAGstr(object=’’) -> str TYPE_RESOURCE_IDstr(object=’’) -> str TYPE_VERSIONstr(object=’’) -> str modeGets the mode of this GiFleetDiscoveryFilter. operatorGets the operator of this GiDefinedTagsFilter. tags[Required] Gets the tags of this GiDefinedTagsFilter. type[Required] Gets the type of this GiFleetDiscoveryFilter. Methods
__init__(**kwargs)Initializes a new GiDefinedTagsFilter 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 GiDefinedTagsFilter. This constant has a value of “AND”
-
OPERATOR_OR= 'OR'¶ A constant which can be used with the operator property of a GiDefinedTagsFilter. This constant has a value of “OR”
-
TYPE_COMPARTMENT_ID= 'COMPARTMENT_ID'¶
-
TYPE_DEFINED_TAG= 'DEFINED_TAG'¶
-
TYPE_FREEFORM_TAG= 'FREEFORM_TAG'¶
-
TYPE_RESOURCE_ID= 'RESOURCE_ID'¶
-
TYPE_VERSION= 'VERSION'¶
-
__init__(**kwargs)¶ Initializes a new GiDefinedTagsFilter object with values from keyword arguments. The default value of the
typeattribute of this class isDEFINED_TAGand 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 GiDefinedTagsFilter. Allowed values for this property are: “COMPARTMENT_ID”, “VERSION”, “FREEFORM_TAG”, “DEFINED_TAG”, “RESOURCE_ID”
- mode (str) – The value to assign to the mode property of this GiDefinedTagsFilter. Allowed values for this property are: “INCLUDE”, “EXCLUDE”
- tags (list[oci.fleet_software_update.models.DefinedTagFilterEntry]) – The value to assign to the tags property of this GiDefinedTagsFilter.
- operator (str) – The value to assign to the operator property of this GiDefinedTagsFilter. Allowed values for this property are: “AND”, “OR”
-
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 GiFleetDiscoveryFilter. INCLUDE or EXCLUDE the filter results in the discovery for GI 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 GiFleetDiscoveryFilter. Return type: str
-
operator¶ Gets the operator of this GiDefinedTagsFilter. Type of join for each element in this filter.
Allowed values for this property are: “AND”, “OR”
Returns: The operator of this GiDefinedTagsFilter. Return type: str
[Required] Gets the tags of this GiDefinedTagsFilter. Defined tags to include in the discovery.
Returns: The tags of this GiDefinedTagsFilter. Return type: list[oci.fleet_software_update.models.DefinedTagFilterEntry]
-
type¶ [Required] Gets the type of this GiFleetDiscoveryFilter. Type of filters supported for GI targets discovery.
Allowed values for this property are: “COMPARTMENT_ID”, “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 GiFleetDiscoveryFilter. Return type: str
-