firewall_policy_rule_collection_groups
Creates, updates, deletes, gets or lists a firewall_policy_rule_collection_groups
resource.
Overview
Name | firewall_policy_rule_collection_groups |
Type | Resource |
Id | azure.network.firewall_policy_rule_collection_groups |
Fields
- vw_firewall_policy_rule_collection_groups
- firewall_policy_rule_collection_groups
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | text | A unique read-only string that changes whenever the resource is updated. |
firewallPolicyName | text | field from the properties object |
priority | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
ruleCollectionGroupName | text | field from the properties object |
rule_collections | text | field from the properties object |
size | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Rule Group type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of the rule collection group. |
type | string | Rule Group type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Gets the specified FirewallPolicyRuleCollectionGroup. |
list | SELECT | firewallPolicyName, resourceGroupName, subscriptionId | Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. |
create_or_update | INSERT | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Creates or updates the specified FirewallPolicyRuleCollectionGroup. |
delete | DELETE | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Deletes the specified FirewallPolicyRuleCollectionGroup. |
SELECT
examples
Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.
- vw_firewall_policy_rule_collection_groups
- firewall_policy_rule_collection_groups
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 }}';
SELECT
id,
name,
etag,
properties,
type
FROM azure.network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: size
value: string
- name: priority
value: integer
- name: ruleCollections
value:
- - name: ruleCollectionType
value: string
- name: name
value: string
- name: priority
value: integer
- name: provisioningState
value: []
- name: name
value: string
- name: etag
value: string
- name: type
value: string
- name: id
value: string
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 }}';