Skip to main content

firewall_rules

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

Overview

Namefirewall_rules
TypeResource
Idazure.data_lake_store.firewall_rules

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
accountNametextfield from the properties object
end_ip_addresstextfield from the properties object
firewallRuleNametextfield from the properties object
resourceGroupNametextfield from the properties object
start_ip_addresstextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, firewallRuleName, resourceGroupName, subscriptionIdGets the specified Data Lake Store firewall rule.
list_by_accountSELECTaccountName, resourceGroupName, subscriptionIdLists the Data Lake Store firewall rules within the specified Data Lake Store account.
create_or_updateINSERTaccountName, firewallRuleName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.
deleteDELETEaccountName, firewallRuleName, resourceGroupName, subscriptionIdDeletes the specified firewall rule from the specified Data Lake Store account.
updateUPDATEaccountName, firewallRuleName, resourceGroupName, subscriptionIdUpdates the specified firewall rule.

SELECT examples

Lists the Data Lake Store firewall rules within the specified Data Lake Store account.

SELECT
id,
name,
accountName,
end_ip_address,
firewallRuleName,
resourceGroupName,
start_ip_address,
subscriptionId,
type
FROM azure.data_lake_store.vw_firewall_rules
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_lake_store.firewall_rules (
accountName,
firewallRuleName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ accountName }}',
'{{ firewallRuleName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

UPDATE example

Updates a firewall_rules resource.

/*+ update */
UPDATE azure.data_lake_store.firewall_rules
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND firewallRuleName = '{{ firewallRuleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified firewall_rules resource.

/*+ delete */
DELETE FROM azure.data_lake_store.firewall_rules
WHERE accountName = '{{ accountName }}'
AND firewallRuleName = '{{ firewallRuleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';