From 6dc0cea205e0cadd3d72f05c837280c3758470e5 Mon Sep 17 00:00:00 2001 From: Kai Daniels Date: Wed, 16 Sep 2026 19:12:19 +0000 Subject: [PATCH] add APR registry command models Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 99135581-9cf9-4a99-a7b3-63692da88967 --- Commands/apr/readme.md | 8 + Commands/apr/registry/_create.md | 16 + Commands/apr/registry/_delete.md | 16 + Commands/apr/registry/_list.md | 22 + Commands/apr/registry/_show.md | 16 + Commands/apr/registry/_update.md | 16 + Commands/apr/registry/readme.md | 20 + Commands/readme.md | 3 + .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 207 +++++++++ .../2026-04-01-preview.md | 1 + .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 397 ++++++++++++++++++ 13 files changed, 724 insertions(+) create mode 100644 Commands/apr/readme.md create mode 100644 Commands/apr/registry/_create.md create mode 100644 Commands/apr/registry/_delete.md create mode 100644 Commands/apr/registry/_list.md create mode 100644 Commands/apr/registry/_show.md create mode 100644 Commands/apr/registry/_update.md create mode 100644 Commands/apr/registry/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml diff --git a/Commands/apr/readme.md b/Commands/apr/readme.md new file mode 100644 index 000000000..617e46496 --- /dev/null +++ b/Commands/apr/readme.md @@ -0,0 +1,8 @@ +# [Group] _apr_ + +Manage Azure Package Registry + +## Subgroups + +- [registry](/Commands/apr/registry/readme.md) +: Manage Azure Package Registry registries diff --git a/Commands/apr/registry/_create.md b/Commands/apr/registry/_create.md new file mode 100644 index 000000000..45ab56488 --- /dev/null +++ b/Commands/apr/registry/_create.md @@ -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** + + + +#### examples + +- CreateRegistry + ```bash + apr registry create --resource-group testrg --registry-name contoso-prod --location westus + ``` diff --git a/Commands/apr/registry/_delete.md b/Commands/apr/registry/_delete.md new file mode 100644 index 000000000..7bf062669 --- /dev/null +++ b/Commands/apr/registry/_delete.md @@ -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** + + + +#### examples + +- DeleteRegistry + ```bash + apr registry delete --resource-group testrg --registry-name contoso-prod + ``` diff --git a/Commands/apr/registry/_list.md b/Commands/apr/registry/_list.md new file mode 100644 index 000000000..fff078b49 --- /dev/null +++ b/Commands/apr/registry/_list.md @@ -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** + + + + +#### examples + +- ListRegistriesBySubscription + ```bash + apr registry list + ``` + +- ListRegistriesByResourceGroup + ```bash + apr registry list --resource-group testrg + ``` diff --git a/Commands/apr/registry/_show.md b/Commands/apr/registry/_show.md new file mode 100644 index 000000000..f33466ff9 --- /dev/null +++ b/Commands/apr/registry/_show.md @@ -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** + + + +#### examples + +- GetRegistry + ```bash + apr registry show --resource-group testrg --registry-name contoso-prod + ``` diff --git a/Commands/apr/registry/_update.md b/Commands/apr/registry/_update.md new file mode 100644 index 000000000..cfa64902b --- /dev/null +++ b/Commands/apr/registry/_update.md @@ -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** + + + +#### examples + +- UpdateRegistry + ```bash + apr registry update --resource-group testrg --registry-name contoso-prod --tags "{env:production}" + ``` diff --git a/Commands/apr/registry/readme.md b/Commands/apr/registry/readme.md new file mode 100644 index 000000000..5a96cb35f --- /dev/null +++ b/Commands/apr/registry/readme.md @@ -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 diff --git a/Commands/readme.md b/Commands/readme.md index bd1953c64..58bcf95e0 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -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. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.json new file mode 100644 index 000000000..a5fd6cff8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.json @@ -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", "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", "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"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml new file mode 100644 index 000000000..a437ebbc3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.md new file mode 100644 index 000000000..46cdfd2a4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.packageregistry/registries 2026-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcw==/2026-04-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.json new file mode 100644 index 000000000..656fb23c9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXMve3JlZ2lzdHJ5TmFtZX0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apr registry", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXMve3JlZ2lzdHJ5TmFtZX0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.registryName", "options": ["n", "name", "registry-name"], "required": true, "idPart": "name", "help": {"short": "The name of the registry. 3-24 characters of lowercase letters, digits, and hyphens; must start and end with a letter or digit."}, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Registries_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PackageRegistry/registries/{registryName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "registryName", "arg": "$Path.registryName", "required": true, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"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": [{"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": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXMve3JlZ2lzdHJ5TmFtZX0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.registryName", "options": ["n", "name", "registry-name"], "required": true, "idPart": "name", "help": {"short": "The name of the registry. 3-24 characters of lowercase letters, digits, and hyphens; must start and end with a letter or digit."}, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Registries_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PackageRegistry/registries/{registryName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "registryName", "arg": "$Path.registryName", "required": true, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"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": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXMve3JlZ2lzdHJ5TmFtZX0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.registryName", "options": ["n", "name", "registry-name"], "required": true, "idPart": "name", "help": {"short": "The name of the registry. 3-24 characters of lowercase letters, digits, and hyphens; must start and end with a letter or digit."}, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Registries_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PackageRegistry/registries/{registryName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "registryName", "arg": "$Path.registryName", "required": true, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"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}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"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": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.packageregistry/registries/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/packageregistry/ResourceProviders/Microsoft.PackageRegistry/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUGFja2FnZVJlZ2lzdHJ5L3JlZ2lzdHJpZXMve3JlZ2lzdHJ5TmFtZX0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.registryName", "options": ["n", "name", "registry-name"], "required": true, "idPart": "name", "help": {"short": "The name of the registry. 3-24 characters of lowercase letters, digits, and hyphens; must start and end with a letter or digit."}, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Registries_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PackageRegistry/registries/{registryName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "registryName", "arg": "$Path.registryName", "required": true, "format": {"pattern": "^[a-z0-9]([a-z0-9-]{1,22}[a-z0-9])$"}}, {"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}}]}, "body": {"json": {"schema": {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "tags", "arg": "$properties.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"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": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml new file mode 100644 index 000000000..660fd4296 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wYWNrYWdlcmVnaXN0cnkvcmVnaXN0cmllcy97fQ==/2026-04-01-preview.xml @@ -0,0 +1,397 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+