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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringName of the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
priorityintegerPriority of the Firewall Policy Rule Collection Group resource.
provisioningStatestringThe provisioning state of the firewall policy rule collection group resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
ruleCollectionsarrayGroup of Firewall Policy rule collections.
sizestringA read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB).
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, firewall_policy_name, rule_collection_group_name, subscription_idGets the specified FirewallPolicyRuleCollectionGroup.
listselectresource_group_name, firewall_policy_name, subscription_idLists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
create_or_updateinsertresource_group_name, firewall_policy_name, rule_collection_group_name, subscription_idCreates or updates the specified FirewallPolicyRuleCollectionGroup.
create_or_updatereplaceresource_group_name, firewall_policy_name, rule_collection_group_name, subscription_idCreates or updates the specified FirewallPolicyRuleCollectionGroup.
deletedeleteresource_group_name, firewall_policy_name, rule_collection_group_name, subscription_idDeletes the specified FirewallPolicyRuleCollectionGroup.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
firewall_policy_namestringThe name of the Firewall Policy. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
rule_collection_group_namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource. Required.
subscription_idstring

SELECT examples

Gets the specified FirewallPolicyRuleCollectionGroup.

SELECT
id,
name,
etag,
priority,
provisioningState,
ruleCollections,
size,
type
FROM azure.network.firewall_policy_rule_collection_groups
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND firewall_policy_name = '{{ firewall_policy_name }}' -- required
AND rule_collection_group_name = '{{ rule_collection_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates the specified FirewallPolicyRuleCollectionGroup.

INSERT INTO azure.network.firewall_policy_rule_collection_groups (
id,
name,
properties,
resource_group_name,
firewall_policy_name,
rule_collection_group_name,
subscription_id
)
SELECT
'{{ id }}',
'{{ name }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ firewall_policy_name }}',
'{{ rule_collection_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
type
;

REPLACE examples

Creates or updates the specified FirewallPolicyRuleCollectionGroup.

REPLACE azure.network.firewall_policy_rule_collection_groups
SET
id = '{{ id }}',
name = '{{ name }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND firewall_policy_name = '{{ firewall_policy_name }}' --required
AND rule_collection_group_name = '{{ rule_collection_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
properties,
type;

DELETE examples

Deletes the specified FirewallPolicyRuleCollectionGroup.

DELETE FROM azure.network.firewall_policy_rule_collection_groups
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND firewall_policy_name = '{{ firewall_policy_name }}' --required
AND rule_collection_group_name = '{{ rule_collection_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;