Skip to main content

watchers_vm_security_rules

Creates, updates, deletes, gets or lists a watchers_vm_security_rules resource.

Overview

Namewatchers_vm_security_rules
TypeResource
Idazure.network.watchers_vm_security_rules

Fields

NameDatatypeDescription
networkInterfacesarrayList of network interfaces on the specified VM.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkWatcherName, resourceGroupName, subscriptionId, data__targetResourceIdGets the configured and effective security group rules on the specified VM.

SELECT examples

Gets the configured and effective security group rules on the specified VM.

SELECT
networkInterfaces
FROM azure.network.watchers_vm_security_rules
WHERE networkWatcherName = '{{ networkWatcherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__targetResourceId = '{{ data__targetResourceId }}';