swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Usages API schemes: - https tags: - name: Usages paths: /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages: get: tags: - Usages operationId: microsoftAzureUsagesList description: Lists compute usages for a subscription. parameters: - name: location in: path required: true type: string description: The location upon which resource usage is queried. pattern: ^[-\w\._]+$ - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: '' schema: $ref: '#/definitions/UsagesListResult' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Network Locations Location Usages definitions: UsageName: properties: value: type: string description: Gets or sets a string describing the resource name. localizedValue: type: string description: Gets or sets a localized string describing the resource name. description: The Usage Names. Usage: properties: unit: type: string description: Gets or sets an enum describing the unit of measurement. enum: - Count x-ms-enum: name: UsageUnit modelAsString: true currentValue: type: integer format: int32 description: Gets or sets the current value of the usage. limit: type: integer format: int64 description: Gets or sets the limit of usage. name: $ref: '#/definitions/UsageName' description: Gets or sets the name of the type of usage. required: - unit - currentValue - limit - name description: Describes Network Resource Usage. UsagesListResult: properties: value: type: array items: $ref: '#/definitions/Usage' description: Gets or sets the list Network Resource Usages. nextLink: type: string description: URL to get the next set of results. description: The List Usages operation response. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'