Skip to main content

firewalls

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

Overview

Namefirewalls
TypeResource
Idazure_isv.paloalto.firewalls

Fields

NameDatatypeDescription
associated_rulestacktextfield from the properties object
dns_settingstextfield from the properties object
firewallNametextfield from the properties object
front_end_settingstextfield from the properties object
identitytextThe properties of the managed service identities assigned to this resource.
is_panorama_managedtextfield from the properties object
is_strata_cloud_managedtextfield from the properties object
locationtextThe geo-location where the resource lives
marketplace_detailstextfield from the properties object
network_profiletextfield from the properties object
pan_etagtextfield from the properties object
panorama_configtextfield from the properties object
plan_datatextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
strata_cloud_manager_configtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfirewallName, resourceGroupName, subscriptionIdGet a FirewallResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList FirewallResource resources by resource group
list_by_subscriptionSELECTsubscriptionIdList FirewallResource resources by subscription ID
create_or_updateINSERTfirewallName, resourceGroupName, subscriptionId, data__propertiesCreate a FirewallResource
deleteDELETEfirewallName, resourceGroupName, subscriptionIdDelete a FirewallResource
updateUPDATEfirewallName, resourceGroupName, subscriptionIdUpdate a FirewallResource
save_log_profileEXECfirewallName, resourceGroupName, subscriptionIdLog Profile for Firewall

SELECT examples

List FirewallResource resources by subscription ID

SELECT
associated_rulestack,
dns_settings,
firewallName,
front_end_settings,
identity,
is_panorama_managed,
is_strata_cloud_managed,
location,
marketplace_details,
network_profile,
pan_etag,
panorama_config,
plan_data,
provisioning_state,
resourceGroupName,
strata_cloud_manager_config,
subscriptionId,
system_data,
tags
FROM azure_isv.paloalto.vw_firewalls
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.paloalto.firewalls (
firewallName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
identity,
tags,
location
)
SELECT
'{{ firewallName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a firewalls resource.

/*+ update */
UPDATE azure_isv.paloalto.firewalls
SET
identity = '{{ identity }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
firewallName = '{{ firewallName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified firewalls resource.

/*+ delete */
DELETE FROM azure_isv.paloalto.firewalls
WHERE firewallName = '{{ firewallName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';