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; /** 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.",