From 5a8fc13eee64cb5947b102b27999c9117a6067b8 Mon Sep 17 00:00:00 2001 From: clarkporter Date: Mon, 5 Jan 2026 23:28:08 +0000 Subject: [PATCH 1/3] fix(containerregistry): added preview version decorator to properties incorrectly flagged as stable --- .../Microsoft.ContainerRegistry/Registry/Registry.models.tsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.models.tsp index 743ad69d0371..27691aa662cc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.models.tsp @@ -227,11 +227,13 @@ model RegistryNameCheckRequest { */ @maxLength(90) @minLength(1) + @added(Versions.vLatestPreview) resourceGroupName?: string; /** * The auto generated domain name label of the container registry. This value defaults to "Unsecure". */ + @added(Versions.vLatestPreview) autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope = AutoGeneratedDomainNameLabelScope.Unsecure; } @@ -335,6 +337,7 @@ model RegistryProperties { /** * Determines the domain name label reuse scope. */ + @added(Versions.vLatestPreview) autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope = AutoGeneratedDomainNameLabelScope.Unsecure; /** @@ -710,6 +713,7 @@ model RegistryNameStatus { /** * The complete login server name with domain name label (DNL) hash, if available */ + @added(Versions.vLatestPreview) availableLoginServerName?: string; /** From 4ed1452d6330892630c60c24e96905e68492dd4f Mon Sep 17 00:00:00 2001 From: clarkporter Date: Tue, 6 Jan 2026 00:02:21 +0000 Subject: [PATCH 2/3] Updated 2025-11-01 stable generated swagger --- .../stable/2025-11-01/containerregistry.json | 86 ------------------- 1 file changed, 86 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json index 3711c2d7e36a..4f640cb52b42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json @@ -5690,50 +5690,6 @@ "type": { "$ref": "#/definitions/ContainerRegistryResourceType", "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'." - }, - "resourceGroupName": { - "type": "string", - "description": "The resource group name of the container registry.", - "minLength": 1, - "maxLength": 90 - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] - } } }, "required": [ @@ -5745,10 +5701,6 @@ "type": "object", "description": "The result of a request to check the availability of a container registry name.", "properties": { - "availableLoginServerName": { - "type": "string", - "description": "The complete login server name with domain name label (DNL) hash, if available" - }, "nameAvailable": { "type": "boolean", "description": "The value that indicates whether the name is available." @@ -5918,44 +5870,6 @@ "description": "Enables registry-wide pull from unauthenticated clients.", "default": false }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "Determines the domain name label reuse scope.", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] - } - }, "roleAssignmentMode": { "type": "string", "description": "Determines registry role assignment mode.", From 6d1d850e098aecd4ebc149175940e7abd3bb73d1 Mon Sep 17 00:00:00 2001 From: clarkporter Date: Thu, 15 Jan 2026 22:33:21 +0000 Subject: [PATCH 3/3] Corrected csharp-mgmt emitter namespace in Registry/tspconfig.yaml --- .../Microsoft.ContainerRegistry/Registry/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml index 03c65585a19d..0ca1e01244dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -16,7 +16,7 @@ options: "@azure-typespec/http-client-csharp-mgmt": emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" package-name: "Azure.ResourceManager.ContainerRegistry" - namespace: "{package-name}" + namespace: "Azure.ResourceManager.ContainerRegistry" "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-containerregistry"