Skip to main content

post_rules

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

Overview

Namepost_rules
TypeResource
Idazure_isv.paloalto.post_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 PostRulesResource
listSELECTglobalRulestackNameList PostRulesResource resources by Tenant
create_or_updateINSERTglobalRulestackName, priority, data__propertiesCreate a PostRulesResource
deleteDELETEglobalRulestackName, priorityDelete a PostRulesResource
refresh_countersEXECglobalRulestackName, priorityRefresh counters
reset_countersEXECglobalRulestackName, priorityReset counters

SELECT examples

List PostRulesResource 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_post_rules
WHERE globalRulestackName = '{{ globalRulestackName }}';

INSERT example

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

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

DELETE example

Deletes the specified post_rules resource.

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