interfaces_effective_network_security_groups
Creates, updates, deletes, gets or lists an interfaces_effective_network_security_groups resource.
Overview
| Name | interfaces_effective_network_security_groups |
| Type | Resource |
| Id | azure.network.interfaces_effective_network_security_groups |
Fields
The following fields are returned by SELECT queries:
- list
Request successful. The operation returns a list of NetworkSecurityGroup resources.
| Name | Datatype | Description |
|---|---|---|
association | object | Associated resources. |
effectiveSecurityRules | array | A collection of effective security rules. |
networkSecurityGroup | object | Reference to another subresource. |
tagMap | string | Mapping of tags to list of IP Addresses included within the tag. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceGroupName, networkInterfaceName, subscriptionId | Gets all network security groups applied to a network interface. |
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.
| Name | Datatype | Description |
|---|---|---|
networkInterfaceName | string | The name of the network interface. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- list
Gets all network security groups applied to a network interface.
SELECT
association,
effectiveSecurityRules,
networkSecurityGroup,
tagMap
FROM azure.network.interfaces_effective_network_security_groups
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkInterfaceName = '{{ networkInterfaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;