Skip to main content

ipv6_firewall_rules

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

Overview

Nameipv6_firewall_rules
TypeResource
Idazure.sql.ipv6_firewall_rules

Fields

NameDatatypeDescription
end_ipv6_addresstextfield from the properties object
firewallRuleNametextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
start_ipv6_addresstextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfirewallRuleName, resourceGroupName, serverName, subscriptionIdGets an IPv6 firewall rule.
list_by_serverSELECTresourceGroupName, serverName, subscriptionIdGets a list of IPv6 firewall rules.
create_or_updateINSERTfirewallRuleName, resourceGroupName, serverName, subscriptionIdCreates or updates an IPv6 firewall rule.
deleteDELETEfirewallRuleName, resourceGroupName, serverName, subscriptionIdDeletes an IPv6 firewall rule.

SELECT examples

Gets a list of IPv6 firewall rules.

SELECT
end_ipv6_address,
firewallRuleName,
resourceGroupName,
serverName,
start_ipv6_address,
subscriptionId
FROM azure.sql.vw_ipv6_firewall_rules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.sql.ipv6_firewall_rules (
firewallRuleName,
resourceGroupName,
serverName,
subscriptionId,
properties
)
SELECT
'{{ firewallRuleName }}',
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified ipv6_firewall_rules resource.

/*+ delete */
DELETE FROM azure.sql.ipv6_firewall_rules
WHERE firewallRuleName = '{{ firewallRuleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';