virtual_network_subnet_usage
Creates, updates, deletes, gets or lists a virtual_network_subnet_usage resource.
Overview
| Name | virtual_network_subnet_usage |
| Type | Resource |
| Id | azure.postgresql_flexible_servers.virtual_network_subnet_usage |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
delegatedSubnetsUsage | array | :vartype delegated_subnets_usage: list[~azure.mgmt.postgresqlflexibleservers.models.DelegatedSubnetUsage] |
location | string | location of the delegated subnet usage. |
subscriptionId | string | subscriptionId of the delegated subnet usage. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location_name, subscription_id | Lists the virtual network subnet usage for a given 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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | The name of the location. Required. |
subscription_id | string |
SELECT examples
- list
Lists the virtual network subnet usage for a given virtual network.
SELECT
delegatedSubnetsUsage,
location,
subscriptionId
FROM azure.postgresql_flexible_servers.virtual_network_subnet_usage
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;