Registries - List Usages
Hiermee haalt u het quotumgebruik voor het opgegeven containerregister op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages?api-version=2023-01-01-preview
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
registry
|
path | True |
string minLength: 5maxLength: 50 pattern: ^[a-zA-Z0-9]*$ |
De naam van het containerregister. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string (uuid) |
De id van het doelabonnement. De waarde moet een UUID zijn. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De aanvraag is geslaagd; de registergebruiken zijn opgehaald en geretourneerd. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
RegistryListUsages
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/listUsages?api-version=2023-01-01-preview
Voorbeeldrespons
{
"value": [
{
"name": "Size",
"limit": 107374182400,
"currentValue": 12345678,
"unit": "Bytes"
},
{
"name": "Webhooks",
"limit": 10,
"currentValue": 2,
"unit": "Count"
}
]
}
Definities
Name | Description |
---|---|
Registry |
Het quotumgebruik voor een containerregister. |
Registry |
Het resultaat van een aanvraag voor het ophalen van quotumgebruik van containerregisters. |
Registry |
De maateenheid. |
RegistryUsage
Het quotumgebruik voor een containerregister.
Name | Type | Description |
---|---|---|
currentValue |
integer (int64) |
De huidige waarde van het gebruik. |
limit |
integer (int64) |
De limiet van het gebruik. |
name |
string |
De naam van het gebruik. |
unit |
De maateenheid. |
RegistryUsageListResult
Het resultaat van een aanvraag voor het ophalen van quotumgebruik van containerregisters.
Name | Type | Description |
---|---|---|
value |
De lijst met quotumgebruiken voor containerregisters. |
RegistryUsageUnit
De maateenheid.
Waarde | Description |
---|---|
Bytes | |
Count |