Skip to main content

registries_usages

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

Overview

Nameregistries_usages
TypeResource
Idazure.container_registry.registries_usages

Fields

The following fields are returned by SELECT queries:

The request was successful; the registry usages retrieved and returned successfully.

NameDatatypeDescription
namestringThe name of the usage.
currentValueinteger (int64)The current value of the usage.
limitinteger (int64)The limit of the usage.
unitstringThe unit of measurement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, registryNameGets the quota usages for the specified container registry.

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
registryNamestringThe name of the container registry.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the quota usages for the specified container registry.

SELECT
name,
currentValue,
limit,
unit
FROM azure.container_registry.registries_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
;