From 4ad1a434c7d30a05f5fc12dd3ce8043252608a6e Mon Sep 17 00:00:00 2001 From: zedy Date: Mon, 17 Nov 2025 14:49:33 +0800 Subject: [PATCH 1/4] refactor the folder structure --- .../Microsoft.Portal/portal}/Dashboard.tsp | 0 .../portal}/Scripts/CopyApiVersion.ps1 | 0 .../portal}/Scripts/GenerateSwaggerAll.ps1 | 0 .../Microsoft.Portal/portal}/client.tsp | 0 .../Dashboards_CreateOrUpdate.json | 0 .../2020-09-01-preview/Dashboards_Delete.json | 0 .../2020-09-01-preview/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../2020-09-01-preview/Dashboards_Update.json | 0 .../2020-09-01-preview/Operations_List.json | 0 .../Dashboards_CreateOrUpdate.json | 0 .../2022-12-01-preview/Dashboards_Delete.json | 0 .../2022-12-01-preview/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../2022-12-01-preview/Dashboards_Update.json | 0 .../2022-12-01-preview/Operations_List.json | 0 .../Dashboards_CreateOrUpdate.json | 0 .../2025-04-01-preview/Dashboards_Delete.json | 0 .../2025-04-01-preview/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../2025-04-01-preview/Dashboards_Update.json | 0 .../2025-04-01-preview/Operations_List.json | 0 .../Microsoft.Portal/portal}/howtocompile.md | 0 .../Microsoft.Portal/portal}/main.tsp | 0 .../Microsoft.Portal/portal}/models.tsp | 0 .../examples/createOrUpdateDashboard.json | 0 .../examples/deleteDashboard.json | 0 .../examples/getDashboard.json | 0 .../listDashboardsByResourceGroup.json | 0 .../listDashboardsBySubscription.json | 0 .../examples/operationsList.json | 0 .../examples/updateDashboard.json | 0 .../preview/2015-08-01-preview/portal.json | 0 .../examples/createOrUpdateDashboard.json | 0 .../examples/deleteDashboard.json | 0 .../examples/getDashboard.json | 0 .../listDashboardsByResourceGroup.json | 0 .../listDashboardsBySubscription.json | 0 .../examples/operationsList.json | 0 .../examples/updateDashboard.json | 0 .../preview/2018-10-01-preview/portal.json | 0 .../examples/createOrUpdateDashboard.json | 0 .../examples/deleteDashboard.json | 0 .../examples/getDashboard.json | 0 .../listDashboardsByResourceGroup.json | 0 .../listDashboardsBySubscription.json | 0 .../examples/operationsList.json | 0 .../examples/updateDashboard.json | 0 .../preview/2019-01-01-preview/portal.json | 0 .../examples/Dashboards_CreateOrUpdate.json | 0 .../examples/Dashboards_Delete.json | 0 .../examples/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../examples/Dashboards_Update.json | 0 .../examples/Operations_List.json | 0 .../preview/2020-09-01-preview/portal.json | 54 ++++----- .../examples/Dashboards_CreateOrUpdate.json | 0 .../examples/Dashboards_Delete.json | 0 .../examples/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../examples/Dashboards_Update.json | 0 .../examples/Operations_List.json | 0 .../preview/2022-12-01-preview/portal.json | 54 ++++----- .../examples/Dashboards_CreateOrUpdate.json | 0 .../examples/Dashboards_Delete.json | 0 .../examples/Dashboards_Get.json | 0 .../Dashboards_ListByResourceGroup.json | 0 .../Dashboards_ListBySubscription.json | 0 .../examples/Dashboards_Update.json | 0 .../examples/Operations_List.json | 0 .../preview/2025-04-01-preview/portal.json | 54 ++++----- .../portal}/readme.az.md | 0 .../portal}/readme.cli.md | 0 .../portal}/readme.go.md | 0 .../{ => Microsoft.Portal/portal}/readme.md | 20 ++- .../portal}/readme.nodejs.md | 0 .../portal}/readme.python.md | 0 .../portal}/readme.ruby.md | 0 .../portal}/readme.typescript.md | 0 .../Microsoft.Portal/portal/suppressions.yaml | 9 ++ .../Microsoft.Portal/portal}/tspconfig.yaml | 5 +- .../TenantConfiguration.tsp | 0 ...istTenantConfigurationViolations_List.json | 0 .../TenantConfigurations_Create.json | 0 .../TenantConfigurations_Delete.json | 0 .../TenantConfigurations_Get.json | 0 .../TenantConfigurations_List.json | 0 ...istTenantConfigurationViolations_List.json | 0 .../TenantConfigurations_Create.json | 0 .../TenantConfigurations_Delete.json | 0 .../TenantConfigurations_Get.json | 0 .../TenantConfigurations_List.json | 0 ...istTenantConfigurationViolations_List.json | 0 .../TenantConfigurations_Create.json | 0 .../TenantConfigurations_Delete.json | 0 .../TenantConfigurations_Get.json | 0 .../TenantConfigurations_List.json | 0 .../tenantconfiguration}/main.tsp | 0 .../tenantconfiguration}/models.tsp | 0 .../CreateOrUpdateTenantConfiguration.json | 0 .../DeleteTenantConfiguration.json | 0 .../GetListOfTenantConfigurations.json | 0 .../GetTenantConfiguration.json | 0 .../tenantConfiguration.json | 2 +- ...istTenantConfigurationViolations_List.json | 0 .../examples/TenantConfigurations_Create.json | 0 .../examples/TenantConfigurations_Delete.json | 0 .../examples/TenantConfigurations_Get.json | 0 .../examples/TenantConfigurations_List.json | 0 .../tenantConfiguration.json | 22 ++-- ...istTenantConfigurationViolations_List.json | 0 .../examples/TenantConfigurations_Create.json | 0 .../examples/TenantConfigurations_Delete.json | 0 .../examples/TenantConfigurations_Get.json | 0 .../examples/TenantConfigurations_List.json | 0 .../tenantConfiguration.json | 22 ++-- ...istTenantConfigurationViolations_List.json | 0 .../examples/TenantConfigurations_Create.json | 0 .../examples/TenantConfigurations_Delete.json | 0 .../examples/TenantConfigurations_Get.json | 0 .../examples/TenantConfigurations_List.json | 0 .../tenantConfiguration.json | 22 ++-- .../tenantconfiguration/readme.md | 114 ++++++++++++++++++ .../tenantconfiguration/suppressions.yaml | 3 + .../tenantconfiguration}/tspconfig.yaml | 5 +- specification/suppressions.yaml | 4 +- 131 files changed, 256 insertions(+), 134 deletions(-) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/Dashboard.tsp (100%) rename specification/portal/{ => resource-manager/Microsoft.Portal/portal}/Scripts/CopyApiVersion.ps1 (100%) rename specification/portal/{ => resource-manager/Microsoft.Portal/portal}/Scripts/GenerateSwaggerAll.ps1 (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/client.tsp (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_Delete.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_Get.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_ListBySubscription.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Dashboards_Update.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2020-09-01-preview/Operations_List.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_Delete.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_Get.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_ListBySubscription.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Dashboards_Update.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2022-12-01-preview/Operations_List.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_Delete.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_Get.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_ListBySubscription.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Dashboards_Update.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/examples/2025-04-01-preview/Operations_List.json (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/howtocompile.md (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/main.tsp (100%) rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/models.tsp (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/deleteDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/getDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/operationsList.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/examples/updateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2015-08-01-preview/portal.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/deleteDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/getDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/operationsList.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/examples/updateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2018-10-01-preview/portal.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/deleteDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/getDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/operationsList.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/examples/updateDashboard.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2019-01-01-preview/portal.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_ListBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Dashboards_Update.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/examples/Operations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2020-09-01-preview/portal.json (84%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_ListBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Dashboards_Update.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/examples/Operations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2022-12-01-preview/portal.json (84%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_CreateOrUpdate.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_ListByResourceGroup.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_ListBySubscription.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Dashboards_Update.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/examples/Operations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => portal}/preview/2025-04-01-preview/portal.json (84%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.az.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.cli.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.go.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.md (81%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.nodejs.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.python.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.ruby.md (100%) rename specification/portal/resource-manager/{ => Microsoft.Portal/portal}/readme.typescript.md (100%) create mode 100644 specification/portal/resource-manager/Microsoft.Portal/portal/suppressions.yaml rename specification/portal/{Dashboard.Management => resource-manager/Microsoft.Portal/portal}/tspconfig.yaml (62%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/TenantConfiguration.tsp (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2020-09-01-preview/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2020-09-01-preview/TenantConfigurations_Create.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2020-09-01-preview/TenantConfigurations_Delete.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2020-09-01-preview/TenantConfigurations_Get.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2020-09-01-preview/TenantConfigurations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2022-12-01-preview/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2022-12-01-preview/TenantConfigurations_Create.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2022-12-01-preview/TenantConfigurations_Delete.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2022-12-01-preview/TenantConfigurations_Get.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2022-12-01-preview/TenantConfigurations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2025-04-01-preview/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2025-04-01-preview/TenantConfigurations_Create.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2025-04-01-preview/TenantConfigurations_Delete.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2025-04-01-preview/TenantConfigurations_Get.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/examples/2025-04-01-preview/TenantConfigurations_List.json (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/main.tsp (100%) rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/models.tsp (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2019-01-01-preview/examples/TenantConfiguration/CreateOrUpdateTenantConfiguration.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2019-01-01-preview/examples/TenantConfiguration/DeleteTenantConfiguration.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2019-01-01-preview/examples/TenantConfiguration/GetListOfTenantConfigurations.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2019-01-01-preview/examples/TenantConfiguration/GetTenantConfiguration.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2019-01-01-preview/tenantConfiguration.json (98%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/examples/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/examples/TenantConfigurations_Create.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/examples/TenantConfigurations_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/examples/TenantConfigurations_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/examples/TenantConfigurations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2020-09-01-preview/tenantConfiguration.json (89%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/examples/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/examples/TenantConfigurations_Create.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/examples/TenantConfigurations_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/examples/TenantConfigurations_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/examples/TenantConfigurations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2022-12-01-preview/tenantConfiguration.json (89%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/examples/ListTenantConfigurationViolations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/examples/TenantConfigurations_Create.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/examples/TenantConfigurations_Delete.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/examples/TenantConfigurations_Get.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/examples/TenantConfigurations_List.json (100%) rename specification/portal/resource-manager/Microsoft.Portal/{ => tenantconfiguration}/preview/2025-04-01-preview/tenantConfiguration.json (89%) create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/suppressions.yaml rename specification/portal/{TenantConfiguration.Management => resource-manager/Microsoft.Portal/tenantconfiguration}/tspconfig.yaml (60%) diff --git a/specification/portal/Dashboard.Management/Dashboard.tsp b/specification/portal/resource-manager/Microsoft.Portal/portal/Dashboard.tsp similarity index 100% rename from specification/portal/Dashboard.Management/Dashboard.tsp rename to specification/portal/resource-manager/Microsoft.Portal/portal/Dashboard.tsp diff --git a/specification/portal/Scripts/CopyApiVersion.ps1 b/specification/portal/resource-manager/Microsoft.Portal/portal/Scripts/CopyApiVersion.ps1 similarity index 100% rename from specification/portal/Scripts/CopyApiVersion.ps1 rename to specification/portal/resource-manager/Microsoft.Portal/portal/Scripts/CopyApiVersion.ps1 diff --git a/specification/portal/Scripts/GenerateSwaggerAll.ps1 b/specification/portal/resource-manager/Microsoft.Portal/portal/Scripts/GenerateSwaggerAll.ps1 similarity index 100% rename from specification/portal/Scripts/GenerateSwaggerAll.ps1 rename to specification/portal/resource-manager/Microsoft.Portal/portal/Scripts/GenerateSwaggerAll.ps1 diff --git a/specification/portal/Dashboard.Management/client.tsp b/specification/portal/resource-manager/Microsoft.Portal/portal/client.tsp similarity index 100% rename from specification/portal/Dashboard.Management/client.tsp rename to specification/portal/resource-manager/Microsoft.Portal/portal/client.tsp diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Delete.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Delete.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Get.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Get.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_ListBySubscription.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Update.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Dashboards_Update.json diff --git a/specification/portal/Dashboard.Management/examples/2020-09-01-preview/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Operations_List.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2020-09-01-preview/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2020-09-01-preview/Operations_List.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Delete.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Delete.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Get.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Get.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_ListBySubscription.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Update.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Dashboards_Update.json diff --git a/specification/portal/Dashboard.Management/examples/2022-12-01-preview/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Operations_List.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2022-12-01-preview/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2022-12-01-preview/Operations_List.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Delete.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Delete.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Get.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Get.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_ListBySubscription.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Update.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Dashboards_Update.json diff --git a/specification/portal/Dashboard.Management/examples/2025-04-01-preview/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Operations_List.json similarity index 100% rename from specification/portal/Dashboard.Management/examples/2025-04-01-preview/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/examples/2025-04-01-preview/Operations_List.json diff --git a/specification/portal/Dashboard.Management/howtocompile.md b/specification/portal/resource-manager/Microsoft.Portal/portal/howtocompile.md similarity index 100% rename from specification/portal/Dashboard.Management/howtocompile.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/howtocompile.md diff --git a/specification/portal/Dashboard.Management/main.tsp b/specification/portal/resource-manager/Microsoft.Portal/portal/main.tsp similarity index 100% rename from specification/portal/Dashboard.Management/main.tsp rename to specification/portal/resource-manager/Microsoft.Portal/portal/main.tsp diff --git a/specification/portal/Dashboard.Management/models.tsp b/specification/portal/resource-manager/Microsoft.Portal/portal/models.tsp similarity index 100% rename from specification/portal/Dashboard.Management/models.tsp rename to specification/portal/resource-manager/Microsoft.Portal/portal/models.tsp diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/deleteDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/deleteDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/getDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/getDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/operationsList.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/operationsList.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/updateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/examples/updateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/portal.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2015-08-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/deleteDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/deleteDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/getDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/getDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/operationsList.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/operationsList.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/updateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/examples/updateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/portal.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2018-10-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/deleteDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/deleteDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/deleteDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/getDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/getDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/getDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/operationsList.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/operationsList.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/operationsList.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/updateDashboard.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/updateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/examples/updateDashboard.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/portal.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2019-01-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_ListBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Update.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Dashboards_Update.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Operations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/examples/Operations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/portal.json similarity index 84% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/portal.json index a395066fb6c4..d0755d608f9c 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2020-09-01-preview/portal.json @@ -56,20 +56,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,10 +92,10 @@ "description": "Gets all the dashboards within a subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -108,7 +108,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -131,13 +131,13 @@ "description": "Gets all the Dashboards within a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -150,7 +150,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -173,13 +173,13 @@ "description": "Gets the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -202,7 +202,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -220,13 +220,13 @@ "description": "Creates or updates a Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -265,7 +265,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -283,13 +283,13 @@ "description": "Updates an existing Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -322,7 +322,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -340,13 +340,13 @@ "description": "Deletes the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -369,7 +369,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -424,7 +424,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_ListBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Update.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Dashboards_Update.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Operations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/examples/Operations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/portal.json similarity index 84% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/portal.json index 088686dbc0ea..587c0b29a60f 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2022-12-01-preview/portal.json @@ -56,20 +56,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,10 +92,10 @@ "description": "Gets all the dashboards within a subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -108,7 +108,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -131,13 +131,13 @@ "description": "Gets all the Dashboards within a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -150,7 +150,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -173,13 +173,13 @@ "description": "Gets the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -202,7 +202,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -220,13 +220,13 @@ "description": "Creates or updates a Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -265,7 +265,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -283,13 +283,13 @@ "description": "Updates an existing Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -322,7 +322,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -340,13 +340,13 @@ "description": "Deletes the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -369,7 +369,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -424,7 +424,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_CreateOrUpdate.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_CreateOrUpdate.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_CreateOrUpdate.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_CreateOrUpdate.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Get.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_ListByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_ListByResourceGroup.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_ListByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_ListByResourceGroup.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_ListBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_ListBySubscription.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_ListBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_ListBySubscription.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Update.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Update.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Dashboards_Update.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Dashboards_Update.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Operations_List.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Operations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/Operations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/examples/Operations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/portal.json similarity index 84% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/portal.json index b14f2a05c035..d3de2db35706 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/preview/2025-04-01-preview/portal.json @@ -56,20 +56,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,10 +92,10 @@ "description": "Gets all the dashboards within a subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -108,7 +108,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -131,13 +131,13 @@ "description": "Gets all the Dashboards within a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -150,7 +150,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -173,13 +173,13 @@ "description": "Gets the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -202,7 +202,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -220,13 +220,13 @@ "description": "Creates or updates a Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -265,7 +265,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -283,13 +283,13 @@ "description": "Updates an existing Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -322,7 +322,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -340,13 +340,13 @@ "description": "Deletes the Dashboard.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "dashboardName", @@ -369,7 +369,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -424,7 +424,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/portal/resource-manager/readme.az.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.az.md similarity index 100% rename from specification/portal/resource-manager/readme.az.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.az.md diff --git a/specification/portal/resource-manager/readme.cli.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.cli.md similarity index 100% rename from specification/portal/resource-manager/readme.cli.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.cli.md diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.go.md similarity index 100% rename from specification/portal/resource-manager/readme.go.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.go.md diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.md similarity index 81% rename from specification/portal/resource-manager/readme.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.md index a6026f22f822..7acfc6f900d8 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.md @@ -35,8 +35,7 @@ These settings apply only when `--tag=package-2025-04-01-preview` is specified o ```yaml $(tag) == 'package-2025-04-01-preview' input-file: - - Microsoft.Portal/preview/2025-04-01-preview/portal.json - - Microsoft.Portal/preview/2025-04-01-preview/tenantConfiguration.json + - preview/2025-04-01-preview/portal.json ``` ### Tag: package-2022-12-01-preview @@ -45,8 +44,7 @@ These settings apply only when `--tag=package-2022-12-01-preview` is specified o ```yaml $(tag) == 'package-2022-12-01-preview' input-file: - - Microsoft.Portal/preview/2022-12-01-preview/portal.json - - Microsoft.Portal/preview/2022-12-01-preview/tenantConfiguration.json + - preview/2022-12-01-preview/portal.json ``` ### Tag: package-2020-09-01-preview @@ -55,17 +53,16 @@ These settings apply only when `--tag=package-2020-09-01-preview` is specified o ```yaml $(tag) == 'package-2020-09-01-preview' input-file: - - Microsoft.Portal/preview/2020-09-01-preview/portal.json - - Microsoft.Portal/preview/2020-09-01-preview/tenantConfiguration.json + - preview/2020-09-01-preview/portal.json ``` + ### Tag: package-2019-01-01-preview These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. ``` yaml $(tag) == 'package-2019-01-01-preview' input-file: - - Microsoft.Portal/preview/2019-01-01-preview/portal.json - - Microsoft.Portal/preview/2019-01-01-preview/tenantConfiguration.json + - preview/2019-01-01-preview/portal.json ``` ### Tag: package-2018-10-01-preview @@ -74,7 +71,7 @@ These settings apply only when `--tag=package-2018-10-01-preview` is specified o ``` yaml $(tag) == 'package-2018-10-01-preview' input-file: - - Microsoft.Portal/preview/2018-10-01-preview/portal.json + - preview/2018-10-01-preview/portal.json ``` ### Tag: package-2015-08-01-preview @@ -83,7 +80,7 @@ These settings apply only when `--tag=package-2015-08-01-preview` is specified o ``` yaml $(tag) == 'package-2015-08-01-preview' input-file: - - Microsoft.Portal/preview/2015-08-01-preview/portal.json + - preview/2015-08-01-preview/portal.json ``` --- @@ -133,6 +130,3 @@ See configuration in [readme.csharp.md](./readme.csharp.md) ## NodeJS See configuration in [readme.nodejs.md](./readme.nodejs.md) - - - diff --git a/specification/portal/resource-manager/readme.nodejs.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.nodejs.md similarity index 100% rename from specification/portal/resource-manager/readme.nodejs.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.nodejs.md diff --git a/specification/portal/resource-manager/readme.python.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.python.md similarity index 100% rename from specification/portal/resource-manager/readme.python.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.python.md diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.ruby.md similarity index 100% rename from specification/portal/resource-manager/readme.ruby.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.ruby.md diff --git a/specification/portal/resource-manager/readme.typescript.md b/specification/portal/resource-manager/Microsoft.Portal/portal/readme.typescript.md similarity index 100% rename from specification/portal/resource-manager/readme.typescript.md rename to specification/portal/resource-manager/Microsoft.Portal/portal/readme.typescript.md diff --git a/specification/portal/resource-manager/Microsoft.Portal/portal/suppressions.yaml b/specification/portal/resource-manager/Microsoft.Portal/portal/suppressions.yaml new file mode 100644 index 000000000000..71cced8ec9c5 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/suppressions.yaml @@ -0,0 +1,9 @@ +- tool: TypeSpecRequirement + path: ./preview/2015-08-01-preview/*.json + reason: Brownfield service not ready to migrat +- tool: TypeSpecRequirement + path: ./preview/2018-10-01-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2019-01-01-preview/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/portal/Dashboard.Management/tspconfig.yaml b/specification/portal/resource-manager/Microsoft.Portal/portal/tspconfig.yaml similarity index 62% rename from specification/portal/Dashboard.Management/tspconfig.yaml rename to specification/portal/resource-manager/Microsoft.Portal/portal/tspconfig.yaml index fd1283021a40..86b3110ed826 100644 --- a/specification/portal/Dashboard.Management/tspconfig.yaml +++ b/specification/portal/resource-manager/Microsoft.Portal/portal/tspconfig.yaml @@ -4,9 +4,10 @@ options: "@azure-tools/typespec-autorest": use-read-only-status-schema: true omit-unreachable-types: true - emitter-output-dir: "{project-root}/.." + emitter-output-dir: "{project-root}" azure-resource-provider-folder: "resource-manager" - output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/portal.json" + output-file: "{version-status}/{version}/portal.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/TenantConfiguration.tsp similarity index 100% rename from specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/TenantConfiguration.tsp diff --git a/specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Create.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Delete.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_Get.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2020-09-01-preview/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2020-09-01-preview/TenantConfigurations_List.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Create.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Delete.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_Get.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2022-12-01-preview/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2022-12-01-preview/TenantConfigurations_List.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Create.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Delete.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_Get.json diff --git a/specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_List.json similarity index 100% rename from specification/portal/TenantConfiguration.Management/examples/2025-04-01-preview/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/examples/2025-04-01-preview/TenantConfigurations_List.json diff --git a/specification/portal/TenantConfiguration.Management/main.tsp b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/main.tsp similarity index 100% rename from specification/portal/TenantConfiguration.Management/main.tsp rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/main.tsp diff --git a/specification/portal/TenantConfiguration.Management/models.tsp b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/models.tsp similarity index 100% rename from specification/portal/TenantConfiguration.Management/models.tsp rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/models.tsp diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/CreateOrUpdateTenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/CreateOrUpdateTenantConfiguration.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/CreateOrUpdateTenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/CreateOrUpdateTenantConfiguration.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/DeleteTenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/DeleteTenantConfiguration.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/DeleteTenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/DeleteTenantConfiguration.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/GetListOfTenantConfigurations.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/GetListOfTenantConfigurations.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/GetListOfTenantConfigurations.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/GetListOfTenantConfigurations.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/GetTenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/GetTenantConfiguration.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/examples/TenantConfiguration/GetTenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/TenantConfiguration/GetTenantConfiguration.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/tenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/tenantConfiguration.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/tenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/tenantConfiguration.json index 0465059bda7d..320998adcf20 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/tenantConfiguration.json +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/tenantConfiguration.json @@ -229,7 +229,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Create.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/examples/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/examples/TenantConfigurations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/tenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/tenantConfiguration.json similarity index 89% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/tenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/tenantConfiguration.json index e2d43d1ae9a9..fcc83a68acf4 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/tenantConfiguration.json +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2020-09-01-preview/tenantConfiguration.json @@ -56,7 +56,7 @@ "description": "Gets list of items that violate tenant's configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -69,7 +69,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,7 +92,7 @@ "description": "Gets list of the tenant configurations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -105,7 +105,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -128,7 +128,7 @@ "description": "Gets the tenant configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -204,7 +204,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -222,7 +222,7 @@ "description": "Delete the tenant configuration. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -243,7 +243,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -298,7 +298,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Create.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/examples/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/examples/TenantConfigurations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/tenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/tenantConfiguration.json similarity index 89% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/tenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/tenantConfiguration.json index 066e7e1deed3..e0078bfe34f1 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2022-12-01-preview/tenantConfiguration.json +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2022-12-01-preview/tenantConfiguration.json @@ -56,7 +56,7 @@ "description": "Gets list of items that violate tenant's configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -69,7 +69,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,7 +92,7 @@ "description": "Gets list of the tenant configurations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -105,7 +105,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -128,7 +128,7 @@ "description": "Gets the tenant configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -204,7 +204,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -222,7 +222,7 @@ "description": "Delete the tenant configuration. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -243,7 +243,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -298,7 +298,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/ListTenantConfigurationViolations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/ListTenantConfigurationViolations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/ListTenantConfigurationViolations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/ListTenantConfigurationViolations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Create.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Create.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Create.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Create.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Delete.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Delete.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Delete.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Delete.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Get.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Get.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_Get.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_Get.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_List.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_List.json similarity index 100% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/examples/TenantConfigurations_List.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/examples/TenantConfigurations_List.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/tenantConfiguration.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/tenantConfiguration.json similarity index 89% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/tenantConfiguration.json rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/tenantConfiguration.json index 1542a5501fad..60f48eeeff85 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2025-04-01-preview/tenantConfiguration.json +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2025-04-01-preview/tenantConfiguration.json @@ -56,7 +56,7 @@ "description": "Gets list of items that violate tenant's configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -69,7 +69,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,7 +92,7 @@ "description": "Gets list of the tenant configurations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -105,7 +105,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -128,7 +128,7 @@ "description": "Gets the tenant configuration.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create the tenant configuration. If configuration already exists - update it. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -204,7 +204,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -222,7 +222,7 @@ "description": "Delete the tenant configuration. User has to be a Tenant Admin for this operation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "configurationName", @@ -243,7 +243,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -298,7 +298,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md new file mode 100644 index 000000000000..6b3df8af9009 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md @@ -0,0 +1,114 @@ +# portal + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for portal. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the portal. + +``` yaml +openapi-type: arm +tag: package-2025-04-01-preview +``` + +### Tag: package-2025-04-01-preview + +These settings apply only when `--tag=package-2025-04-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2025-04-01-preview' +input-file: + - preview/2025-04-01-preview/tenantConfiguration.json +``` + +### Tag: package-2022-12-01-preview + +These settings apply only when `--tag=package-2022-12-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-12-01-preview' +input-file: + - preview/2022-12-01-preview/tenantConfiguration.json +``` + +### Tag: package-2020-09-01-preview + +These settings apply only when `--tag=package-2020-09-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2020-09-01-preview' +input-file: + - preview/2020-09-01-preview/tenantConfiguration.json +``` + +### Tag: package-2019-01-01-preview + +These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-01-01-preview' +input-file: + - preview/2019-01-01-preview/tenantConfiguration.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-node + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_portal'] + - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) + +## NodeJS + +See configuration in [readme.nodejs.md](./readme.nodejs.md) diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/suppressions.yaml b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/suppressions.yaml new file mode 100644 index 000000000000..aa28f04e98b6 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + path: ./preview/2019-01-01-preview/*.json + reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/portal/TenantConfiguration.Management/tspconfig.yaml b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/tspconfig.yaml similarity index 60% rename from specification/portal/TenantConfiguration.Management/tspconfig.yaml rename to specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/tspconfig.yaml index 77f4271d1c6e..324de6af1c1a 100644 --- a/specification/portal/TenantConfiguration.Management/tspconfig.yaml +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/tspconfig.yaml @@ -4,9 +4,10 @@ options: "@azure-tools/typespec-autorest": use-read-only-status-schema: true omit-unreachable-types: true - emitter-output-dir: "{project-root}/.." + emitter-output-dir: "{project-root}" azure-resource-provider-folder: "resource-manager" - output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/tenantConfiguration.json" + output-file: "{version-status}/{version}/tenantConfiguration.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/suppressions.yaml b/specification/suppressions.yaml index c421db704265..a910ff1368da 100644 --- a/specification/suppressions.yaml +++ b/specification/suppressions.yaml @@ -903,8 +903,8 @@ - options.@azure-tools/typespec-ts.* - parameters.service-dir.default paths: - - portal/Dashboard.Management/tspconfig.yaml - - portal/TenantConfiguration.Management/tspconfig.yaml + - portal/resource-manager/portal/tspconfig.yaml + - portal/resource-manager/tenantconfiguration/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated From a1c407d48e467d4e188fc0bd3598b334cf3b632d Mon Sep 17 00:00:00 2001 From: zedy Date: Mon, 17 Nov 2025 15:17:13 +0800 Subject: [PATCH 2/4] fix semantic error --- .../examples/createOrUpdateDashboard.json | 152 ++++ .../examples/deleteDashboard.json | 12 + .../examples/getDashboard.json | 60 ++ .../listDashboardsByResourceGroup.json | 109 +++ .../listDashboardsBySubscription.json | 108 +++ .../examples/operationsList.json | 53 ++ .../examples/updateDashboard.json | 66 ++ .../preview/2019-01-01-preview/portal.json | 699 ++++++++++++++++++ 8 files changed, 1259 insertions(+) create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/deleteDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/getDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/operationsList.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/updateDashboard.json create mode 100644 specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/portal.json diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json new file mode 100644 index 000000000000..47560e5e03dd --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/createOrUpdateDashboard.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/deleteDashboard.json new file mode 100644 index 000000000000..f0d8b74e0047 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/deleteDashboard.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/getDashboard.json new file mode 100644 index 000000000000..37ed26e67117 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/getDashboard.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "404": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json new file mode 100644 index 000000000000..4aef8665fdd7 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsByResourceGroup.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json new file mode 100644 index 000000000000..d447e3b4ffeb --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/listDashboardsBySubscription.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/operationsList.json new file mode 100644 index 000000000000..c95da08531ff --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/operationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Portal/dashboards/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Get Dashboard", + "description": "Reads the dashboards for the subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/write", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Set Dashboard", + "description": "Add or modify dashboard to a subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/delete", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Delete Dashboard", + "description": "Removes the dashboard from the subscription." + } + }, + { + "name": "Microsoft.Portal/register/action", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Portal Resource Provider", + "operation": "Registers the Portal Resource Provider", + "description": "Registers the subscription for the portal resource provider and enables shared dashboards." + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/updateDashboard.json new file mode 100644 index 000000000000..300e75b6c06f --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/examples/updateDashboard.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2019-01-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + }, + "404": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/portal.json new file mode 100644 index 000000000000..60338a27563e --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/preview/2019-01-01-preview/portal.json @@ -0,0 +1,699 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-01-01-preview", + "title": "portal", + "description": "Allows creation and deletion of Azure Shared Dashboards.", + "x-ms-code-generation-settings": { + "name": "portalClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Portal/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List the portal operations": { + "$ref": "examples/operationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "The Microsoft Portal operations API.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}": { + "put": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_CreateOrUpdate", + "x-ms-examples": { + "Create or update a Dashboard": { + "$ref": "examples/createOrUpdateDashboard.json" + } + }, + "description": "Creates or updates a Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The parameters required to create or update a dashboard." + } + ], + "responses": { + "201": { + "description": "Created response definition. Resource has been created", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "200": { + "description": "Resource already exists.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "delete": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Delete", + "x-ms-examples": { + "Delete a Dashboard": { + "$ref": "examples/deleteDashboard.json" + } + }, + "description": "Deletes the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "OK resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Get", + "x-ms-examples": { + "Get a Dashboard": { + "$ref": "examples/getDashboard.json" + } + }, + "description": "Gets the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "404": { + "description": "Not found. Dashboard with provided id doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "patch": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Update", + "x-ms-examples": { + "Update a Dashboard": { + "$ref": "examples/updateDashboard.json" + } + }, + "description": "Updates an existing Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchableDashboard" + }, + "description": "The updatable fields of a Dashboard." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "404": { + "description": "Not found. Dashboard with provided id doesn't exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListByResourceGroup", + "x-ms-examples": { + "List all custom resource providers on the resourceGroup": { + "$ref": "examples/listDashboardsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the Dashboards within a resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListBySubscription", + "x-ms-examples": { + "List all custom resource providers on the subscription": { + "$ref": "examples/listDashboardsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the dashboards within a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "DashboardListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The array of custom resource provider manifests." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of dashboards." + }, + "DashboardPartMetadata": { + "description": "A dashboard part metadata.", + "type": "object", + "additionalProperties": true + }, + "DashboardParts": { + "type": "object", + "description": "A dashboard part.", + "required": [ + "position" + ], + "properties": { + "position": { + "type": "object", + "required": [ + "x", + "y", + "rowSpan", + "colSpan" + ], + "description": "The dashboard's part position.", + "properties": { + "x": { + "type": "integer", + "format": "int32", + "description": "The dashboard's part x coordinate." + }, + "y": { + "type": "integer", + "format": "int32", + "description": "The dashboard's part y coordinate." + }, + "rowSpan": { + "type": "integer", + "format": "int32", + "description": "The dashboard's part row span." + }, + "colSpan": { + "type": "integer", + "format": "int32", + "description": "The dashboard's part column span." + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "metadata": { + "$ref": "#/definitions/DashboardPartMetadata" + } + } + }, + "DashboardLens": { + "type": "object", + "description": "A dashboard lens.", + "required": [ + "order", + "parts" + ], + "properties": { + "order": { + "type": "integer", + "format": "int32", + "description": "The lens order." + }, + "parts": { + "type": "object", + "description": "The dashboard parts.", + "additionalProperties": { + "$ref": "#/definitions/DashboardParts" + } + }, + "metadata": { + "description": "The dashboard len's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardProperties": { + "type": "object", + "description": "The shared dashboard properties.", + "properties": { + "lenses": { + "type": "object", + "description": "The dashboard lenses.", + "additionalProperties": { + "$ref": "#/definitions/DashboardLens" + } + }, + "metadata": { + "description": "The dashboard metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Dashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "required": [ + "location" + ], + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "PatchableDashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "ResourceProviderOperationList": { + "type": "object", + "description": "Results of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "ResourceProviderOperation": { + "type": "object", + "description": "Supported operations of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane.", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Custom Providers.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DashboardNameParameter": { + "name": "dashboardName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dashboard.", + "minLength": 3, + "maxLength": 64, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} From 037cd30c2375321d197dd9504e7acd817dec1ed8 Mon Sep 17 00:00:00 2001 From: zedy Date: Mon, 17 Nov 2025 15:32:53 +0800 Subject: [PATCH 3/4] fix sdk ci error --- .../tenantconfiguration/readme.md | 48 ------------------- 1 file changed, 48 deletions(-) diff --git a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md index 6b3df8af9009..6c7c29182509 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md +++ b/specification/portal/resource-manager/Microsoft.Portal/tenantconfiguration/readme.md @@ -64,51 +64,3 @@ These settings apply only when `--tag=package-2019-01-01-preview` is specified o input-file: - preview/2019-01-01-preview/tenantConfiguration.json ``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-node - - repo: azure-sdk-for-js - - repo: azure-sdk-for-ruby - after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_portal'] - - repo: azure-cli-extensions - - repo: azure-resource-manager-schemas - - repo: azure-powershell -``` - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Ruby - -See configuration in [readme.ruby.md](./readme.ruby.md) - -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - -## CSharp - -See configuration in [readme.csharp.md](./readme.csharp.md) - -## NodeJS - -See configuration in [readme.nodejs.md](./readme.nodejs.md) From 86e81ee9731b2775cc9f6ff9ad1871ae06c52614 Mon Sep 17 00:00:00 2001 From: zedy Date: Mon, 17 Nov 2025 17:20:32 +0800 Subject: [PATCH 4/4] fix typespec validation error --- specification/suppressions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/suppressions.yaml b/specification/suppressions.yaml index a910ff1368da..55a61433cc9c 100644 --- a/specification/suppressions.yaml +++ b/specification/suppressions.yaml @@ -903,8 +903,8 @@ - options.@azure-tools/typespec-ts.* - parameters.service-dir.default paths: - - portal/resource-manager/portal/tspconfig.yaml - - portal/resource-manager/tenantconfiguration/tspconfig.yaml + - portal/resource-manager/Microsoft.Portal/portal/tspconfig.yaml + - portal/resource-manager/Microsoft.Portal/tenantconfiguration/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated