Skip to main content

quota_tiers

Creates, updates, deletes, gets or lists a quota_tiers resource.

Overview

Namequota_tiers
TypeResource
Idazure.cognitive_services.quota_tiers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
assignmentDatestring (date-time)The date on which the current tier was assigned to the subscription (UTC).
currentTierNamestringName of the current quota tier for the subscription.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tierUpgradeEligibilityInfoobjectInformation about the quota tier upgrade eligibility for the subscription.
tierUpgradePolicystringGets the tier upgrade policy for the subscription. Known values are: "OnceUpgradeIsAvailable" and "NoAutoUpgrade". (OnceUpgradeIsAvailable, NoAutoUpgrade)
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdefault_name, subscription_idGets the Quota Tier for a subscription. Gets the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
list_by_subscriptionselectsubscription_idReturns all the resources of a particular type belonging to a subscription.
create_or_updateinsertdefault_name, subscription_idUpdates the Quota Tier resource for a subscription. Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
updateupdatedefault_name, subscription_idUpdates the Quota Tier resource for a subscription. The only properties that can be updated are "tierUpgradePolicy". Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
create_or_updatereplacedefault_name, subscription_idUpdates the Quota Tier resource for a subscription. Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.

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.

NameDatatypeDescription
default_namestringDefault parameter. Leave the value as default. Required.
subscription_idstring

SELECT examples

Gets the Quota Tier for a subscription. Gets the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.

SELECT
id,
name,
assignmentDate,
currentTierName,
systemData,
tierUpgradeEligibilityInfo,
tierUpgradePolicy,
type
FROM azure.cognitive_services.quota_tiers
WHERE default_name = '{{ default_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Updates the Quota Tier resource for a subscription. Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.

INSERT INTO azure.cognitive_services.quota_tiers (
properties,
default_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ default_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Updates the Quota Tier resource for a subscription. The only properties that can be updated are "tierUpgradePolicy". Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.

UPDATE azure.cognitive_services.quota_tiers
SET
properties = '{{ properties }}'
WHERE
default_name = '{{ default_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

REPLACE examples

Updates the Quota Tier resource for a subscription. Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.

REPLACE azure.cognitive_services.quota_tiers
SET
properties = '{{ properties }}'
WHERE
default_name = '{{ default_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;