From 30cb82dfb246a0fc4226ca211c6538bdf109b07d Mon Sep 17 00:00:00 2001 From: Juliet Zhong Date: Tue, 26 Jul 2022 12:38:39 -0400 Subject: [PATCH 1/2] add x-ms-identifiers for hdinsight --- .../stable/2021-06-01/applications.json | 7 +++ .../stable/2021-06-01/cluster.json | 25 +++++++++- .../stable/2021-06-01/extensions.json | 5 +- .../stable/2021-06-01/locations.json | 47 +++++++++++++++---- .../stable/2021-06-01/operations.json | 13 ++++- .../stable/2021-06-01/scriptActions.json | 2 + .../stable/2021-06-01/virtualMachines.json | 3 ++ 7 files changed, 88 insertions(+), 14 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/applications.json index e593638a271a..6b6e502310d4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/applications.json @@ -373,6 +373,7 @@ "items": { "$ref": "./cluster.json#/definitions/RuntimeScriptAction" }, + "x-ms-identifiers": [], "description": "The list of install script actions." }, "uninstallScriptActions": { @@ -380,6 +381,7 @@ "items": { "$ref": "./cluster.json#/definitions/RuntimeScriptAction" }, + "x-ms-identifiers": [], "description": "The list of uninstall script actions." }, "httpsEndpoints": { @@ -387,6 +389,7 @@ "items": { "$ref": "#/definitions/ApplicationGetHttpsEndpoint" }, + "x-ms-identifiers": [], "description": "The list of application HTTPS endpoints." }, "sshEndpoints": { @@ -394,6 +397,7 @@ "items": { "$ref": "#/definitions/ApplicationGetEndpoint" }, + "x-ms-identifiers": [], "description": "The list of application SSH endpoints." }, "provisioningState": { @@ -415,6 +419,9 @@ "items": { "$ref": "./cluster.json#/definitions/Errors" }, + "x-ms-identifiers": [ + "code" + ], "description": "The list of errors." }, "createdDate": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json index bb8efc5af1b6..4c8116f28dba 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json @@ -942,6 +942,7 @@ "items": { "$ref": "#/definitions/AutoscaleSchedule" }, + "x-ms-identifiers": [], "description": "Array of schedule-based autoscale rules" } }, @@ -1036,6 +1037,9 @@ "items": { "$ref": "#/definitions/SshPublicKey" }, + "x-ms-identifiers": [ + "certificateData" + ], "description": "The list of SSH public keys." } } @@ -1117,6 +1121,7 @@ "items": { "$ref": "#/definitions/DataDisksGroups" }, + "x-ms-identifiers": [], "description": "The data disks groups for the role." }, "scriptActions": { @@ -1124,6 +1129,7 @@ "items": { "$ref": "./scriptActions.json#/definitions/ScriptAction" }, + "x-ms-identifiers": [], "description": "The list of script actions on the role.", "x-ms-secret": true }, @@ -1143,6 +1149,9 @@ "items": { "$ref": "#/definitions/Role" }, + "x-ms-identifiers": [ + "name" + ], "description": "The list of roles in the cluster." } }, @@ -1198,6 +1207,9 @@ "items": { "$ref": "#/definitions/StorageAccount" }, + "x-ms-identifiers": [ + "name" + ], "description": "The list of storage accounts in the cluster." } }, @@ -1534,6 +1546,9 @@ "items": { "$ref": "#/definitions/Errors" }, + "x-ms-identifiers": [ + "code" + ], "description": "The list of errors." }, "connectivityEndpoints": { @@ -1541,6 +1556,9 @@ "items": { "$ref": "#/definitions/ConnectivityEndpoint" }, + "x-ms-identifiers": [ + "name" + ], "description": "The list of connectivity endpoints." }, "diskEncryptionProperties": { @@ -1672,6 +1690,7 @@ "items": { "$ref": "#/definitions/RuntimeScriptAction" }, + "x-ms-identifiers": [], "description": "The list of run time script actions." }, "persistOnSuccess": { @@ -1692,7 +1711,8 @@ "type": "array", "items": { "$ref": "#/definitions/RuntimeScriptAction" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "type": "string", @@ -1759,6 +1779,9 @@ "items": { "$ref": "#/definitions/ScriptActionExecutionSummary" }, + "x-ms-identifiers": [ + "name" + ], "description": "The summary of script action execution result." }, "debugInformation": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/extensions.json index abd1f39d9a58..e1aeeca1a1c4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/extensions.json @@ -617,7 +617,10 @@ "type": "array", "items": { "$ref": "#/definitions/AzureMonitorTableConfiguration" - } + }, + "x-ms-identifiers": [ + "name" + ] } } }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/locations.json index aac3be1997d1..1f5e429617e1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/locations.json @@ -324,7 +324,10 @@ "type": "array", "items": { "$ref": "#/definitions/VersionSpec" - } + }, + "x-ms-identifiers": [ + "friendlyName" + ] } }, "readOnly": true @@ -383,7 +386,10 @@ "type": "array", "items": { "$ref": "#/definitions/RegionalQuotaCapability" - } + }, + "x-ms-identifiers": [ + "regionName" + ] } }, "readOnly": true @@ -469,7 +475,8 @@ "type": "array", "items": { "$ref": "#/definitions/Usage" - } + }, + "x-ms-identifiers": [] } }, "readOnly": true @@ -497,7 +504,8 @@ "type": "array", "items": { "$ref": "#/definitions/VmSizeCompatibilityFilterV2" - } + }, + "x-ms-identifiers": [] }, "vmSizeProperties": { "description": "The vm size properties.", @@ -505,6 +513,9 @@ "items": { "$ref": "#/definitions/VmSizeProperty" }, + "x-ms-identifiers": [ + "name" + ], "readOnly": true }, "billingResources": { @@ -512,7 +523,8 @@ "type": "array", "items": { "$ref": "#/definitions/BillingResources" - } + }, + "x-ms-identifiers": [] } } }, @@ -658,14 +670,20 @@ "type": "array", "items": { "$ref": "#/definitions/BillingMeters" - } + }, + "x-ms-identifiers": [ + "meter" + ] }, "diskBillingMeters": { "description": "The managed disk billing information.", "type": "array", "items": { "$ref": "#/definitions/DiskBillingMeters" - } + }, + "x-ms-identifiers": [ + "diskRpMeter" + ] } } }, @@ -783,14 +801,20 @@ "type": "array", "items": { "$ref": "#/definitions/ValidationErrorInfo" - } + }, + "x-ms-identifiers": [ + "code" + ] }, "validationWarnings": { "description": "The validation warnings.", "type": "array", "items": { "$ref": "#/definitions/ValidationErrorInfo" - } + }, + "x-ms-identifiers": [ + "code" + ] }, "estimatedCreationDuration": { "description": "The estimated creation duration.", @@ -802,7 +826,10 @@ "type": "array", "items": { "$ref": "#/definitions/AaddsResourceDetails" - } + }, + "x-ms-identifiers": [ + "resourceId" + ] } } }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/operations.json index 1389ad3c4a63..04a864355aea 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/operations.json @@ -127,7 +127,10 @@ "type": "array", "items": { "$ref": "#/definitions/MetricSpecifications" - } + }, + "x-ms-identifiers": [ + "name" + ] } } }, @@ -210,7 +213,10 @@ "type": "array", "items": { "$ref": "#/definitions/Dimension" - } + }, + "x-ms-identifiers": [ + "name" + ] } } }, @@ -245,6 +251,9 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [ + "name" + ], "description": "The list of HDInsight operations supported by the HDInsight resource provider." }, "nextLink": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/scriptActions.json index 8c265ec8f30d..335c45a94fba 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/scriptActions.json @@ -372,6 +372,7 @@ "items": { "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" }, + "x-ms-identifiers": [], "description": "The list of persisted script action details for the cluster." }, "nextLink": { @@ -442,6 +443,7 @@ "items": { "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" }, + "x-ms-identifiers": [], "description": "The list of persisted script action details for the cluster." }, "nextLink": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json index 9151736d098a..3d07b19c7f71 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json @@ -203,6 +203,9 @@ "items": { "$ref": "#/definitions/HostInfo" }, + "x-ms-identifiers": [ + "fqdn" + ], "readOnly": true }, "RestartHostsParameters": { From 5451c3d6cde2d3142b26d8219ede768cef4e4767 Mon Sep 17 00:00:00 2001 From: j-zhong-ms <107880703+j-zhong-ms@users.noreply.github.com> Date: Fri, 5 Aug 2022 08:30:45 -0400 Subject: [PATCH 2/2] Update cluster.json --- .../Microsoft.HDInsight/stable/2021-06-01/cluster.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json index 4c8116f28dba..e9c6e0d9da40 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/cluster.json @@ -1779,9 +1779,7 @@ "items": { "$ref": "#/definitions/ScriptActionExecutionSummary" }, - "x-ms-identifiers": [ - "name" - ], + "x-ms-identifiers": [], "description": "The summary of script action execution result." }, "debugInformation": {