Skip to main content

firewall_policy_rule_collection_groups

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

Overview

Namefirewall_policy_rule_collection_groups
TypeResource
Idazure.network.firewall_policy_rule_collection_groups

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource that is unique within a resource group. This name can be used to access the resource.
etagtextA unique read-only string that changes whenever the resource is updated.
firewallPolicyNametextfield from the properties object
prioritytextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
ruleCollectionGroupNametextfield from the properties object
rule_collectionstextfield from the properties object
sizetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextRule Group type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfirewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionIdGets the specified FirewallPolicyRuleCollectionGroup.
listSELECTfirewallPolicyName, resourceGroupName, subscriptionIdLists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
create_or_updateINSERTfirewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionIdCreates or updates the specified FirewallPolicyRuleCollectionGroup.
deleteDELETEfirewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionIdDeletes the specified FirewallPolicyRuleCollectionGroup.

SELECT examples

Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.

SELECT
id,
name,
etag,
firewallPolicyName,
priority,
provisioning_state,
resourceGroupName,
ruleCollectionGroupName,
rule_collections,
size,
subscriptionId,
type
FROM azure.network.vw_firewall_policy_rule_collection_groups
WHERE firewallPolicyName = '{{ firewallPolicyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.firewall_policy_rule_collection_groups (
firewallPolicyName,
resourceGroupName,
ruleCollectionGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ firewallPolicyName }}',
'{{ resourceGroupName }}',
'{{ ruleCollectionGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified firewall_policy_rule_collection_groups resource.

/*+ delete */
DELETE FROM azure.network.firewall_policy_rule_collection_groups
WHERE firewallPolicyName = '{{ firewallPolicyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND ruleCollectionGroupName = '{{ ruleCollectionGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';