quotas
Creates, updates, deletes, gets or lists a quotas resource.
Overview
| Name | quotas |
| Type | Resource |
| Id | azure.playwright_testing.quotas |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
freeTrial | object | The subscription quota resource free-trial properties. |
offeringType | string | Indicates the offering type for the subscription. Known values are: "NotApplicable", "PrivatePreview", "PublicPreview", and "GeneralAvailability". (NotApplicable, PrivatePreview, PublicPreview, GeneralAvailability) |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Creating, Deleting, Accepted) |
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". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
freeTrial | object | The subscription quota resource free-trial properties. |
offeringType | string | Indicates the offering type for the subscription. Known values are: "NotApplicable", "PrivatePreview", "PublicPreview", and "GeneralAvailability". (NotApplicable, PrivatePreview, PublicPreview, GeneralAvailability) |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Creating, Deleting, Accepted) |
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". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, quota_name, subscription_id | Get subscription quota by name. | |
list_by_subscription | select | location, subscription_id | List quotas for a given subscription Id. |
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 location of quota in ARM Normalized format like eastus, southeastasia etc. Required. |
quota_name | string | The quota name. Known values are: "ScalableExecution" and "Reporting". Required. |
subscription_id | string |
SELECT examples
- get
- list_by_subscription
Get subscription quota by name.
SELECT
id,
name,
freeTrial,
offeringType,
provisioningState,
systemData,
type
FROM azure.playwright_testing.quotas
WHERE location = '{{ location }}' -- required
AND quota_name = '{{ quota_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List quotas for a given subscription Id.
SELECT
id,
name,
freeTrial,
offeringType,
provisioningState,
systemData,
type
FROM azure.playwright_testing.quotas
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;