From 86c901cfca1e57402e367c2678265574d1fed93e Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Mon, 17 Jan 2022 13:20:39 +0800 Subject: [PATCH] add x-ms-enum (#17230) --- .../common/2022-01-01-preview/parameters.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/common/2022-01-01-preview/parameters.json b/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/common/2022-01-01-preview/parameters.json index 5537bbea7c2f..8ff52b2e38cb 100644 --- a/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/common/2022-01-01-preview/parameters.json +++ b/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/common/2022-01-01-preview/parameters.json @@ -35,6 +35,10 @@ "Microsoft.ContainerService", "Microsoft.Kubernetes" ], + "x-ms-enum": { + "name": "ExtensionsClusterRp", + "modelAsString": true + }, "description": "The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).", "x-ms-parameter-location": "method" }, @@ -47,6 +51,10 @@ "managedClusters", "connectedClusters" ], + "x-ms-enum": { + "name": "ExtensionsClusterResourceName", + "modelAsString": true + }, "description": "The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).", "x-ms-parameter-location": "method" },