firewall_policy_rule_collection_group_drafts
Creates, updates, deletes, gets or lists a firewall_policy_rule_collection_group_drafts
resource.
Overview
Name | firewall_policy_rule_collection_group_drafts |
Type | Resource |
Id | azure.network.firewall_policy_rule_collection_group_drafts |
Fields
- vw_firewall_policy_rule_collection_group_drafts
- firewall_policy_rule_collection_group_drafts
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. |
firewallPolicyName | text | field from the properties object |
priority | 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. |
properties | object | Properties of the rule collection group draft. |
type | string | Rule Group type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Get Rule Collection Group Draft. |
create_or_update | INSERT | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Create or Update Rule Collection Group Draft. |
delete | DELETE | firewallPolicyName, resourceGroupName, ruleCollectionGroupName, subscriptionId | Delete Rule Collection Group Draft. |
SELECT
examples
Get Rule Collection Group Draft.
- vw_firewall_policy_rule_collection_group_drafts
- firewall_policy_rule_collection_group_drafts
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- 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: name
value: string
- name: type
value: string
- name: id
value: string
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 }}';