Skip to main content

pre_rules

Creates, updates, deletes, gets or lists a pre_rules resource.

Overview

Namepre_rules
TypeResource
Idazure_isv.paloalto.pre_rules

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
action_typetextfield from the properties object
applicationstextfield from the properties object
audit_commenttextfield from the properties object
categorytextfield from the properties object
decryption_rule_typetextfield from the properties object
destinationtextfield from the properties object
enable_loggingtextfield from the properties object
etagtextfield from the properties object
globalRulestackNametextfield from the properties object
inbound_inspection_certificatetextfield from the properties object
negate_destinationtextfield from the properties object
negate_sourcetextfield from the properties object
prioritytextfield from the properties object
protocoltextfield from the properties object
protocol_port_listtextfield from the properties object
provisioning_statetextfield from the properties object
rule_nametextfield from the properties object
rule_statetextfield from the properties object
sourcetextfield from the properties object
system_datatextfield from the properties object
tagstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTglobalRulestackName, priorityGet a PreRulesResource
listSELECTglobalRulestackNameList PreRulesResource resources by Tenant
create_or_updateINSERTglobalRulestackName, priority, data__propertiesCreate a PreRulesResource
deleteDELETEglobalRulestackName, priorityDelete a PreRulesResource
refresh_countersEXECglobalRulestackName, priorityRefresh counters
reset_countersEXECglobalRulestackName, priorityReset counters

SELECT examples

List PreRulesResource resources by Tenant

SELECT
description,
action_type,
applications,
audit_comment,
category,
decryption_rule_type,
destination,
enable_logging,
etag,
globalRulestackName,
inbound_inspection_certificate,
negate_destination,
negate_source,
priority,
protocol,
protocol_port_list,
provisioning_state,
rule_name,
rule_state,
source,
system_data,
tags
FROM azure_isv.paloalto.vw_pre_rules
WHERE globalRulestackName = '{{ globalRulestackName }}';

INSERT example

Use the following StackQL query and manifest file to create a new pre_rules resource.

/*+ create */
INSERT INTO azure_isv.paloalto.pre_rules (
globalRulestackName,
priority,
data__properties,
properties
)
SELECT
'{{ globalRulestackName }}',
'{{ priority }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified pre_rules resource.

/*+ delete */
DELETE FROM azure_isv.paloalto.pre_rules
WHERE globalRulestackName = '{{ globalRulestackName }}'
AND priority = '{{ priority }}';