Skip to main content

ip_firewall_rules

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

Overview

Nameip_firewall_rules
TypeResource
Idazure.synapse.ip_firewall_rules

Fields

NameDatatypeDescription
end_ip_addresstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
ruleNametextfield from the properties object
start_ip_addresstextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, ruleName, subscriptionId, workspaceNameGet a firewall rule
list_by_workspaceSELECTresourceGroupName, subscriptionId, workspaceNameReturns a list of firewall rules
create_or_updateINSERTresourceGroupName, ruleName, subscriptionId, workspaceNameCreates or updates a firewall rule
deleteDELETEresourceGroupName, ruleName, subscriptionId, workspaceNameDeletes a firewall rule
replace_allEXECresourceGroupName, subscriptionId, workspaceNameReplaces firewall rules

SELECT examples

Returns a list of firewall rules

SELECT
end_ip_address,
provisioning_state,
resourceGroupName,
ruleName,
start_ip_address,
subscriptionId,
workspaceName
FROM azure.synapse.vw_ip_firewall_rules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.synapse.ip_firewall_rules (
resourceGroupName,
ruleName,
subscriptionId,
workspaceName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ ruleName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified ip_firewall_rules resource.

/*+ delete */
DELETE FROM azure.synapse.ip_firewall_rules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND ruleName = '{{ ruleName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';