PackageGroupFilter¶
- class oci.os_management_hub.models.PackageGroupFilter(**kwargs)¶
Bases:
objectProvides the information used to create a filter for groups from a vendor software source to create or update a custom software source.
Attributes:
A constant which can be used with the filter_type property of a PackageGroupFilter.
A constant which can be used with the filter_type property of a PackageGroupFilter.
[Required] Gets the filter_type of this PackageGroupFilter.
Gets the package_groups of this PackageGroupFilter.
Methods:
__init__(**kwargs)Initializes a new PackageGroupFilter object with values from keyword arguments.
- FILTER_TYPE_EXCLUDE = 'EXCLUDE'¶
A constant which can be used with the filter_type property of a PackageGroupFilter. This constant has a value of “EXCLUDE”
- FILTER_TYPE_INCLUDE = 'INCLUDE'¶
A constant which can be used with the filter_type property of a PackageGroupFilter. This constant has a value of “INCLUDE”
- __init__(**kwargs)¶
Initializes a new PackageGroupFilter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
package_groups (list[str]) – The value to assign to the package_groups property of this PackageGroupFilter.
filter_type (str) – The value to assign to the filter_type property of this PackageGroupFilter. 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’.
- property filter_type¶
[Required] Gets the filter_type of this PackageGroupFilter. The type of the 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 filter_type of this PackageGroupFilter.
- Return type
str
- property package_groups¶
Gets the package_groups of this PackageGroupFilter. List of package group names.
- Returns
The package_groups of this PackageGroupFilter.
- Return type
list[str]