Package onep :: Package policyservice :: Module policymap :: Class PolicyFilter
[frames] | no frames]

Class PolicyFilter


Filter for policy map gets

You can retrieve batches of PolicyMaps by setting "max_entry_count" and passing in the same PolicyFilter instance until all PolicyMaps are collected.

policy_type - PolicyCapabilities.PolicyCapabilitiesType storage_type - StorageType (default StorageType.TRANSIENT) policy_handle - PolicyMap handle to get details of PolicyMap (optional) targets - list of Target classes (optional) max_entry_count - Maximum entries retrieved (used for batching)

pmap_result - list of PolicyMap classes

Instance Methods
 
targets(self, tgts)
 
__str__(self)
str(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

targets(self, tgts)

 
Decorators:
  • @targets.setter

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)