From b4056ccacf78febf81f19cd9a81acabf7f0c111b Mon Sep 17 00:00:00 2001 From: Jianping Zeng Date: Thu, 21 Jul 2022 23:47:29 -0700 Subject: [PATCH 1/2] move ADH GA type to preview --- .../preview/2022-07-02-preview/managedClusters.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json index ed92d300832..c1a4a116793 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json @@ -3379,7 +3379,15 @@ "description": "AKS will associate the specified agent pool with the Capacity Reservation Group." }, "hostGroupID": { - "type": "string", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/hostGroups" + } + ] + }, "title": "The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set.", "description": "This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts)." } From b634cdc71970c7559bdab316842c8ea15594d5f3 Mon Sep 17 00:00:00 2001 From: Jianping Zeng Date: Fri, 22 Jul 2022 00:11:58 -0700 Subject: [PATCH 2/2] fix prettier check issue --- .../preview/2022-07-02-preview/managedClusters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json index c1a4a116793..1049958d8c8 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-07-02-preview/managedClusters.json @@ -3379,7 +3379,7 @@ "description": "AKS will associate the specified agent pool with the Capacity Reservation Group." }, "hostGroupID": { - "type": "string", + "type": "string", "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [