swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector VirtualNetworkSubnetUsage API schemes: - https tags: - name: VirtualNetworkSubnetUsage paths: ? /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage : post: tags: - VirtualNetworkSubnetUsage operationId: microsoftAzureVirtualnetworksubnetusageExecute x-ms-examples: VirtualNetworkSubnetUsageList: $ref: ./examples/VirtualNetworkSubnetUsage.json description: Get virtual network subnet usage for a given vNet resource id. parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../types/common-types.json#/parameters/LocationNameParameter - name: parameters in: body required: true schema: $ref: '#/definitions/VirtualNetworkSubnetUsageParameter' description: The required parameters for creating or updating a server. responses: '200': description: OK schema: $ref: '#/definitions/VirtualNetworkSubnetUsageResult' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Dbforpostgresql Locations Locationname Checkvirtualnetworksubnetusage definitions: VirtualNetworkSubnetUsageParameter: type: object properties: virtualNetworkArmResourceId: type: string description: Virtual network resource id. description: Virtual network subnet usage parameter DelegatedSubnetUsage: type: object properties: subnetName: type: string readOnly: true description: Name of the delegated subnet for which IP addresses are in use usage: type: integer format: int64 readOnly: true description: Number of IP addresses used by the delegated subnet description: Delegated subnet usage data. VirtualNetworkSubnetUsageResult: type: object properties: delegatedSubnetsUsage: type: array items: $ref: '#/definitions/DelegatedSubnetUsage' readOnly: true x-ms-identifiers: - subnetName location: type: string readOnly: true description: location of the delegated subnet usage subscriptionId: type: string readOnly: true description: subscriptionId of the delegated subnet usage description: Virtual network subnet usage data. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'