Skip to main content

firewall_policy_rule_collection_group_drafts

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

Overview

Namefirewall_policy_rule_collection_group_drafts
TypeResource
Idazure.network.firewall_policy_rule_collection_group_drafts

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.
firewallPolicyNametextfield from the properties object
prioritytextfield 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, subscriptionIdGet Rule Collection Group Draft.
create_or_updateINSERTfirewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionIdCreate or Update Rule Collection Group Draft.
deleteDELETEfirewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionIdDelete Rule Collection Group Draft.

SELECT examples

Get Rule Collection Group Draft.

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

INSERT example

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

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

DELETE example

Deletes the specified firewall_policy_rule_collection_group_drafts resource.

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