virtual_networks_usages
Creates, updates, deletes, gets or lists a virtual_networks_usages
resource.
Overview
Name | virtual_networks_usages |
Type | Resource |
Id | azure.network.virtual_networks_usages |
Fields
The following fields are returned by SELECT
queries:
- list
Usage stats for vnet.
Name | Datatype | Description |
---|---|---|
id | string | Subnet identifier. |
name | object | The name containing common and localized value for usage. |
currentValue | number (double) | Indicates number of IPs used from the Subnet. |
limit | number (double) | Indicates the size of the subnet. |
unit | string | Usage units. Returns 'Count'. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , virtualNetworkName , subscriptionId | Lists usage stats. |
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 |
---|---|---|
resourceGroupName | string | The name of the resource group. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
virtualNetworkName | string | The name of the virtual network. |
SELECT
examples
- list
Lists usage stats.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.network.virtual_networks_usages
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualNetworkName = '{{ virtualNetworkName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;