From e904e29e292d53a4bc57b65ac48e45ba6b1524da Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Tue, 28 Feb 2023 11:22:30 +0800 Subject: [PATCH 1/8] Fix Swagger Linter - 1 --- .../2021-06-01/examples/DeleteLinuxHadoopCluster.json | 6 +++++- .../stable/2021-06-01/examples/DisableClusterAutoScale.json | 6 +++++- .../EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json | 6 +++++- ...ableOrUpdateAutoScaleWithScheduleBasedConfiguration.json | 6 +++++- .../HDI_Clusters_UpdateClusterIdentityCertificate.json | 6 +++++- .../2021-06-01/examples/ResizeLinuxHadoopCluster.json | 6 +++++- .../examples/RotateLinuxHadoopClusterDiskEncryptionKey.json | 6 +++++- 7 files changed, 35 insertions(+), 7 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json index 0f9ac9e536d3..abc10fc1d6b2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json @@ -6,7 +6,11 @@ "subscriptionId": "subid" }, "responses": { - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "200": {}, "204": {} } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json index c2c3ff18468c..2a76a89e67d2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json @@ -9,6 +9,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json index ce210dfda6eb..86e9c5453f66 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json @@ -16,6 +16,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json index 99e418e68141..42d6e497dc10 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json @@ -27,6 +27,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json index 2c0c1e854d85..c7dd2bd56e91 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json @@ -11,7 +11,11 @@ } }, "responses": { - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "200": {} } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json index f48f84424bcc..0780c0bf8615 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json @@ -11,6 +11,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json index ea02e9efa858..f56d1f060551 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -12,6 +12,10 @@ }, "responses": { "200": {}, - "202": {} + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } } } From fa5bf4a44b13e4a5dabb3492eb36ad0c579fe4ff Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Tue, 28 Feb 2023 11:25:30 +0800 Subject: [PATCH 2/8] Fix Swagger Linter - 2 --- .../stable/2021-06-01/examples/DeleteApplication.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json index 92bd1f99798d..72d705de801b 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json @@ -12,7 +12,11 @@ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } }, - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "204": {} } } From a9d039b1e99df63e6daf7e314089ae8d84798927 Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Tue, 28 Feb 2023 11:27:03 +0800 Subject: [PATCH 3/8] Fix Swagger Linter - 3 --- .../stable/2021-06-01/examples/DeleteExtension.json | 6 +++++- .../examples/DisableLinuxClusterAzureMonitor.json | 6 +++++- .../2021-06-01/examples/DisableLinuxClusterMonitoring.json | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json index 7431148d16e6..cb61b72aceee 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json @@ -8,7 +8,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "204": {} } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json index c3322cb05576..3e508300ef23 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "204": {} } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json index c3322cb05576..3e508300ef23 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json @@ -7,7 +7,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "204": {} } } From 3eb3d8c4e72e30a4fe8b34f4afb23a807f654680 Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Tue, 28 Feb 2023 11:27:57 +0800 Subject: [PATCH 4/8] Fix Swagger Linter - 4 --- .../examples/DeletePrivateEndpointConnection.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json index fe1ecc311f89..8695f4756537 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json @@ -8,7 +8,11 @@ }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, "204": {} } } From 8594b1b10c7b3ca2365e76f0225947475b433a0a Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Thu, 2 Mar 2023 16:45:19 +0800 Subject: [PATCH 5/8] Update Location Value - HDInsight --- .../examples/CreateHDInsightClusterWithAutoscaleConfig.json | 2 +- .../examples/CreateHDInsightClusterWithAvailabilityZones.json | 2 +- .../CreateHDInsightClusterWithComputeIsolationProperties.json | 2 +- .../CreateHDInsightClusterWithCustomNetworkProperties.json | 2 +- .../examples/CreateHDInsightClusterWithEncryptionAtHost.json | 2 +- .../CreateHDInsightClusterWithEncryptionInTransit.json | 2 +- .../2021-06-01/examples/CreateHDInsightClusterWithTLS12.json | 2 +- .../examples/CreateKafkaClusterWithKafkaRestProxy.json | 2 +- .../stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json | 2 +- .../2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json | 2 +- .../2021-06-01/examples/CreateLinuxHadoopSshPassword.json | 2 +- .../2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json | 2 +- .../2021-06-01/examples/CreateLinuxSparkSshPassword.json | 2 +- .../stable/2021-06-01/examples/DeleteApplication.json | 4 ++-- .../stable/2021-06-01/examples/DeleteExtension.json | 2 +- .../stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json | 2 +- .../2021-06-01/examples/DeletePrivateEndpointConnection.json | 2 +- .../stable/2021-06-01/examples/DisableClusterAutoScale.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterAzureMonitor.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterMonitoring.json | 2 +- .../EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json | 2 +- ...EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json | 2 +- .../HDI_Clusters_UpdateClusterIdentityCertificate.json | 2 +- .../examples/HDI_Clusters_UpdateGatewaySettings_Enable.json | 4 ++-- .../stable/2021-06-01/examples/PostExecuteScriptAction.json | 2 +- .../stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json | 2 +- 26 files changed, 28 insertions(+), 28 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json index 4dc39858e9d5..a89f7fa3e085 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -116,7 +116,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json index bc2dbaea0c25..a36be1c477bb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithAvailabilityZones.json @@ -124,7 +124,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json index f5289f1b905b..418e528d9173 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithComputeIsolationProperties.json @@ -82,7 +82,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json index ba2e7cface6f..30a3d0bea51e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithCustomNetworkProperties.json @@ -90,7 +90,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json index 31f338cd5c33..b42bcf12daba 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionAtHost.json @@ -81,7 +81,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json index 2f6e7a97e1c8..001b3bb2cb19 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithEncryptionInTransit.json @@ -81,7 +81,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json index efcc79621e04..a5cf9f0dd616 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateHDInsightClusterWithTLS12.json @@ -79,7 +79,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json index 7c65ec5f2426..c1e7e96066ea 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateKafkaClusterWithKafkaRestProxy.json @@ -105,7 +105,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json index 95426e1e02ed..91dc914a6b07 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopAdlsGen2.json @@ -84,7 +84,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json index a60dea7a7918..0e5dcd8960bf 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSecureHadoop.json @@ -133,7 +133,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json index 894fbcb1b623..4969cd4a39ad 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPassword.json @@ -84,7 +84,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json index b7b8a5b459de..928512e11a48 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxHadoopSshPublicKey.json @@ -90,7 +90,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json index d5ac8d9585b2..565a17f3f6d5 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/CreateLinuxSparkSshPassword.json @@ -73,7 +73,7 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json index 72d705de801b..2d99ef0a0ddb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json @@ -9,12 +9,12 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json index cb61b72aceee..9cb5f5c76dd0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json index abc10fc1d6b2..b533fc910421 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json @@ -8,7 +8,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json index 8695f4756537..0861d189c620 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json index 2a76a89e67d2..311b653273d3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json @@ -11,7 +11,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json index 3e508300ef23..1373ccf98e6a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json index 3e508300ef23..1373ccf98e6a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json index 86e9c5453f66..adc430c01d8a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json @@ -18,7 +18,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json index 42d6e497dc10..5688c045fe71 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json @@ -29,7 +29,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json index c7dd2bd56e91..61f30f8a896e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json @@ -13,7 +13,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index 3b8c1eb512f3..6cedb001e530 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -13,12 +13,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json index 490492905720..5ca697670ec0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json @@ -22,7 +22,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json index 0780c0bf8615..174c287fa4a9 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json @@ -13,7 +13,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } From 55334f9f96dc73d4d8a7965be241257d20e759ed Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Thu, 2 Mar 2023 16:51:25 +0800 Subject: [PATCH 6/8] Add "resourceGroups/rg1/" to 17 Location value --- .../2021-06-01/examples/ChangeHttpConnectivityDisable.json | 2 +- .../2021-06-01/examples/ChangeHttpConnectivityEnable.json | 2 +- .../stable/2021-06-01/examples/DeleteApplication.json | 4 ++-- .../stable/2021-06-01/examples/DeleteExtension.json | 2 +- .../stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json | 2 +- .../2021-06-01/examples/DeletePrivateEndpointConnection.json | 2 +- .../stable/2021-06-01/examples/DisableClusterAutoScale.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterAzureMonitor.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterMonitoring.json | 2 +- .../EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json | 2 +- ...EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json | 2 +- .../HDI_Clusters_UpdateClusterIdentityCertificate.json | 2 +- .../examples/HDI_Clusters_UpdateGatewaySettings_Enable.json | 4 ++-- .../stable/2021-06-01/examples/PostExecuteScriptAction.json | 2 +- .../stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json | 2 +- .../2021-06-01/examples/RestartVirtualMachinesOperation.json | 4 ++-- .../examples/RotateLinuxHadoopClusterDiskEncryptionKey.json | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json index 9b49f2e0a6e5..185dff4f8fdf 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json @@ -12,7 +12,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json index 45095c33d305..109ab81ee068 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json @@ -14,7 +14,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json index 2d99ef0a0ddb..7d46ce401ce6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json @@ -9,12 +9,12 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json index 9cb5f5c76dd0..20268e9251f5 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json index b533fc910421..1ef4dc777ccd 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json @@ -8,7 +8,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json index 0861d189c620..571a6890ed25 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json index 311b653273d3..971b3736c85f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json @@ -11,7 +11,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json index 1373ccf98e6a..71554bd9c46c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json index 1373ccf98e6a..71554bd9c46c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json index adc430c01d8a..5f65406232f3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json @@ -18,7 +18,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json index 5688c045fe71..7fbf4b939ea4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json @@ -29,7 +29,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json index 61f30f8a896e..1ce51d03e7bb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json @@ -13,7 +13,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index 6cedb001e530..c8d13ff5e1b1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -13,12 +13,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json index 5ca697670ec0..a94f22bec581 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json @@ -22,7 +22,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json index 174c287fa4a9..4d5563ef7340 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json @@ -13,7 +13,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json index 46b1e3875f73..eab1ad951576 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json @@ -12,12 +12,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json index f56d1f060551..8c4cde0fd9a0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -14,7 +14,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/resourceGroups/rg1/subid/providers/Microsoft.HDInsight/pathToOperationResult" } } } From 2e0d776b0fc27ae0520254d9407c93d7f37c693b Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Thu, 2 Mar 2023 16:58:49 +0800 Subject: [PATCH 7/8] Update Location value Not confirmed but upgraded --- .../2021-06-01/examples/ChangeHttpConnectivityDisable.json | 2 +- .../2021-06-01/examples/ChangeHttpConnectivityEnable.json | 2 +- .../2021-06-01/examples/RestartVirtualMachinesOperation.json | 4 ++-- .../examples/RotateLinuxHadoopClusterDiskEncryptionKey.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json index 185dff4f8fdf..8e706335758f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json @@ -12,7 +12,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json index 109ab81ee068..716ec7e3b746 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json @@ -14,7 +14,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json index eab1ad951576..10bc7e3ee3c4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json @@ -12,12 +12,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json index 8c4cde0fd9a0..7aaeb79addce 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -14,7 +14,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/resourceGroups/rg1/subid/providers/Microsoft.HDInsight/pathToOperationResult" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" } } } From e51cb016d863c5a09b3dfbfe1153cd021119258d Mon Sep 17 00:00:00 2001 From: v-yuchenli Date: Fri, 3 Mar 2023 10:35:47 +0800 Subject: [PATCH 8/8] Update pathToOperationResult to operationid --- .../2021-06-01/examples/ChangeHttpConnectivityDisable.json | 2 +- .../2021-06-01/examples/ChangeHttpConnectivityEnable.json | 2 +- .../stable/2021-06-01/examples/DeleteApplication.json | 4 ++-- .../stable/2021-06-01/examples/DeleteExtension.json | 2 +- .../stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json | 2 +- .../2021-06-01/examples/DeletePrivateEndpointConnection.json | 2 +- .../stable/2021-06-01/examples/DisableClusterAutoScale.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterAzureMonitor.json | 2 +- .../2021-06-01/examples/DisableLinuxClusterMonitoring.json | 2 +- .../EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json | 2 +- ...EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json | 2 +- .../HDI_Clusters_UpdateClusterIdentityCertificate.json | 2 +- .../examples/HDI_Clusters_UpdateGatewaySettings_Enable.json | 4 ++-- .../stable/2021-06-01/examples/PostExecuteScriptAction.json | 2 +- .../stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json | 2 +- .../2021-06-01/examples/RestartVirtualMachinesOperation.json | 4 ++-- .../examples/RotateLinuxHadoopClusterDiskEncryptionKey.json | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json index 8e706335758f..c776f597bca6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityDisable.json @@ -12,7 +12,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json index 716ec7e3b746..2400d14f110e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ChangeHttpConnectivityEnable.json @@ -14,7 +14,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json index 7d46ce401ce6..ac716f67cc1d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteApplication.json @@ -9,12 +9,12 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json index 20268e9251f5..1e8cc7b56c4b 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteExtension.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json index 1ef4dc777ccd..5c557f7eb6c4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeleteLinuxHadoopCluster.json @@ -8,7 +8,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json index 571a6890ed25..1aa331f7a466 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json index 971b3736c85f..2fd72bc66a08 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableClusterAutoScale.json @@ -11,7 +11,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json index 71554bd9c46c..f4666640a2a1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterAzureMonitor.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json index 71554bd9c46c..f4666640a2a1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/DisableLinuxClusterMonitoring.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "204": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json index 5f65406232f3..415230857128 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json @@ -18,7 +18,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json index 7fbf4b939ea4..b4b3f6ab9755 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json @@ -29,7 +29,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json index 1ce51d03e7bb..b45a31e29dfd 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json @@ -13,7 +13,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": {} diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index c8d13ff5e1b1..f33890c8452e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -13,12 +13,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json index a94f22bec581..62260bf4f5e0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/PostExecuteScriptAction.json @@ -22,7 +22,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": {}, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json index 4d5563ef7340..466a683445d6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/ResizeLinuxHadoopCluster.json @@ -13,7 +13,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json index 10bc7e3ee3c4..95ec5e09cb85 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RestartVirtualMachinesOperation.json @@ -12,12 +12,12 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } }, "200": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json index 7aaeb79addce..4df935ac1aa1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2021-06-01/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -14,7 +14,7 @@ "200": {}, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/pathToOperationResult?api-version=2021-06-01" + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2021-06-01" } } }