Usage
Gets the current usage count and the limit for the resources under the subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Storage/usages?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
resourceGroupName
|
path | True |
|
The name of the resource group within the user's subscription. The name is case insensitive.
Regex pattern: |
|
subscriptionId
|
path | True |
|
Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
|
api-version
|
query | True |
|
Client Api Version. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK -- current usage acount and limit retrieved and returned successfully. Media Types: "application/json", "text/json" |
Examples
UsageList
Sample Request
GET https://management.azure.com/subscriptions/27de630f-e1ee-42de-8849-90def4986454/providers/Microsoft.Storage/usages?api-version=2017-06-01
Sample Response
{
"value": [
{
"unit": "Count",
"currentValue": 51,
"limit": 250,
"name": {
"value": "StorageAccounts",
"localizedValue": "Storage Accounts"
}
}
]
}
Definitions
| Usage |
Describes Storage Resource Usage. |
| UsageListResult | |
| UsageName |
Gets the name of the type of usage. |
Describes Storage Resource Usage.
| Name | Type | Description |
|---|---|---|
| currentValue |
|
Gets the current count of the allocated resources in the subscription. |
| limit |
|
Gets the maximum count of the resources that can be allocated in the subscription. |
| name |
Gets the name of the type of usage. |
|
| unit |
|
Gets the unit of measurement. |
| Name | Type | Description |
|---|---|---|
| value |
|
Gets or sets the list of Storage Resource Usages. |
Gets the name of the type of usage.
| Name | Type | Description |
|---|---|---|
| localizedValue |
|
Gets a localized string describing the resource name. |
| value |
|
Gets a string describing the resource name. |