Skip to main content

virtual_network_subnet_usage

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

Overview

Namevirtual_network_subnet_usage
TypeResource
Idazure.postgresql_flexible_servers.virtual_network_subnet_usage

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
delegatedSubnetsUsagearray:vartype delegated_subnets_usage: list[~azure.mgmt.postgresqlflexibleservers.models.DelegatedSubnetUsage]
locationstringlocation of the delegated subnet usage.
subscriptionIdstringsubscriptionId of the delegated subnet usage.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation_name, subscription_idLists 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.

NameDatatypeDescription
location_namestringThe name of the location. Required.
subscription_idstring

SELECT examples

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
;