watchers_vm_security_rules
Creates, updates, deletes, gets or lists a watchers_vm_security_rules resource.
Overview
| Name | watchers_vm_security_rules |
| Type | Resource |
| Id | azure.network.watchers_vm_security_rules |
Fields
The following fields are returned by SELECT queries:
- get
Request successful. The operation returns security group rules on the VM.
| Name | Datatype | Description |
|---|---|---|
networkInterfaces | array | List of network interfaces on the specified VM. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, networkWatcherName, subscriptionId | Gets the configured and effective security group rules on the specified VM. |
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 |
|---|---|---|
networkWatcherName | string | The name of the network watcher. |
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
- get
Gets the configured and effective security group rules on the specified VM.
SELECT
networkInterfaces
FROM azure.network.watchers_vm_security_rules
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkWatcherName = '{{ networkWatcherName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;