Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Commands/apr/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _apr_

Manage Azure Package Registry

## Subgroups

- [registry](/Commands/apr/registry/readme.md)
: Manage Azure Package Registry registries
16 changes: 16 additions & 0 deletions Commands/apr/registry/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _apr registry create_

Create a Registry

## Versions

### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{} 2026-04-01-preview -->

#### examples

- CreateRegistry
```bash
apr registry create --resource-group testrg --registry-name contoso-prod --location westus
```
16 changes: 16 additions & 0 deletions Commands/apr/registry/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _apr registry delete_

Delete a Registry

## Versions

### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{} 2026-04-01-preview -->

#### examples

- DeleteRegistry
```bash
apr registry delete --resource-group testrg --registry-name contoso-prod
```
22 changes: 22 additions & 0 deletions Commands/apr/registry/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# [Command] _apr registry list_

List Registry resources by subscription ID

## Versions

### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.packageregistry/registries 2026-04-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries 2026-04-01-preview -->

#### examples

- ListRegistriesBySubscription
```bash
apr registry list
```

- ListRegistriesByResourceGroup
```bash
apr registry list --resource-group testrg
```
16 changes: 16 additions & 0 deletions Commands/apr/registry/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _apr registry show_

Get a Registry

## Versions

### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{} 2026-04-01-preview -->

#### examples

- GetRegistry
```bash
apr registry show --resource-group testrg --registry-name contoso-prod
```
16 changes: 16 additions & 0 deletions Commands/apr/registry/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _apr registry update_

Update a Registry

## Versions

### [2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{} 2026-04-01-preview -->

#### examples

- UpdateRegistry
```bash
apr registry update --resource-group testrg --registry-name contoso-prod --tags "{env:production}"
```
20 changes: 20 additions & 0 deletions Commands/apr/registry/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _apr registry_

Manage Azure Package Registry registries

## Commands

- [create](/Commands/apr/registry/_create.md)
: Create a Registry

- [delete](/Commands/apr/registry/_delete.md)
: Delete a Registry

- [list](/Commands/apr/registry/_list.md)
: List Registry resources by subscription ID

- [show](/Commands/apr/registry/_show.md)
: Get a Registry

- [update](/Commands/apr/registry/_update.md)
: Update a Registry
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- [appnet](/Commands/appnet/readme.md)
: Azure Kubernetes Application Network

- [apr](/Commands/apr/readme.md)
: Manage Azure Package Registry

- [arc](/Commands/arc/readme.md)
: Manage Azure Arc Machines.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.packageregistry/registries", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlBhY2thZ2VSZWdpc3RyeS9yZWdpc3RyaWVz/V/MjAyNi0wNC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXM=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apr registry", "commands": [{"name": "list", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.packageregistry/registries", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlBhY2thZ2VSZWdpc3RyeS9yZWdpc3RyaWVz/V/MjAyNi0wNC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXM=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Registries_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Registries_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Registries_ListBySubscription"], "operationId": "Registries_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.PackageRegistry/registries", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.PackageRegistry/registries/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "apiEndpoint"}, {"readOnly": true, "type": "string", "name": "contentEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Registries_ListByResourceGroup"], "operationId": "Registries_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PackageRegistry/registries", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.PackageRegistry/registries/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "apiEndpoint"}, {"readOnly": true, "type": "string", "name": "contentEndpoint"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Loading
Loading