Skip to main content

network_manager_effective_security_admin_rules

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

Overview​

Namenetwork_manager_effective_security_admin_rules
TypeResource
Idazure.network.network_manager_effective_security_admin_rules

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
configurationDescriptionstringA description of the security admin configuration.
kindstringWhether the rule is custom or default. Required. Known values are: "Custom" and "Default".
ruleCollectionAppliesToGroupsarrayGroups for rule collection.
ruleCollectionDescriptionstringA description of the rule collection.
ruleGroupsarrayEffective configuration groups.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_network_manager_effective_security_admin_rulesselectresource_group_name, virtual_network_name, subscription_id$topList all effective security admin rules applied on a virtual network.

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.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
virtual_network_namestringThe name of the virtual network. Required.
$topintegerAn optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

SELECT examples​

List all effective security admin rules applied on a virtual network.

SELECT
id,
configurationDescription,
kind,
ruleCollectionAppliesToGroups,
ruleCollectionDescription,
ruleGroups
FROM azure.network.network_manager_effective_security_admin_rules
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND virtual_network_name = '{{ virtual_network_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $top = '{{ $top }}'
;