default_security_rules
Creates, updates, deletes, gets or lists a default_security_rules
resource.
Overview
Name | default_security_rules |
Type | Resource |
Id | azure.network.default_security_rules |
Fields
- vw_default_security_rules
- default_security_rules
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. |
description | text | field from the properties object |
access | text | field from the properties object |
defaultSecurityRuleName | text | field from the properties object |
destination_address_prefix | text | field from the properties object |
destination_address_prefixes | text | field from the properties object |
destination_application_security_groups | text | field from the properties object |
destination_port_range | text | field from the properties object |
destination_port_ranges | text | field from the properties object |
direction | text | field from the properties object |
etag | text | A unique read-only string that changes whenever the resource is updated. |
networkSecurityGroupName | text | field from the properties object |
priority | text | field from the properties object |
protocol | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
source_address_prefix | text | field from the properties object |
source_address_prefixes | text | field from the properties object |
source_application_security_groups | text | field from the properties object |
source_port_range | text | field from the properties object |
source_port_ranges | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of the resource. |
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 | Security rule resource. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | defaultSecurityRuleName, networkSecurityGroupName, resourceGroupName, subscriptionId | Get the specified default network security rule. |
list | SELECT | networkSecurityGroupName, resourceGroupName, subscriptionId | Gets all default security rules in a network security group. |
SELECT
examples
Gets all default security rules in a network security group.
- vw_default_security_rules
- default_security_rules
SELECT
id,
name,
description,
access,
defaultSecurityRuleName,
destination_address_prefix,
destination_address_prefixes,
destination_application_security_groups,
destination_port_range,
destination_port_ranges,
direction,
etag,
networkSecurityGroupName,
priority,
protocol,
provisioning_state,
resourceGroupName,
source_address_prefix,
source_address_prefixes,
source_application_security_groups,
source_port_range,
source_port_ranges,
subscriptionId,
type
FROM azure.network.vw_default_security_rules
WHERE networkSecurityGroupName = '{{ networkSecurityGroupName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
properties,
type
FROM azure.network.default_security_rules
WHERE networkSecurityGroupName = '{{ networkSecurityGroupName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';