From 9deca358d7fd1dbfc96408146d3f4a629ecd9430 Mon Sep 17 00:00:00 2001 From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com> Date: Mon, 3 Oct 2022 13:34:40 -0700 Subject: [PATCH] Updates API version in new specs and examples --- .../preview/2021-09-01-preview/arcSettings.json | 2 +- .../preview/2021-09-01-preview/clusters.json | 2 +- .../preview/2021-09-01-preview/examples/CreateCluster.json | 2 +- .../preview/2021-09-01-preview/examples/DeleteArcSetting.json | 2 +- .../preview/2021-09-01-preview/examples/DeleteCluster.json | 2 +- .../preview/2021-09-01-preview/examples/DeleteExtension.json | 2 +- .../preview/2021-09-01-preview/examples/GetArcSetting.json | 2 +- .../preview/2021-09-01-preview/examples/GetCluster.json | 2 +- .../preview/2021-09-01-preview/examples/GetExtension.json | 2 +- .../2021-09-01-preview/examples/ListArcSettingsByCluster.json | 2 +- .../examples/ListClustersByResourceGroup.json | 2 +- .../2021-09-01-preview/examples/ListClustersBySubscription.json | 2 +- .../2021-09-01-preview/examples/ListExtensionsByArcSetting.json | 2 +- .../preview/2021-09-01-preview/examples/PatchExtension.json | 2 +- .../preview/2021-09-01-preview/examples/PutArcSetting.json | 2 +- .../preview/2021-09-01-preview/examples/PutExtension.json | 2 +- .../preview/2021-09-01-preview/examples/UpdateCluster.json | 2 +- .../preview/2021-09-01-preview/extensions.json | 2 +- .../preview/2021-09-01-preview/operations.json | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json index f3c927c15490..a623ba83e849 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2021-09-01", + "version": "2021-09-01-preview", "title": "AzureStackHCI", "description": "Azure Stack HCI management service" }, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json index b620fc0fe563..be42b696425b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2021-09-01", + "version": "2021-09-01-preview", "title": "AzureStackHCI", "description": "Azure Stack HCI management service" }, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json index a6070c9f1d2d..d5fa63cf59b6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "clusterName": "myCluster", - "api-version": "2021-09-01", + "api-version": "2021-09-01-preview", "cluster": { "location": "East US", "properties": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json index b54012c9e1e6..7c58fe9a5a5b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "clusterName": "myCluster", "arcSettingName": "default", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": {}, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json index 23f0d48e58e8..12e08473537b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "clusterName": "myCluster", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": {}, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json index e20db81e58d5..586d066a37bb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json @@ -5,7 +5,7 @@ "clusterName": "myCluster", "arcSettingName": "default", "extensionName": "MicrosoftMonitoringAgent", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": {}, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json index 7237a7944201..933731552474 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "clusterName": "myCluster", "arcSettingName": "default", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json index 7d7faf5c2055..14aaf37557f1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "clusterName": "myCluster", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json index 75f14c996485..aa886f9bb778 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json @@ -5,7 +5,7 @@ "clusterName": "myCluster", "arcSettingName": "default", "extensionName": "MicrosoftMonitoringAgent", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json index c35412be2cda..0e2a2cc48b6f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "clusterName": "myCluster", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json index b4b96cb1664e..2067738bbf22 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json index d79a2d81b27f..ba809d3b67a3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json index 80791443fa19..89fe7aacc085 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "clusterName": "myCluster", "arcSettingName": "default", - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json index 264ca3326446..a4bdd5b0cf42 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json @@ -17,7 +17,7 @@ } } }, - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "201": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json index 4a767675c633..5cec395a2dba 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json @@ -5,7 +5,7 @@ "clusterName": "myCluster", "arcSettingName": "default", "arcSetting": {}, - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json index 620de88fab0f..0ab8e44205b9 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json @@ -20,7 +20,7 @@ } } }, - "api-version": "2021-09-01" + "api-version": "2021-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json index b609dcf78657..6fe6b048eb58 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "clusterName": "myCluster", - "api-version": "2021-09-01", + "api-version": "2021-09-01-preview", "cluster": { "tags": { "tag1": "value1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json index 0c285788a726..f564214581b5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2021-09-01", + "version": "2021-09-01-preview", "title": "AzureStackHCI", "description": "Azure Stack HCI management service" }, diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json index 52e8cd743b91..e2ca687648ce 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2021-09-01", + "version": "2021-09-01-preview", "title": "AzureStackHCI", "description": "Azure Stack HCI management service" },