From ceeb2b325dfd17dd60e0bd7ec3f8ad6271fd75a4 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 08:20:25 -0500 Subject: [PATCH 1/9] Upgrade typespec next --- eng/tools/lint-diff/vite.config.js | 9 + package-lock.json | 837 ++++++++---------- package.json | 36 +- .../Advisor/back-compatible.tsp | 11 + .../Microsoft.Advisor/Advisor/client.tsp | 11 + .../Azure.AI.Projects/evaluations/models.tsp | 1 + .../models/chat_completions.tsp | 4 +- .../2025-05-15-preview/azure-ai-agents.json | 27 + .../stable/2025-05-01/azure-ai-agents.json | 27 + .../stable/v1/azure-ai-agents.json | 27 + .../assistants_generated.json | 27 + .../assistants_generated.json | 27 + .../assistants_generated.json | 27 + .../assistants_generated.json | 27 + .../assistants_generated.json | 27 + .../ApiCenter.Management/back-compatible.tsp | 11 + .../apicenter/ApiCenter.Management/main.tsp | 1 + .../AppConfiguration/back-compatible.tsp | 9 + .../back-compatible.tsp | 1 + .../AzureFleet/back-compatible.tsp | 1 + .../AzureLargeInstance/back-compatible.tsp | 2 + .../back-compatible.tsp | 12 + .../back-compatible.tsp | 8 + .../BotService/back-compatible.tsp | 2 + .../Microsoft.Cdn/Cdn/back-compatible.tsp | 30 +- .../Microsoft.Chaos/Chaos/back-compatible.tsp | 8 + .../Microsoft.Chaos/Chaos/client.tsp | 6 + .../back-compatible.tsp | 4 + .../models/completions/chat_completions.tsp | 2 +- .../models/completions/chat_messages.tsp | 10 +- .../extensions/oyd/mongodb_options.tsp | 2 +- .../models/completions/functions.tsp | 2 +- .../models/completions/tools.tsp | 2 +- .../OpenAI.Inference/models/uploads.tsp | 6 +- .../Community.Management/back-compatible.tsp | 2 + .../Compute.Management/back-compatible.tsp | 44 + .../Disk.Management/back-compatible.tsp | 10 + .../Gallery.Management/back-compatible.tsp | 21 + .../ComputeLimit/back-compat.tsp | 2 + .../Confluent.Management/back-compatible.tsp | 9 + .../Registry/back-compatible.tsp | 14 + .../RegistryTasks/back-compatible.tsp | 4 + .../deploymentsafeguards/back-compatible.tsp | 1 + .../fleet/back-compatible.tsp | 7 + .../fleet/client.tsp | 4 + .../ContainerStorage/back-compatible.tsp | 4 + .../Dashboard.Management/back-compatible.tsp | 4 + .../back-compatible.tsp | 5 + .../DataBox/back-compatible.tsp | 6 + .../DataBoxEdge/Addon.tsp | 1 + .../DataBoxEdge/Role.tsp | 1 + .../DataBoxEdge/Trigger.tsp | 1 + .../DataBoxEdge/back-compatible.tsp | 34 + .../stable/2023-12-01/databoxedge.json | 3 + .../DesktopVirtualization/back-compat.tsp | 16 + .../DevCenter.Management/back-compatible.tsp | 21 + .../back-compatible.tsp | 16 + .../back-compatible.tsp | 5 + .../DevTestLabs/back-compatible.tsp | 21 + .../Microsoft.Network/Dns/back-compatible.tsp | 5 + .../DnsResolver/DnsForwardingRuleset.tsp | 3 +- .../DnsResolver/DnsResolver.tsp | 1 + .../DnsResolver/DnsResolverDomainList.tsp | 3 +- .../DnsResolver/DnsResolverPolicy.tsp | 1 + .../DnsResolverPolicyVirtualNetworkLink.tsp | 3 +- .../DnsResolver/DnsSecurityRule.tsp | 1 + .../DnsResolver/ForwardingRule.tsp | 1 + .../DnsResolver/InboundEndpoint.tsp | 1 + .../DnsResolver/OutboundEndpoint.tsp | 1 + .../DnsResolver/VirtualNetworkLink.tsp | 4 +- .../DnsResolver/back-compatible.tsp | 16 + .../Dynatrace.Management/back-compatible.tsp | 3 + .../EdgeOrder/back-compatible.tsp | 11 + .../EdgeZones.Management/back-compatible.tsp | 1 + .../ElasticSan/back-compatible.tsp | 9 + .../Eventhub/back-compatible.tsp | 15 + .../back-compatible.tsp | 3 + .../Fabric/back-compatible.tsp | 2 + .../IotFirmwareDefense.Management/client.tsp | 12 + .../iotfirmwaredefense.json | 1 + .../stable/2025-08-02/iotfirmwaredefense.json | 1 + .../Assignments/back-compatible.tsp | 1 + .../back-compatible.tsp | 4 + .../Microsoft.Help/Help/back-compatible.tsp | 8 + .../back-compatible.tsp | 7 + .../HybridConnectivity.Management/client.tsp | 6 + .../back-compatible.tsp | 2 + .../back-compatible.tsp | 2 + .../back-compatible.tsp | 3 + .../back-compatible.tsp | 13 + .../back-compatible.tsp | 3 + .../KeyVault.Management/ManagedHsm.tsp | 3 +- .../MhsmPrivateEndpointConnection.tsp | 2 +- .../KeyVault.Management/back-compatible.tsp | 10 + .../preview/2025-06-01-preview/keys.json | 4 +- .../preview/7.6-preview.2/keys.json | 4 +- .../stable/2025-07-01/keys.json | 4 +- .../Microsoft.KeyVault/stable/7.5/keys.json | 4 +- .../Microsoft.KeyVault/stable/7.6/keys.json | 4 +- .../stable/2025-05-01/openapi.json | 6 +- .../back-compatible.tsp | 4 + .../back-compatible.tsp | 2 + .../back-compatible.tsp | 1 + .../Qumulo.Storage.Management/client.tsp | 1 + .../2025-07-01-preview/playwright.json | 11 + .../stable/2025-09-01/playwright.json | 11 + .../loadtesting/back-compatible.tsp | 6 + .../playwright/back-compatible.tsp | 4 + .../2025-07-01-preview/playwright.json | 2 + .../stable/2025-09-01/playwright.json | 2 + .../Maintenance/back-compatible.tsp | 5 + .../Mission.Management/back-compatible.tsp | 9 + .../resourcetypes/community/community.tsp | 1 + .../postActions/approvalspostactions.tsp | 4 + .../shared/governedserviceitem.tsp | 3 + .../shared/maintenancemodeconfiguration.tsp | 2 + .../resourcetypes/shared/principal.tsp | 1 + .../back-compatible.tsp | 3 + .../ManagedIdentity/back-compatible.tsp | 5 + .../ManagedIdentity/client.tsp | 1 + .../FlexibleServers/back-compatible.tsp | 20 + .../NetApp/ActiveDirectory.tsp | 1 + .../Microsoft.NetApp/NetApp/BackupPolicy.tsp | 1 + .../Microsoft.NetApp/NetApp/Cache.tsp | 1 + .../Microsoft.NetApp/NetApp/CapacityPool.tsp | 1 + .../Microsoft.NetApp/NetApp/NetAppAccount.tsp | 1 + .../NetApp/SnapshotPolicy.tsp | 1 + .../Microsoft.NetApp/NetApp/Volume.tsp | 1 + .../preview/2025-07-01-preview/netapp.json | 1 + .../preview/2025-08-01-preview/netapp.json | 1 + .../preview/2025-09-01-preview/netapp.json | 1 + .../back-compatible.tsp | 7 + .../preview/2025-05-01-preview/NewRelic.json | 4 + .../NotificationHubs/back-compatible.tsp | 15 + .../back-compatible.tsp | 25 + .../preview/2024-12-01-preview/openapi.json | 2 + .../preview/2025-01-01-preview/openapi.json | 4 + .../preview/2025-04-01-preview/openapi.json | 4 + .../preview/2025-06-01-preview/openapi.json | 4 + .../preview/2025-07-01-preview/openapi.json | 6 + .../preview/2025-08-01-preview/openapi.json | 6 + .../preview/2025-08-15-preview/openapi.json | 6 + .../stable/2025-03-01/openapi.json | 4 + .../stable/2025-09-01/openapi.json | 6 + .../Microsoft.PlanetaryComputer/inma.tsp | 2 +- .../models.stac.spec.tsp | 2 +- .../back-compatible.tsp | 28 +- .../back-compatible.tsp | 4 + .../stable/2024-12-01/playwrighttesting.json | 11 + .../portal/Dashboard.Management/client.tsp | 1 + .../back-compatible.tsp | 2 + .../Extension.Management/client.tsp | 3 + .../PostgresqlHsc/back-compatible.tsp | 11 + .../PowerBIDedicated/back-compatible.tsp | 4 + .../PrivateDns/back-compatible.tsp | 3 + .../back-compatible.tsp | 4 + .../back-compatible.tsp | 7 + .../PurviewPolicy/backcompat.tsp | 1 + .../Microsoft.Quota/Quota/back-compatible.tsp | 11 + .../RecoveryServices/back-compatible.tsp | 2 + .../BackupEngineBaseResource.tsp | 1 + .../BackupResourceConfigResource.tsp | 1 + ...sourceEncryptionConfigExtendedResource.tsp | 2 + .../BackupResourceVaultConfigResource.tsp | 1 + .../RecoveryServicesBackup/JobResource.tsp | 1 + .../PrivateEndpointConnectionResource.tsp | 1 + .../ProtectedItemResource.tsp | 1 + .../ProtectionContainerResource.tsp | 1 + .../ProtectionIntentResource.tsp | 1 + .../ProtectionPolicyResource.tsp | 1 + .../RecoveryPointResource.tsp | 1 + .../ResourceGuardProxyBaseResource.tsp | 1 + .../Microsoft.Cache/Redis/back-compatible.tsp | 10 + .../Microsoft.Cache/Redis/client.tsp | 1 + .../Microsoft.Relay/Relay/back-compatible.tsp | 9 + .../ResourceConnector/Appliance.tsp | 1 + .../ResourceConnector/back-compatible.tsp | 2 + .../deploymentStacks/back-compat.tsp | 1 + .../scvmm/ScVmm.Management/BackCompat.tsp | 9 + .../ServiceBus/back-compatible.tsp | 16 + .../ServiceBus/models.tsp | 2 + .../ServiceFabricManagedClusters/client.tsp | 7 + .../ServiceNetworking/back-compatible.tsp | 5 + .../ServiceNetworking/client.tsp | 5 + .../SignalRService/back-compatible.tsp | 7 + .../Sphere.Management/back-compatible.tsp | 8 + .../back-compatible.tsp | 2 + .../SqlVirtualMachine/back-compatible.tsp | 3 + .../back-compatible.tsp | 6 + .../back-compatible.tsp | 3 + .../back-compatible.tsp | 9 + .../StorageSync/back-compatible.tsp | 17 + .../Support/back-compatible.tsp | 7 + .../TrafficManager/back-compatible.tsp | 5 + .../back-compatible.tsp | 1 + .../Microsoft.AVS/AVS/back-compatible.tsp | 23 + .../Microsoft.AVS/AVS/client.tsp | 28 + .../AVS/stable/2025-09-01/vmware.json | 4 + .../SignalRService/back-compatible.tsp | 7 + .../back-compatible.tsp | 3 + .../back-compatible.tsp | 5 + .../back-compatible.tsp | 4 + .../client.tsp | 4 + 203 files changed, 1670 insertions(+), 542 deletions(-) create mode 100644 eng/tools/lint-diff/vite.config.js diff --git a/eng/tools/lint-diff/vite.config.js b/eng/tools/lint-diff/vite.config.js new file mode 100644 index 000000000000..e3bd8d8cd314 --- /dev/null +++ b/eng/tools/lint-diff/vite.config.js @@ -0,0 +1,9 @@ +import { defineConfig } from "vite"; +import { configDefaults } from "vitest/config"; +export default defineConfig({ + test: Object.assign(Object.assign({}, configDefaults), { testTimeout: 20000, coverage: { + provider: "v8", + reporter: ["text", "json", "html"], + } }), +}); +//# sourceMappingURL=vite.config.js.map \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c3ad876a308e..9c1ef7ccf475 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,30 +10,30 @@ "@azure-tools/spec-gen-sdk": "~0.9.1", "@azure-tools/specs-shared": "file:.github/shared", "@azure-tools/typespec-apiview": "0.7.2", - "@azure-tools/typespec-autorest": "0.62.0", - "@azure-tools/typespec-azure-core": "0.62.0", - "@azure-tools/typespec-azure-portal-core": "0.62.0", - "@azure-tools/typespec-azure-resource-manager": "0.62.1", - "@azure-tools/typespec-azure-rulesets": "0.62.0", + "@azure-tools/typespec-autorest": "0.63.0", + "@azure-tools/typespec-azure-core": "0.63.0", + "@azure-tools/typespec-azure-portal-core": "0.63.0", + "@azure-tools/typespec-azure-resource-manager": "0.63.0", + "@azure-tools/typespec-azure-rulesets": "0.63.0", "@azure-tools/typespec-client-generator-cli": "0.31.0", - "@azure-tools/typespec-client-generator-core": "0.62.0", + "@azure-tools/typespec-client-generator-core": "0.63.0", "@azure-tools/typespec-liftr-base": "0.10.0", "@azure/avocado": "0.10.5", "@azure/oad": "0.12.3", "@microsoft.azure/openapi-validator": "2.2.4", "@microsoft.azure/openapi-validator-core": "1.0.7", "@microsoft.azure/openapi-validator-rulesets": "2.1.10", - "@typespec/compiler": "1.6.0", - "@typespec/events": "0.76.0", - "@typespec/http": "1.6.0", - "@typespec/openapi": "1.6.0", - "@typespec/openapi3": "1.6.0", - "@typespec/prettier-plugin-typespec": "1.6.0", - "@typespec/rest": "0.76.0", - "@typespec/sse": "0.76.0", - "@typespec/streams": "0.76.0", - "@typespec/versioning": "0.76.0", - "@typespec/xml": "0.76.0", + "@typespec/compiler": "1.7.0", + "@typespec/events": "0.77.0", + "@typespec/http": "1.7.0", + "@typespec/openapi": "1.7.0", + "@typespec/openapi3": "1.7.0", + "@typespec/prettier-plugin-typespec": "1.7.0", + "@typespec/rest": "0.77.0", + "@typespec/sse": "0.77.0", + "@typespec/streams": "0.77.0", + "@typespec/versioning": "0.77.0", + "@typespec/xml": "0.77.0", "azure-rest-api-specs-eng-tools": "file:eng/tools", "oav": "4.0.3", "prettier": "~3.6.2", @@ -219,37 +219,6 @@ "dev": true, "license": "MIT" }, - "eng/tools/node_modules/globby": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-16.0.0.tgz", - "integrity": "sha512-ejy4TJFga99yW6Q0uhM3pFawKWZmtZzZD/v/GwI5+9bCV5Ew+D2pSND6W7fUes5UykqSsJkUfxFVdRh7Q1+P3Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/merge-streams": "^4.0.0", - "fast-glob": "^3.3.3", - "ignore": "^7.0.5", - "is-path-inside": "^4.0.0", - "slash": "^5.1.0", - "unicorn-magic": "^0.4.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "eng/tools/node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "eng/tools/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -327,19 +296,6 @@ "dev": true, "license": "MIT" }, - "eng/tools/node_modules/unicorn-magic": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", - "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "eng/tools/node_modules/wrap-ansi": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", @@ -731,7 +687,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -1055,24 +1010,24 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.62.0.tgz", - "integrity": "sha512-XftwipfGGMk9e3qGzbRMBvVpfIqLMJKc8H+XlPHFymnCfexBniZn4Qu2t8nzOVM9fgOoFDjNDzk8W5lf59U5Dg==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.63.0.tgz", + "integrity": "sha512-E04eX5axqua+bVs8QH1z74Wrq+XjO6tInq6d6EhjBNQAcRyFCJNxJHqcJkzMWNy1ID/iIGNXyRG/elK2AdegZg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@azure-tools/typespec-azure-resource-manager": "^0.62.0", - "@azure-tools/typespec-client-generator-core": "^0.62.0", - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/versioning": "^0.76.0", - "@typespec/xml": "^0.76.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@azure-tools/typespec-azure-resource-manager": "^0.63.0", + "@azure-tools/typespec-client-generator-core": "^0.63.0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/versioning": "^0.77.0", + "@typespec/xml": "^0.77.0" }, "peerDependenciesMeta": { "@typespec/xml": { @@ -1081,39 +1036,37 @@ } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.62.0.tgz", - "integrity": "sha512-4LIFqNHhKO1/jiCH0U2rfI+yH7vkWcFuwpjNyRTWXw/YghAI2d+aIEwtT4oM8jWeYR3KUQfA6AqGPRCm90AXYA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.63.0.tgz", + "integrity": "sha512-FbEmpZSQENzBt/Y8qSF1b98T8CqT3bV7IRV8AGGm/73NQZiWQCm2LvQzR0/lbqGntS2EnSBrt394Kt69wM4ifA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/rest": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/rest": "^0.77.0" } }, "node_modules/@azure-tools/typespec-azure-portal-core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-portal-core/-/typespec-azure-portal-core-0.62.0.tgz", - "integrity": "sha512-XkgZnNZPT84jk1i07UhKJcoeLYcUnFs5RwDaJMvTG6cemSDFDjLdZjtYOYYzc6WcmZWNyUbYFZD6emUANeOHtw==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-portal-core/-/typespec-azure-portal-core-0.63.0.tgz", + "integrity": "sha512-YypT2nKE5SoMXVojyxPjNoLov22lnVFkmrnaKS1fNYnGDV9CRaV52Xk5CfLAy7Cvx3qLb8ZkUB0EJPlEiW52Pg==", "dev": true, "license": "MIT", "peerDependencies": { - "@azure-tools/typespec-azure-resource-manager": "^0.62.0", - "@typespec/compiler": "^1.6.0" + "@azure-tools/typespec-azure-resource-manager": "^0.63.0", + "@typespec/compiler": "^1.7.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.62.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.62.1.tgz", - "integrity": "sha512-sbCwg5Auvm2/fYUWbx3RlQyZGlMoAmhtRjrurgwWzZIBxBJ7sVqgUQktl3WGHAoeJ3qYa2gAIL4j8/xSPwt5kw==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.63.0.tgz", + "integrity": "sha512-QXHryXgV9Rh7lBW9hrehjdGVM/W8eBN6wnfRRZtAAyfTc1AkRGDKOMFBtRtfbEkQpur16mgQTd7EyH2tpqfuSw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "change-case": "~5.4.4", "pluralize": "^8.0.0" @@ -1122,28 +1075,28 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/versioning": "^0.76.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/versioning": "^0.77.0" } }, "node_modules/@azure-tools/typespec-azure-rulesets": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.62.0.tgz", - "integrity": "sha512-jEsR9ogSYkYxcOc5biEKbwbYS77ffD8avjT8Sbf5r+8VMPZj46uK3V0FaySbtPh+EEgoBrVj2jcbGGKDFrse1A==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.63.0.tgz", + "integrity": "sha512-oZSderD/MVnPH+W8hh3rsta1uF9xVLp9b2jjyhiHL9lqYGnHUYk8sDti5PUk/LXIz8QAsBMSbXJMDgxTeND8Kg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@azure-tools/typespec-azure-resource-manager": "^0.62.0", - "@azure-tools/typespec-client-generator-core": "^0.62.0", - "@typespec/compiler": "^1.6.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@azure-tools/typespec-azure-resource-manager": "^0.63.0", + "@azure-tools/typespec-client-generator-core": "^0.63.0", + "@typespec/compiler": "^1.7.0" } }, "node_modules/@azure-tools/typespec-client-generator-cli": { @@ -1177,12 +1130,11 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.62.0.tgz", - "integrity": "sha512-fZilNfvqIW6Jzb97SuM5f+i9p5b0261InQRbQcTbeuYGtb5z5M0v8tuGglE4adU8NqQ1OmEv/oRjQjSeSjlxwA==", + "version": "0.63.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.63.0.tgz", + "integrity": "sha512-zpvFvjCjNW+GWzHBV7vJ2E1PKXrmyNqp7FQiYo/D7PJBVTXNtOyIKqqo043ktAaWihbr8cl5QguuNSoBAKL0+Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "change-case": "~5.4.4", "pluralize": "^8.0.0", @@ -1192,16 +1144,16 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.62.0", - "@typespec/compiler": "^1.6.0", - "@typespec/events": "^0.76.0", - "@typespec/http": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/rest": "^0.76.0", - "@typespec/sse": "^0.76.0", - "@typespec/streams": "^0.76.0", - "@typespec/versioning": "^0.76.0", - "@typespec/xml": "^0.76.0" + "@azure-tools/typespec-azure-core": "^0.63.0", + "@typespec/compiler": "^1.7.0", + "@typespec/events": "^0.77.0", + "@typespec/http": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/rest": "^0.77.0", + "@typespec/sse": "^0.77.0", + "@typespec/streams": "^0.77.0", + "@typespec/versioning": "^0.77.0", + "@typespec/xml": "^0.77.0" } }, "node_modules/@azure-tools/typespec-liftr-base": { @@ -2655,30 +2607,29 @@ } }, "node_modules/@inquirer/ansi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", - "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.2.tgz", + "integrity": "sha512-SYLX05PwJVnW+WVegZt1T4Ip1qba1ik+pNJPDiqvk6zS5Y/i8PhRzLpGEtVd7sW0G8cMtkD8t4AZYhQwm8vnww==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, "node_modules/@inquirer/checkbox": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", - "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.0.2.tgz", + "integrity": "sha512-iTPV4tMMct7iOpwer5qmTP7gjnk1VQJjsNfAaC2b8Q3qiuHM3K2yjjDr5u1MKfkrvp2JD4Flf8sIPpF21pmZmw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2690,17 +2641,17 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.21", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", - "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.2.tgz", + "integrity": "sha512-A0/13Wyi+8iFeNDX6D4zZYKPoBLIEbE4K/219qHcnpXMer2weWvaTo63+2c7mQPPA206DEMSYVOPnEw3meOlCw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2712,23 +2663,22 @@ } }, "node_modules/@inquirer/core": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", - "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.0.2.tgz", + "integrity": "sha512-lgMRx/n02ciiNELBvFLHtmcjbV5tf5D/I0UYfCg2YbTZWmBZ10/niLd3IjWBxz8LtM27xP+4oLEa06Slmb7p7A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", + "@inquirer/ansi": "^2.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2", "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", + "mute-stream": "^3.0.0", "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.3" + "wrap-ansi": "^9.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2739,20 +2689,105 @@ } } }, - "node_modules/@inquirer/editor": { - "version": "4.2.23", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", - "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "node_modules/@inquirer/core/node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@inquirer/core/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@inquirer/core/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@inquirer/core/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@inquirer/core/node_modules/strip-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@inquirer/core/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/external-editor": "^1.0.3", - "@inquirer/type": "^3.0.10" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { "node": ">=18" }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@inquirer/editor": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.0.2.tgz", + "integrity": "sha512-pXQ4Nf0qmFcJuYB6NlcIIxH6l6zKOwNg1Jh/ZRdKd2dTqBB4OXKUFbFwR2K4LVXVtq15ZFFatBVT+rerYR8hWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^11.0.2", + "@inquirer/external-editor": "^2.0.2", + "@inquirer/type": "^4.0.2" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" + }, "peerDependencies": { "@types/node": ">=18" }, @@ -2763,18 +2798,17 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", - "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.2.tgz", + "integrity": "sha512-siFG1swxfjFIOxIcehtZkh+KUNB/YCpyfHNEGu+nC/SBXIbgUWibvThLn/WesSxLRGOeSKdNKoTm+GQCKFm6Ww==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2786,9 +2820,9 @@ } }, "node_modules/@inquirer/external-editor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.2.tgz", + "integrity": "sha512-X/fMXK7vXomRWEex1j8mnj7s1mpnTeP4CO/h2gysJhHLT2WjBnLv4ZQEGpm/kcYI8QfLZ2fgW+9kTKD+jeopLg==", "dev": true, "license": "MIT", "dependencies": { @@ -2796,7 +2830,7 @@ "iconv-lite": "^0.7.0" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2808,27 +2842,27 @@ } }, "node_modules/@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.2.tgz", + "integrity": "sha512-qXm6EVvQx/FmnSrCWCIGtMHwqeLgxABP8XgcaAoywsL0NFga9gD5kfG0gXiv80GjK9Hsoz4pgGwF/+CjygyV9A==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" } }, "node_modules/@inquirer/input": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", - "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.2.tgz", + "integrity": "sha512-hN2YRo1QiEc9lD3mK+CPnTS4TK2RhCMmMmP4nCWwTkmQL2vx9jPJWYk+rbUZpwR1D583ZJk1FI3i9JZXIpi/qg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2840,17 +2874,17 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", - "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.2.tgz", + "integrity": "sha512-4McnjTSYrlthNW1ojkkmP75WLRYhQs7GXm6pDDoIrHqJuV5uUYwfdbB0geHdaKMarAqJQgoOVjzIT0jdWCsKew==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2862,18 +2896,18 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", - "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.2.tgz", + "integrity": "sha512-oSDziMKiw4G2e4zS+0JRfxuPFFGh6N/9yUaluMgEHp2/Yyj2JGwfDO7XbwtOrxVrz+XsP/iaGyWXdQb9d8A0+g==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2885,25 +2919,25 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.10.1", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", - "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.0.2.tgz", + "integrity": "sha512-2zK5zY48fZcl6+gG4eqOC/UzZsJckHCRvjXoLuW4D8LKOCVGdcJiSKkLnumSZjR/6PXPINDGOrGHqNxb+sxJDg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.3.2", - "@inquirer/confirm": "^5.1.21", - "@inquirer/editor": "^4.2.23", - "@inquirer/expand": "^4.0.23", - "@inquirer/input": "^4.3.1", - "@inquirer/number": "^3.0.23", - "@inquirer/password": "^4.0.23", - "@inquirer/rawlist": "^4.1.11", - "@inquirer/search": "^3.2.2", - "@inquirer/select": "^4.4.2" + "@inquirer/checkbox": "^5.0.2", + "@inquirer/confirm": "^6.0.2", + "@inquirer/editor": "^5.0.2", + "@inquirer/expand": "^5.0.2", + "@inquirer/input": "^5.0.2", + "@inquirer/number": "^4.0.2", + "@inquirer/password": "^5.0.2", + "@inquirer/rawlist": "^5.0.2", + "@inquirer/search": "^4.0.2", + "@inquirer/select": "^5.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2915,18 +2949,17 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", - "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.0.2.tgz", + "integrity": "sha512-AcNALEdQKUQDeJcpC1a3YC53m1MLv+sMUS+vRZ8Qigs1Yg3Dcdtmi82rscJplogKOY8CXkKW4wvVwHS2ZjCIBQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/core": "^11.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2938,19 +2971,18 @@ } }, "node_modules/@inquirer/search": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", - "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.0.2.tgz", + "integrity": "sha512-hg63w5toohdzE65S3LiGhdfIL0kT+yisbZARf7zw65PvyMUTutTN3eMAvD/B6y/25z88vTrB7kSB45Vz5CbrXg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2962,20 +2994,19 @@ } }, "node_modules/@inquirer/select": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", - "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.0.2.tgz", + "integrity": "sha512-JygTohvQxSNnvt7IKANVlg/eds+yN5sLRilYeGc4ri/9Aqi/2QPoXBMV5Cz/L1VtQv63SnTbPXJZeCK2pSwsOA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "@inquirer/ansi": "^2.0.2", + "@inquirer/core": "^11.0.2", + "@inquirer/figures": "^2.0.2", + "@inquirer/type": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -2987,13 +3018,13 @@ } }, "node_modules/@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.2.tgz", + "integrity": "sha512-cae7mzluplsjSdgFA6ACLygb5jC8alO0UUnFPyu0E7tNRPrL+q/f8VcSXp+cjZQ7l5CMpDpi2G1+IQvkOiL1Lw==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" }, "peerDependencies": { "@types/node": ">=18" @@ -3583,7 +3614,6 @@ "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.3", @@ -4064,9 +4094,9 @@ ] }, "node_modules/@scalar/helpers": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/@scalar/helpers/-/helpers-0.0.12.tgz", - "integrity": "sha512-4NDmHShyi1hrVRsJCdRZT/FIpy+/5PFbVbQLRYX/pjpu5cYqHBj9s6n5RI6gGDXEBHAIFi63g9FC6Isgr66l1Q==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@scalar/helpers/-/helpers-0.2.1.tgz", + "integrity": "sha512-w7klkaWwQCKNNe5H2iFHBgW/LEcCY9CCAaSuQTLVWgHrNeM0MuZkmuplI18XJaum+JxPNIu8M2u5usSoZo5+Ew==", "dev": true, "license": "MIT", "engines": { @@ -4074,61 +4104,35 @@ } }, "node_modules/@scalar/json-magic": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@scalar/json-magic/-/json-magic-0.6.1.tgz", - "integrity": "sha512-HJMPY5dUU3EXVS4EkjAFXo+uCrby/YFu/gljKDQnhYWRy5zQ0sJWrOEDcHS8nLoJRCIRD5tiVpCxnUnSb6OoAQ==", + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/@scalar/json-magic/-/json-magic-0.8.5.tgz", + "integrity": "sha512-EshPZbtAwB6ACi3bawiz+gvas84BC1mWNSmVhxK+9runNewME8v5Mhtl6hJXjdivE2GLVc9+ET7xlnywg0FkfQ==", "dev": true, "license": "MIT", "dependencies": { - "@scalar/helpers": "0.0.12", - "yaml": "2.8.0" + "@scalar/helpers": "0.2.1", + "yaml": "^2.8.0" }, "engines": { "node": ">=20" } }, - "node_modules/@scalar/json-magic/node_modules/yaml": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", - "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", - "dev": true, - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - } - }, "node_modules/@scalar/openapi-parser": { - "version": "0.22.3", - "resolved": "https://registry.npmjs.org/@scalar/openapi-parser/-/openapi-parser-0.22.3.tgz", - "integrity": "sha512-5Znbx9HVJb7EV9EJXJrUj+cs116QIBwX/hxkyaiLaaDL2w5S+z1rjtV+d0Jv7382FCtzAtfv/9llVuxZYPVqXA==", + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/@scalar/openapi-parser/-/openapi-parser-0.23.6.tgz", + "integrity": "sha512-YJdnpsMVh+abp2V+ml271ANKwgXMGW/kPg8qbRAEb7wZucsEfQxWT8bFnrUsfVvTuufMJM9c/pJh+v/59Zop9A==", "dev": true, "license": "MIT", "dependencies": { - "@scalar/json-magic": "0.6.1", - "@scalar/openapi-types": "0.5.0", - "@scalar/openapi-upgrader": "0.1.3", + "@scalar/json-magic": "0.8.5", + "@scalar/openapi-types": "0.5.3", + "@scalar/openapi-upgrader": "0.1.6", "ajv": "^8.17.1", "ajv-draft-04": "^1.0.0", "ajv-formats": "^3.0.1", "jsonpointer": "^5.0.1", "leven": "^4.0.0", - "yaml": "2.8.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/@scalar/openapi-parser/node_modules/@scalar/openapi-types": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@scalar/openapi-types/-/openapi-types-0.5.0.tgz", - "integrity": "sha512-HJBcLa+/mPP+3TCcQngj/iW5UqynRosOQdEETXjmdy6Ngw8wBjwIcT6C86J5jufJ6sI8++HYnt+e7pAvp5FO6A==", - "dev": true, - "license": "MIT", - "dependencies": { - "zod": "4.1.11" + "yaml": "^2.8.0" }, "engines": { "node": ">=20" @@ -4140,7 +4144,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -4192,88 +4195,32 @@ "dev": true, "license": "MIT" }, - "node_modules/@scalar/openapi-parser/node_modules/yaml": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", - "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", - "dev": true, - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - } - }, - "node_modules/@scalar/openapi-parser/node_modules/zod": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.11.tgz", - "integrity": "sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/@scalar/openapi-types": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@scalar/openapi-types/-/openapi-types-0.5.1.tgz", - "integrity": "sha512-8g7s9lPolyDFtijyh3Ob459tpezPuZbkXoFgJwBTHjPZ7ap+TvOJTvLk56CFwxVBVz2BxCzWJqxYyy3FUdeLoA==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@scalar/openapi-types/-/openapi-types-0.5.3.tgz", + "integrity": "sha512-m4n/Su3K01d15dmdWO1LlqecdSPKuNjuokrJLdiQ485kW/hRHbXW1QP6tJL75myhw/XhX5YhYAR+jrwnGjXiMw==", "dev": true, "license": "MIT", "dependencies": { - "zod": "4.1.11" + "zod": "^4.1.11" }, "engines": { "node": ">=20" } }, - "node_modules/@scalar/openapi-types/node_modules/zod": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.11.tgz", - "integrity": "sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/@scalar/openapi-upgrader": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@scalar/openapi-upgrader/-/openapi-upgrader-0.1.3.tgz", - "integrity": "sha512-iROhcgy3vge6zsviPtoTLHale0nYt1PLhuMmJweQwJ0U23ZYyYhV5xgHtAd0OBEXuqT6rjYbJFvKOJZmJOwpNQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@scalar/openapi-types": "0.5.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/@scalar/openapi-upgrader/node_modules/@scalar/openapi-types": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@scalar/openapi-types/-/openapi-types-0.5.0.tgz", - "integrity": "sha512-HJBcLa+/mPP+3TCcQngj/iW5UqynRosOQdEETXjmdy6Ngw8wBjwIcT6C86J5jufJ6sI8++HYnt+e7pAvp5FO6A==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@scalar/openapi-upgrader/-/openapi-upgrader-0.1.6.tgz", + "integrity": "sha512-XdrNZUr0ASLfR89OS2zP6enbq9f7UGQQxov+a3WF1Wz9DClniAL2ChJ2fbGOrqL5F2kjbV6Fw/iO3bsBTMyLZA==", "dev": true, "license": "MIT", "dependencies": { - "zod": "4.1.11" + "@scalar/openapi-types": "0.5.3" }, "engines": { "node": ">=20" } }, - "node_modules/@scalar/openapi-upgrader/node_modules/zod": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.11.tgz", - "integrity": "sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/@sec-ant/readable-stream": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", @@ -4501,7 +4448,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -4602,7 +4548,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -4953,8 +4898,7 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true, - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/@ts-common/property-set": { "version": "0.1.0", @@ -5164,8 +5108,7 @@ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@types/lodash": { "version": "4.17.21", @@ -5293,7 +5236,6 @@ "integrity": "sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.48.0", "@typescript-eslint/types": "8.48.0", @@ -5506,32 +5448,31 @@ } }, "node_modules/@typespec/asset-emitter": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.76.0.tgz", - "integrity": "sha512-+zXpntzHujfoVA7FiE3IIerM79fqo4BvT9E4PaeBybt2L6mNMxgWteE8j1ztNfDDMeOG4fkL2bv3+/ZD+DDP/Q==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.77.0.tgz", + "integrity": "sha512-OoeYP3UZ/taf46U6sEcb11VYmBlgpCn02mdHTIAM+suCjBZPBYV02pkeEvKyms4MtHMsg/GdEh7Tpl6cTwwsNg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/compiler": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.6.0.tgz", - "integrity": "sha512-yxyV+ch8tnqiuU2gClv/mQEESoFwpkjo6177UkYfV0nVA9PzTg4zVVc7+WIMZk04wiLRRT3H1uc11FB1cwLY3g==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.7.0.tgz", + "integrity": "sha512-KE2t5I7u/33M/nsIxdng06FUPrqaGSbMsSEsv51eMwYnj3v1+Z3qTTX/dxHAXRXHcfadNlX/NtyAKju+pkMTFQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "~7.27.1", - "@inquirer/prompts": "^7.4.0", + "@inquirer/prompts": "^8.0.1", "ajv": "~8.17.1", "change-case": "~5.4.4", "env-paths": "^3.0.0", - "globby": "~15.0.0", + "globby": "~16.0.0", "is-unicode-supported": "^2.1.0", "mustache": "~4.2.0", "picocolors": "~1.1.1", @@ -5705,32 +5646,30 @@ } }, "node_modules/@typespec/events": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.76.0.tgz", - "integrity": "sha512-mdjYQ5HA3Y4ZeyAEmiIDdRa9hbc/5qey5hU9UCA0gL+YWVYgoqLPbZQQTwqq3smM35+5cWp9GTGPyNHcOoRwOA==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.77.0.tgz", + "integrity": "sha512-NbOzi7axEt/xGgXaLjcGGV2HjQKNFjbvsQpCeDA6loUghZDK5+5ik/jwMumeUDunoBsAKF78ZxVF5qhQh56dGA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/http": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.6.0.tgz", - "integrity": "sha512-q/JwVw21CF4buE3ZS+xSoy2TKAOwyhZ7g3kdNqCgm69BI5p5GGu+3ZlUA+4Blk8hkt0G8XcIN8fhJP+a4O6KAw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.7.0.tgz", + "integrity": "sha512-4cGkcMiob3bedWbFkRcq614TDH7WPEI3YMgrg44mBarj903arpEniAESIhNUbLQzQFFc5rOJagexQDl4agVDyA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/streams": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/streams": "^0.77.0" }, "peerDependenciesMeta": { "@typespec/streams": { @@ -5739,31 +5678,30 @@ } }, "node_modules/@typespec/openapi": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.6.0.tgz", - "integrity": "sha512-KuxYAzfP5ljM0PUhSGclNZgTG0H+kyTQcwn6cf4TKhO72R2QMQmiMtN2plqvzsfkL+TLwad1iZhMWTCAMFAQ4w==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.7.0.tgz", + "integrity": "sha512-tEAIgGnjLvOjbGAoCfkBudvpe/tXaOXkzy5nVFXs4921/jAaMTwzcJIt0bTXZpp5cExdlL7w9ZrnehARHiposQ==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0" } }, "node_modules/@typespec/openapi3": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-1.6.0.tgz", - "integrity": "sha512-+5skPlNcUNKd1rcodYptj3Sm4C+Mg4LMgdCqjAEO1mcTellBE4GbJcubBI4+qU4aSgITfR1ST//Vc/KIF6RlEQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-1.7.0.tgz", + "integrity": "sha512-HjKM+4FfimQjscnfO7Y1iMGaRO0nlxTfou5+aA82DNuDl+oCsfjtddHAP/CSCVhRdqzkD2HyHdm2SwYPJL/fpw==", "dev": true, "license": "MIT", "dependencies": { - "@scalar/json-magic": "^0.6.1", - "@scalar/openapi-parser": "^0.22.3", + "@scalar/json-magic": "^0.8.2", + "@scalar/openapi-parser": "^0.23.3", "@scalar/openapi-types": "^0.5.0", - "@typespec/asset-emitter": "^0.76.0", + "@typespec/asset-emitter": "^0.77.0", "yaml": "~2.8.0" }, "bin": { @@ -5773,14 +5711,14 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/events": "^0.76.0", - "@typespec/http": "^1.6.0", - "@typespec/json-schema": "^1.6.0", - "@typespec/openapi": "^1.6.0", - "@typespec/sse": "^0.76.0", - "@typespec/streams": "^0.76.0", - "@typespec/versioning": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/events": "^0.77.0", + "@typespec/http": "^1.7.0", + "@typespec/json-schema": "^1.7.0", + "@typespec/openapi": "^1.7.0", + "@typespec/sse": "^0.77.0", + "@typespec/streams": "^0.77.0", + "@typespec/versioning": "^0.77.0" }, "peerDependenciesMeta": { "@typespec/events": { @@ -5804,9 +5742,9 @@ } }, "node_modules/@typespec/prettier-plugin-typespec": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@typespec/prettier-plugin-typespec/-/prettier-plugin-typespec-1.6.0.tgz", - "integrity": "sha512-t7cx93fZjfYzZ9Hd/pEj/qdvmsLIVNS7env3I351BTqEWHR/01nXn1/VZi9t5eMvl1SBhKUsI/Pz49pYnuuCfw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@typespec/prettier-plugin-typespec/-/prettier-plugin-typespec-1.7.0.tgz", + "integrity": "sha512-QxCCjWOHqlf43ZMIqma4JU9dnsuknqlUO8yfYUXdxXIBxadevY6Pk3HbTR+ecNgeZlxuvd8ms2v1rhcojw3pTA==", "dev": true, "license": "MIT", "dependencies": { @@ -5814,49 +5752,46 @@ } }, "node_modules/@typespec/rest": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.76.0.tgz", - "integrity": "sha512-6jtQWdcmuKyG9cmqWsJjaq64f6N5B/1DS4X3ZoTNgYhHA27Hnsxo1HZWXcpv7Wl+MxLAZM6kgpML0ugDEZcrYQ==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.77.0.tgz", + "integrity": "sha512-DEUMD9zYqUVUhKCGktV7Z+sFkzj+bcSpJRhEXxOrJxupWM4I3N4deMop+ulxezxlLxIRUz7ELc+6WucYXgOnAA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/http": "^1.6.0" + "@typespec/compiler": "^1.7.0", + "@typespec/http": "^1.7.0" } }, "node_modules/@typespec/sse": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.76.0.tgz", - "integrity": "sha512-mCd4oAXr0Tt990T2PDjx+6H0jmPHINyCH0XRU2HrWtGW5lG/NQVIs5oOxElc7NGg629HrolfLTw0oW8hdMD7Eg==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.77.0.tgz", + "integrity": "sha512-rVML/sPNj+MomKXftko/eUNM5OhHlIevoit3Dbtaf1aWS5pcJ5jKX05Prz53VIyeUP7ra5ocmPE/iIEPb8ZbCA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0", - "@typespec/events": "^0.76.0", - "@typespec/http": "^1.6.0", - "@typespec/streams": "^0.76.0" + "@typespec/compiler": "^1.7.0", + "@typespec/events": "^0.77.0", + "@typespec/http": "^1.7.0", + "@typespec/streams": "^0.77.0" } }, "node_modules/@typespec/streams": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.76.0.tgz", - "integrity": "sha512-7gQPtsokyn0Mjr43MAik6ZkQt1PZjseU+KcBE2iGT9P6oWYYTH3K1C4LLGXHZAbgEtBvFn4S+U8HPbDhj4nEhw==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.77.0.tgz", + "integrity": "sha512-qqfJW4n19Jgi5FxQhsEgoIc5zD9o47AAoZxLKUX91z6aB/YWrLSTrrrIAvhNCESXuB89zlJPwlZ/j4YmpxZ/jw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/ts-http-runtime": { @@ -5875,31 +5810,29 @@ } }, "node_modules/@typespec/versioning": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.76.0.tgz", - "integrity": "sha512-dguO/B+mwlCyenWGG+M+16cMQuGHSTJbU5Z0pyUou1uyWrB1px//s4pW7PKD14S+fPutJE0wTMQm+CctOq6quA==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.77.0.tgz", + "integrity": "sha512-eAInPZYPkxpBUS8IKQfNZ5eZsLfkWqEX0d6YM/AfooGYbxcKdHQBfYOWBvRC4NkKEMub4ROaD5GcPLYTyWQIWw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@typespec/xml": { - "version": "0.76.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.76.0.tgz", - "integrity": "sha512-+I7hdWZDO3qBfzRT3St+1Dg/NQAMNLz8w1OydutSnVMx0G3KWg/ESonaByszBUfdq6Z5iTtls3gvj4wgrw80gA==", + "version": "0.77.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.77.0.tgz", + "integrity": "sha512-DNVAOMaRUPGpLEsqf3sn7UAWuAE1rs8Jf1FIAU7DF/sVmzeXs4OBanxSSsVmbcdfPRHPbjPuRnW6e+QS2Sjk3Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.6.0" + "@typespec/compiler": "^1.7.0" } }, "node_modules/@vitest/coverage-v8": { @@ -6070,7 +6003,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -7333,7 +7265,6 @@ "integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -8312,18 +8243,18 @@ } }, "node_modules/globby": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-15.0.0.tgz", - "integrity": "sha512-oB4vkQGqlMl682wL1IlWd02tXCbquGWM4voPEI85QmNKCaw8zGTm1f1rubFgkg3Eli2PtKlFgrnmUqasbQWlkw==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-16.0.0.tgz", + "integrity": "sha512-ejy4TJFga99yW6Q0uhM3pFawKWZmtZzZD/v/GwI5+9bCV5Ew+D2pSND6W7fUes5UykqSsJkUfxFVdRh7Q1+P3Q==", "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "fast-glob": "^3.3.3", "ignore": "^7.0.5", - "path-type": "^6.0.0", + "is-path-inside": "^4.0.0", "slash": "^5.1.0", - "unicorn-magic": "^0.3.0" + "unicorn-magic": "^0.4.0" }, "engines": { "node": ">=20" @@ -8342,6 +8273,19 @@ "node": ">= 4" } }, + "node_modules/globby/node_modules/unicorn-magic": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", + "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -9214,7 +9158,6 @@ "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">= 10.16.0" } @@ -9748,13 +9691,13 @@ } }, "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^20.17.0 || >=22.9.0" } }, "node_modules/nanoid": { @@ -10291,19 +10234,6 @@ "dev": true, "license": "MIT" }, - "node_modules/path-type": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", - "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/pathe": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", @@ -10416,7 +10346,6 @@ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -10559,8 +10488,7 @@ "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", "dev": true, - "license": "Apache-2.0", - "peer": true + "license": "Apache-2.0" }, "node_modules/reflect.getprototypeof": { "version": "1.0.10", @@ -11647,7 +11575,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -11767,8 +11694,7 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true, - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/tunnel": { "version": "0.0.6", @@ -11877,7 +11803,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -12040,7 +11965,6 @@ "integrity": "sha512-NL8jTlbo0Tn4dUEXEsUg8KeyG/Lkmc4Fnzb8JXN/Ykm9G4HNImjtABMJgkQoVjOBN/j2WAwDTRytdqJbZsah7w==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", @@ -12157,7 +12081,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -12171,7 +12094,6 @@ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", @@ -12788,19 +12710,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", - "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/zod": { "version": "4.1.13", "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.13.tgz", diff --git a/package.json b/package.json index 5f94b52dfda2..0ca77368990c 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "@azure-tools/spec-gen-sdk": "~0.9.1", "@azure-tools/specs-shared": "file:.github/shared", "@azure-tools/typespec-apiview": "0.7.2", - "@azure-tools/typespec-autorest": "0.62.0", - "@azure-tools/typespec-azure-core": "0.62.0", - "@azure-tools/typespec-azure-portal-core": "0.62.0", - "@azure-tools/typespec-azure-resource-manager": "0.62.1", - "@azure-tools/typespec-azure-rulesets": "0.62.0", + "@azure-tools/typespec-autorest": "0.63.0", + "@azure-tools/typespec-azure-core": "0.63.0", + "@azure-tools/typespec-azure-portal-core": "0.63.0", + "@azure-tools/typespec-azure-resource-manager": "0.63.0", + "@azure-tools/typespec-azure-rulesets": "0.63.0", "@azure-tools/typespec-client-generator-cli": "0.31.0", - "@azure-tools/typespec-client-generator-core": "0.62.0", + "@azure-tools/typespec-client-generator-core": "0.63.0", "@azure-tools/typespec-liftr-base": "0.10.0", "@autorest/openapi-to-typespec": "0.11.12", "@azure/avocado": "0.10.5", @@ -18,24 +18,24 @@ "@microsoft.azure/openapi-validator": "2.2.4", "@microsoft.azure/openapi-validator-core": "1.0.7", "@microsoft.azure/openapi-validator-rulesets": "2.1.10", - "@typespec/compiler": "1.6.0", - "@typespec/http": "1.6.0", - "@typespec/sse": "0.76.0", - "@typespec/events": "0.76.0", - "@typespec/openapi": "1.6.0", - "@typespec/openapi3": "1.6.0", - "@typespec/prettier-plugin-typespec": "1.6.0", - "@typespec/rest": "0.76.0", - "@typespec/streams": "0.76.0", - "@typespec/versioning": "0.76.0", - "@typespec/xml": "0.76.0", + "@typespec/compiler": "1.7.0", + "@typespec/http": "1.7.0", + "@typespec/sse": "0.77.0", + "@typespec/events": "0.77.0", + "@typespec/openapi": "1.7.0", + "@typespec/openapi3": "1.7.0", + "@typespec/prettier-plugin-typespec": "1.7.0", + "@typespec/rest": "0.77.0", + "@typespec/streams": "0.77.0", + "@typespec/versioning": "0.77.0", + "@typespec/xml": "0.77.0", "azure-rest-api-specs-eng-tools": "file:eng/tools", "oav": "4.0.3", "prettier": "~3.6.2", "typescript": "~5.9.2" }, "overrides": { - "@typespec/asset-emitter": "0.76.0", + "@typespec/asset-emitter": "0.77.0", "superagent": "^10.2.3" }, "engines": { diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/back-compatible.tsp b/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/back-compatible.tsp index e497906caa44..247b0e312c1c 100644 --- a/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/back-compatible.tsp +++ b/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/back-compatible.tsp @@ -4,13 +4,16 @@ using Azure.ClientGenerator.Core; using Microsoft.Advisor; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigData.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PredictionRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PredictionResponse.properties ); @@ -31,6 +34,7 @@ using Microsoft.Advisor; "!csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResourceRecommendationBase.properties ); @@ -41,17 +45,20 @@ using Microsoft.Advisor; ); @@clientLocation(SuppressionContracts.delete, "Suppressions", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SuppressionContract.properties ); @@clientLocation(MetadataEntities.get, "RecommendationMetadata", "!csharp"); @@clientLocation(MetadataEntities.list, "RecommendationMetadata", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MetadataEntity.properties); @@clientLocation(AdvisorScoreEntities.get, "AdvisorScores", "!csharp"); @@clientLocation(AdvisorScoreEntities.list, "AdvisorScores", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AdvisorScoreEntity.properties ); @@ -61,12 +68,14 @@ using Microsoft.Advisor; @@clientLocation(AssessmentResults.delete, "Assessments", "!csharp"); @@clientLocation(AssessmentResults.list, "Assessments", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AssessmentResult.properties ); @@clientLocation(ResiliencyReviews.get, "resiliencyReviews", "!csharp"); @@clientLocation(ResiliencyReviews.list, "resiliencyReviews", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResiliencyReview.properties ); @@ -91,12 +100,14 @@ using Microsoft.Advisor; "!csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriageRecommendation.properties ); @@clientLocation(TriageResources.get, "triageResources", "!csharp"); @@clientLocation(TriageResources.list, "triageResources", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriageResource.properties); @@clientLocation(RecommendationsOperationGroup.generate, diff --git a/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/client.tsp b/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/client.tsp index 1adc7ac5e95c..aa2d84e7f23a 100644 --- a/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/client.tsp +++ b/specification/advisor/resource-manager/Microsoft.Advisor/Advisor/client.tsp @@ -4,13 +4,16 @@ using Azure.ClientGenerator.Core; using Microsoft.Advisor; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigData.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PredictionRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PredictionResponse.properties ); @@ -18,6 +21,7 @@ using Microsoft.Advisor; "trackedProperties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResourceRecommendationBase.properties ); @@ -25,22 +29,27 @@ using Microsoft.Advisor; "suppressionContract" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SuppressionContract.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MetadataEntity.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AdvisorScoreEntity.properties ); @@clientName(AssessmentResults.put::parameters.resource, "assessmentContract"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AssessmentResult.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResiliencyReview.properties ); @@ -48,10 +57,12 @@ using Microsoft.Advisor; "recommendationRejectBody" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriageRecommendation.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriageResource.properties); @@scope(ResourceRecommendationBases.list, "!csharp"); diff --git a/specification/ai/Azure.AI.Projects/evaluations/models.tsp b/specification/ai/Azure.AI.Projects/evaluations/models.tsp index ab1ad5338c1a..068e21932c79 100644 --- a/specification/ai/Azure.AI.Projects/evaluations/models.tsp +++ b/specification/ai/Azure.AI.Projects/evaluations/models.tsp @@ -185,6 +185,7 @@ model AgentEvaluation { @removed(Versions.v1) @added(Versions.v2025_05_15_preview) model Message { + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("The role of the message author. Known values: 'system', 'assistant', 'developer', 'user'.") role: "system" | "assistant" | "developer" | "user" | string; } diff --git a/specification/ai/ModelInference/models/chat_completions.tsp b/specification/ai/ModelInference/models/chat_completions.tsp index da625a9ff067..eae7f4d94b3c 100644 --- a/specification/ai/ModelInference/models/chat_completions.tsp +++ b/specification/ai/ModelInference/models/chat_completions.tsp @@ -434,7 +434,7 @@ model ChatRequestUserMessage extends ChatRequestMessage { role: ChatRole.user; #suppress "@azure-tools/typespec-autorest/union-unsupported" "External API shape is defined in OpenAPI 3.0 as oneOf." - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Maintaining compatibility with current SDKs." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Maintaining compatibility with current SDKs." @doc("The contents of the user message, with available input types varying by selected model.") content: string | ChatMessageContentItem[]; } @@ -529,7 +529,7 @@ model ChatResponseMessage { } #suppress "@azure-tools/typespec-autorest/union-unsupported" "External API shape is defined in OpenAPI 3.0 as oneOf." -#suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Maintaining compatibility with current SDKs." +#suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Maintaining compatibility with current SDKs." alias ChatCompletionsToolChoice = ChatCompletionsToolChoicePreset | ChatCompletionsNamedToolChoice; @doc("Represents a generic policy for how a chat completions tool may be selected.") diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/azure-ai-agents.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/azure-ai-agents.json index ea94ac10feca..afe1ec2f4b5d 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/azure-ai-agents.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/azure-ai-agents.json @@ -2922,6 +2922,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2929,6 +2931,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -4192,6 +4196,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4199,6 +4205,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -4267,6 +4275,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4274,6 +4284,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -4281,6 +4293,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4288,6 +4301,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4383,6 +4397,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4390,6 +4406,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -4397,6 +4415,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4404,6 +4423,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -8890,6 +8910,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -8897,6 +8918,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -9129,6 +9151,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -9221,6 +9244,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -9228,6 +9253,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/azure-ai-agents.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/azure-ai-agents.json index 402e0bd8f950..bf12fbc84e5f 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/azure-ai-agents.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/azure-ai-agents.json @@ -2816,6 +2816,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2823,6 +2825,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3690,6 +3694,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3697,6 +3703,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3765,6 +3773,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3772,6 +3782,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3779,6 +3791,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -3786,6 +3799,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -3881,6 +3895,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3888,6 +3904,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3895,6 +3913,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -3902,6 +3921,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -7140,6 +7160,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -7147,6 +7168,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -7346,6 +7368,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -7419,6 +7442,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -7426,6 +7451,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/azure-ai-agents.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/azure-ai-agents.json index c1038567d49e..3657c9d8013d 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/azure-ai-agents.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/azure-ai-agents.json @@ -2861,6 +2861,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2868,6 +2870,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3753,6 +3757,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3760,6 +3766,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3828,6 +3836,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3835,6 +3845,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3842,6 +3854,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -3849,6 +3862,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -3944,6 +3958,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -3951,6 +3967,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -3958,6 +3976,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -3965,6 +3984,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -7270,6 +7290,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -7277,6 +7298,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -7476,6 +7498,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -7549,6 +7572,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -7556,6 +7581,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-05-01-preview/assistants_generated.json b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-05-01-preview/assistants_generated.json index bca788181080..22802d41d4ff 100644 --- a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-05-01-preview/assistants_generated.json +++ b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-05-01-preview/assistants_generated.json @@ -2307,6 +2307,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2314,6 +2316,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2389,6 +2393,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2396,6 +2402,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2598,6 +2606,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2605,6 +2615,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2612,6 +2624,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2619,6 +2632,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -2721,6 +2735,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2728,6 +2744,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2735,6 +2753,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2742,6 +2761,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4471,6 +4491,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4478,6 +4499,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4612,6 +4634,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -4661,6 +4684,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4668,6 +4693,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-07-01-preview/assistants_generated.json b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-07-01-preview/assistants_generated.json index bc559c8c26e2..e69e900b53b8 100644 --- a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-07-01-preview/assistants_generated.json +++ b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-07-01-preview/assistants_generated.json @@ -2317,6 +2317,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2324,6 +2326,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2399,6 +2403,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2406,6 +2412,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2608,6 +2616,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2615,6 +2625,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2622,6 +2634,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2629,6 +2642,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -2731,6 +2745,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2738,6 +2754,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2745,6 +2763,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2752,6 +2771,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4502,6 +4522,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4509,6 +4530,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4643,6 +4665,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -4692,6 +4715,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4699,6 +4724,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-09-01-preview/assistants_generated.json b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-09-01-preview/assistants_generated.json index f50a444cfc13..c25245360289 100644 --- a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-09-01-preview/assistants_generated.json +++ b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-09-01-preview/assistants_generated.json @@ -2317,6 +2317,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2324,6 +2326,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2399,6 +2403,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2406,6 +2412,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2614,6 +2622,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2621,6 +2631,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2628,6 +2640,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2635,6 +2648,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -2743,6 +2757,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2750,6 +2766,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2757,6 +2775,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2764,6 +2783,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4514,6 +4534,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4521,6 +4542,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4661,6 +4683,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -4710,6 +4733,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4717,6 +4742,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-10-01-preview/assistants_generated.json b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-10-01-preview/assistants_generated.json index c732ed38427f..0c945fcb932b 100644 --- a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-10-01-preview/assistants_generated.json +++ b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-10-01-preview/assistants_generated.json @@ -2317,6 +2317,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2324,6 +2326,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2399,6 +2403,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2406,6 +2412,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2614,6 +2622,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2621,6 +2631,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2628,6 +2640,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2635,6 +2648,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -2743,6 +2757,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2750,6 +2766,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2757,6 +2775,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2764,6 +2783,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4514,6 +4534,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4521,6 +4542,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4661,6 +4683,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -4710,6 +4733,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4717,6 +4742,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2025-01-01-preview/assistants_generated.json b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2025-01-01-preview/assistants_generated.json index 2c887f243355..b2f222e303a6 100644 --- a/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2025-01-01-preview/assistants_generated.json +++ b/specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2025-01-01-preview/assistants_generated.json @@ -2395,6 +2395,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2402,6 +2404,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2477,6 +2481,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2484,6 +2490,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2692,6 +2700,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2699,6 +2709,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2706,6 +2718,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2713,6 +2726,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens\nspecified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -2821,6 +2835,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\nmore random, while lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -2828,6 +2844,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model\nconsiders the results of the tokens with top_p probability mass. So 0.1 means only the tokens\ncomprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, @@ -2835,6 +2853,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\nthe number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\nthe run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -2842,6 +2861,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\nto use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\ncompletion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4647,6 +4667,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of prompt tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxPromptTokens" }, @@ -4654,6 +4675,7 @@ "type": "integer", "format": "int32", "description": "The maximum number of completion tokens specified to have been used over the course of the run.", + "minimum": 256, "x-nullable": true, "x-ms-client-name": "maxCompletionTokens" }, @@ -4794,6 +4816,7 @@ "type": "integer", "format": "int32", "description": "The number of most recent messages from the thread when constructing the context for the run.", + "minimum": 1, "x-nullable": true, "x-ms-client-name": "lastMessages" } @@ -4843,6 +4866,8 @@ "format": "float", "description": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random,\nwhile lower values like 0.2 will make it more focused and deterministic.", "default": 1, + "minimum": 0, + "maximum": 2, "x-nullable": true }, "top_p": { @@ -4850,6 +4875,8 @@ "format": "float", "description": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.\nSo 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "default": 1, + "minimum": 0, + "maximum": 1, "x-nullable": true, "x-ms-client-name": "topP" }, diff --git a/specification/apicenter/ApiCenter.Management/back-compatible.tsp b/specification/apicenter/ApiCenter.Management/back-compatible.tsp index 9276e157d9fa..285f9391c7b4 100644 --- a/specification/apicenter/ApiCenter.Management/back-compatible.tsp +++ b/specification/apicenter/ApiCenter.Management/back-compatible.tsp @@ -1,35 +1,46 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.ApiCenter; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Api.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApiDefinition.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApiVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeletedService.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Deployment.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Environment.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MetadataSchema.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Service.properties, "autorest" ); // For ServiceUpdate +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Workspace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApiSource.properties, "autorest" ); diff --git a/specification/apicenter/ApiCenter.Management/main.tsp b/specification/apicenter/ApiCenter.Management/main.tsp index 44e18d8daaeb..55bafc84e77b 100644 --- a/specification/apicenter/ApiCenter.Management/main.tsp +++ b/specification/apicenter/ApiCenter.Management/main.tsp @@ -23,6 +23,7 @@ using Azure.ResourceManager.Foundations; using Azure.ResourceManager; using TypeSpec.Versioning; using Azure.ClientGenerator.Core; + @armProviderNamespace @service(#{ title: "Azure API Center" }) @versioned(Versions) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/AppConfiguration/back-compatible.tsp b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/AppConfiguration/back-compatible.tsp index 1754795ce05a..88bf2251949b 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/AppConfiguration/back-compatible.tsp +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/AppConfiguration/back-compatible.tsp @@ -4,10 +4,12 @@ using Azure.ClientGenerator.Core; using Microsoft.AppConfiguration; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnectionReference.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationStoreUpdateParameters.properties ); @@ -21,6 +23,7 @@ using Microsoft.AppConfiguration; "regenerateKeyParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationStore.properties ); @@ -28,10 +31,12 @@ using Microsoft.AppConfiguration; "privateEndpointConnection" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -39,20 +44,24 @@ using Microsoft.AppConfiguration; "keyValueParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(KeyValue.properties); @@clientLocation(DeletedConfigurationStores.getDeleted, ConfigurationStores); @@clientLocation(DeletedConfigurationStores.purgeDeleted, ConfigurationStores); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeletedConfigurationStore.properties ); @@clientName(Replicas.create::parameters.resource, "replicaCreationParameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Replica.properties); @@clientName(Snapshots.create::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Snapshot.properties); @@clientLocation(ConfigurationStoresOperationGroup.listDeleted, diff --git a/specification/azuredependencymap/DependencyMap.Management/back-compatible.tsp b/specification/azuredependencymap/DependencyMap.Management/back-compatible.tsp index ae4d3ff00c0f..8f838bbd8f09 100644 --- a/specification/azuredependencymap/DependencyMap.Management/back-compatible.tsp +++ b/specification/azuredependencymap/DependencyMap.Management/back-compatible.tsp @@ -6,6 +6,7 @@ using Microsoft.DependencyMap; // @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiscoverySourceResource.properties, // "autorest" // ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MapsResource.properties, "autorest" ); diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/back-compatible.tsp b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/back-compatible.tsp index 4c528053c575..750c97c1f2b1 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/back-compatible.tsp +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/back-compatible.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-client-generator-core"; using Microsoft.AzureFleet; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Fleet.properties, "autorest" ); diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/AzureLargeInstance/back-compatible.tsp b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/AzureLargeInstance/back-compatible.tsp index 18f35dedd1ad..9dcf2d448983 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/AzureLargeInstance/back-compatible.tsp +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/AzureLargeInstance/back-compatible.tsp @@ -2,10 +2,12 @@ using Microsoft.AzureLargeInstance; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AzureLargeInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AzureLargeStorageInstance.properties, "autorest" ); diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/back-compatible.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/back-compatible.tsp index 2b7d7ac43664..7b98625b4812 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/back-compatible.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/back-compatible.tsp @@ -2,39 +2,51 @@ import "@azure-tools/typespec-client-generator-core"; using Microsoft.AzureStackHCI; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AttestationStatus.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImage.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GuestAgent.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HybridIdentityMetadata.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LogicalNetwork.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MarketplaceGalleryImage.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkInterface.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSecurityGroup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecurityRule.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageContainer.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualHardDisk.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineInstance.properties, "autorest" ); diff --git a/specification/billingbenefits/BillingBenefits.Management/back-compatible.tsp b/specification/billingbenefits/BillingBenefits.Management/back-compatible.tsp index 692543c3e2a6..f4d2120063f1 100644 --- a/specification/billingbenefits/BillingBenefits.Management/back-compatible.tsp +++ b/specification/billingbenefits/BillingBenefits.Management/back-compatible.tsp @@ -25,31 +25,38 @@ using Microsoft.BillingBenefits; @@clientLocation(Discounts.update, "Discount"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RoleAssignmentEntity.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PurchaseRequest.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ReservationOrderAliasRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiscountPatchRequest.properties ); @@clientName(SavingsPlanOrderAliasModels.create::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SavingsPlanOrderAliasModel.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SavingsPlanOrderModel.properties ); @@clientName(SavingsPlanModels.update::parameters.properties, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SavingsPlanModel.properties ); @@ -57,6 +64,7 @@ using Microsoft.BillingBenefits; "body" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ReservationOrderAliasResponse.properties ); diff --git a/specification/botservice/resource-manager/Microsoft.BotService/BotService/back-compatible.tsp b/specification/botservice/resource-manager/Microsoft.BotService/BotService/back-compatible.tsp index c39456ba645a..0cbec21e19eb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/BotService/back-compatible.tsp +++ b/specification/botservice/resource-manager/Microsoft.BotService/BotService/back-compatible.tsp @@ -4,6 +4,7 @@ using Azure.ClientGenerator.Core; using Microsoft.BotService; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -14,6 +15,7 @@ using Microsoft.BotService; "properties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/Cdn/back-compatible.tsp b/specification/cdn/resource-manager/Microsoft.Cdn/Cdn/back-compatible.tsp index 993092460f9f..ce922399cf20 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/Cdn/back-compatible.tsp +++ b/specification/cdn/resource-manager/Microsoft.Cdn/Cdn/back-compatible.tsp @@ -120,14 +120,14 @@ using Microsoft.Cdn; @@clientName(Profiles.validateSecret::parameters.body, "validateSecretInput"); @@clientName(Profiles.upgrade::parameters.body, "profileUpgradeParameters"); @@clientName(Profiles.cdnMigrateToAfd::parameters.body, "migrationParameters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Profile.properties); @@clientName(AFDDomains.create::parameters.resource, "customDomain"); @@clientName(AFDDomains.update::parameters.properties, "customDomainUpdateProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(AFDDomain.properties); @@clientName(AFDEndpoints.create::parameters.resource, "endpoint", "!csharp"); @@ -138,45 +138,45 @@ using Microsoft.Cdn; @@clientName(AFDEndpoints.validateCustomDomain::parameters.body, "customDomainProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(AFDEndpoint.properties); @@clientName(AFDOriginGroups.create::parameters.resource, "originGroup"); @@clientName(AFDOriginGroups.update::parameters.properties, "originGroupUpdateProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(AFDOriginGroup.properties); @@clientName(AFDOrigins.create::parameters.resource, "origin"); @@clientName(AFDOrigins.update::parameters.properties, "originUpdateProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(AFDOrigin.properties); @@clientName(Routes.create::parameters.resource, "route"); @@clientName(Routes.update::parameters.properties, "routeUpdateProperties"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Route.properties); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(RuleSet.properties); @@clientName(Rules.create::parameters.resource, "rule"); @@clientName(Rules.update::parameters.properties, "ruleUpdateProperties"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Rule.properties); @@clientName(SecurityPolicies.create::parameters.resource, "securityPolicy"); @@clientName(SecurityPolicies.patch::parameters.properties, "securityPolicyUpdateProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(SecurityPolicy.properties); @@clientName(Secrets.create::parameters.resource, "secret"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Secret.properties); @@clientName(KeyGroups.createUpdate::parameters.resource, "keyGroup"); @@ -206,19 +206,19 @@ using Microsoft.Cdn; @@clientName(Endpoints.validateCustomDomain::parameters.body, "customDomainProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Endpoint.properties); @@clientName(Origins.create::parameters.resource, "origin"); @@clientName(Origins.update::parameters.properties, "originUpdateProperties"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(Origin.properties); @@clientName(OriginGroups.create::parameters.resource, "originGroup"); @@clientName(OriginGroups.update::parameters.properties, "originGroupUpdateProperties" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(OriginGroup.properties); @@clientName(CustomDomains.create::parameters.resource, @@ -227,7 +227,7 @@ using Microsoft.Cdn; @@clientName(CustomDomains.enableCustomHttps::parameters.body, "customDomainHttpsParameters" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(CustomDomain.properties); @@clientName(ProfileAgents.createOrUpdate::parameters.resource, "profileAgent"); @@ -244,7 +244,7 @@ using Microsoft.Cdn; @@clientName(CdnWebApplicationFirewallPolicies.update::parameters.properties, "cdnWebApplicationFirewallPolicyPatchParameters" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(CdnWebApplicationFirewallPolicy.properties); @@clientName(WebAgents.createOrUpdate::parameters.resource, "webAgent"); diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/back-compatible.tsp b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/back-compatible.tsp index 22ae0c8e3f99..3abf6dbe30ca 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/back-compatible.tsp +++ b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/back-compatible.tsp @@ -36,27 +36,35 @@ using Microsoft.Chaos; @@clientName(PrivateAccesses.privateLinkResources, "GetPrivateLinkResources"); // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Capability.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapabilityType.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExperimentExecution.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateAccess.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Target.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TargetType.properties, "autorest" ); diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/client.tsp b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/client.tsp index 9a51abeab2a4..83e3e2164144 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/client.tsp +++ b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/client.tsp @@ -51,17 +51,23 @@ using Microsoft.Chaos; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Experiment.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExperimentExecution.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TargetType.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Capability.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapabilityType.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExperimentExecutionDetails.properties ); diff --git a/specification/codesigning/CodeSigning.Management/back-compatible.tsp b/specification/codesigning/CodeSigning.Management/back-compatible.tsp index 3dc1f14a4e00..badf4969e957 100644 --- a/specification/codesigning/CodeSigning.Management/back-compatible.tsp +++ b/specification/codesigning/CodeSigning.Management/back-compatible.tsp @@ -4,16 +4,20 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.CodeSigning; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CertificateProfile.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CodeSigningAccount.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CodeSigningAccountPatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Certificate.revocation); diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp index 7bf55aae438b..5f6fd0805a71 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp @@ -395,7 +395,7 @@ model PredictionContent { * can be returned much more quickly. */ #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." content: string | ChatMessageTextContentItem[]; } diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp index 9a0376b275df..ff443ccdb44c 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp @@ -150,7 +150,7 @@ model ChatRequestSystemMessage extends ChatRequestMessage { role: ChatRole.system; #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." @doc("The contents of the system message.") @typeChangedFrom(ServiceApiVersions.v2024_08_01_Preview, string) content: string | ChatMessageTextContentItem[]; @@ -170,7 +170,7 @@ model ChatRequestDeveloperMessage extends ChatRequestMessage { /** An array of content parts with a defined type. For developer messages, only type `text` is supported. */ #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." content: string | ChatMessageTextContentItem[]; /** An optional name for the participant. Provides the model information to differentiate between participants of the same role. */ @@ -184,7 +184,7 @@ model ChatRequestUserMessage extends ChatRequestMessage { role: ChatRole.user; #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." @doc("The contents of the user message, with available input types varying by selected model.") @typeChangedFrom(ServiceApiVersions.v2024_08_01_Preview, ChatMessageContent) @typeChangedFrom( @@ -205,7 +205,7 @@ model ChatRequestAssistantMessage extends ChatRequestMessage { #suppress "@azure-tools/typespec-azure-core/no-nullable" "explicitly nullable in mirrored API" #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." @doc("The content of the message.") @typeChangedFrom(ServiceApiVersions.v2024_08_01_Preview, string | null) content: @@ -249,7 +249,7 @@ model ChatRequestToolMessage extends ChatRequestMessage { #suppress "@azure-tools/typespec-azure-core/no-nullable" "explicitly nullable in mirrored API" #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." @doc("The content of the message.") @typeChangedFrom(ServiceApiVersions.v2024_08_01_Preview, string | null) content: string | ChatMessageTextContentItem[] | null; diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/mongodb_options.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/mongodb_options.tsp index 17f6076c387a..6369bba5506f 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/mongodb_options.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/mongodb_options.tsp @@ -71,7 +71,7 @@ model MongoDBChatExtensionParameters { }; #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." @doc(""" The vectorization source to use with the MongoDB chat extension. """) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp index e4985095e07d..7e3677a3e9c4 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp @@ -36,7 +36,7 @@ union FunctionCallPreset { } #suppress "@azure-tools/typespec-autorest/union-unsupported" "External API shape is defined in OpenAPI 3.0 as oneOf." -#suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." +#suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." alias FunctionCallConfig = FunctionCallPreset | FunctionName; @doc(""" diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/tools.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/tools.tsp index 127c34d19863..427db492751d 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/tools.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/tools.tsp @@ -8,7 +8,7 @@ using TypeSpec.Versioning; // tool_choice: "auto" | "none" | { "type": "function", "name": string } #suppress "@azure-tools/typespec-autorest/union-unsupported" "External API shape is defined in OpenAPI 3.0 as oneOf." -#suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." +#suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." alias ChatCompletionsToolSelection = ChatCompletionsToolSelectionPreset | ChatCompletionsNamedToolSelection; @added(ServiceApiVersions.v2024_02_15_Preview) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/uploads.tsp b/specification/cognitiveservices/OpenAI.Inference/models/uploads.tsp index acf7fe0de790..d6834edd2e99 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/uploads.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/uploads.tsp @@ -18,7 +18,7 @@ model CreateUploadRequest { * * Use 'assistants' for Assistants and Message files, 'vision' for Assistants image file inputs, 'batch' for Batch API, and 'fine-tune' for Fine-tuning. */ - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." purpose: string | "assistants" | "batch" | "fine-tune" | "vision"; /** The number of bytes in the file you are uploading. */ @@ -71,7 +71,7 @@ model Upload { // Reference: https://platform.openai.com/docs/api-reference/files/object#files/object-purpose /** The intended purpose of the file. */ - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." purpose: | string | "batch" @@ -83,7 +83,7 @@ model Upload { | "vision"; /** The status of the Upload. */ - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backwards compatibility with existing clients." + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility with existing clients." status: string | "pending" | "completed" | "cancelled" | "expired"; // Tool customization: 'created' and fields ending in '_at' are Unix encoded utcDateTime diff --git a/specification/communitytraining/Community.Management/back-compatible.tsp b/specification/communitytraining/Community.Management/back-compatible.tsp index cd6079a788c6..e4aee4a5aae9 100644 --- a/specification/communitytraining/Community.Management/back-compatible.tsp +++ b/specification/communitytraining/Community.Management/back-compatible.tsp @@ -1,10 +1,12 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.Community; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityTraining.properties, "autorest" ); // For CommunityTrainingUpdate +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/compute/Compute.Management/back-compatible.tsp b/specification/compute/Compute.Management/back-compatible.tsp index 2dbdd10b5441..2215f7759bd7 100644 --- a/specification/compute/Compute.Management/back-compatible.tsp +++ b/specification/compute/Compute.Management/back-compatible.tsp @@ -4,101 +4,126 @@ using Azure.ClientGenerator.Core; using Microsoft.Compute; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetNetworkConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetIPConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetPublicIPAddressConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetUpdateNetworkConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetUpdateIPConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetExtensionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkInterfaceReference.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineNetworkInterfaceConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineNetworkInterfaceIPConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachinePublicIPAddressConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetVMExtensionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineExtensionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineImage.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvailabilitySetUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedHostGroupUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedHostUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SshPublicKeyUpdateResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImageUpdate.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RestorePointCollectionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapacityReservationGroupUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapacityReservationUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineRunCommandUpdate.properties ); @@ -142,6 +167,7 @@ using Microsoft.Compute; ); @@clientName(VirtualMachineScaleSets.start::parameters.body, "vmInstanceIDs"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSet.properties ); @@ -149,10 +175,12 @@ using Microsoft.Compute; "extensionParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetExtension.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RollingUpgradeStatusInfo.properties ); @@ -166,6 +194,7 @@ using Microsoft.Compute; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetVM.properties ); @@ -173,6 +202,7 @@ using Microsoft.Compute; "extensionParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineExtension.properties ); @@ -180,6 +210,7 @@ using Microsoft.Compute; "extensionParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineScaleSetVMExtension.properties ); @@ -194,14 +225,17 @@ using Microsoft.Compute; @@clientName(VirtualMachines.reimage::parameters.body, "parameters"); @@clientName(VirtualMachines.runCommand::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachine.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineExtensionImage.properties ); @@clientName(AvailabilitySets.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvailabilitySet.properties); @@clientName(AvailabilitySets.validateMigrationToVirtualMachineScaleSet::parameters.body, @@ -215,16 +249,19 @@ using Microsoft.Compute; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProximityPlacementGroup.properties ); @@clientName(DedicatedHostGroups.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedHostGroup.properties ); @@clientName(DedicatedHosts.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedHost.properties); @@clientName(SshPublicKeyResources.update::parameters.properties, "parameters"); @@ -232,37 +269,44 @@ using Microsoft.Compute; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SshPublicKeyResource.properties ); @@clientName(Images.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Image.properties); @@clientName(RestorePointCollections.update::parameters.properties, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RestorePointCollection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RestorePoint.properties); @@clientName(CapacityReservationGroups.update::parameters.properties, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapacityReservationGroup.properties ); @@clientName(CapacityReservations.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CapacityReservation.properties ); @@clientName(VirtualMachineRunCommands.update::parameters.body, "runCommand"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineRunCommand.properties ); diff --git a/specification/compute/Disk.Management/back-compatible.tsp b/specification/compute/Disk.Management/back-compatible.tsp index 8480ec6b4268..fcc6e0d69758 100644 --- a/specification/compute/Disk.Management/back-compatible.tsp +++ b/specification/compute/Disk.Management/back-compatible.tsp @@ -5,17 +5,21 @@ using Azure.ClientGenerator.Core; using Microsoft.Compute; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiskUpdate.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiskEncryptionSetUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SnapshotUpdate.properties); @@clientName(Disks.update, "Disks.update::parameters.properties", "disk"); @@ -24,6 +28,7 @@ using Microsoft.Compute; "grantAccessData" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Disk.properties); @@clientName(DiskAccesses.update, @@ -31,9 +36,11 @@ using Microsoft.Compute; "diskAccess" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiskAccess.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -42,6 +49,7 @@ using Microsoft.Compute; "diskEncryptionSet" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiskEncryptionSet.properties ); @@ -50,6 +58,7 @@ using Microsoft.Compute; "grantAccessData" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiskRestorePoint.properties ); @@ -62,6 +71,7 @@ using Microsoft.Compute; "grantAccessData" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Snapshot.properties); @@clientName(DiskAccesses.createOrUpdate::parameters.resource, "diskAccess"); diff --git a/specification/compute/Gallery.Management/back-compatible.tsp b/specification/compute/Gallery.Management/back-compatible.tsp index 5194e27f1ccc..160ec47c5e28 100644 --- a/specification/compute/Gallery.Management/back-compatible.tsp +++ b/specification/compute/Gallery.Management/back-compatible.tsp @@ -5,37 +5,46 @@ using Azure.ClientGenerator.Core; using Microsoft.Compute; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryUpdate.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImageUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImageVersionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryApplicationUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryApplicationVersionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GallerySoftDeletedResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryInVMAccessControlProfileVersionUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PirSharedGalleryResource.identifier ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PirCommunityGalleryResource.identifier ); @@ -45,11 +54,13 @@ using Microsoft.Compute; "sharingUpdate" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Gallery.properties); @@clientName(GalleryImages.createOrUpdate::parameters.resource, "galleryImage"); @@clientName(GalleryImages.update::parameters.properties, "galleryImage"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImage.properties); @@clientName(GalleryImageVersions.createOrUpdate::parameters.resource, @@ -59,6 +70,7 @@ using Microsoft.Compute; "galleryImageVersion" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImageVersion.properties ); @@ -69,6 +81,7 @@ using Microsoft.Compute; "galleryApplication" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryApplication.properties ); @@ -79,6 +92,7 @@ using Microsoft.Compute; "galleryApplicationVersion" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryApplicationVersion.properties ); @@ -96,29 +110,36 @@ using Microsoft.Compute; "galleryInVMAccessControlProfileVersion" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryInVMAccessControlProfileVersion.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedGallery.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedGalleryImage.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedGalleryImageVersion.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityGallery.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityGalleryImage.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityGalleryImageVersion.properties ); diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp index a0bf0be6f348..4fac956c3001 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp @@ -2,9 +2,11 @@ import "@azure-tools/typespec-client-generator-core"; import "./GuestSubscription.tsp"; import "./SharedLimit.tsp"; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.ComputeLimit.GuestSubscription.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.ComputeLimit.SharedLimit.properties, "autorest" ); diff --git a/specification/confluent/Confluent.Management/back-compatible.tsp b/specification/confluent/Confluent.Management/back-compatible.tsp index 033feae576b1..62e0a7484b09 100644 --- a/specification/confluent/Confluent.Management/back-compatible.tsp +++ b/specification/confluent/Confluent.Management/back-compatible.tsp @@ -121,39 +121,48 @@ using Microsoft.Confluent; @@clientLocation(TopicRecords.list, "Topics", "!csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfluentAgreementResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SchemaRegistryClusterRecord.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RegionRecord.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(APIKeyRecord.properties); @@clientName(OrganizationResources.create::parameters.resource, "body"); @@clientName(OrganizationResources.update::parameters.properties, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrganizationResource.properties ); @@clientName(SCEnvironmentRecords.createOrUpdate::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SCEnvironmentRecord.properties ); @@clientName(SCClusterRecords.createOrUpdate::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SCClusterRecord.properties); @@clientName(ConnectorResources.createOrUpdate::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConnectorResource.properties ); @@clientName(TopicRecords.create::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TopicRecord.properties); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp index e3b45719d262..6a05f0fca881 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp @@ -4,45 +4,59 @@ using Azure.ClientGenerator.Core; using Microsoft.ContainerRegistry; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Archive.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArchiveVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CacheRule.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConnectedRegistry.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CredentialSet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExportPipeline.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImportPipeline.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PipelineRun.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Registry.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Replication.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScopeMap.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Token.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Webhook.properties, "autorest" ); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index d4aa79867d5d..fb57ff2e7b74 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -4,13 +4,17 @@ using Azure.ClientGenerator.Core; using Microsoft.ContainerRegistry; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AgentPool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Run.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Task.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TaskRun.properties, "autorest" ); diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/back-compatible.tsp b/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/back-compatible.tsp index b125568288a3..337342822755 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/back-compatible.tsp +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/deploymentsafeguards/back-compatible.tsp @@ -6,6 +6,7 @@ using Azure.ResourceManager; using Microsoft.ContainerService; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeploymentSafeguard.properties, "autorest" ); diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/back-compatible.tsp b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/back-compatible.tsp index 4c4398c6b9b8..d039baea0418 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/back-compatible.tsp +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/back-compatible.tsp @@ -6,24 +6,31 @@ using Azure.ResourceManager; using Microsoft.ContainerService; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Fleet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FleetMember.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Gate.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(UpdateRun.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FleetUpdateStrategy.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutoUpgradeProfile.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/client.tsp b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/client.tsp index c2593f91022a..00a94f7d5d6d 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/client.tsp +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/client.tsp @@ -42,15 +42,19 @@ using Azure.ClientGenerator.Core; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.TrackedResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.ProxyResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties ); @@clientName(Microsoft.ContainerService, diff --git a/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/ContainerStorage/back-compatible.tsp b/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/ContainerStorage/back-compatible.tsp index 0c32c2c90683..724fba621876 100644 --- a/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/ContainerStorage/back-compatible.tsp +++ b/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/ContainerStorage/back-compatible.tsp @@ -1,15 +1,19 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.ContainerStorage; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Pool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Snapshot.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Volume.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/dashboard/Dashboard.Management/back-compatible.tsp b/specification/dashboard/Dashboard.Management/back-compatible.tsp index 90463b0256df..5c87f2174808 100644 --- a/specification/dashboard/Dashboard.Management/back-compatible.tsp +++ b/specification/dashboard/Dashboard.Management/back-compatible.tsp @@ -12,10 +12,12 @@ using Azure.Core; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -26,6 +28,7 @@ using Azure.Core; "requestBodyParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ManagedPrivateEndpointModel.properties ); @@ -44,6 +47,7 @@ using Azure.Core; ); @@clientName(PrivateEndpointConnections.approve::parameters.resource, "body"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ManagedDashboard.properties ); @@alternateType(ManagedPrivateEndpointModelProperties.privateLinkResourceId, diff --git a/specification/databasewatcher/DatabaseWatcher.Management/back-compatible.tsp b/specification/databasewatcher/DatabaseWatcher.Management/back-compatible.tsp index 67f28d625d6c..4bb73972adeb 100644 --- a/specification/databasewatcher/DatabaseWatcher.Management/back-compatible.tsp +++ b/specification/databasewatcher/DatabaseWatcher.Management/back-compatible.tsp @@ -3,18 +3,23 @@ import "@azure-tools/typespec-client-generator-core"; using Microsoft.DatabaseWatcher; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AlertRuleResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HealthValidation.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedPrivateLinkResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Watcher.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/databox/resource-manager/Microsoft.DataBox/DataBox/back-compatible.tsp b/specification/databox/resource-manager/Microsoft.DataBox/DataBox/back-compatible.tsp index ff7964e859ce..cc6f329da65f 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/DataBox/back-compatible.tsp +++ b/specification/databox/resource-manager/Microsoft.DataBox/DataBox/back-compatible.tsp @@ -4,19 +4,23 @@ using Azure.ClientGenerator.Core; using Microsoft.DataBox; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AddressValidationOutput.properties, "!csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ValidationResponse.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(JobResourceUpdateParameter.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SkuInformation.properties); @@clientLocation(JobResources.get, "Jobs", "!csharp"); @@ -58,6 +62,7 @@ using Microsoft.DataBox; @@clientName(mitigate::parameters.body, "mitigateJobRequest"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(JobResource.properties); @@clientLocation(ServiceOperationGroup.regionConfiguration, @@ -96,4 +101,5 @@ using Microsoft.DataBox; @@clientLocation(mitigate, "Management", "go"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp index f2374d1d65c7..6dcc35e4398b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp @@ -16,6 +16,7 @@ namespace Microsoft.DataBoxEdge; /** * Role Addon */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy DiscriminatedProxyResource for back compatibility" @discriminator("kind") @parentResource(Role) model Addon diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp index c618354dfe1c..8c1171b17e1f 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp @@ -15,6 +15,7 @@ namespace Microsoft.DataBoxEdge; /** * Compute role. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy DiscriminatedProxyResource for back compatibility" @discriminator("kind") @parentResource(DataBoxEdgeDevice) model Role diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp index 508c879380ca..310d306d66bb 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp @@ -15,6 +15,7 @@ namespace Microsoft.DataBoxEdge; /** * Trigger details. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy DiscriminatedProxyResource for back compatibility" @discriminator("kind") @parentResource(DataBoxEdgeDevice) model Trigger diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp index c7ba4bde2880..9a9360b4e8fb 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp @@ -4,66 +4,84 @@ using Azure.ClientGenerator.Core; using Microsoft.DataBoxEdge; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EdgeProfileSubscription.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevicePatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityRequestInfo.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDeviceExtendedInfo.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Node.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DCAccessCode.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecuritySettings.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriggerSupportPackageRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(UploadCertificateRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArcAddon.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudEdgeManagementRole.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FileEventTrigger.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTAddon.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTRole.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(KubernetesRole.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MECRole.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PeriodicTimerEventTrigger.properties ); @@ -105,26 +123,31 @@ using Microsoft.DataBoxEdge; @@clientName(DataBoxEdgeDevices.triggerSupportPackage::parameters.body, "triggerSupportPackageRequest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevice.properties ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Alert.properties); @@clientName(BandwidthSchedules.createOrUpdate::parameters.resource, "parameters" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BandwidthSchedule.properties ); @@clientLocation(DeviceCapacityInfos.getDeviceCapacityInfo, "DeviceCapacityInfo" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityInfo.properties ); @@clientName(DiagnosticSettings.updateDiagnosticProactiveLogCollectionSettings::parameters.resource, "proactiveLogCollectionSettings" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticProactiveLogCollectionSettings.properties ); @@ -137,12 +160,16 @@ using Microsoft.DataBoxEdge; @@clientName(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings::parameters.resource, "diagnosticRemoteSupportSettings" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticRemoteSupportSettings.properties ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Job.properties); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSettings.properties); @@clientName(Orders.createOrUpdate::parameters.resource, "order"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Order.properties); @@clientName(Roles.createOrUpdate::parameters.resource, "role"); @@ -158,15 +185,18 @@ using Microsoft.DataBoxEdge; ); @@clientLocation(MonitoringMetricConfigurations.delete, "MonitoringConfig"); @@clientLocation(MonitoringMetricConfigurations.list, "MonitoringConfig"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MonitoringMetricConfiguration.properties ); @@clientName(Shares.createOrUpdate::parameters.resource, "share"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Share.properties); @@clientName(StorageAccountCredentials.createOrUpdate::parameters.resource, "storageAccountCredential" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccountCredential.properties ); @@ -174,16 +204,20 @@ using Microsoft.DataBoxEdge; "storageAccount" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccount.properties); @@clientName(Containers.createOrUpdate::parameters.resource, "container"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Container.properties); @@clientName(Triggers.createOrUpdate::parameters.resource, "trigger"); @@clientLocation(UpdateSummaries.getUpdateSummary, Devices); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(UpdateSummary.properties); @@clientName(Users.createOrUpdate::parameters.resource, "user"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(User.properties); @@clientLocation(AvailableSkusOperationGroup.list, "AvailableSkus"); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json index ebb361575e7b..abea1e645052 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json @@ -4826,6 +4826,7 @@ "kind": { "$ref": "#/definitions/AddonType", "description": "Addon type.", + "pattern": "^[-\\w\\._,\\(\\\\\\)]+$", "x-ms-mutability": [ "read", "create" @@ -9334,6 +9335,7 @@ "kind": { "$ref": "#/definitions/RoleTypes", "description": "Role type.", + "pattern": "^[-\\w\\._,\\(\\\\\\)]+$", "x-ms-mutability": [ "read", "create" @@ -10478,6 +10480,7 @@ "kind": { "$ref": "#/definitions/TriggerEventType", "description": "Trigger Kind.", + "pattern": "^[-\\w\\._,\\(\\\\\\)]+$", "x-ms-mutability": [ "read", "create" diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/back-compat.tsp b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/back-compat.tsp index 5ef750e7034f..5800b4be0702 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/back-compat.tsp +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/back-compat.tsp @@ -65,51 +65,67 @@ using Microsoft.DesktopVirtualization; @@clientName(MSIXImages, "MsixImages", "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ActiveSessionHostConfiguration.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationGroup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AppAttachPackage.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Application.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Desktop.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HostPool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MSIXPackage.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Workspace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnectionWithSystemData.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScalingPlanPersonalSchedule.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScalingPlan.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScalingPlanPooledSchedule.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SessionHost.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SessionHostConfiguration.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SessionHostManagement.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(UserSession.properties, "autorest" ); diff --git a/specification/devcenter/DevCenter.Management/back-compatible.tsp b/specification/devcenter/DevCenter.Management/back-compatible.tsp index 7bf8bd8ae487..464402078eeb 100644 --- a/specification/devcenter/DevCenter.Management/back-compatible.tsp +++ b/specification/devcenter/DevCenter.Management/back-compatible.tsp @@ -168,66 +168,87 @@ using Microsoft.DevCenter; ); // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AllowedEnvironmentType.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AttachedNetworkConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Catalog.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomizationTask.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DevBoxDefinition.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DevCenterEncryptionSet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DevCenter.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EnvironmentDefinition.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EnvironmentType.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Gallery.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HealthCheckStatusDetails.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImageDefinitionBuild.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImageDefinition.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Image.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImageVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Pool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProjectEnvironmentType.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProjectPolicy.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Project.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Schedule.properties, "autorest" ); diff --git a/specification/deviceregistry/DeviceRegistry.Management/back-compatible.tsp b/specification/deviceregistry/DeviceRegistry.Management/back-compatible.tsp index ef415fbcd328..d382611989e5 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/back-compatible.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/back-compatible.tsp @@ -6,51 +6,67 @@ using Azure.ResourceManager; using Microsoft.DeviceRegistry; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AssetEndpointProfile.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Asset.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BillingContainer.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Credential.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiscoveredAssetEndpointProfile.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiscoveredAsset.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NamespaceAsset.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NamespaceDevice.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NamespaceDiscoveredAsset.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NamespaceDiscoveredDevice.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Namespace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Policy.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Schema.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SchemaRegistry.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SchemaVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/back-compatible.tsp b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/back-compatible.tsp index abc153ee3f3e..c8ae94b7a862 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/back-compatible.tsp +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/back-compatible.tsp @@ -4,18 +4,23 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.DevOpsInfrastructure; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ImageVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Pool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResourceDetailsObject.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.DevOpsInfrastructure.ResourceSku.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/back-compatible.tsp b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/back-compatible.tsp index 7f67ba40ef90..270a20b3ad2a 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/back-compatible.tsp +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/back-compatible.tsp @@ -4,17 +4,21 @@ using Azure.ClientGenerator.Core; using Microsoft.DevTestLab; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LabVirtualMachineCreationParameter.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScheduleCreationParameter.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GalleryImage.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicableSchedule.properties ); @@ -36,6 +40,7 @@ using Microsoft.DevTestLab; "evaluatePoliciesRequest" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Lab.properties); @@clientName(GlobalSchedules.createOrUpdate::parameters.resource, "schedule"); @@ -54,6 +59,7 @@ using Microsoft.DevTestLab; ); @@clientName(VirtualMachineSchedules.update::parameters.properties, "schedule"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Schedule.properties); @@clientName(ArtifactSources.createOrUpdate::parameters.resource, @@ -61,29 +67,35 @@ using Microsoft.DevTestLab; ); @@clientName(ArtifactSources.update::parameters.properties, "artifactSource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArtifactSource.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArmTemplate.properties); @@clientName(Artifacts.generateArmTemplate::parameters.body, "generateArmTemplateRequest" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Artifact.properties); @@clientName(Costs.createOrUpdate::parameters.resource, "labCost"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LabCost.properties); @@clientName(CustomImages.createOrUpdate::parameters.resource, "customImage"); @@clientName(CustomImages.update::parameters.properties, "customImage"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomImage.properties); @@clientName(Formulas.createOrUpdate::parameters.resource, "formula"); @@clientName(Formulas.update::parameters.properties, "formula"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Formula.properties); @@clientName(NotificationChannels.createOrUpdate::parameters.resource, @@ -94,12 +106,14 @@ using Microsoft.DevTestLab; ); @@clientName(NotificationChannels.notify::parameters.body, "notifyParameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NotificationChannel.properties ); @@clientName(Policies.createOrUpdate::parameters.resource, "policy"); @@clientName(Policies.update::parameters.properties, "policy"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Policy.properties); @@clientName(ServiceRunners.createOrUpdate::parameters.resource, @@ -109,6 +123,7 @@ using Microsoft.DevTestLab; @@clientName(Users.createOrUpdate::parameters.resource, "user"); @@clientName(Users.update::parameters.properties, "user"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(User.properties); @@clientName(Disks.createOrUpdate::parameters.resource, "disk"); @@ -116,6 +131,7 @@ using Microsoft.DevTestLab; @@clientName(Disks.attach::parameters.body, "attachDiskProperties"); @@clientName(Disks.detach::parameters.body, "detachDiskProperties"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Disk.properties); @@clientName(Environments.createOrUpdate::parameters.resource, @@ -123,11 +139,13 @@ using Microsoft.DevTestLab; ); @@clientName(Environments.update::parameters.properties, "dtlEnvironment"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DtlEnvironment.properties); @@clientName(Secrets.createOrUpdate::parameters.resource, "secret"); @@clientName(Secrets.update::parameters.properties, "secret"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Secret.properties); @@clientName(ServiceFabrics.createOrUpdate::parameters.resource, @@ -135,6 +153,7 @@ using Microsoft.DevTestLab; ); @@clientName(ServiceFabrics.update::parameters.properties, "serviceFabric"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServiceFabric.properties); @@clientName(VirtualMachines.createOrUpdate::parameters.resource, @@ -156,6 +175,7 @@ using Microsoft.DevTestLab; "resizeLabVirtualMachineProperties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LabVirtualMachine.properties ); @@ -164,4 +184,5 @@ using Microsoft.DevTestLab; ); @@clientName(VirtualNetworks.update::parameters.properties, "virtualNetwork"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetwork.properties); diff --git a/specification/dns/resource-manager/Microsoft.Network/Dns/back-compatible.tsp b/specification/dns/resource-manager/Microsoft.Network/Dns/back-compatible.tsp index 8b60271deef8..7c239ec943ea 100644 --- a/specification/dns/resource-manager/Microsoft.Network/Dns/back-compatible.tsp +++ b/specification/dns/resource-manager/Microsoft.Network/Dns/back-compatible.tsp @@ -19,26 +19,31 @@ using Microsoft.Network; @@clientName(SoaRecord.minimumTTL, "minimumTtl"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResourceReferenceRequest.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResourceReferenceResult.properties ); @@clientName(RecordSetUpdateParameters.RecordSet, "recordSet"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnssecConfig.properties); @@clientName(RecordSets.createOrUpdate::parameters.resource, "parameters"); @@clientName(RecordSets.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RecordSet.properties); @@clientName(Zones.createOrUpdate::parameters.resource, "parameters"); @@clientName(Zones.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Zone.properties); @@visibility(DnssecConfig.properties, Lifecycle.Read); @@clientName(DnsResourceReferenceOperationGroup.getByTargetResources::parameters.body, diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsForwardingRuleset.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsForwardingRuleset.tsp index 8197c5437900..2024f9b54d7a 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsForwardingRuleset.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsForwardingRuleset.tsp @@ -4,10 +4,8 @@ import "@typespec/openapi"; import "@typespec/rest"; import "./models.tsp"; -using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.Network; /** @@ -24,6 +22,7 @@ model DnsForwardingRuleset SegmentName = "dnsForwardingRulesets", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolver.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolver.tsp index e166717f1981..d985813d3dc0 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolver.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolver.tsp @@ -21,6 +21,7 @@ model DnsResolver SegmentName = "dnsResolvers", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverDomainList.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverDomainList.tsp index 3fcc2cde7298..5f66e09650cf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverDomainList.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverDomainList.tsp @@ -4,10 +4,8 @@ import "@typespec/openapi"; import "@typespec/rest"; import "./models.tsp"; -using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.Network; /** @@ -21,6 +19,7 @@ model DnsResolverDomainList SegmentName = "dnsResolverDomainLists", NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicy.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicy.tsp index adbb29424a20..7a0d598d6d36 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicy.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicy.tsp @@ -21,6 +21,7 @@ model DnsResolverPolicy SegmentName = "dnsResolverPolicies", NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicyVirtualNetworkLink.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicyVirtualNetworkLink.tsp index 79de93d224c0..2ce3caa2650c 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicyVirtualNetworkLink.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsResolverPolicyVirtualNetworkLink.tsp @@ -8,7 +8,6 @@ import "./DnsResolverPolicy.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.Network; /** @@ -26,6 +25,8 @@ model DnsResolverPolicyVirtualNetworkLink SegmentName = "virtualNetworkLinks", NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsSecurityRule.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsSecurityRule.tsp index 7cb6c9ae7d35..60987e67a056 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsSecurityRule.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/DnsSecurityRule.tsp @@ -23,6 +23,7 @@ model DnsSecurityRule SegmentName = "dnsSecurityRules", NamePattern = "^[a-zA-Z0-9]([a-zA-Z0-9_\\-]*[a-zA-Z0-9])?$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/ForwardingRule.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/ForwardingRule.tsp index 440f1cdd8f6d..f55269f95842 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/ForwardingRule.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/ForwardingRule.tsp @@ -23,6 +23,7 @@ model ForwardingRule SegmentName = "forwardingRules", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/InboundEndpoint.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/InboundEndpoint.tsp index d59d721b5e21..c12089195652 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/InboundEndpoint.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/InboundEndpoint.tsp @@ -23,6 +23,7 @@ model InboundEndpoint SegmentName = "inboundEndpoints", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/OutboundEndpoint.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/OutboundEndpoint.tsp index 621db21d1e21..a4e17baf49bf 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/OutboundEndpoint.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/OutboundEndpoint.tsp @@ -23,6 +23,7 @@ model OutboundEndpoint SegmentName = "outboundEndpoints", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/VirtualNetworkLink.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/VirtualNetworkLink.tsp index b640cdd17438..183ce840c302 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/VirtualNetworkLink.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/VirtualNetworkLink.tsp @@ -8,12 +8,12 @@ import "./DnsForwardingRuleset.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.Network; /** * Describes a virtual network link. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(DnsForwardingRuleset) model VirtualNetworkLink is Azure.ResourceManager.ProxyResource { @@ -23,6 +23,8 @@ model VirtualNetworkLink SegmentName = "virtualNetworkLinks", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Legacy.EntityTagProperty; } diff --git a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/back-compatible.tsp b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/back-compatible.tsp index d8e4430b1405..fb8fc7407ba5 100644 --- a/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/back-compatible.tsp +++ b/specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver/back-compatible.tsp @@ -4,32 +4,39 @@ using Azure.ClientGenerator.Core; using Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ForwardingRulePatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetworkLinkPatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetworkDnsForwardingRuleset.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsSecurityRulePatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolverDomainListPatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolverDomainListBulk.properties ); @@clientName(DnsResolvers.createOrUpdate::parameters.resource, "parameters"); @@clientName(DnsResolvers.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolver.properties); @@clientName(InboundEndpoints.createOrUpdate::parameters.resource, @@ -37,6 +44,7 @@ using Microsoft.Network; ); @@clientName(InboundEndpoints.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(InboundEndpoint.properties); @@clientName(OutboundEndpoints.createOrUpdate::parameters.resource, @@ -44,6 +52,7 @@ using Microsoft.Network; ); @@clientName(OutboundEndpoints.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OutboundEndpoint.properties ); @@ -52,12 +61,14 @@ using Microsoft.Network; ); @@clientName(DnsForwardingRulesets.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsForwardingRuleset.properties ); @@clientName(ForwardingRules.createOrUpdate::parameters.resource, "parameters"); @@clientName(ForwardingRules.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ForwardingRule.properties); @@clientName(VirtualNetworkLinks.createOrUpdate::parameters.resource, @@ -65,6 +76,7 @@ using Microsoft.Network; ); @@clientName(VirtualNetworkLinks.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetworkLink.properties ); @@ -73,6 +85,7 @@ using Microsoft.Network; ); @@clientName(DnsResolverPolicies.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolverPolicy.properties ); @@ -81,6 +94,7 @@ using Microsoft.Network; ); @@clientName(DnsSecurityRules.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsSecurityRule.properties); @@clientName(DnsResolverPolicyVirtualNetworkLinks.createOrUpdate::parameters.resource, @@ -90,6 +104,7 @@ using Microsoft.Network; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolverPolicyVirtualNetworkLink.properties ); @@ -101,6 +116,7 @@ using Microsoft.Network; ); @@clientName(DnsResolverDomainLists.bulk::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsResolverDomainList.properties ); diff --git a/specification/dynatrace/Dynatrace.Management/back-compatible.tsp b/specification/dynatrace/Dynatrace.Management/back-compatible.tsp index 476b9fcc6fd7..192133d21b44 100644 --- a/specification/dynatrace/Dynatrace.Management/back-compatible.tsp +++ b/specification/dynatrace/Dynatrace.Management/back-compatible.tsp @@ -37,15 +37,18 @@ using Dynatrace.Observability; "request" ); #suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MonitorResource.properties); #suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TagRule.properties); @@clientLocation(DynatraceSingleSignOnResources.get, "SingleSignOn"); @@clientLocation(DynatraceSingleSignOnResources.createOrUpdate, "SingleSignOn"); @@clientLocation(DynatraceSingleSignOnResources.list, "SingleSignOn"); #suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DynatraceSingleSignOnResource.properties ); diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/back-compatible.tsp b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/back-compatible.tsp index 60fc9d3a722a..ece23d35e103 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/back-compatible.tsp +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/back-compatible.tsp @@ -4,30 +4,38 @@ using Azure.ClientGenerator.Core; using Microsoft.EdgeOrder; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Configuration.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ChildConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProductFamily.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProductLine.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Product.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProductFamiliesMetadataDetails.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AddressUpdateParameter.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrderItemUpdateParameter.properties ); @@ -36,6 +44,7 @@ using Microsoft.EdgeOrder; "addressUpdateParameter" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AddressResource.properties); @@clientName(OrderItemResources.create::parameters.resource, @@ -49,10 +58,12 @@ using Microsoft.EdgeOrder; "returnOrderItemDetails" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrderItemResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrderResource.properties); @@clientName(ProductsAndConfigurationsOperationGroup.listConfigurations::parameters.body, "configurationsRequest" diff --git a/specification/edgezones/EdgeZones.Management/back-compatible.tsp b/specification/edgezones/EdgeZones.Management/back-compatible.tsp index c14274b0bd05..d3b4e0c46a84 100644 --- a/specification/edgezones/EdgeZones.Management/back-compatible.tsp +++ b/specification/edgezones/EdgeZones.Management/back-compatible.tsp @@ -3,6 +3,7 @@ import "@azure-tools/typespec-client-generator-core"; using Microsoft.EdgeZones; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExtendedZone.properties, "autorest" ); diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/back-compatible.tsp b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/back-compatible.tsp index 513c1b343938..10d15ccfd244 100644 --- a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/back-compatible.tsp +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/back-compatible.tsp @@ -4,10 +4,12 @@ using Azure.ClientGenerator.Core; using Microsoft.ElasticSan; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ElasticSanUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -20,21 +22,25 @@ using Microsoft.ElasticSan; @@clientName(VirtualNetworkRule.id, "VirtualNetworkResourceId"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VolumeGroupUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VolumeUpdate.properties); @@clientName(ElasticSans.create::parameters.resource, "parameters"); @@clientName(ElasticSans.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ElasticSan.properties); @@clientName(PrivateEndpointConnections.create::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -43,15 +49,18 @@ using Microsoft.ElasticSan; @@clientName(VolumeGroups.preBackup::parameters.body, "parameters"); @@clientName(VolumeGroups.preRestore::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VolumeGroup.properties); @@clientName(Snapshots.create::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Snapshot.properties); @@clientName(Volumes.create::parameters.resource, "parameters"); @@clientName(Volumes.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Volume.properties); @@clientName(AutoScaleProperties.scaleUpProperties, "ScaleUpProperties"); diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/Eventhub/back-compatible.tsp b/specification/eventhub/resource-manager/Microsoft.EventHub/Eventhub/back-compatible.tsp index ad22e16a0753..9d5e594bc30c 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/Eventhub/back-compatible.tsp +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/Eventhub/back-compatible.tsp @@ -4,16 +4,20 @@ using Azure.ClientGenerator.Core; using Microsoft.EventHub; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FailOver.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Destination.properties); @@clientName(Clusters.createOrUpdate::parameters.resource, "parameters"); @@ -22,6 +26,7 @@ using Microsoft.EventHub; @@clientName(Clusters.patch::parameters.body, "parameters"); @@clientLocation(Clusters.configurationGet, "Configuration"); @@clientName(Clusters.configurationGet, "Get"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Cluster.properties); @@clientLocation(EHNamespaces.get, "Namespaces"); @@ -38,17 +43,20 @@ using Microsoft.EventHub; @@clientName(EHNamespaces.privateLinkResourcesGet, "Get"); @@clientLocation(EHNamespaces.checkNameAvailability, DisasterRecoveryConfigs); @@clientName(EHNamespaces.checkNameAvailability::parameters.body, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EHNamespace.properties); @@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, "parameters" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@clientLocation(NetworkSecurityPerimeterConfigurations.list, "NetworkSecurityPerimeterConfiguration" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSecurityPerimeterConfiguration.properties ); @@ -58,6 +66,7 @@ using Microsoft.EventHub; "parameters" ); @@clientLocation(NetworkRuleSets.listNetworkRuleSet, "Namespaces"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkRuleSet.properties); @@clientLocation(AuthorizationRules.getAuthorizationRule, "Namespaces"); @@ -76,10 +85,12 @@ using Microsoft.EventHub; "parameters" ); @@clientName(EventHubs.regenerateKeys::parameters.body, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AuthorizationRule.properties ); @@clientName(ConsumerGroups.createOrUpdate::parameters.resource, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConsumerGroup.properties); @@clientLocation(ArmDisasterRecoveries.get, DisasterRecoveryConfigs); @@ -91,6 +102,7 @@ using Microsoft.EventHub; @@clientLocation(ArmDisasterRecoveries.list, DisasterRecoveryConfigs); @@clientLocation(ArmDisasterRecoveries.breakPairing, DisasterRecoveryConfigs); @@clientLocation(ArmDisasterRecoveries.failOver, DisasterRecoveryConfigs); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArmDisasterRecovery.properties ); @@ -99,6 +111,7 @@ using Microsoft.EventHub; @@clientName(Eventhubs.createOrUpdate::parameters.resource, "parameters"); @@clientLocation(Eventhubs.delete, EventHubs); @@clientLocation(Eventhubs.listByNamespace, EventHubs); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Eventhub.properties); @@clientLocation(SchemaGroups.get, "SchemaRegistry"); @@ -106,6 +119,7 @@ using Microsoft.EventHub; @@clientName(SchemaGroups.createOrUpdate::parameters.resource, "parameters"); @@clientLocation(SchemaGroups.delete, "SchemaRegistry"); @@clientLocation(SchemaGroups.listByNamespace, "SchemaRegistry"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SchemaGroup.properties); @@clientLocation(ApplicationGroups.get, "ApplicationGroup"); @@ -117,6 +131,7 @@ using Microsoft.EventHub; ); @@clientLocation(ApplicationGroups.delete, "ApplicationGroup"); @@clientLocation(ApplicationGroups.listByNamespace, "ApplicationGroup"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationGroup.properties ); diff --git a/specification/ews/SecretSyncController.Management/back-compatible.tsp b/specification/ews/SecretSyncController.Management/back-compatible.tsp index 9001e9e3a96f..eab271575ae1 100644 --- a/specification/ews/SecretSyncController.Management/back-compatible.tsp +++ b/specification/ews/SecretSyncController.Management/back-compatible.tsp @@ -4,12 +4,15 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.SecretSyncController; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AzureKeyVaultSecretProviderClass.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecretSync.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/back-compatible.tsp b/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/back-compatible.tsp index 6b4fbe14a248..f8526a4736ca 100644 --- a/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/back-compatible.tsp +++ b/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/back-compatible.tsp @@ -6,9 +6,11 @@ using Azure.ResourceManager; using Microsoft.Fabric; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FabricCapacity.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/fist/IotFirmwareDefense.Management/client.tsp b/specification/fist/IotFirmwareDefense.Management/client.tsp index 523a99bc6990..c78b583a68a4 100644 --- a/specification/fist/IotFirmwareDefense.Management/client.tsp +++ b/specification/fist/IotFirmwareDefense.Management/client.tsp @@ -15,50 +15,62 @@ using Azure.ClientGenerator.Core; // flatten #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.TrackedResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.BinaryHardeningResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.CryptoCertificateResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.CryptoKeyResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.CveResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.Firmware.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.PasswordHashResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.SbomComponentResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.UsageMetric.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.IoTFirmwareDefense.FirmwareUpdateDefinition.properties, "java,python" ); diff --git a/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/preview/2025-04-01-preview/iotfirmwaredefense.json b/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/preview/2025-04-01-preview/iotfirmwaredefense.json index 55e39ba884d8..51aef036d741 100644 --- a/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/preview/2025-04-01-preview/iotfirmwaredefense.json +++ b/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/preview/2025-04-01-preview/iotfirmwaredefense.json @@ -1187,6 +1187,7 @@ "description": "The Firmware analysis summary name describing the type of summary.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "enum": [ "Firmware", "CommonVulnerabilitiesAndExposures", diff --git a/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2025-08-02/iotfirmwaredefense.json b/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2025-08-02/iotfirmwaredefense.json index 3f654901d381..2a68caa47dd1 100644 --- a/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2025-08-02/iotfirmwaredefense.json +++ b/specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2025-08-02/iotfirmwaredefense.json @@ -1202,6 +1202,7 @@ "description": "The Firmware analysis summary name describing the type of summary.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "enum": [ "Firmware", "CommonVulnerabilitiesAndExposures", diff --git a/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/back-compatible.tsp b/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/back-compatible.tsp index 491cb39e7c24..38445b681911 100644 --- a/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/back-compatible.tsp +++ b/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/back-compatible.tsp @@ -17,6 +17,7 @@ using Microsoft.GuestConfiguration; ); @@clientName(VmssvmInfo, "VMSSVMInfo"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); @@clientName(AssignmentReport, "CommonAssignmentReport", "go"); diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/back-compatible.tsp b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/back-compatible.tsp index 9bb475d64d6e..f0757be38d50 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/back-compatible.tsp +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/back-compatible.tsp @@ -4,6 +4,7 @@ using Azure.ClientGenerator.Core; using Microsoft.HardwareSecurityModules; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BackupResult.properties, "!python,!java,!csharp" ); @@ -14,6 +15,7 @@ using Microsoft.HardwareSecurityModules; "restoreRequestProperties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudHsmCluster.properties, "!python,!java,!csharp" ); @@ -21,12 +23,14 @@ using Microsoft.HardwareSecurityModules; "properties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties, "!python,!java,!csharp" ); @@clientName(DedicatedHsms.createOrUpdate::parameters.resource, "parameters"); @@clientName(DedicatedHsms.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedHsm.properties, "!python,!java,!csharp" ); diff --git a/specification/help/resource-manager/Microsoft.Help/Help/back-compatible.tsp b/specification/help/resource-manager/Microsoft.Help/Help/back-compatible.tsp index da78f9ffea49..e499be3c1008 100644 --- a/specification/help/resource-manager/Microsoft.Help/Help/back-compatible.tsp +++ b/specification/help/resource-manager/Microsoft.Help/Help/back-compatible.tsp @@ -7,14 +7,17 @@ using Azure.ClientGenerator.Core; using Microsoft.Help; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SolutionMetadataResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SolutionPatchRequestBody.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SolutionNlpMetadataResource.properties ); @@ -22,6 +25,7 @@ using Microsoft.Help; "diagnosticResourceRequest" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticResource.properties ); @@ -32,6 +36,7 @@ using Microsoft.Help; "solutionPatchRequestBody" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SolutionResource.properties ); @@ -39,14 +44,17 @@ using Microsoft.Help; "simplifiedSolutionsRequestBody" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SimplifiedSolutionsResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TroubleshooterResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SolutionResourceSelfHelp.properties ); diff --git a/specification/hybridconnectivity/HybridConnectivity.Management/back-compatible.tsp b/specification/hybridconnectivity/HybridConnectivity.Management/back-compatible.tsp index 02cb9fb90f2d..f99b1f328a8a 100644 --- a/specification/hybridconnectivity/HybridConnectivity.Management/back-compatible.tsp +++ b/specification/hybridconnectivity/HybridConnectivity.Management/back-compatible.tsp @@ -5,9 +5,16 @@ import "./main.tsp"; using Azure.ClientGenerator.Core; using Microsoft.HybridConnectivity; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(EndpointResource.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(InventoryResource.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(PublicCloudConnector.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(ServiceConfigurationResource.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(SolutionConfiguration.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(SolutionTypeResource.properties, "autorest"); diff --git a/specification/hybridconnectivity/HybridConnectivity.Management/client.tsp b/specification/hybridconnectivity/HybridConnectivity.Management/client.tsp index bb624e217160..51eebd37da1c 100644 --- a/specification/hybridconnectivity/HybridConnectivity.Management/client.tsp +++ b/specification/hybridconnectivity/HybridConnectivity.Management/client.tsp @@ -6,21 +6,26 @@ using Azure.Core; namespace Microsoft.HybridConnectivity; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServiceConfigurationResourcePatch.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EndpointAccessResource.relay ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IngressGatewayResource.relay ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IngressGatewayResource.ingress ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IngressProfileProperties.aadProfile ); @@ -40,6 +45,7 @@ namespace Microsoft.HybridConnectivity; "ServiceConfigurationResource" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServiceConfigurationResource.properties ); diff --git a/specification/hybridkubernetes/HybridKubernetes.Management/back-compatible.tsp b/specification/hybridkubernetes/HybridKubernetes.Management/back-compatible.tsp index 7b9a3220d017..2693f359230c 100644 --- a/specification/hybridkubernetes/HybridKubernetes.Management/back-compatible.tsp +++ b/specification/hybridkubernetes/HybridKubernetes.Management/back-compatible.tsp @@ -5,10 +5,12 @@ using Microsoft.Kubernetes; // csharp SDK considers this as a new RP therefore we no longer add this flatten decorator here. #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConnectedClusterPatch.properties, "!csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConnectedCluster.properties, "!csharp" ); diff --git a/specification/informatica/Informatica.DataManagement.Management/back-compatible.tsp b/specification/informatica/Informatica.DataManagement.Management/back-compatible.tsp index 6751d52a3cae..65ec4bae4f61 100644 --- a/specification/informatica/Informatica.DataManagement.Management/back-compatible.tsp +++ b/specification/informatica/Informatica.DataManagement.Management/back-compatible.tsp @@ -5,9 +5,11 @@ import "./main.tsp"; using Azure.ClientGenerator.Core; using Informatica.DataManagement; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(InformaticaOrganizationResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(InformaticaServerlessRuntimeResource.properties, "autorest" ); diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/back-compatible.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/back-compatible.tsp index 6f830b2867ba..59202aed2e0f 100644 --- a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/back-compatible.tsp +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/back-compatible.tsp @@ -1,14 +1,17 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.IoTOperationsDataProcessor; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Dataset.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Instance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Pipeline.properties, "autorest" ); diff --git a/specification/iotoperationsmq/IoTOperationsMQ.Management/back-compatible.tsp b/specification/iotoperationsmq/IoTOperationsMQ.Management/back-compatible.tsp index 3af43ada6886..4cf640765105 100644 --- a/specification/iotoperationsmq/IoTOperationsMQ.Management/back-compatible.tsp +++ b/specification/iotoperationsmq/IoTOperationsMQ.Management/back-compatible.tsp @@ -1,43 +1,56 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.IoTOperationsMQ; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BrokerAuthenticationResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BrokerAuthorizationResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BrokerListenerResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BrokerResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataLakeConnectorResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticServiceResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataLakeTopicMapResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(KafkaConnectorResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(KafkaTopicMapResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MqttBridgeConnectorResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MqResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MqttBridgeTopicMapResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/back-compatible.tsp b/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/back-compatible.tsp index 3a1514386476..8298d96c6205 100644 --- a/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/back-compatible.tsp +++ b/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/back-compatible.tsp @@ -1,12 +1,15 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using Microsoft.IoTOperationsOrchestrator; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Instance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Solution.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Target.properties, "autorest" ); diff --git a/specification/keyvault/KeyVault.Management/ManagedHsm.tsp b/specification/keyvault/KeyVault.Management/ManagedHsm.tsp index 6dee5c5cd431..d410fcbdb5b6 100644 --- a/specification/keyvault/KeyVault.Management/ManagedHsm.tsp +++ b/specification/keyvault/KeyVault.Management/ManagedHsm.tsp @@ -7,12 +7,13 @@ import "./models.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.KeyVault; + /** * Resource information with extended details. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" model ManagedHsm is Azure.ResourceManager.Legacy.TrackedResourceWithOptionalLocation { ...ResourceNameParameter< diff --git a/specification/keyvault/KeyVault.Management/MhsmPrivateEndpointConnection.tsp b/specification/keyvault/KeyVault.Management/MhsmPrivateEndpointConnection.tsp index 240be9c5a4c8..ff0d9040e429 100644 --- a/specification/keyvault/KeyVault.Management/MhsmPrivateEndpointConnection.tsp +++ b/specification/keyvault/KeyVault.Management/MhsmPrivateEndpointConnection.tsp @@ -8,12 +8,12 @@ import "./ManagedHsm.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.KeyVault; /** * Private endpoint connection resource. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(ManagedHsm) model MhsmPrivateEndpointConnection is Azure.ResourceManager.Legacy.TrackedResourceWithOptionalLocation { diff --git a/specification/keyvault/KeyVault.Management/back-compatible.tsp b/specification/keyvault/KeyVault.Management/back-compatible.tsp index 85787e181c80..3ad59d2b7074 100644 --- a/specification/keyvault/KeyVault.Management/back-compatible.tsp +++ b/specification/keyvault/KeyVault.Management/back-compatible.tsp @@ -13,24 +13,29 @@ using Azure.Core; @@clientName(ManagedHsmKeyAttributes.exp, "Expires"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnectionItem.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MhsmPrivateEndpointConnectionItem.properties ); @@clientName(Error.innererror, "innerError"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MhsmPrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); @@clientName(Operation.properties, "operationProperties"); @@ -40,6 +45,7 @@ using Azure.Core; @@clientName(Keys.createIfNotExist::parameters.resource, "parameters"); @@clientLocation(KeyOperationGroup.getVersion, Keys); @@clientLocation(KeyOperationGroup.listVersions, Keys); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Key.properties); @@clientName(ManagedHsmKeys.createIfNotExist::parameters.resource, @@ -47,6 +53,7 @@ using Azure.Core; ); @@clientLocation(ManagedHsmKeyOperationGroup.getVersion, ManagedHsmKeys); @@clientLocation(ManagedHsmKeyOperationGroup.listVersions, ManagedHsmKeys); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ManagedHsmKey.properties); @@clientName(Vaults.createOrUpdate::parameters.resource, "parameters"); @@ -58,6 +65,7 @@ using Azure.Core; @@clientLocation(DeletedVaults.purgeDeleted, Vaults); @@clientName(PrivateEndpointConnections.put::parameters.resource, "properties"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -88,6 +96,7 @@ using Azure.Core; "MHSMPrivateEndpointConnections", "!csharp,!java" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MhsmPrivateEndpointConnection.properties ); @@ -143,6 +152,7 @@ using Azure.Core; "!java" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); @@clientName(Operation.properties, "OperationProperties"); diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/2025-06-01-preview/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/2025-06-01-preview/keys.json index 6806d4d390c5..a15d41e7a124 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/2025-06-01-preview/keys.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/2025-06-01-preview/keys.json @@ -2138,7 +2138,8 @@ }, "enc": { "$ref": "#/definitions/KeyEncryptionAlgorithm", - "description": "The encryption algorithm to use to protected the exported key material" + "description": "The encryption algorithm to use to protected the exported key material", + "minLength": 1 } } }, @@ -2306,6 +2307,7 @@ "kty": { "$ref": "#/definitions/JsonWebKeyType", "description": "The type of key pair to be used for the certificate.", + "minLength": 1, "x-ms-client-name": "keyType" }, "key_size": { diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.6-preview.2/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.6-preview.2/keys.json index e0e815cf03c3..85f03ba8332f 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.6-preview.2/keys.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.6-preview.2/keys.json @@ -2138,7 +2138,8 @@ }, "enc": { "$ref": "#/definitions/KeyEncryptionAlgorithm", - "description": "The encryption algorithm to use to protected the exported key material" + "description": "The encryption algorithm to use to protected the exported key material", + "minLength": 1 } } }, @@ -2306,6 +2307,7 @@ "kty": { "$ref": "#/definitions/JsonWebKeyType", "description": "The type of key pair to be used for the certificate.", + "minLength": 1, "x-ms-client-name": "keyType" }, "key_size": { diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2025-07-01/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2025-07-01/keys.json index 2e2069e8d7fe..b7317fd94fe6 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2025-07-01/keys.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/2025-07-01/keys.json @@ -2138,7 +2138,8 @@ }, "enc": { "$ref": "#/definitions/KeyEncryptionAlgorithm", - "description": "The encryption algorithm to use to protected the exported key material" + "description": "The encryption algorithm to use to protected the exported key material", + "minLength": 1 } } }, @@ -2306,6 +2307,7 @@ "kty": { "$ref": "#/definitions/JsonWebKeyType", "description": "The type of key pair to be used for the certificate.", + "minLength": 1, "x-ms-client-name": "keyType" }, "key_size": { diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/keys.json index ffee85da6ed8..f1cb5d32f65e 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/keys.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.5/keys.json @@ -2031,7 +2031,8 @@ }, "enc": { "$ref": "#/definitions/KeyEncryptionAlgorithm", - "description": "The encryption algorithm to use to protected the exported key material" + "description": "The encryption algorithm to use to protected the exported key material", + "minLength": 1 } } }, @@ -2199,6 +2200,7 @@ "kty": { "$ref": "#/definitions/JsonWebKeyType", "description": "The type of key pair to be used for the certificate.", + "minLength": 1, "x-ms-client-name": "keyType" }, "key_size": { diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.6/keys.json b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.6/keys.json index 3da73c766065..b0b1491b45b5 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.6/keys.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.6/keys.json @@ -2138,7 +2138,8 @@ }, "enc": { "$ref": "#/definitions/KeyEncryptionAlgorithm", - "description": "The encryption algorithm to use to protected the exported key material" + "description": "The encryption algorithm to use to protected the exported key material", + "minLength": 1 } } }, @@ -2306,6 +2307,7 @@ "kty": { "$ref": "#/definitions/JsonWebKeyType", "description": "The type of key pair to be used for the certificate.", + "minLength": 1, "x-ms-client-name": "keyType" }, "key_size": { diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2025-05-01/openapi.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2025-05-01/openapi.json index 91d2352e888c..07996e5a306f 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2025-05-01/openapi.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2025-05-01/openapi.json @@ -3736,7 +3736,8 @@ }, "kty": { "$ref": "#/definitions/JsonWebKeyType", - "description": "The type of the key. For valid values, see JsonWebKeyType." + "description": "The type of the key. For valid values, see JsonWebKeyType.", + "minLength": 1 }, "keyOps": { "type": "array", @@ -4360,7 +4361,8 @@ }, "kty": { "$ref": "#/definitions/JsonWebKeyType", - "description": "The type of the key. For valid values, see JsonWebKeyType." + "description": "The type of the key. For valid values, see JsonWebKeyType.", + "minLength": 1 }, "keyOps": { "type": "array", diff --git a/specification/kubernetesruntime/KubernetesRuntime.Management/back-compatible.tsp b/specification/kubernetesruntime/KubernetesRuntime.Management/back-compatible.tsp index 7c7b8dc23fba..528a0b8b54e7 100644 --- a/specification/kubernetesruntime/KubernetesRuntime.Management/back-compatible.tsp +++ b/specification/kubernetesruntime/KubernetesRuntime.Management/back-compatible.tsp @@ -5,7 +5,11 @@ import "./main.tsp"; using Azure.ClientGenerator.Core; using Microsoft.KubernetesRuntime; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(BgpPeer.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(LoadBalancer.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(ServiceResource.properties, "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Legacy.flattenProperty(StorageClassResource.properties, "autorest"); diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/back-compatible.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/back-compatible.tsp index 4a3d81eb5c49..b9a260a85d10 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/back-compatible.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/back-compatible.tsp @@ -2,9 +2,11 @@ import "@azure-tools/typespec-client-generator-core"; using Astronomer.Astro; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrganizationResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/back-compatible.tsp b/specification/liftrqumulo/Qumulo.Storage.Management/back-compatible.tsp index 3627498f4e5d..1524c89cf6e0 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/back-compatible.tsp +++ b/specification/liftrqumulo/Qumulo.Storage.Management/back-compatible.tsp @@ -1,6 +1,7 @@ import "@azure-tools/typespec-client-generator-core"; import "./LiftrBase.Storage/main.tsp"; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LiftrBase.Storage.FileSystemResource.properties, "autorest" ); diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/client.tsp b/specification/liftrqumulo/Qumulo.Storage.Management/client.tsp index 970e6f9e60e7..90af26bbf061 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/client.tsp +++ b/specification/liftrqumulo/Qumulo.Storage.Management/client.tsp @@ -44,6 +44,7 @@ namespace LiftrBase; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "for backward compatibility purpose" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LiftrBase.Storage.FileSystemResource.properties, "csharp" ); diff --git a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json index b81ec4c8ea59..8165bb5942d0 100644 --- a/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json +++ b/specification/loadtestservice/data-plane/playwright/preview/2025-07-01-preview/playwright.json @@ -35,11 +35,22 @@ { "OAuth2Auth": [ "https://playwright.microsoft.com/.default" + ], + "OAuth2Auth_": [ + "https://playwright.microsoft.com/.default" ] } ], "securityDefinitions": { "OAuth2Auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "https://playwright.microsoft.com/.default": "" + } + }, + "OAuth2Auth_": { "type": "oauth2", "flow": "accessCode", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", diff --git a/specification/loadtestservice/data-plane/playwright/stable/2025-09-01/playwright.json b/specification/loadtestservice/data-plane/playwright/stable/2025-09-01/playwright.json index 27382b53419c..76cbf2925fd7 100644 --- a/specification/loadtestservice/data-plane/playwright/stable/2025-09-01/playwright.json +++ b/specification/loadtestservice/data-plane/playwright/stable/2025-09-01/playwright.json @@ -35,11 +35,22 @@ { "OAuth2Auth": [ "https://playwright.microsoft.com/.default" + ], + "OAuth2Auth_": [ + "https://playwright.microsoft.com/.default" ] } ], "securityDefinitions": { "OAuth2Auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "https://playwright.microsoft.com/.default": "" + } + }, + "OAuth2Auth_": { "type": "oauth2", "flow": "accessCode", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/back-compatible.tsp b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/back-compatible.tsp index 2e43f10f0c6f..35db7174a7f7 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/back-compatible.tsp +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/back-compatible.tsp @@ -6,21 +6,27 @@ using Azure.ResourceManager; using Microsoft.LoadTestService; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LoadTestMappingResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LoadTestProfileMappingResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LoadTestResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MaxMonthlyVirtualUserHoursResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/back-compatible.tsp b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/back-compatible.tsp index 1dc60399ccf6..becf5366aef7 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/back-compatible.tsp +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/back-compatible.tsp @@ -6,15 +6,19 @@ using Azure.ResourceManager; using Playwright.Management; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PlaywrightQuota.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PlaywrightWorkspace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PlaywrightWorkspaceQuota.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/preview/2025-07-01-preview/playwright.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/preview/2025-07-01-preview/playwright.json index 433bf09651c3..9d75e728bd3c 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/preview/2025-07-01-preview/playwright.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/preview/2025-07-01-preview/playwright.json @@ -199,6 +199,7 @@ "description": "The name of the PlaywrightQuota", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], @@ -634,6 +635,7 @@ "description": "The name of the PlaywrightWorkspaceQuota", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/stable/2025-09-01/playwright.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/stable/2025-09-01/playwright.json index 63f24a81e54c..36e551856d14 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/stable/2025-09-01/playwright.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/stable/2025-09-01/playwright.json @@ -199,6 +199,7 @@ "description": "The name of the PlaywrightQuota", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], @@ -634,6 +635,7 @@ "description": "The name of the PlaywrightWorkspaceQuota", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/back-compatible.tsp b/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/back-compatible.tsp index f0a30f2d68c5..8e9be97af074 100644 --- a/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/back-compatible.tsp +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/back-compatible.tsp @@ -4,6 +4,7 @@ using Azure.ClientGenerator.Core; using Microsoft.Maintenance; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MaintenanceConfigurationProperties.maintenanceWindow ); @@ -17,6 +18,7 @@ using Microsoft.Maintenance; "configuration" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MaintenanceConfiguration.properties ); @@ -24,6 +26,7 @@ using Microsoft.Maintenance; "applyUpdate" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplyUpdate.properties); @@clientName(ConfigurationAssignments.createOrUpdateParent::parameters.resource, @@ -45,9 +48,11 @@ using Microsoft.Maintenance; "configurationAssignment" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationAssignment.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.Maintenance.Update.properties ); diff --git a/specification/mission/Mission.Management/back-compatible.tsp b/specification/mission/Mission.Management/back-compatible.tsp index 9c9b1e03dda1..cc94649baae2 100644 --- a/specification/mission/Mission.Management/back-compatible.tsp +++ b/specification/mission/Mission.Management/back-compatible.tsp @@ -4,30 +4,39 @@ import "./routes.tsp"; using Microsoft.Mission; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApprovalResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityEndpointResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EnclaveConnectionResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EnclaveEndpointResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(EnclaveResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TransitHubResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 975b8fcd519c..50591c9258d2 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -159,6 +159,7 @@ model CommunityBaseModel { @identifiers(#[]) governedServiceList?: GovernedServiceItem[]; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @added(Microsoft.Mission.Versions.v2025_05_01_preview) @doc("Policy override setting for the community. Specifies whether to apply enclave-specific policies or disable policy enforcement.") policyOverride?: "Enclave" | "None" | string; diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp index 34df89820d98..f017f71dc2d4 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp @@ -15,9 +15,11 @@ model ApprovalCallbackRequest { @doc("Resource Id of the item being approved or rejected") resourceId: armResourceIdentifier; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Resource request action indicating action which needed to be performed upon calling approval-callback post action") resourceRequestAction: "Create" | "Delete" | "Update" | "Reset" | string; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Approval status indicating 'Approved' or 'Rejected'") approvalStatus: "Approved" | "Rejected" | string; @@ -29,6 +31,7 @@ model ApprovalCallbackRequest { // Define a model for the approval initator callback request @doc("Request body for calling post-action") model ApprovalActionRequest { + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Approval status indicating 'Approved' or 'Rejected'") approvalStatus: "Approved" | "Rejected" | string; } @@ -42,6 +45,7 @@ model ApprovalActionResponse { @doc("Request body for calling post-action") model ApprovalDeletionCallbackRequest { + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action") resourceRequestAction: "Create" | "Delete" | "Update" | string; } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp index ce2fed7d9b68..8f9fe287a48b 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp @@ -70,9 +70,11 @@ model GovernedServiceItem { @visibility(Lifecycle.Read) serviceName?: string; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).") option?: "Allow" | "Deny" | "ExceptionOnly" | "NotApplicable" | string; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Initiative enforcement (Enabled or Disabled).") enforcement?: "Enabled" | "Disabled" | string; @@ -80,6 +82,7 @@ model GovernedServiceItem { @doc("Policies set to auditOnly (True or False).") auditOnly?: boolean; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @added(Microsoft.Mission.Versions.v2025_05_01_preview) @doc("Enforcement mode for policy. AuditOnly, Enforce, or None.") policyAction?: "AuditOnly" | "Enforce" | "None" | string; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp index 9d6763cc0007..a9d2c60efc0b 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp @@ -5,12 +5,14 @@ namespace Microsoft.Mission; @doc("Maintenance Mode") model MaintenanceModeConfigurationModel { + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Current mode of Maintenance Mode Configuration") mode: "On" | "CanNotDelete" | "Off" | "General" | "Advanced" | string = "Off"; @doc("The user, group or service principal object affected by Maintenance Mode") principals?: Principal[] = #[]; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("Justification for entering or exiting Maintenance Mode") justification?: "Networking" | "Governance" | "Off" | string = "Off"; } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp index ebf7a945c707..c39849087e93 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -6,6 +6,7 @@ model Principal { @doc("The object id associated with the principal") id: string; + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backwards compatibility - Existing union" @doc("The type of the object id. We currently allow users, groups, and service principals") type: "User" | "Group" | "ServicePrincipal" | string; } diff --git a/specification/monitor/Microsoft.Monitor.Management/back-compatible.tsp b/specification/monitor/Microsoft.Monitor.Management/back-compatible.tsp index c3e1578ec049..4c4f4b803db8 100644 --- a/specification/monitor/Microsoft.Monitor.Management/back-compatible.tsp +++ b/specification/monitor/Microsoft.Monitor.Management/back-compatible.tsp @@ -5,12 +5,15 @@ import "./typespec/pipelineGroup.tsp"; using Microsoft.Monitor; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AzureMonitorWorkspace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PipelineGroup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/back-compatible.tsp b/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/back-compatible.tsp index 3022f65c7c50..d76b00a163af 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/back-compatible.tsp +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/back-compatible.tsp @@ -5,14 +5,17 @@ using Microsoft.ManagedIdentity; // Flatten properties for backward compatibility #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SystemAssignedIdentity.properties, "autorest" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Identity.properties, "autorest" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IdentityUpdate.properties); @@clientName(Identities.update, @@ -21,6 +24,7 @@ using Microsoft.ManagedIdentity; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FederatedIdentityCredential.properties ); @@ -36,5 +40,6 @@ using Microsoft.ManagedIdentity; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FederatedIdentityCredential.properties ); diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/client.tsp b/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/client.tsp index 937534c7696b..2df4a5da7be6 100644 --- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/client.tsp +++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/client.tsp @@ -9,6 +9,7 @@ using Microsoft.ManagedIdentity; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: added in TypeSpec migration, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Identity.properties, "java" ); diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/back-compatible.tsp b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/back-compatible.tsp index 45e634e28a82..d65cdbaf8c73 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/back-compatible.tsp +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/back-compatible.tsp @@ -4,59 +4,73 @@ using Azure.ClientGenerator.Core; using Microsoft.DBforMySQL; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BackupAndExportResponse.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ValidateBackupResponse.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigurationForBatchUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerForUpdate.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AdvancedThreatProtectionForUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LogFile.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MaintenanceUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Provisioning.properties); @@clientName(AzureADAdministrators.createOrUpdate::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AzureADAdministrator.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerBackup.properties); @@clientName(LongRunningBackup.create::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerBackupV2.properties); @@clientName(Configurations.createOrUpdate::parameters.resource, "parameters"); @@clientName(Configurations.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Configuration.properties); @@clientName(Databases.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Database.properties); @@clientName(FirewallRules.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FirewallRule.properties); @@clientName(Servers.create::parameters.resource, "parameters"); @@ -70,12 +84,14 @@ using Microsoft.DBforMySQL; @@clientName(Servers.resetGtid::parameters.body, "parameters"); @@clientName(Servers.detachVNet::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Server.properties); @@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -86,17 +102,21 @@ using Microsoft.DBforMySQL; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AdvancedThreatProtection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Capability.properties); @@clientName(Maintenances.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Maintenance.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp index 80b31dd6671c..fcbdd895e6c7 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp @@ -24,6 +24,7 @@ model ActiveDirectoryConfig SegmentName = "activeDirectoryConfigs", NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; ...Azure.ResourceManager.ManagedServiceIdentityProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp index 81ea303b2ead..f666c29a0654 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp @@ -22,6 +22,7 @@ model BackupPolicy SegmentName = "backupPolicies", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp index 678b420037ac..67fe542fb243 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp @@ -24,6 +24,7 @@ model Cache is Azure.ResourceManager.TrackedResource { SegmentName = "caches", NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; ...Azure.ResourceManager.AvailabilityZonesProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp index 5aaee79a3860..39c607f363d6 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp @@ -24,6 +24,7 @@ model CapacityPool SegmentName = "capacityPools", NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp index 1151c22635db..114177988969 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp @@ -23,6 +23,7 @@ model NetAppAccount SegmentName = "netAppAccounts", NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; ...Azure.ResourceManager.ManagedServiceIdentityProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp index f5f4395dffb9..f7c1ebe53b1c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp @@ -22,6 +22,7 @@ model SnapshotPolicy SegmentName = "snapshotPolicies", NamePattern = "" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp index b1c2cc282f87..a3be24890e00 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp @@ -24,6 +24,7 @@ model Volume is Azure.ResourceManager.TrackedResource { SegmentName = "volumes", NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" >; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy EntityTagProperty for back compatibility" ...Azure.ResourceManager.Legacy.EntityTagProperty; ...Azure.ResourceManager.AvailabilityZonesProperty; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json index a8d66a4a47c3..2f5f123fe214 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json @@ -10278,6 +10278,7 @@ "certificateCNHost": { "type": "string", "description": "The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + "maxLength": 255, "x-nullable": true } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json index a4245c42b0d0..4961b22fa56d 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json @@ -10292,6 +10292,7 @@ "certificateCNHost": { "type": "string", "description": "The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + "maxLength": 255, "x-nullable": true } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json index 209ee0a49854..1e4aa6afb617 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json @@ -17673,6 +17673,7 @@ "certificateCNHost": { "type": "string", "description": "The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + "maxLength": 255, "x-nullable": true } } diff --git a/specification/newrelic/NewRelicObservability.Management/back-compatible.tsp b/specification/newrelic/NewRelicObservability.Management/back-compatible.tsp index 52872f0461e1..3f03ad355879 100644 --- a/specification/newrelic/NewRelicObservability.Management/back-compatible.tsp +++ b/specification/newrelic/NewRelicObservability.Management/back-compatible.tsp @@ -4,21 +4,26 @@ using Azure.ClientGenerator.Core; using NewRelic.Observability; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AccountResource.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OrganizationResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PlanDataResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NewRelicMonitorResourceUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TagRuleUpdate.properties); @@clientLocation(NewRelicMonitorResources.get, "Monitors"); @@ -55,9 +60,11 @@ using NewRelic.Observability; @@clientLocation(NewRelicMonitorResources.billingInfoGet, "BillingInfo"); @@clientName(NewRelicMonitorResources.billingInfoGet, "Get"); @@clientLocation(NewRelicMonitorResources.list, "ConnectedPartnerResources"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NewRelicMonitorResource.properties ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TagRule.properties); @@clientName(MonitoredSubscriptions.createOrUpdate::parameters.resource, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2025-05-01-preview/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2025-05-01-preview/NewRelic.json index d3e0b7db3405..6edf44217a87 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2025-05-01-preview/NewRelic.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2025-05-01-preview/NewRelic.json @@ -1310,6 +1310,7 @@ "description": "The configuration name. Only 'default' value is supported.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "default" ], @@ -1376,6 +1377,7 @@ "description": "The configuration name. Only 'default' value is supported.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "default" ], @@ -1473,6 +1475,7 @@ "description": "The configuration name. Only 'default' value is supported.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "default" ], @@ -1567,6 +1570,7 @@ "description": "The configuration name. Only 'default' value is supported.", "required": true, "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "default" ], diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/back-compatible.tsp b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/back-compatible.tsp index fdd6808285ad..1a1e8856cbad 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/back-compatible.tsp +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/back-compatible.tsp @@ -4,43 +4,55 @@ using Azure.ClientGenerator.Core; using Microsoft.NotificationHubs; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApnsCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WnsCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GcmCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MpnsCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AdmCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BaiduCredential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(BrowserCredential.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(XiaomiCredential.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FcmV1Credential.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NotificationHubPatchParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DebugSendResponse.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PnsCredentialsResource.properties ); @@ -51,6 +63,7 @@ using Microsoft.NotificationHubs; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NotificationHubResource.properties ); @@ -65,6 +78,7 @@ using Microsoft.NotificationHubs; ); @@clientName(Namespaces.regenerateKeys::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedAccessAuthorizationRuleResource.properties ); @@ -76,6 +90,7 @@ using Microsoft.NotificationHubs; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NamespaceResource.properties ); diff --git a/specification/oracle/Oracle.Database.Management/back-compatible.tsp b/specification/oracle/Oracle.Database.Management/back-compatible.tsp index b3cf62828c34..33d3bfd10b06 100644 --- a/specification/oracle/Oracle.Database.Management/back-compatible.tsp +++ b/specification/oracle/Oracle.Database.Management/back-compatible.tsp @@ -19,78 +19,103 @@ import "./operations/exadata/giVersionOperations.tsp"; using Oracle.Database; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutonomousDatabaseBackup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutonomousDatabaseCharacterSet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutonomousDatabaseNationalCharacterSet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutonomousDbVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudExadataInfrastructure.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudVmCluster.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DbNode.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DbServer.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DbSystemShape.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsPrivateView.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DnsPrivateZone.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GiVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OracleSubscription.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SystemVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetworkAddress.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DbSystem.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DbVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExascaleDbNode.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExadbVmCluster.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ResourceAnchor.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExascaleDbStorageVault.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FlexComponent.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GiMinorVersion.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkAnchor.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2024-12-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2024-12-01-preview/openapi.json index bfbab1e2224b..b3b06a5d6817 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2024-12-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2024-12-01-preview/openapi.json @@ -12383,6 +12383,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "ExaDbXS" diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-01-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-01-01-preview/openapi.json index 6f1be73ebab3..073664b2d899 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-01-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-01-01-preview/openapi.json @@ -12624,6 +12624,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -12694,6 +12696,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-04-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-04-01-preview/openapi.json index 46c36386562b..b37f6507769f 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-04-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-04-01-preview/openapi.json @@ -13875,6 +13875,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -13945,6 +13947,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-06-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-06-01-preview/openapi.json index 7e223e8f16b7..03f9fabc3b48 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-06-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-06-01-preview/openapi.json @@ -14020,6 +14020,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -14090,6 +14092,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-07-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-07-01-preview/openapi.json index f21eb1732ca7..bb8abc4cc4ac 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-07-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-07-01-preview/openapi.json @@ -15447,6 +15447,8 @@ "description": "If provided, filters the results to the set of database versions which are supported for the given shape. e.g., VM.Standard.E5.Flex", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "VM.Standard.x86" ], @@ -15547,6 +15549,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -15617,6 +15621,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-01-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-01-preview/openapi.json index 8e0f3b867aa6..3c14ef4aa77b 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-01-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-01-preview/openapi.json @@ -15681,6 +15681,8 @@ "description": "If provided, filters the results to the set of database versions which are supported for the given shape. e.g., VM.Standard.E5.Flex", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "VM.Standard.x86" ], @@ -15781,6 +15783,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -15851,6 +15855,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-15-preview/openapi.json b/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-15-preview/openapi.json index dd632ece9ed1..64f8d5024339 100644 --- a/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-15-preview/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/preview/2025-08-15-preview/openapi.json @@ -15678,6 +15678,8 @@ "description": "If provided, filters the results to the set of database versions which are supported for the given shape. e.g., VM.Standard.E5.Flex", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "VM.Standard.x86" ], @@ -15778,6 +15780,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -15848,6 +15852,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/stable/2025-03-01/openapi.json b/specification/oracle/resource-manager/Oracle.Database/stable/2025-03-01/openapi.json index 23289fb8a891..1a702b7204b4 100644 --- a/specification/oracle/resource-manager/Oracle.Database/stable/2025-03-01/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/stable/2025-03-01/openapi.json @@ -12624,6 +12624,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -12694,6 +12696,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/oracle/resource-manager/Oracle.Database/stable/2025-09-01/openapi.json b/specification/oracle/resource-manager/Oracle.Database/stable/2025-09-01/openapi.json index 8bcb023dfde0..39ff053c1a81 100644 --- a/specification/oracle/resource-manager/Oracle.Database/stable/2025-09-01/openapi.json +++ b/specification/oracle/resource-manager/Oracle.Database/stable/2025-09-01/openapi.json @@ -15678,6 +15678,8 @@ "description": "If provided, filters the results to the set of database versions which are supported for the given shape. e.g., VM.Standard.E5.Flex", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "VM.Standard.x86" ], @@ -15778,6 +15780,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", @@ -15848,6 +15852,8 @@ "description": "If provided, filters the results for the given shape", "required": false, "type": "string", + "minLength": 1, + "maxLength": 255, "enum": [ "Exadata.X9M", "Exadata.X11M", diff --git a/specification/orbital/Microsoft.PlanetaryComputer/inma.tsp b/specification/orbital/Microsoft.PlanetaryComputer/inma.tsp index a811cdb5ccc1..d9c69aad6a8d 100644 --- a/specification/orbital/Microsoft.PlanetaryComputer/inma.tsp +++ b/specification/orbital/Microsoft.PlanetaryComputer/inma.tsp @@ -386,7 +386,7 @@ namespace StacItems { * This union allows the request body to accept either a single Item or a collection of Items. */ #suppress "@azure-tools/typespec-autorest/union-unsupported" "" - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backcompatibility with existing clients" + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backcompatibility with existing clients" @body body: StacItem | ItemCollection, ): { diff --git a/specification/orbital/Microsoft.PlanetaryComputer/models.stac.spec.tsp b/specification/orbital/Microsoft.PlanetaryComputer/models.stac.spec.tsp index c9e0bd678e77..aa3c79358dd8 100644 --- a/specification/orbital/Microsoft.PlanetaryComputer/models.stac.spec.tsp +++ b/specification/orbital/Microsoft.PlanetaryComputer/models.stac.spec.tsp @@ -867,7 +867,7 @@ model Link { * Specifies the HTTP method that the resource expects. * Default: GET. */ - #suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backcompatibility with existing clients" + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Backcompatibility with existing clients" method?: "GET" | "POST" | string = "GET"; /** diff --git a/specification/paloaltonetworks/PaloAltoNetworks.Management/back-compatible.tsp b/specification/paloaltonetworks/PaloAltoNetworks.Management/back-compatible.tsp index 1b53fc638b5e..6cdb888c08bf 100644 --- a/specification/paloaltonetworks/PaloAltoNetworks.Management/back-compatible.tsp +++ b/specification/paloaltonetworks/PaloAltoNetworks.Management/back-compatible.tsp @@ -39,7 +39,7 @@ using PaloAltoNetworks.Cloudngfw; ); @@clientLocation(GlobalRulestackResources.revert, "GlobalRulestack"); @@clientName(GlobalRulestackResources.revert, "revert"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(GlobalRulestackResource.properties); @@clientLocation(CertificateObjectGlobalRulestackResources.get, @@ -54,7 +54,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(CertificateObjectGlobalRulestackResources.list, "CertificateObjectGlobalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(CertificateObjectGlobalRulestackResource.properties); @@clientLocation(FqdnListGlobalRulestackResources.get, @@ -69,7 +69,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(FqdnListGlobalRulestackResources.list, "FqdnListGlobalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(FqdnListGlobalRulestackResource.properties); @@clientLocation(PostRulesResources.get, "PostRules"); @@ -82,7 +82,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientName(PostRulesResources.refreshCounters, "refreshCounters"); @@clientLocation(PostRulesResources.resetCounters, "PostRules"); @@clientName(PostRulesResources.resetCounters, "resetCounters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(PostRulesResource.properties); @@clientLocation(PrefixListGlobalRulestackResources.get, @@ -97,7 +97,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(PrefixListGlobalRulestackResources.list, "PrefixListGlobalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(PrefixListGlobalRulestackResource.properties); @@clientLocation(PreRulesResources.get, "PreRules"); @@ -110,7 +110,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientName(PreRulesResources.refreshCounters, "refreshCounters"); @@clientLocation(PreRulesResources.resetCounters, "PreRules"); @@clientName(PreRulesResources.resetCounters, "resetCounters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(PreRulesResource.properties); @@clientLocation(FirewallResources.get, "Firewalls"); @@ -128,7 +128,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(FirewallResources.saveLogProfile, "Firewalls"); @@clientName(FirewallResources.saveLogProfile, "saveLogProfile"); @@clientName(FirewallResources.saveLogProfile::parameters.body, "logSettings"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(FirewallResource.properties); @@clientLocation(LocalRulestackResources.get, "LocalRulestacks"); @@ -171,7 +171,7 @@ using PaloAltoNetworks.Cloudngfw; ); @@clientLocation(LocalRulestackResources.revert, "LocalRulestacks"); @@clientName(LocalRulestackResources.revert, "revert"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(LocalRulestackResource.properties); @@clientLocation(MetricsObjectFirewallResources.get, "MetricsObjectFirewall"); @@ -184,12 +184,12 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(MetricsObjectFirewallResources.listByFirewalls, "MetricsObjectFirewall" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(MetricsObjectFirewallResource.properties); @@clientLocation(FirewallStatusResources.get, "FirewallStatus"); @@clientLocation(FirewallStatusResources.listByFirewalls, "FirewallStatus"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(FirewallStatusResource.properties); @@clientLocation(CertificateObjectLocalRulestackResources.get, @@ -204,7 +204,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(CertificateObjectLocalRulestackResources.listByLocalRulestacks, "CertificateObjectLocalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(CertificateObjectLocalRulestackResource.properties); @@clientLocation(FqdnListLocalRulestackResources.get, "FqdnListLocalRulestack"); @@ -217,7 +217,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(FqdnListLocalRulestackResources.listByLocalRulestacks, "FqdnListLocalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(FqdnListLocalRulestackResource.properties); @@clientLocation(LocalRulesResources.get, "LocalRules"); @@ -230,7 +230,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientName(LocalRulesResources.refreshCounters, "refreshCounters"); @@clientLocation(LocalRulesResources.resetCounters, "LocalRules"); @@clientName(LocalRulesResources.resetCounters, "resetCounters"); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(LocalRulesResource.properties); @@clientLocation(PrefixListResources.get, "PrefixListLocalRulestack"); @@ -241,7 +241,7 @@ using PaloAltoNetworks.Cloudngfw; @@clientLocation(PrefixListResources.listByLocalRulestacks, "PrefixListLocalRulestack" ); -#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@flattenProperty(PrefixListResource.properties); @@clientLocation(PaloAltoNetworksCloudngfwOperationsOperationGroup.createProductSerialNumber, diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/back-compatible.tsp b/specification/playwrighttesting/PlaywrightTesting.Management/back-compatible.tsp index 72ae6e2640a3..f426a120ab4d 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/back-compatible.tsp +++ b/specification/playwrighttesting/PlaywrightTesting.Management/back-compatible.tsp @@ -3,15 +3,19 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.AzurePlaywrightService; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Account.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AccountQuota.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Quota.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/stable/2024-12-01/playwrighttesting.json b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/stable/2024-12-01/playwrighttesting.json index b18262b87f97..4c930179a2f1 100644 --- a/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/stable/2024-12-01/playwrighttesting.json +++ b/specification/playwrighttesting/data-plane/Microsoft.PlaywrightTesting.AuthManager/stable/2024-12-01/playwrighttesting.json @@ -35,11 +35,22 @@ { "OAuth2Auth": [ "https://playwright.microsoft.com/.default" + ], + "OAuth2Auth_": [ + "https://playwright.microsoft.com/.default" ] } ], "securityDefinitions": { "OAuth2Auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "https://playwright.microsoft.com/.default": "" + } + }, + "OAuth2Auth_": { "type": "oauth2", "flow": "accessCode", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", diff --git a/specification/portal/Dashboard.Management/client.tsp b/specification/portal/Dashboard.Management/client.tsp index e71821571060..09e97b66866b 100644 --- a/specification/portal/Dashboard.Management/client.tsp +++ b/specification/portal/Dashboard.Management/client.tsp @@ -5,5 +5,6 @@ using Azure.ClientGenerator.Core; using Microsoft.Portal; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PatchableDashboard.properties ); diff --git a/specification/portalservices/CopilotSettings.Management/back-compatible.tsp b/specification/portalservices/CopilotSettings.Management/back-compatible.tsp index 2543e0e11417..da521a53f2cb 100644 --- a/specification/portalservices/CopilotSettings.Management/back-compatible.tsp +++ b/specification/portalservices/CopilotSettings.Management/back-compatible.tsp @@ -3,9 +3,11 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.PortalServices; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CopilotSettingsResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/portalservices/Extension.Management/client.tsp b/specification/portalservices/Extension.Management/client.tsp index 157671d190b9..48020ac77ab5 100644 --- a/specification/portalservices/Extension.Management/client.tsp +++ b/specification/portalservices/Extension.Management/client.tsp @@ -5,13 +5,16 @@ using Azure.ClientGenerator.Core; using Microsoft.PortalServices; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PatchablePortalExtension.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PatchableExtensionVersion.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PatchableExtensionSlot.properties ); diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/PostgresqlHsc/back-compatible.tsp b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/PostgresqlHsc/back-compatible.tsp index 3617e60f3751..19dff7f43995 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/PostgresqlHsc/back-compatible.tsp +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/PostgresqlHsc/back-compatible.tsp @@ -23,41 +23,52 @@ using Microsoft.DBforPostgreSQL; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Configuration.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerConfiguration.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FirewallRule.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Role.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Cluster.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ClusterServer.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ClusterForUpdate.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RoleProperties.externalIdentity ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SimplePrivateEndpointConnection.properties ); diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/back-compatible.tsp b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/back-compatible.tsp index ebe9f4da85b8..1307c979ba36 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/back-compatible.tsp +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/back-compatible.tsp @@ -4,10 +4,12 @@ using Azure.ClientGenerator.Core; using Microsoft.PowerBIDedicated; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedCapacityUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutoScaleVCoreUpdateParameters.properties ); @@ -16,6 +18,7 @@ using Microsoft.PowerBIDedicated; "capacityUpdateParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DedicatedCapacity.properties ); @@ -24,6 +27,7 @@ using Microsoft.PowerBIDedicated; "vCoreUpdateParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AutoScaleVCore.properties); @@clientName(CapacitiesOperationGroup.checkNameAvailability::parameters.body, diff --git a/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/back-compatible.tsp b/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/back-compatible.tsp index 30fab52fc039..a902be43d4fa 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/back-compatible.tsp +++ b/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/back-compatible.tsp @@ -6,6 +6,7 @@ using Microsoft.Network; @@clientName(PrivateZones.createOrUpdate::parameters.resource, "parameters"); @@clientName(PrivateZones.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateZone.properties); @@clientName(VirtualNetworkLinks.createOrUpdate::parameters.resource, @@ -13,12 +14,14 @@ using Microsoft.Network; ); @@clientName(VirtualNetworkLinks.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetworkLink.properties ); @@clientName(RecordSets.createOrUpdate::parameters.resource, "parameters"); @@clientName(RecordSets.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RecordSet.properties); // @@clientLocation decorators for operations with @operationId diff --git a/specification/programmableconnectivity/ProgrammableConnectivity.Management/back-compatible.tsp b/specification/programmableconnectivity/ProgrammableConnectivity.Management/back-compatible.tsp index ce881aaaef38..805ff72313eb 100644 --- a/specification/programmableconnectivity/ProgrammableConnectivity.Management/back-compatible.tsp +++ b/specification/programmableconnectivity/ProgrammableConnectivity.Management/back-compatible.tsp @@ -3,15 +3,19 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.ProgrammableConnectivity; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Gateway.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OperatorApiConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(OperatorApiPlan.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/purestorage/PureStorage.Block.Management/back-compatible.tsp b/specification/purestorage/PureStorage.Block.Management/back-compatible.tsp index 68dfe0b8673f..6bebfb563127 100644 --- a/specification/purestorage/PureStorage.Block.Management/back-compatible.tsp +++ b/specification/purestorage/PureStorage.Block.Management/back-compatible.tsp @@ -4,24 +4,31 @@ import "./LiftrBase.Storage/main.tsp"; using PureStorage.Block; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvsStorageContainer.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvsStorageContainerVolume.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvsVm.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(LiftrBase.Storage.Reservation.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvsVmVolume.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StoragePool.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/purviewpolicy/resource-manager/Microsoft.Purview/PurviewPolicy/backcompat.tsp b/specification/purviewpolicy/resource-manager/Microsoft.Purview/PurviewPolicy/backcompat.tsp index e9c3ff64e9e5..7d2747c8eeb6 100644 --- a/specification/purviewpolicy/resource-manager/Microsoft.Purview/PurviewPolicy/backcompat.tsp +++ b/specification/purviewpolicy/resource-manager/Microsoft.Purview/PurviewPolicy/backcompat.tsp @@ -5,6 +5,7 @@ using TypeSpec.Http; using Azure.ResourceManager; @@path(ResourceUriParameter.resourceUri, "scope"); +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "TODO: This should not be used, remove" @@Azure.ResourceManager.CommonTypes.Private.armCommonParameter(ResourceUriParameter.resourceUri, "ScopeParameter", Azure.ResourceManager.CommonTypes.Versions.v5 diff --git a/specification/quota/resource-manager/Microsoft.Quota/Quota/back-compatible.tsp b/specification/quota/resource-manager/Microsoft.Quota/Quota/back-compatible.tsp index b5459b3f74e2..055a19164fbe 100644 --- a/specification/quota/resource-manager/Microsoft.Quota/Quota/back-compatible.tsp +++ b/specification/quota/resource-manager/Microsoft.Quota/Quota/back-compatible.tsp @@ -4,36 +4,45 @@ using Azure.ClientGenerator.Core; using Microsoft.Quota; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GroupQuotaDetails.name); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GroupQuotaRequestBase.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GroupQuotaRequestBaseProperties.name ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SubscriptionQuotaDetails.name ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaAllocationRequestBase.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaAllocationRequestBaseProperties.name ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GroupQuotaUsagesBase.name); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaRequestOneResourceSubmitResponse.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaRequestSubmitResponse202.properties ); @@ -80,6 +89,7 @@ using Microsoft.Quota; "allocateQuotaRequest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaAllocationRequestStatus.properties ); @@ -158,6 +168,7 @@ using Microsoft.Quota; "!csharp" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(QuotaRequestDetails.properties ); diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/back-compatible.tsp b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/back-compatible.tsp index 8880b2b45eac..da9376cc3da6 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/back-compatible.tsp +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/back-compatible.tsp @@ -6,6 +6,7 @@ using Azure.ClientGenerator.Core; using Microsoft.RecoveryServices; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -30,6 +31,7 @@ using Microsoft.RecoveryServices; "python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VaultExtendedInfoResource.properties ); @@clientName(RecoveryServicesOperationGroup.capabilities::parameters.body, diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupEngineBaseResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupEngineBaseResource.tsp index 44be7da1adf1..726ea7f80752 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupEngineBaseResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupEngineBaseResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * The base backup engine class. All workload specific backup engines derive from this class. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(VaultResource) model BackupEngineBaseResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceConfigResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceConfigResource.tsp index 97f0d091e201..9bc6bf45b749 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceConfigResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceConfigResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * The resource storage details. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @singleton("vaultstorageconfig") @parentResource(VaultResource) model BackupResourceConfigResource diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceEncryptionConfigExtendedResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceEncryptionConfigExtendedResource.tsp index 74eeccd2750e..f8d6af4e9d0c 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceEncryptionConfigExtendedResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceEncryptionConfigExtendedResource.tsp @@ -11,6 +11,7 @@ using TypeSpec.Http; namespace Microsoft.RecoveryServices; #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @singleton("backupResourceEncryptionConfig") @parentResource(VaultResource) @doc("") @@ -31,6 +32,7 @@ model BackupResourceEncryptionConfigExtendedResource } #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @singleton("backupResourceEncryptionConfig") @parentResource(VaultResource) @doc("") diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceVaultConfigResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceVaultConfigResource.tsp index bcdd656f8bc3..813b6a7b8c82 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceVaultConfigResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/BackupResourceVaultConfigResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * Backup resource vault config details. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @singleton("vaultconfig") @parentResource(VaultResource) model BackupResourceVaultConfigResource diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/JobResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/JobResource.tsp index dba3315312f3..8f9b8eadcac9 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/JobResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/JobResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * Defines workload agnostic properties for a job. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(VaultResource) model JobResource is TrackedResourceWithOptionalLocation { ...ResourceNameParameter< diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/PrivateEndpointConnectionResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/PrivateEndpointConnectionResource.tsp index a01451337304..b1ddb9e3cf2a 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/PrivateEndpointConnectionResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/PrivateEndpointConnectionResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * Private Endpoint Connection Response Properties */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(VaultResource) model PrivateEndpointConnectionResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectedItemResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectedItemResource.tsp index 8f4d361f2062..ef77f455565c 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectedItemResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectedItemResource.tsp @@ -14,6 +14,7 @@ namespace Microsoft.RecoveryServices; * Base class for backup items. */ #suppress "@azure-tools/typespec-azure-resource-manager/beyond-nesting-levels" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(ProtectionContainerResource) model ProtectedItemResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionContainerResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionContainerResource.tsp index 8306e0401cc9..a6de76ce2b51 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionContainerResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionContainerResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * Base class for container with backup items. Containers with specific workloads are derived from this class. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(BackupFabricResource) model ProtectionContainerResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionIntentResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionIntentResource.tsp index 816e8f918968..a4d7052c968f 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionIntentResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionIntentResource.tsp @@ -11,6 +11,7 @@ namespace Microsoft.RecoveryServices; /** * Base class for backup ProtectionIntent. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(BackupFabricResource) model ProtectionIntentResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionPolicyResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionPolicyResource.tsp index bba439b577fd..7541c528c5b1 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionPolicyResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ProtectionPolicyResource.tsp @@ -12,6 +12,7 @@ namespace Microsoft.RecoveryServices; /** * Base class for backup policy. Workload-specific backup policies are derived from this class. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(VaultResource) model ProtectionPolicyResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/RecoveryPointResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/RecoveryPointResource.tsp index 9968893551e4..38bdf35d8f1b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/RecoveryPointResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/RecoveryPointResource.tsp @@ -14,6 +14,7 @@ namespace Microsoft.RecoveryServices; * Base class for backup copies. Workload-specific backup copies are derived from this class. */ #suppress "@azure-tools/typespec-azure-resource-manager/beyond-nesting-levels" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @parentResource(ProtectedItemResource) model RecoveryPointResource is TrackedResourceWithOptionalLocation { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ResourceGuardProxyBaseResource.tsp b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ResourceGuardProxyBaseResource.tsp index 30615e373787..ec1278079722 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ResourceGuardProxyBaseResource.tsp +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/RecoveryServicesBackup/ResourceGuardProxyBaseResource.tsp @@ -10,6 +10,7 @@ using Azure.ResourceManager.Legacy; namespace Microsoft.RecoveryServices; #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy TrackedResourceWithOptionalLocation for back compatibility" @doc("") @parentResource(VaultResource) model ResourceGuardProxyBaseResource diff --git a/specification/redis/resource-manager/Microsoft.Cache/Redis/back-compatible.tsp b/specification/redis/resource-manager/Microsoft.Cache/Redis/back-compatible.tsp index fcb4ce4a893a..fcfc1a90b502 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/Redis/back-compatible.tsp +++ b/specification/redis/resource-manager/Microsoft.Cache/Redis/back-compatible.tsp @@ -106,6 +106,7 @@ using Microsoft.Cache; // Existing client decorators and properties #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisCreateParameters.properties ); @@ -162,10 +163,12 @@ using Microsoft.Cache; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisLinkedServerCreateParameters.properties ); @@ -176,10 +179,12 @@ using Microsoft.Cache; @@clientName(RedisResources.importData::parameters.body, "parameters"); @@clientName(RedisResources.exportData::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: using flattening for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisResource.properties); @@clientName(PrivateEndpointConnections.put::parameters.resource, "properties"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -187,6 +192,7 @@ using Microsoft.Cache; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisFirewallRule.properties ); @@ -194,11 +200,13 @@ using Microsoft.Cache; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisPatchSchedule.properties ); @@clientName(LinkedServer.create::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisLinkedServerWithProperties.properties ); @@ -206,6 +214,7 @@ using Microsoft.Cache; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisCacheAccessPolicy.properties ); @@ -213,6 +222,7 @@ using Microsoft.Cache; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RedisCacheAccessPolicyAssignment.properties ); @@clientName(ScheduleEntries.scheduleEntries, "ScheduleEntries"); diff --git a/specification/redis/resource-manager/Microsoft.Cache/Redis/client.tsp b/specification/redis/resource-manager/Microsoft.Cache/Redis/client.tsp index 73f20b4a969d..83f39ce98e42 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/Redis/client.tsp +++ b/specification/redis/resource-manager/Microsoft.Cache/Redis/client.tsp @@ -41,6 +41,7 @@ using Microsoft.Cache; "java" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FORNOW: using flattened 'properties' for SDK backwards compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.CommonTypes.PrivateLinkResource.properties, "java" ); diff --git a/specification/relay/resource-manager/Microsoft.Relay/Relay/back-compatible.tsp b/specification/relay/resource-manager/Microsoft.Relay/Relay/back-compatible.tsp index 27aceab5dfcc..c0540427c6d3 100644 --- a/specification/relay/resource-manager/Microsoft.Relay/Relay/back-compatible.tsp +++ b/specification/relay/resource-manager/Microsoft.Relay/Relay/back-compatible.tsp @@ -5,10 +5,12 @@ using Azure.ClientGenerator.Core; using Microsoft.Relay; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RelayUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); @@clientName(AuthorizationRules.createOrUpdateAuthorizationRule::parameters.resource, @@ -27,6 +29,7 @@ using Microsoft.Relay; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AuthorizationRule.properties ); @@ -34,22 +37,26 @@ using Microsoft.Relay; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HybridConnection.properties ); @@clientName(RelayNamespaces.createOrUpdate::parameters.resource, "parameters"); @@clientName(RelayNamespaces.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RelayNamespace.properties); @@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -57,10 +64,12 @@ using Microsoft.Relay; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkRuleSet.properties); @@clientName(WcfRelaysOps.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WcfRelay.properties); // AuthorizationRules operations diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp index a428f638e3e1..468a80b5826d 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp @@ -140,5 +140,6 @@ interface Appliances { @@doc(Appliances.update::parameters.properties, "The updatable fields of an existing Appliance." ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Appliances.update::parameters.properties ); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp index 86bdb4766a89..ede95507a11e 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp @@ -4,10 +4,12 @@ using Azure.ClientGenerator.Core; using Microsoft.ResourceConnector; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplianceOperation.display); @@clientName(Appliances.createOrUpdate::parameters.resource, "parameters"); @@clientName(Appliances.update::parameters.properties, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Appliance.properties); @@clientLocation(AppliancesOperationGroup.getTelemetryConfig, Appliances); diff --git a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp index d23f0f4e7d42..64558e616369 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp +++ b/specification/resources/resource-manager/Microsoft.Resources/deploymentStacks/back-compat.tsp @@ -7,6 +7,7 @@ using Azure.ClientGenerator.Core; namespace Microsoft.Resources.DeploymentStacks; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backwards compat with old swagger" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeploymentStack.properties); @@clientName(DeploymentStacksAtResourceGroup.createOrUpdate::parameters.resource, diff --git a/specification/scvmm/ScVmm.Management/BackCompat.tsp b/specification/scvmm/ScVmm.Management/BackCompat.tsp index 9e14c9616337..b3e88a56290e 100644 --- a/specification/scvmm/ScVmm.Management/BackCompat.tsp +++ b/specification/scvmm/ScVmm.Management/BackCompat.tsp @@ -6,30 +6,39 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.ScVmm; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvailabilitySet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Cloud.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GuestAgent.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachineTemplate.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualNetwork.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VmInstanceHybridIdentityMetadata.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VmmServer.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/back-compatible.tsp b/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/back-compatible.tsp index 92217a9fb15f..ac95776befd1 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/back-compatible.tsp +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/back-compatible.tsp @@ -4,20 +4,25 @@ using Azure.ClientGenerator.Core; using Microsoft.ServiceBus; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBNamespaceUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FailOver.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FailoverProperties.properties ); @@ -36,12 +41,14 @@ using Microsoft.ServiceBus; @@clientLocation(SBNamespaces.checkNameAvailability, DisasterRecoveryConfigs); @@clientName(SBNamespaces.checkNameAvailability::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBNamespace.properties); @@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -49,6 +56,7 @@ using Microsoft.ServiceBus; "NetworkSecurityPerimeterConfiguration" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSecurityPerimeterConfiguration.properties ); @@ -63,6 +71,7 @@ using Microsoft.ServiceBus; @@clientLocation(ArmDisasterRecoveries.failOver, DisasterRecoveryConfigs); @@clientName(ArmDisasterRecoveries.failOver::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArmDisasterRecovery.properties ); @@ -70,6 +79,7 @@ using Microsoft.ServiceBus; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(MigrationConfigProperties.properties ); @@ -81,6 +91,7 @@ using Microsoft.ServiceBus; @@clientLocation(NetworkRuleSets.listNetworkRuleSets, "Namespaces"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkRuleSet.properties); @@clientLocation(SBAuthorizationRules.getAuthorizationRule, "Namespaces"); @@ -106,6 +117,7 @@ using Microsoft.ServiceBus; ); @@clientName(Topics.regenerateKeys::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBAuthorizationRule.properties ); @@ -115,6 +127,7 @@ using Microsoft.ServiceBus; @@clientLocation(SBQueues.delete, Queues); @@clientLocation(SBQueues.listByNamespace, Queues); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBQueue.properties); @@clientLocation(SBTopics.get, Topics); @@ -123,10 +136,12 @@ using Microsoft.ServiceBus; @@clientLocation(SBTopics.delete, Topics); @@clientLocation(SBTopics.listByNamespace, Topics); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBTopic.properties); @@clientName(Rules.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Rule.properties); @@clientLocation(SBSubscriptions.get, "Subscriptions"); @@ -135,6 +150,7 @@ using Microsoft.ServiceBus; @@clientLocation(SBSubscriptions.delete, "Subscriptions"); @@clientLocation(SBSubscriptions.listByTopic, "Subscriptions"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SBSubscription.properties); @@clientLocation(NamespacesOperationGroup.checkNameAvailability, "Namespaces"); diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/models.tsp b/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/models.tsp index c377e69db894..d7224c5f6f25 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/models.tsp +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/models.tsp @@ -851,6 +851,7 @@ model FailOver { properties?: FailOverProperties; } +#suppress "@azure-tools/typespec-azure-core/no-case-mismatch" "Name conflict with FailoverProperties, see if they can be combined" #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model FailOverProperties { /** @@ -1232,6 +1233,7 @@ model ArmDisasterRecoveryProperties { /** * Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary. */ +#suppress "@azure-tools/typespec-azure-core/no-case-mismatch" "Name conflict with FailOverProperties, see if they can be combined" model FailoverProperties { /** * Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary. diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp index 8798047f3eb2..612b067270b9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp @@ -21,6 +21,7 @@ using Microsoft.ServiceFabric; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VMSSExtension.properties); @@clientName(ApplicationTypes.createOrUpdate::parameters.resource, @@ -28,6 +29,7 @@ using Microsoft.ServiceFabric; ); @@clientName(ApplicationTypes.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationTypeResource.properties ); @@ -38,6 +40,7 @@ using Microsoft.ServiceFabric; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationTypeVersionResource.properties ); @@ -50,6 +53,7 @@ using Microsoft.ServiceFabric; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationResource.properties ); @@ -67,9 +71,11 @@ using Microsoft.ServiceFabric; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ManagedCluster.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ManagedClusterCodeVersionResult.properties ); @@ -85,6 +91,7 @@ using Microsoft.ServiceFabric; @@clientName(NodeTypes.startFaultSimulation::parameters.body, "parameters"); @@clientName(NodeTypes.stopFaultSimulation::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(NodeType.properties); @@Azure.ResourceManager.identifiers(FaultSimulationListResult.value, diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/back-compatible.tsp b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/back-compatible.tsp index ad6fc60995ed..4a4275fdc6bb 100644 --- a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/back-compatible.tsp +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/back-compatible.tsp @@ -6,18 +6,23 @@ using Azure.ResourceManager; using Microsoft.ServiceNetworking; // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Association.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Frontend.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecurityPolicy.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TrafficController.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/client.tsp b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/client.tsp index 4b64904b7acc..dcae80af447b 100644 --- a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/client.tsp +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/client.tsp @@ -27,22 +27,27 @@ using Microsoft.ServiceNetworking; // csharp #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Frontend.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Association.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AssociationUpdate.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TrafficController.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecurityPolicy.properties, "csharp" ); diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp b/specification/signalr/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp index 7a929ca7ce92..023a0f06951f 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp @@ -4,6 +4,7 @@ using Azure.ClientGenerator.Core; using Microsoft.SignalRService; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -13,12 +14,14 @@ using Microsoft.SignalRService; @@clientName(SignalRResources.update::parameters.properties, "parameters"); @@clientName(SignalRResources.regenerateKey::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SignalRResource.properties); @@clientName(PrivateEndpointConnections.update::parameters.resource, "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -29,6 +32,7 @@ using Microsoft.SignalRService; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedPrivateLinkResource.properties ); @@ -36,16 +40,19 @@ using Microsoft.SignalRService; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomCertificate.properties ); @@clientName(CustomDomains.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomDomain.properties); @@clientName(Replicas.createOrUpdate::parameters.resource, "parameters"); @@clientName(Replicas.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Replica.properties); @@clientName(SignalROperationGroup.checkNameAvailability::parameters.body, diff --git a/specification/sphere/Sphere.Management/back-compatible.tsp b/specification/sphere/Sphere.Management/back-compatible.tsp index 362d359783e6..09b0fc9a25ef 100644 --- a/specification/sphere/Sphere.Management/back-compatible.tsp +++ b/specification/sphere/Sphere.Management/back-compatible.tsp @@ -3,27 +3,35 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.AzureSphere; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Catalog.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Certificate.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Deployment.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Device.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceGroup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Image.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Product.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/splitio/SplitIO.Experimentation.Management/back-compatible.tsp b/specification/splitio/SplitIO.Experimentation.Management/back-compatible.tsp index dfbcd106ef81..ea06cfc417fe 100644 --- a/specification/splitio/SplitIO.Experimentation.Management/back-compatible.tsp +++ b/specification/splitio/SplitIO.Experimentation.Management/back-compatible.tsp @@ -1,9 +1,11 @@ // Contains overrides to make the Autorest Swagger2.0 back compatible using SplitIO.Experimentation; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExperimentationWorkspace.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/back-compatible.tsp b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/back-compatible.tsp index e3ecf14f1d03..890df5e1265a 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/back-compatible.tsp +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/back-compatible.tsp @@ -14,6 +14,7 @@ using Microsoft.SqlVirtualMachine; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AvailabilityGroupListener.properties ); @@ -24,6 +25,7 @@ using Microsoft.SqlVirtualMachine; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SqlVirtualMachineGroup.properties ); @@ -37,5 +39,6 @@ using Microsoft.SqlVirtualMachine; @@clientName(SqlVirtualMachines.troubleshoot::parameters.body, "parameters"); @@clientName(Operation, "Info", "csharp"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SqlVirtualMachine.properties ); diff --git a/specification/standbypool/StandbyPool.Management/back-compatible.tsp b/specification/standbypool/StandbyPool.Management/back-compatible.tsp index f0f6e8bef6f5..c3ede2813123 100644 --- a/specification/standbypool/StandbyPool.Management/back-compatible.tsp +++ b/specification/standbypool/StandbyPool.Management/back-compatible.tsp @@ -8,21 +8,27 @@ import "./standbyContainerGroupPoolRuntimeView.tsp"; using Microsoft.StandbyPool; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StandbyContainerGroupPoolResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StandbyContainerGroupPoolRuntimeViewResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StandbyVirtualMachinePoolResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StandbyVirtualMachinePoolRuntimeViewResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StandbyVirtualMachineResource.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "autorest" ); diff --git a/specification/storageactions/StorageAction.Management/back-compatible.tsp b/specification/storageactions/StorageAction.Management/back-compatible.tsp index 5ec2021a8fbc..22d1c48066a7 100644 --- a/specification/storageactions/StorageAction.Management/back-compatible.tsp +++ b/specification/storageactions/StorageAction.Management/back-compatible.tsp @@ -4,11 +4,13 @@ using Azure.ClientGenerator.Core; using Microsoft.StorageActions; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageTaskPreviewAction.properties, "!csharp,!java,!python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageTaskUpdateParameters.properties, "!csharp,!java,!python" ); @@ -20,6 +22,7 @@ using Microsoft.StorageActions; ); @@clientName(StorageTasks.storageTaskAssignmentList, "List"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageTask.properties, "!csharp,!java,!python" ); diff --git a/specification/storagemover/StorageMover.Management/back-compatible.tsp b/specification/storagemover/StorageMover.Management/back-compatible.tsp index ea1a94ddc5e6..e28c79f1187e 100644 --- a/specification/storagemover/StorageMover.Management/back-compatible.tsp +++ b/specification/storagemover/StorageMover.Management/back-compatible.tsp @@ -4,29 +4,35 @@ using Azure.ClientGenerator.Core; using Microsoft.StorageMover; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageMoverUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AgentUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProjectUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(JobDefinitionUpdateParameters.properties ); @@clientName(StorageMovers.createOrUpdate::parameters.resource, "storageMover"); @@clientName(StorageMovers.update::parameters.properties, "storageMover"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageMover.properties); @@clientName(Agents.createOrUpdate::parameters.resource, "agent"); @@clientName(Agents.update::parameters.properties, "agent"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Agent.properties); @@clientName(Endpoints.createOrUpdate::parameters.resource, @@ -38,6 +44,7 @@ using Microsoft.StorageMover; @@clientName(Projects.createOrUpdate::parameters.resource, "project"); @@clientName(Projects.update::parameters.properties, "project"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Project.properties); @@clientName(JobDefinitions.createOrUpdate::parameters.resource, @@ -45,9 +52,11 @@ using Microsoft.StorageMover; ); @@clientName(JobDefinitions.update::parameters.properties, "jobDefinition"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(JobDefinition.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(JobRun.properties); @@clientName(Connections.createOrUpdate::parameters.resource, diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/StorageSync/back-compatible.tsp b/specification/storagesync/resource-manager/Microsoft.StorageSync/StorageSync/back-compatible.tsp index bb43c3aa83d8..602f9882ff56 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/StorageSync/back-compatible.tsp +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/StorageSync/back-compatible.tsp @@ -4,48 +4,59 @@ using Azure.ClientGenerator.Core; using Microsoft.StorageSync; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageSyncServiceCreateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageSyncServiceUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SyncGroupCreateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudEndpointCreateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PostBackupResponse.backupMetadata ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerEndpointCreateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerEndpointUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RegisteredServerCreateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RegisteredServerUpdateParameters.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SubscriptionState.properties ); @@clientName(StorageSyncServices.create::parameters.resource, "parameters"); @@clientName(StorageSyncServices.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageSyncService.properties ); @@ -53,11 +64,13 @@ using Microsoft.StorageSync; "properties" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@clientName(SyncGroups.create::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SyncGroup.properties); @@clientName(CloudEndpoints.create::parameters.resource, "parameters"); @@ -69,12 +82,14 @@ using Microsoft.StorageSync; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudEndpoint.properties); @@clientName(ServerEndpoints.create::parameters.resource, "parameters"); @@clientName(ServerEndpoints.update::parameters.properties, "parameters"); @@clientName(ServerEndpoints.recallAction::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerEndpoint.properties); @@clientName(RegisteredServers.create::parameters.resource, "parameters"); @@ -84,10 +99,12 @@ using Microsoft.StorageSync; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(RegisteredServer.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Workflow.properties); @@clientLocation(OperationStatusOperationGroup.get, diff --git a/specification/support/resource-manager/Microsoft.Support/Support/back-compatible.tsp b/specification/support/resource-manager/Microsoft.Support/Support/back-compatible.tsp index 2c05f54f6176..419fd306fd8b 100644 --- a/specification/support/resource-manager/Microsoft.Support/Support/back-compatible.tsp +++ b/specification/support/resource-manager/Microsoft.Support/Support/back-compatible.tsp @@ -4,9 +4,11 @@ using Azure.ClientGenerator.Core; using Microsoft.Support; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Service.properties); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProblemClassification.properties ); @@ -35,6 +37,7 @@ using Microsoft.Support; "checkNameAvailabilityInput" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SupportTicketDetails.properties ); @@ -45,14 +48,17 @@ using Microsoft.Support; "createCommunicationParameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunicationDetails.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ChatTranscriptDetails.properties ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FileWorkspaceDetails.properties ); @@ -63,6 +69,7 @@ using Microsoft.Support; ); @@clientName(FilesNoSubscription.upload::parameters.body, "uploadFile"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(FileDetails.properties); // @@clientLocation decorators for operations with custom @operationId diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp index ae41d058f525..51cb897492e1 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp @@ -8,6 +8,7 @@ using Microsoft.Network; @@clientName(Endpoints.createOrUpdate::parameters.resource, "parameters"); @@clientName(Endpoints.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Endpoint.properties); @@clientName(Profiles.createOrUpdate::parameters.resource, "parameters"); @@ -21,17 +22,20 @@ using Microsoft.Network; ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Profile.properties); @@clientLocation(TrafficManagerGeographicHierarchies.getDefault, "GeographicHierarchies" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(TrafficManagerGeographicHierarchy.properties ); @@clientLocation(HeatMapModels.get, "HeatMap"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HeatMapModel.properties); @@clientLocation(UserMetricsModels.get, "TrafficManagerUserMetricsKeys"); @@ -43,6 +47,7 @@ using Microsoft.Network; @@clientLocation(UserMetricsModels.delete, "TrafficManagerUserMetricsKeys"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(UserMetricsModel.properties ); diff --git a/specification/verifiedid/Microsoft.VerifiedId.Management/back-compatible.tsp b/specification/verifiedid/Microsoft.VerifiedId.Management/back-compatible.tsp index 127bd112e688..2aae3c1339b0 100644 --- a/specification/verifiedid/Microsoft.VerifiedId.Management/back-compatible.tsp +++ b/specification/verifiedid/Microsoft.VerifiedId.Management/back-compatible.tsp @@ -3,6 +3,7 @@ import "@azure-tools/typespec-azure-resource-manager"; using Microsoft.VerifiedId; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Authority.properties, "autorest" ); diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/back-compatible.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/back-compatible.tsp index 214fe7200ae6..a3a2c8993d77 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/back-compatible.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/back-compatible.tsp @@ -163,72 +163,95 @@ using Microsoft.AVS; @@clientName(WorkloadNetworkDhcpConfigurations.delete, "DeleteDhcp"); // Flatten properties for backward compatibility +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudLink.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Cluster.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Datastore.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExpressRouteAuthorization.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GlobalReachConnection.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HcxEnterpriseSite.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IscsiPath.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateCloud.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProvisionedNetwork.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PureStoragePolicy.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptCmdlet.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptExecution.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptPackage.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachine.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkDnsService.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkDnsZone.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkGateway.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkPortMirroring.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetwork.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkPublicIP.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkSegment.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVMGroup.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVirtualMachine.properties, "autorest" ); diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp b/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp index 7b29a29a047c..9d09abd0cc5a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp @@ -332,116 +332,144 @@ using Microsoft.AVS; // flatten #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.TrackedResource.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Location.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Cluster.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Datastore.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(HcxEnterpriseSite.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ExpressRouteAuthorization.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(GlobalReachConnection.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetwork.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkSegment.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkGateway.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkPortMirroring.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVMGroup.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVirtualMachine.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkDnsService.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkDnsZone.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkPublicIP.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudLink.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(VirtualMachine.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptPackage.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptCmdlet.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptExecution.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(IscsiPath.properties, "java,python,csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateCloud.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateCloudUpdate.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ClusterUpdate.properties, "java,python" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PlacementPolicyUpdate.properties, "java,python" ); diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json index b806750c18ec..300254480471 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/stable/2025-09-01/vmware.json @@ -3714,6 +3714,7 @@ "description": "Name of the license.", "required": true, "type": "string", + "pattern": "^[-\\w\\._]+$", "enum": [ "VmwareFirewall" ], @@ -3780,6 +3781,7 @@ "description": "Name of the license.", "required": true, "type": "string", + "pattern": "^[-\\w\\._]+$", "enum": [ "VmwareFirewall" ], @@ -3876,6 +3878,7 @@ "description": "Name of the license.", "required": true, "type": "string", + "pattern": "^[-\\w\\._]+$", "enum": [ "VmwareFirewall" ], @@ -3959,6 +3962,7 @@ "description": "Name of the license.", "required": true, "type": "string", + "pattern": "^[-\\w\\._]+$", "enum": [ "VmwareFirewall" ], diff --git a/specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp b/specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp index 0d986789486a..b07a0f42f20c 100644 --- a/specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp +++ b/specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService/back-compatible.tsp @@ -4,6 +4,7 @@ using Azure.ClientGenerator.Core; using Microsoft.SignalRService; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateLinkResource.properties ); @@ -13,6 +14,7 @@ using Microsoft.SignalRService; @@clientName(WebPubSubResources.update::parameters.properties, "parameters"); @@clientName(WebPubSubResources.regenerateKey::parameters.body, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(WebPubSubResource.properties ); @@ -20,6 +22,7 @@ using Microsoft.SignalRService; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(PrivateEndpointConnection.properties ); @@ -30,6 +33,7 @@ using Microsoft.SignalRService; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SharedPrivateLinkResource.properties ); @@ -37,11 +41,13 @@ using Microsoft.SignalRService; "parameters" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomCertificate.properties ); @@clientName(CustomDomains.createOrUpdate::parameters.resource, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CustomDomain.properties); @@clientName(WebPubSubHubs.createOrUpdate::parameters.resource, "parameters"); @@ -49,6 +55,7 @@ using Microsoft.SignalRService; @@clientName(Replicas.createOrUpdate::parameters.resource, "parameters"); @@clientName(Replicas.update::parameters.properties, "parameters"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Replica.properties); @@clientName(WebPubSubOperationGroup.checkNameAvailability::parameters.body, "parameters" diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/back-compatible.tsp b/specification/workloads/Workloads.SAPDiscoverySite.Management/back-compatible.tsp index 401514d4ce18..9ef2768ba2a0 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/back-compatible.tsp +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/back-compatible.tsp @@ -6,12 +6,15 @@ using Microsoft.Workloads; @@clientName(SAPDiscoverySites, "SapDiscoverySites", "autorest"); @@clientName(SAPInstances, "SapInstances", "autorest"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPDiscoverySite.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ServerInstance.properties, "autorest" ); diff --git a/specification/workloads/Workloads.SAPMonitor.Management/back-compatible.tsp b/specification/workloads/Workloads.SAPMonitor.Management/back-compatible.tsp index d0d2d9a5c19a..762f7c2e5597 100644 --- a/specification/workloads/Workloads.SAPMonitor.Management/back-compatible.tsp +++ b/specification/workloads/Workloads.SAPMonitor.Management/back-compatible.tsp @@ -4,18 +4,23 @@ using Azure.ClientGenerator.Core; using Microsoft.Workloads; +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Alert.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(AlertTemplate.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Monitor.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ProviderInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SapLandscapeMonitorResource.properties, "autorest" ); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/back-compatible.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/back-compatible.tsp index acfcbc865753..fc3ee4917680 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/back-compatible.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/back-compatible.tsp @@ -18,15 +18,19 @@ using Microsoft.Workloads; "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPApplicationServerInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPCentralServerInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPVirtualInstance.properties, "autorest" ); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPDatabaseInstance.properties, "autorest" ); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/client.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/client.tsp index 0bd4bae822bf..b483393b07cb 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/client.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/client.tsp @@ -115,18 +115,22 @@ using Microsoft.Workloads; // CSharp #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPApplicationServerInstance.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPCentralServerInstance.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPDatabaseInstance.properties, "csharp" ); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(SAPVirtualInstance.properties, "csharp" ); From 3b9a60219b0db9ecac93bd13f8624e23197e7cec Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 11:32:09 -0500 Subject: [PATCH 2/9] fix --- .../Microsoft.CostManagement/CostManagement/Setting.tsp | 1 + .../CostManagement/stable/2025-03-01/openapi.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/Setting.tsp b/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/Setting.tsp index 73a97efdd46c..f915e715b44b 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/Setting.tsp +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/Setting.tsp @@ -14,6 +14,7 @@ namespace Microsoft.CostManagement; /** * Setting definition. */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility" @discriminator("kind") model Setting is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/stable/2025-03-01/openapi.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/stable/2025-03-01/openapi.json index 763770106da9..0f2a5bbbdd14 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/stable/2025-03-01/openapi.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/CostManagement/stable/2025-03-01/openapi.json @@ -9825,7 +9825,8 @@ "properties": { "kind": { "$ref": "#/definitions/SettingsKind", - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", + "pattern": "^[-\\w\\._,\\(\\\\\\)]+$" } }, "discriminator": "kind", From cd0df309eab93aa0fd74934579f5826f3b66346c Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 13:26:45 -0500 Subject: [PATCH 3/9] fix some samples --- .../2025-05-15-preview/CreateAgent_MaximumSet_Gen.json | 2 +- .../examples/v1/CreateAgent_MaximumSet_Gen.json | 2 +- .../examples/v1/CreateAgent_MinimumSet_Gen.json | 2 +- .../examples/v1/GetAgent_MaximumSet_Gen.json | 2 +- .../examples/v1/GetAgent_MinimumSet_Gen.json | 2 +- .../examples/v1/ListAgents_MaximumSet_Gen.json | 2 +- .../examples/v1/ListAgents_MinimumSet_Gen.json | 2 +- .../examples/v1/UpdateAgent_MinimumSet_Gen.json | 2 +- .../examples/CreateAgent_MaximumSet_Gen.json | 6 +++--- .../examples/CreateAgent_MinimumSet_Gen.json | 4 ++-- .../stable/v1/examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/CreateAgent_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/GetAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/GetAgent_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/ListAgents_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/ListAgents_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/UpdateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/UpdateAgent_MinimumSet_Gen.json | 4 ++-- 18 files changed, 22 insertions(+), 22 deletions(-) diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json index 225b984e52b2..f232a9b9c137 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json @@ -87,7 +87,7 @@ ] } }, - "temperature": 20, + "temperature": 1.3, "top_p": 4, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" diff --git a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json index 2ec127e024d3..0b51148969a9 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json @@ -237,7 +237,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json index d6114ff310af..e97137de1383 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json index 0ef7e548524f..e2788ee20433 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json @@ -121,7 +121,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json index 7f5ad4e6a362..984d7485f553 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json @@ -21,7 +21,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json index 1af7047588d8..c7e0f7987ea5 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json @@ -126,7 +126,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json index e5e4993b759f..fcd611608eda 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json @@ -22,7 +22,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json index b075369c5da7..98bbea80bf40 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json @@ -22,7 +22,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json index 225b984e52b2..1385c440e2a0 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json @@ -87,7 +87,7 @@ ] } }, - "temperature": 20, + "temperature": 1.5, "top_p": 4, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" @@ -183,8 +183,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.3, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json index aeb79cf825b0..10dd5337adff 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json @@ -23,8 +23,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.3, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json index 2ec127e024d3..0b51148969a9 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json @@ -237,7 +237,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json index d6114ff310af..e97137de1383 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json index 0ef7e548524f..e2788ee20433 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json @@ -121,7 +121,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json index 7f5ad4e6a362..984d7485f553 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json @@ -21,7 +21,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json index 1af7047588d8..c7e0f7987ea5 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json @@ -126,7 +126,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json index e5e4993b759f..fcd611608eda 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json @@ -22,7 +22,7 @@ } ], "tool_resources": {}, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": {} } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json index a1050875b0a6..1fcfd13b3f8f 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json @@ -238,7 +238,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 20, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json index b075369c5da7..640c322216db 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 24, - "top_p": 20, + "temperature": 1.8, + "top_p": 0.8, "metadata": {} } } From d4061f76036f013c7f1650ad9b25e2e4750cca46 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 13:33:00 -0500 Subject: [PATCH 4/9] more sample fix --- .../examples/2025-05-01/CreateAgent_MaximumSet_Gen.json | 2 +- .../examples/2025-05-01/CreateAgent_MinimumSet_Gen.json | 2 +- .../examples/2025-05-01/GetAgent_MaximumSet_Gen.json | 2 +- .../examples/2025-05-01/GetAgent_MinimumSet_Gen.json | 2 +- .../examples/2025-05-01/ListAgents_MaximumSet_Gen.json | 2 +- .../examples/2025-05-01/ListAgents_MinimumSet_Gen.json | 2 +- .../examples/2025-05-01/UpdateAgent_MinimumSet_Gen.json | 2 +- .../2025-05-15-preview/CreateAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-15-preview/CreateAgent_MinimumSet_Gen.json | 4 ++-- .../examples/2025-05-15-preview/GetAgent_MaximumSet_Gen.json | 4 ++-- .../examples/2025-05-15-preview/GetAgent_MinimumSet_Gen.json | 4 ++-- .../2025-05-15-preview/ListAgents_MaximumSet_Gen.json | 4 ++-- .../2025-05-15-preview/ListAgents_MinimumSet_Gen.json | 4 ++-- .../2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-15-preview/UpdateAgent_MinimumSet_Gen.json | 4 ++-- .../examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../2025-05-15-preview/examples/GetAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-15-preview/examples/GetAgent_MinimumSet_Gen.json | 4 ++-- .../examples/ListAgents_MaximumSet_Gen.json | 4 ++-- .../examples/ListAgents_MinimumSet_Gen.json | 4 ++-- .../examples/UpdateAgent_MinimumSet_Gen.json | 4 ++-- .../2025-05-01/examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../2025-05-01/examples/CreateAgent_MinimumSet_Gen.json | 2 +- .../stable/2025-05-01/examples/GetAgent_MaximumSet_Gen.json | 2 +- .../stable/2025-05-01/examples/GetAgent_MinimumSet_Gen.json | 2 +- .../stable/2025-05-01/examples/ListAgents_MaximumSet_Gen.json | 2 +- .../stable/2025-05-01/examples/ListAgents_MinimumSet_Gen.json | 2 +- .../2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json | 2 +- .../2025-05-01/examples/UpdateAgent_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/CreateAgent_MaximumSet_Gen.json | 2 +- 30 files changed, 43 insertions(+), 43 deletions(-) diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json index 1310dfc9ea13..2b1945f83eae 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json @@ -272,7 +272,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MinimumSet_Gen.json index d024ed4f00db..f5d33d615eab 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MinimumSet_Gen.json @@ -24,7 +24,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MaximumSet_Gen.json index 02f981c6606f..351ae76c5b0d 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MaximumSet_Gen.json @@ -139,7 +139,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MinimumSet_Gen.json index 90f121f493e1..e0181a21720e 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/GetAgent_MinimumSet_Gen.json @@ -22,7 +22,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MaximumSet_Gen.json index d1deef797ab6..66efee428688 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MaximumSet_Gen.json @@ -144,7 +144,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MinimumSet_Gen.json index 7011de67e272..c634b3f96973 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/ListAgents_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } ], diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MinimumSet_Gen.json index 435f06cca044..51087d51b300 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json index f232a9b9c137..fa38846e9a15 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json @@ -183,8 +183,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MinimumSet_Gen.json index aeb79cf825b0..40fdcb4afc1b 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MinimumSet_Gen.json @@ -23,8 +23,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MaximumSet_Gen.json index bc991187b918..f662f03097ad 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MaximumSet_Gen.json @@ -94,8 +94,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MinimumSet_Gen.json index 1936db31563a..51962ba5d825 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/GetAgent_MinimumSet_Gen.json @@ -21,8 +21,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MaximumSet_Gen.json index 6ecca8f88492..7af9eb24839c 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MaximumSet_Gen.json @@ -99,8 +99,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MinimumSet_Gen.json index 3d074c2d9fb6..df6e7df32f6a 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/ListAgents_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } ], diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json index 4e74b9690f55..b39066ad8ca8 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json @@ -184,8 +184,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MinimumSet_Gen.json index aaf2940c8b9a..222eb4005a1c 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json index 1385c440e2a0..2dbbee338e41 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json @@ -88,7 +88,7 @@ } }, "temperature": 1.5, - "top_p": 4, + "top_p": 0.95, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MaximumSet_Gen.json index bc991187b918..f662f03097ad 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MaximumSet_Gen.json @@ -94,8 +94,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MinimumSet_Gen.json index 1936db31563a..51962ba5d825 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/GetAgent_MinimumSet_Gen.json @@ -21,8 +21,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MaximumSet_Gen.json index 6ecca8f88492..7af9eb24839c 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MaximumSet_Gen.json @@ -99,8 +99,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MinimumSet_Gen.json index 3d074c2d9fb6..df6e7df32f6a 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/ListAgents_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } ], diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MinimumSet_Gen.json index aaf2940c8b9a..222eb4005a1c 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.8, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json index 1310dfc9ea13..2b1945f83eae 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json @@ -272,7 +272,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MinimumSet_Gen.json index d024ed4f00db..f5d33d615eab 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MinimumSet_Gen.json @@ -24,7 +24,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MaximumSet_Gen.json index 02f981c6606f..351ae76c5b0d 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MaximumSet_Gen.json @@ -139,7 +139,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MinimumSet_Gen.json index 90f121f493e1..e0181a21720e 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/GetAgent_MinimumSet_Gen.json @@ -22,7 +22,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MaximumSet_Gen.json index d1deef797ab6..66efee428688 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MaximumSet_Gen.json @@ -144,7 +144,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MinimumSet_Gen.json index 7011de67e272..c634b3f96973 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/ListAgents_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } ], diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json index 13f8248cddc7..87e72e4244c9 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json @@ -273,7 +273,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MinimumSet_Gen.json index 435f06cca044..51087d51b300 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json index 0b51148969a9..2d8a779abe7c 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json @@ -115,7 +115,7 @@ } }, "temperature": 6, - "top_p": 23, + "top_p": 0.9, "metadata": { "key8245": "ewikwssxqxtrhgz" } From 97efda099f5acf3b37a52810bdd32d4c6ec90cd0 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 13:35:27 -0500 Subject: [PATCH 5/9] more sample fix --- .../examples/2025-05-01/CreateAgent_MaximumSet_Gen.json | 4 ++-- .../examples/v1/CreateAgent_MaximumSet_Gen.json | 6 +++--- .../examples/v1/CreateAgent_MinimumSet_Gen.json | 2 +- .../examples/v1/GetAgent_MaximumSet_Gen.json | 2 +- .../examples/v1/GetAgent_MinimumSet_Gen.json | 2 +- .../examples/v1/ListAgents_MaximumSet_Gen.json | 2 +- .../examples/v1/ListAgents_MinimumSet_Gen.json | 2 +- .../examples/v1/UpdateAgent_MaximumSet_Gen.json | 2 +- .../examples/v1/UpdateAgent_MinimumSet_Gen.json | 2 +- .../examples/UpdateAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-01/examples/CreateAgent_MaximumSet_Gen.json | 4 ++-- .../stable/v1/examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/CreateAgent_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/GetAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/GetAgent_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/ListAgents_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/ListAgents_MinimumSet_Gen.json | 2 +- .../stable/v1/examples/UpdateAgent_MaximumSet_Gen.json | 2 +- 18 files changed, 23 insertions(+), 23 deletions(-) diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json index 2b1945f83eae..9e7f5a61a91d 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/CreateAgent_MaximumSet_Gen.json @@ -131,8 +131,8 @@ ] } }, - "temperature": 15, - "top_p": 22, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key5342": "kqc" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json index 0b51148969a9..796693294197 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MaximumSet_Gen.json @@ -114,8 +114,8 @@ ] } }, - "temperature": 6, - "top_p": 23, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key8245": "ewikwssxqxtrhgz" } @@ -238,7 +238,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json index e97137de1383..ca20e988596e 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/CreateAgent_MinimumSet_Gen.json @@ -24,7 +24,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json index e2788ee20433..26438fd6d041 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MaximumSet_Gen.json @@ -122,7 +122,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json index 984d7485f553..950a9db187a4 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/GetAgent_MinimumSet_Gen.json @@ -22,7 +22,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json index c7e0f7987ea5..a954827ece2e 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MaximumSet_Gen.json @@ -127,7 +127,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json index fcd611608eda..6480f77d2cdc 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/ListAgents_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } ], diff --git a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json index a1050875b0a6..b734ff4721d1 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json @@ -239,7 +239,7 @@ } }, "temperature": 24, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json index 98bbea80bf40..abd89deecb23 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json index 4e74b9690f55..e8242b2381fa 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json @@ -184,8 +184,8 @@ ] } }, - "temperature": 17, - "top_p": 28, + "temperature": 1.7, + "top_p": 0.9, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json index 2b1945f83eae..9e7f5a61a91d 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/CreateAgent_MaximumSet_Gen.json @@ -131,8 +131,8 @@ ] } }, - "temperature": 15, - "top_p": 22, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key5342": "kqc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json index 2d8a779abe7c..38764889c134 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json @@ -238,7 +238,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json index e97137de1383..ca20e988596e 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MinimumSet_Gen.json @@ -24,7 +24,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json index e2788ee20433..26438fd6d041 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MaximumSet_Gen.json @@ -122,7 +122,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json index 984d7485f553..950a9db187a4 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/GetAgent_MinimumSet_Gen.json @@ -22,7 +22,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json index c7e0f7987ea5..a954827ece2e 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MaximumSet_Gen.json @@ -127,7 +127,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json index fcd611608eda..6480f77d2cdc 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/ListAgents_MinimumSet_Gen.json @@ -23,7 +23,7 @@ ], "tool_resources": {}, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": {} } ], diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json index 1fcfd13b3f8f..3439695aa15c 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json @@ -239,7 +239,7 @@ } }, "temperature": 1.4, - "top_p": 20, + "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" } From e7d1b23568e4992a2bb092a1ec72b7835c22e57e Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 13:40:50 -0500 Subject: [PATCH 6/9] more sample fix --- .../examples/UpdateAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/UpdateAgent_MaximumSet_Gen.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json index e8242b2381fa..44b6bb5a377a 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json @@ -88,8 +88,8 @@ ] } }, - "temperature": 5, - "top_p": 4, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key7580": "zaezjxesjnug" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json index 87e72e4244c9..34479a409e40 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/2025-05-01/examples/UpdateAgent_MaximumSet_Gen.json @@ -133,7 +133,7 @@ } }, "temperature": 1, - "top_p": 4, + "top_p": 0.9, "metadata": { "key1462": "izckawok" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json index 38764889c134..4cf55b3263a1 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json @@ -114,7 +114,7 @@ ] } }, - "temperature": 6, + "temperature": 1.6, "top_p": 0.9, "metadata": { "key8245": "ewikwssxqxtrhgz" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json index 3439695aa15c..5831b6a5fc5c 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MaximumSet_Gen.json @@ -115,8 +115,8 @@ ] } }, - "temperature": 15, - "top_p": 3, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key4821": "zykh" } From da08cddfdce85ee2ec34b4a7f2a03a2efc20162a Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 14:11:40 -0500 Subject: [PATCH 7/9] fix more --- .../examples/2025-05-01/UpdateAgent_MaximumSet_Gen.json | 4 ++-- .../2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json | 4 ++-- .../examples/v1/UpdateAgent_MaximumSet_Gen.json | 6 +++--- .../examples/CreateAgent_MaximumSet_Gen.json | 6 +++--- .../examples/CreateAgent_MinimumSet_Gen.json | 2 +- .../examples/UpdateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/CreateAgent_MaximumSet_Gen.json | 2 +- .../stable/v1/examples/UpdateAgent_MinimumSet_Gen.json | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MaximumSet_Gen.json index 13f8248cddc7..34479a409e40 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-01/UpdateAgent_MaximumSet_Gen.json @@ -133,7 +133,7 @@ } }, "temperature": 1, - "top_p": 4, + "top_p": 0.9, "metadata": { "key1462": "izckawok" } @@ -273,7 +273,7 @@ } }, "temperature": 1, - "top_p": 29, + "top_p": 0.9, "metadata": { "key5002": "rbgcqoxtmakghyfk" } diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json index b39066ad8ca8..89cd55d4bf83 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/UpdateAgent_MaximumSet_Gen.json @@ -88,8 +88,8 @@ ] } }, - "temperature": 5, - "top_p": 4, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key7580": "zaezjxesjnug" } diff --git a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json index b734ff4721d1..5831b6a5fc5c 100644 --- a/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/v1/UpdateAgent_MaximumSet_Gen.json @@ -115,8 +115,8 @@ ] } }, - "temperature": 15, - "top_p": 3, + "temperature": 1.5, + "top_p": 0.9, "metadata": { "key4821": "zykh" } @@ -238,7 +238,7 @@ ] } }, - "temperature": 24, + "temperature": 1.4, "top_p": 0.9, "metadata": { "key6403": "cafmabfintoktvmzcbkzrimxe" diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json index 2dbbee338e41..fa38846e9a15 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json @@ -87,8 +87,8 @@ ] } }, - "temperature": 1.5, - "top_p": 0.95, + "temperature": 1.3, + "top_p": 4, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" } @@ -183,7 +183,7 @@ ] } }, - "temperature": 1.3, + "temperature": 1.7, "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json index 10dd5337adff..40fdcb4afc1b 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MinimumSet_Gen.json @@ -23,7 +23,7 @@ } ], "tool_resources": {}, - "temperature": 1.3, + "temperature": 1.7, "top_p": 0.8, "metadata": {} } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json index 44b6bb5a377a..89cd55d4bf83 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/UpdateAgent_MaximumSet_Gen.json @@ -185,7 +185,7 @@ } }, "temperature": 1.7, - "top_p": 0.9, + "top_p": 0.8, "metadata": { "key3225": "lmodneorpegsnfjhrkcuvgecidtafc" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json index 4cf55b3263a1..796693294197 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/CreateAgent_MaximumSet_Gen.json @@ -114,7 +114,7 @@ ] } }, - "temperature": 1.6, + "temperature": 1.5, "top_p": 0.9, "metadata": { "key8245": "ewikwssxqxtrhgz" diff --git a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json index 640c322216db..abd89deecb23 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/stable/v1/examples/UpdateAgent_MinimumSet_Gen.json @@ -22,8 +22,8 @@ } ], "tool_resources": {}, - "temperature": 1.8, - "top_p": 0.8, + "temperature": 1.4, + "top_p": 0.9, "metadata": {} } } From 4576a661782d9edf4b7708a11bb2584189e89641 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 14:14:17 -0500 Subject: [PATCH 8/9] Fix wrong revert --- .../examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json | 2 +- .../2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json index fa38846e9a15..050ba26ff84f 100644 --- a/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/Azure.AI.Agents/examples/2025-05-15-preview/CreateAgent_MaximumSet_Gen.json @@ -88,7 +88,7 @@ } }, "temperature": 1.3, - "top_p": 4, + "top_p": 0.9, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" } diff --git a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json index fa38846e9a15..050ba26ff84f 100644 --- a/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json +++ b/specification/ai/data-plane/Azure.AI.Agents/preview/2025-05-15-preview/examples/CreateAgent_MaximumSet_Gen.json @@ -88,7 +88,7 @@ } }, "temperature": 1.3, - "top_p": 4, + "top_p": 0.9, "metadata": { "key5311": "lctozwffbyrwdubhyriavdhs" } From 444e896faa6c91d4f763862139786a04d2da0e78 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 10 Dec 2025 14:19:32 -0500 Subject: [PATCH 9/9] Revert --- eng/tools/lint-diff/vite.config.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 eng/tools/lint-diff/vite.config.js diff --git a/eng/tools/lint-diff/vite.config.js b/eng/tools/lint-diff/vite.config.js deleted file mode 100644 index e3bd8d8cd314..000000000000 --- a/eng/tools/lint-diff/vite.config.js +++ /dev/null @@ -1,9 +0,0 @@ -import { defineConfig } from "vite"; -import { configDefaults } from "vitest/config"; -export default defineConfig({ - test: Object.assign(Object.assign({}, configDefaults), { testTimeout: 20000, coverage: { - provider: "v8", - reporter: ["text", "json", "html"], - } }), -}); -//# sourceMappingURL=vite.config.js.map \ No newline at end of file