swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector AscUsages API schemes: - https tags: - name: AscUsages paths: /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages: get: produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - name: location in: path required: true type: string description: The name of the region to query for usage information. responses: '200': description: The usage information was returned. schema: $ref: '#/definitions/ResourceUsagesListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: AscUsages_List: $ref: ./examples/AscResourceUsages_Get.json x-ms-pageable: nextLinkName: nextLink tags: - AscUsages description: Gets the quantity used and quota limit for resources operationId: microsoftAzureAscusagesList summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Locations Location Usages definitions: CloudErrorBody: description: An error response. properties: code: description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. type: string details: description: A list of additional details about the error. items: $ref: '#/definitions/CloudErrorBody' type: array x-ms-identifiers: [] message: description: A message describing the error, intended to be suitable for display in a user interface. type: string target: description: The target of the particular error. For example, the name of the property in error. type: string type: object CloudError: x-ms-external: true description: An error response. properties: error: description: The body of the error. $ref: '#/definitions/CloudErrorBody' type: object ResourceUsagesListResult: description: Result of the request to list resource usages. It contains a list of resource usages & limits and a URL link to get the next set of results. properties: nextLink: description: URL to get the next set of resource usage list results if there are any. readOnly: true type: string value: description: List of usages and limits for resources controlled by the Microsoft.StorageCache resource provider. items: $ref: '#/definitions/ResourceUsage' readOnly: true type: array x-ms-identifiers: - name type: object ResourceUsage: description: The usage and limit (quota) for a resource. properties: limit: description: The limit (quota) for this resource. readOnly: true type: integer format: int32 minimum: 0 unit: description: Unit that the limit and usages are expressed in, such as 'Count'. readOnly: true type: string currentValue: description: The current usage of this resource. readOnly: true type: integer format: int32 minimum: 0 name: description: Naming information for this resource type. readOnly: true type: object properties: value: description: Canonical name for this resource type. type: string localizedValue: description: Localized name for this resource type. type: string type: object x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'