Class RuleStore
© 2019 Palo Alto Networks, Inc. All rights reserved.
Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf
- RuleStore uses PathableName, XmlConvertible
public
|
|
public
boolean
|
#
countDyn_IP_and_Port_SNat( boolean $countDisabledRules = FALSE )
Counts how many NAT rules in this Store are DIPP. If $countDisabledRules=true then it also count disabled rules |
public
|
|
public
boolean
|
#
addRule(
|
public
boolean
|
#
API_addRule(
|
public
boolean
|
|
public
boolean
|
#
moveRuleToPostRulebase(
|
public
boolean
|
#
API_moveRuleToPostRulebase(
|
public
boolean
|
#
moveRuleToPreRulebase(
|
public
boolean
|
#
API_moveRuleToPreRulebase(
|
public
boolean
|
#
isRuleNameAvailable( string $name, boolean $nested = TRUE )
Check if this name is available (for new rule for example) |
public
string
&
|
|
public
string
|
|
public
|
#
ruleWasRenamed(
Only used internally when a rule is renamed to check for it unicity and accurate indexing |
public
|
#
cloneRule(
|
public
|
#
API_cloneRule(
|
public
|
#
moveRuleAfter(
this function will move $ruleToBeMoved after $ruleRef. |
public
|
#
API_moveRuleAfter(
|
public
|
|
public
|
#
moveRuleBefore(
this function will move $ruleToBeMoved before $ruleRef. |
public
|
#
API_moveRuleBefore(
|
public
|
#
rules( null|string|string[] $withFilter = null )
Returns an Array with all Rules inside this store |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
newSecurityRule( string $name, boolean $inPost = FALSE )
Creates a new SecurityRule in this store. It will be placed at the end of the list. |
public
|
#
newCaptivePortalRule( string $name, boolean $inPost = FALSE )
Creates a new SecurityRule in this store. It will be placed at the end of the list. |
public
|
#
newAuthenticationRule( string $name, boolean $inPost = FALSE )
Creates a new AuthenticationRule in this store. It will be placed at the end of the list. |
public
|
#
newNatRule( String $name, boolean $inPost = FALSE )
Creates a new NatRule in this store. It will be placed at the end of the list. |
public
PBFRule
|
#
newPbfRule( String $name, boolean $inPost = FALSE )
Creates a new PBFRule in this store. It will be placed at the end of the list. |
public
|
#
newQoSRule( String $name, boolean $inPost = FALSE )
Creates a new QoSRule in this store. It will be placed at the end of the list. |
public
|
#
newDoSRule( String $name, boolean $inPost = FALSE )
Creates a new DoSRule in this store. It will be placed at the end of the list. |
public
|
#
newAppOverrideRule( String $name, boolean $inPostRulebase = FALSE )
Creates a new AppOverrideRule in this store. It will be placed at the end of the list. |
public
boolean
|
#
remove( mixed $rule, boolean $deleteForever = FALSE )
Removes a rule from this store (must be passed an object, not string/name). Returns TRUE if found. |
public
boolean
|
#
API_remove( mixed $rule, boolean $deleteForever = FALSE )
Removes a rule from this store (must be passed an object, not string/name). Returns TRUE if found. |
public
|
#
rewriteXML( )
Rewrite XML for this object, useful after a batch editing to save computing time. You should not need to call it by yourself in normal situations |
protected
|
|
public
string
|
|
public
string
&
|
#
getXPath(
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
#
getRulePosition( string|
|
public
null|
|
|
public
null|
|
|
public
|
|
public
|
(),
(),
()
|
(),
(),
(),
(),
()
|
protected
|
$_rules | array() |
|
protected
|
$_postRules | array() |
|
public
|
$owner | null |
|
public
string
|
$name | 'temporaryname' |
|
public
string[]| |
$postRulesRoot | null |
|
protected
string
|
$type | '**needsomethinghere**' |
|
protected
mixed
|
$fastMemToIndex | null |
|
protected
mixed
|
$fastNameToIndex | null |
|
protected
mixed
|
$fastMemToIndex_forPost | null |
|
protected
mixed
|
$fastNameToIndex_forPost | null |
|
public
|
$_networkStore | null |
|
public
integer
|
$version | |
|
protected
boolean
|
$isPreOrPost | FALSE |
$xmlroot
|
$name,
$owner
|