Skip to main content

global_rulestack

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

Overview​

Nameglobal_rulestack
TypeResource
Idazure_isv.palo_alto_networks_ngfw.global_rulestack

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
nextLinkstringnext link.
valueobjectresponse value. Required.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_advanced_security_objectsselectglobal_rulestack_name, typeskip, topGet the list of advanced security objects.
getselectglobal_rulestack_nameGet a GlobalRulestackResource.
listselectList GlobalRulestackResource resources by Tenant.
create_or_updateinsertglobal_rulestack_name, locationCreate a GlobalRulestackResource.
updateupdateglobal_rulestack_nameUpdate a GlobalRulestackResource.
create_or_updatereplaceglobal_rulestack_name, locationCreate a GlobalRulestackResource.
deletedeleteglobal_rulestack_nameDelete a GlobalRulestackResource.
list_app_idsexecglobal_rulestack_nameappIdVersion, appPrefix, skip, topList of AppIds for GlobalRulestack ApiVersion.
list_countriesexecglobal_rulestack_nameskip, topList of countries for Rulestack.
list_firewallsexecglobal_rulestack_nameList of Firewalls associated with Rulestack.
list_predefined_url_categoriesexecglobal_rulestack_nameskip, topList predefined URL categories for rulestack.
list_security_servicesexecglobal_rulestack_name, typeskip, topList the security services for rulestack.
get_change_logexecglobal_rulestack_nameGet changelog.
commitexecglobal_rulestack_nameCommit rulestack configuration.
revertexecglobal_rulestack_nameRevert rulestack configuration.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
global_rulestack_namestringGlobalRulestack resource name. Required.
typestringKnown values are: "antiSpyware", "antiVirus", "ipsVulnerability", "urlFiltering", "fileBlocking", and "dnsSubscription". Required.
appIdVersionstringDefault value is None.
appPrefixstringDefault value is None.
skipstringDefault value is None.
topintegerDefault value is None.

SELECT examples​

Get the list of advanced security objects.

SELECT
nextLink,
value
FROM azure_isv.palo_alto_networks_ngfw.global_rulestack
WHERE global_rulestack_name = '{{ global_rulestack_name }}' -- required
AND type = '{{ type }}' -- required
AND skip = '{{ skip }}'
AND top = '{{ top }}'
;

INSERT examples​

Create a GlobalRulestackResource.

INSERT INTO azure_isv.palo_alto_networks_ngfw.global_rulestack (
location,
identity,
properties,
global_rulestack_name
)
SELECT
'{{ location }}' /* required */,
'{{ identity }}',
'{{ properties }}',
'{{ global_rulestack_name }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
type
;

UPDATE examples​

Update a GlobalRulestackResource.

UPDATE azure_isv.palo_alto_networks_ngfw.global_rulestack
SET
location = '{{ location }}',
identity = '{{ identity }}',
properties = '{{ properties }}'
WHERE
global_rulestack_name = '{{ global_rulestack_name }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
type;

REPLACE examples​

Create a GlobalRulestackResource.

REPLACE azure_isv.palo_alto_networks_ngfw.global_rulestack
SET
location = '{{ location }}',
identity = '{{ identity }}',
properties = '{{ properties }}'
WHERE
global_rulestack_name = '{{ global_rulestack_name }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
type;

DELETE examples​

Delete a GlobalRulestackResource.

DELETE FROM azure_isv.palo_alto_networks_ngfw.global_rulestack
WHERE global_rulestack_name = '{{ global_rulestack_name }}' --required
;

Lifecycle Methods​

List of AppIds for GlobalRulestack ApiVersion.

EXEC azure_isv.palo_alto_networks_ngfw.global_rulestack.list_app_ids
@global_rulestack_name='{{ global_rulestack_name }}' --required,
@appIdVersion='{{ appIdVersion }}',
@appPrefix='{{ appPrefix }}',
@skip='{{ skip }}',
@top='{{ top }}'
;