swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector CheckVirtualNetworkSubnetUsage API schemes: - https tags: - name: CheckVirtualNetworkSubnetUsage paths: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage: post: tags: - CheckVirtualNetworkSubnetUsage operationId: microsoftAzureCheckvirtualnetworksubnetusageExecute x-ms-examples: CheckVirtualNetworkSubnetUsage: $ref: ./examples/CheckVirtualNetworkSubnetUsage.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: ../../../common-types/v1/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 Dbformysql Locations Locationname Checkvirtualnetworksubnetusage definitions: VirtualNetworkSubnetUsageParameter: type: object properties: virtualNetworkResourceId: 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 subnet usage: type: integer format: int64 readOnly: true description: Number of used delegated subnets description: Delegated subnet usage data. VirtualNetworkSubnetUsageResult: type: object properties: location: type: string readOnly: true description: The location name. subscriptionId: type: string readOnly: true description: The subscription id. delegatedSubnetsUsage: description: A list of delegated subnet usage type: array items: $ref: '#/definitions/DelegatedSubnetUsage' x-ms-identifiers: [] readOnly: true description: Virtual network subnet usage data. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'