swagger: '2.0' info: version: 2021-11-01-preview title: Microsoft Azure RecoveryServicesClient x-ms-code-generation-settings: internalConstructors: false host: management.azure.com schemes: - https consumes: - application/json produces: - application/json paths: ? /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/usages : get: tags: - VaultUsages description: Fetches the usages of the vault. operationId: microsoftAzureUsagesListbyvaults produces: - application/json parameters: - $ref: '#/parameters/SubscriptionId' - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/VaultName' responses: '200': description: OK schema: $ref: '#/definitions/VaultUsageList' deprecated: false x-ms-pageable: nextLinkName: x-ms-examples: Gets vault usages: $ref: ./examples/ListUsages.json summary: >- Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Recoveryservices Vaults Vaultname Usages definitions: VaultUsage: description: Usages of a vault. type: object properties: unit: description: Unit of the usage. enum: - Count - Bytes - Seconds - Percent - CountPerSecond - BytesPerSecond type: string x-ms-enum: name: UsagesUnit modelAsString: true quotaPeriod: description: Quota period of usage. type: string nextResetTime: format: date-time description: Next reset time of usage. type: string currentValue: format: int64 description: Current value of usage. type: integer limit: format: int64 description: Limit of usage. type: integer name: $ref: '#/definitions/NameInfo' description: Name of usage. VaultUsageList: description: Usage for vault. type: object properties: value: description: The list of usages for the given vault. type: array items: $ref: '#/definitions/VaultUsage' x-ms-identifiers: - name NameInfo: description: The name of usage. type: object properties: value: description: Value of usage. type: string localizedValue: description: Localized value of usage. type: string parameters: SubscriptionId: name: subscriptionId in: path description: The subscription Id. required: true type: string ResourceGroupName: name: resourceGroupName in: path description: >- The name of the resource group where the recovery services vault is present. required: true x-ms-parameter-location: method type: string VaultName: name: vaultName in: path description: The name of the recovery services vault. required: true x-ms-parameter-location: method type: string ApiVersion: name: api-version in: query description: Client Api Version. required: true type: string securityDefinitions: azure_auth: type: oauth2 description: Azure Active Directory OAuth2 Flow flow: implicit authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize scopes: user_impersonation: impersonate your user account. security: - azure_auth: - user_impersonation tags: - name: VaultUsages