post_rules
Creates, updates, deletes, gets or lists a post_rules
resource.
Overview
Name | post_rules |
Type | Resource |
Id | azure_isv.paloalto.post_rules |
Fields
- vw_post_rules
- post_rules
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
action_type | text | field from the properties object |
applications | text | field from the properties object |
audit_comment | text | field from the properties object |
category | text | field from the properties object |
decryption_rule_type | text | field from the properties object |
destination | text | field from the properties object |
enable_logging | text | field from the properties object |
etag | text | field from the properties object |
globalRulestackName | text | field from the properties object |
inbound_inspection_certificate | text | field from the properties object |
negate_destination | text | field from the properties object |
negate_source | text | field from the properties object |
priority | text | field from the properties object |
protocol | text | field from the properties object |
protocol_port_list | text | field from the properties object |
provisioning_state | text | field from the properties object |
rule_name | text | field from the properties object |
rule_state | text | field from the properties object |
source | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | definition of rule |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | globalRulestackName, priority | Get a PostRulesResource |
list | SELECT | globalRulestackName | List PostRulesResource resources by Tenant |
create_or_update | INSERT | globalRulestackName, priority, data__properties | Create a PostRulesResource |
delete | DELETE | globalRulestackName, priority | Delete a PostRulesResource |
refresh_counters | EXEC | globalRulestackName, priority | Refresh counters |
reset_counters | EXEC | globalRulestackName, priority | Reset counters |
SELECT
examples
List PostRulesResource resources by Tenant
- vw_post_rules
- post_rules
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 }}';
SELECT
properties,
systemData
FROM azure_isv.paloalto.post_rules
WHERE globalRulestackName = '{{ globalRulestackName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new post_rules
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.paloalto.post_rules (
globalRulestackName,
priority,
data__properties,
properties
)
SELECT
'{{ globalRulestackName }}',
'{{ priority }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: etag
value: string
- name: ruleName
value: string
- name: priority
value: integer
- name: description
value: string
- name: ruleState
value: []
- name: source
value:
- name: cidrs
value:
- string
- name: countries
value:
- string
- name: feeds
value:
- string
- name: prefixLists
value:
- string
- name: negateSource
value: []
- name: destination
value:
- name: cidrs
value:
- string
- name: countries
value:
- string
- name: feeds
value:
- string
- name: prefixLists
value:
- string
- name: fqdnLists
value:
- string
- name: applications
value:
- string
- name: category
value:
- name: urlCustom
value:
- string
- name: feeds
value:
- string
- name: protocol
value: string
- name: protocolPortList
value:
- string
- name: inboundInspectionCertificate
value: string
- name: auditComment
value: string
- name: actionType
value: []
- name: decryptionRuleType
value: []
- name: tags
value:
- - name: key
value: string
- name: value
value: string
- name: provisioningState
value: []
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
DELETE
example
Deletes the specified post_rules
resource.
/*+ delete */
DELETE FROM azure_isv.paloalto.post_rules
WHERE globalRulestackName = '{{ globalRulestackName }}'
AND priority = '{{ priority }}';