Skip to main content

virtual_networks_usages

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

Overview

Namevirtual_networks_usages
TypeResource
Idazure.network.virtual_networks_usages

Fields

NameDatatypeDescription
idstringSubnet identifier.
nameobjectUsage strings container.
currentValuenumberIndicates number of IPs used from the Subnet.
limitnumberIndicates the size of the subnet.
unitstringUsage units. Returns 'Count'.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, virtualNetworkNameLists usage stats.

SELECT examples

Lists usage stats.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.network.virtual_networks_usages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualNetworkName = '{{ virtualNetworkName }}';