quotas
Creates, updates, deletes, gets or lists a quotas resource.
Overview
| Name | quotas |
| Type | Resource |
| Id | azure_stack.subscriptions_admin.quotas |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource |
properties | object | Quotas for DelegatedProviders. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource |
properties | object | Quotas for DelegatedProviders. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, location, quota | Gets a quota by name. | |
list | select | subscriptionId, location | Get the list of quotas at a location. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
location | string | The AzureStack location. |
quota | string | Name of the quota. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call. |
SELECT examples
- get
- list
Gets a quota by name.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.subscriptions_admin.quotas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND quota = '{{ quota }}' -- required
;
Get the list of quotas at a location.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.subscriptions_admin.quotas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;