quotas
Creates, updates, deletes, gets or lists a quotas resource.
Overview
| Name | quotas |
| Type | Resource |
| Id | azure.load_testing.quotas |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
limit | integer | Current quota limit of the quota bucket. |
provisioningState | string | Resource provisioning state. Known values are: "Succeeded", "Failed", "Canceled", and "Deleted". |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
usage | integer | Current quota usage of the quota bucket. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
limit | integer | Current quota limit of the quota bucket. |
provisioningState | string | Resource provisioning state. Known values are: "Succeeded", "Failed", "Canceled", and "Deleted". |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
usage | integer | Current quota usage of the quota bucket. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, quota_bucket_name, subscription_id | Get the available quota for a quota bucket per region per subscription. | |
list | select | location, subscription_id | Lists all the available quota per region per subscription. | |
check_availability | exec | location, quota_bucket_name, subscription_id | Check Quota Availability on quota bucket per region per subscription. |
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 name of Azure region. Required. |
quota_bucket_name | string | Quota Bucket name. Required. |
subscription_id | string |
SELECT examples
- get
- list
Get the available quota for a quota bucket per region per subscription.
SELECT
id,
name,
limit,
provisioningState,
systemData,
type,
usage
FROM azure.load_testing.quotas
WHERE location = '{{ location }}' -- required
AND quota_bucket_name = '{{ quota_bucket_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lists all the available quota per region per subscription.
SELECT
id,
name,
limit,
provisioningState,
systemData,
type,
usage
FROM azure.load_testing.quotas
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- check_availability
Check Quota Availability on quota bucket per region per subscription.
EXEC azure.load_testing.quotas.check_availability
@location='{{ location }}' --required,
@quota_bucket_name='{{ quota_bucket_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;