diff --git a/package-lock.json b/package-lock.json index eb6a20a8697f..1f1ff5f9b108 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,11 +11,11 @@ "@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": "next", + "@azure-tools/typespec-autorest": "https://pkg.pr.new/@azure-tools/typespec-autorest@4664", "@azure-tools/typespec-azure-core": "next", "@azure-tools/typespec-azure-portal-core": "next", - "@azure-tools/typespec-azure-resource-manager": "next", - "@azure-tools/typespec-azure-rulesets": "next", + "@azure-tools/typespec-azure-resource-manager": "https://pkg.pr.new/@azure-tools/typespec-azure-resource-manager@4664", + "@azure-tools/typespec-azure-rulesets": "https://pkg.pr.new/@azure-tools/typespec-azure-rulesets@4664", "@azure-tools/typespec-client-generator-cli": "0.27.0", "@azure-tools/typespec-client-generator-core": "next", "@azure-tools/typespec-liftr-base": "0.13.0", @@ -542,6 +542,55 @@ "node": ">=24.14.1" } }, + "eng/tools/node_modules/@azure-tools/typespec-autorest": { + "version": "0.69.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.69.1.tgz", + "integrity": "sha512-nbAsTagr4pyBO0ajlRnE5TW4tAXrYKFYSoWD+8bevXpe23bkVIJkDUJCZPSgWE7CBf3kxfw53lAb70a50oJmRA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "^0.69.0", + "@azure-tools/typespec-azure-resource-manager": "^0.69.1", + "@azure-tools/typespec-client-generator-core": "^0.69.0", + "@typespec/compiler": "^1.13.0", + "@typespec/http": "^1.13.0", + "@typespec/openapi": "^1.13.0", + "@typespec/rest": "^0.83.0", + "@typespec/versioning": "^0.83.0", + "@typespec/xml": "^0.83.0" + }, + "peerDependenciesMeta": { + "@typespec/xml": { + "optional": true + } + } + }, + "eng/tools/node_modules/@azure-tools/typespec-azure-resource-manager": { + "version": "0.69.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.69.1.tgz", + "integrity": "sha512-NF7fqmPwaQbywcxGhH+v9qPYtIrPRR5MncXmeml6Kf9WLeqQj0rJt76KZCsZ8zwj58ZVbTNFPKcjsTQ00yQupA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "change-case": "^5.4.4", + "pluralize": "^8.0.0" + }, + "engines": { + "node": ">=22.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "^0.69.0", + "@typespec/compiler": "^1.13.0", + "@typespec/http": "^1.13.0", + "@typespec/openapi": "^1.13.0", + "@typespec/rest": "^0.83.0", + "@typespec/versioning": "^0.83.0" + } + }, "eng/tools/node_modules/@eslint/js": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", @@ -1804,24 +1853,24 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.69.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.69.1.tgz", - "integrity": "sha512-nbAsTagr4pyBO0ajlRnE5TW4tAXrYKFYSoWD+8bevXpe23bkVIJkDUJCZPSgWE7CBf3kxfw53lAb70a50oJmRA==", + "version": "0.70.0-pr-4664.1492", + "resolved": "https://pkg.pr.new/@azure-tools/typespec-autorest@4664", + "integrity": "sha512-OO+nyngv/cKdajIS0s1347AE9aslIM38sd2K9P9Kxwnf+T2g8tZQP2pj5bCGhOrV9Qs8IwdAucWOSZSFhQlZaA==", "dev": true, "license": "MIT", "engines": { "node": ">=22.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.69.0", - "@azure-tools/typespec-azure-resource-manager": "^0.69.1", - "@azure-tools/typespec-client-generator-core": "^0.69.0", + "@azure-tools/typespec-azure-core": "^0.69.0 || >=0.70.0-0 <0.70.0", + "@azure-tools/typespec-azure-resource-manager": "^0.69.1 || >=0.70.0-0 <0.70.0", + "@azure-tools/typespec-client-generator-core": "^0.69.1 || >=0.70.0-0 <0.70.0", "@typespec/compiler": "^1.13.0", "@typespec/http": "^1.13.0", "@typespec/openapi": "^1.13.0", - "@typespec/rest": "^0.83.0", - "@typespec/versioning": "^0.83.0", - "@typespec/xml": "^0.83.0" + "@typespec/rest": "^0.83.0 || >=0.84.0-0 <0.84.0", + "@typespec/versioning": "^0.83.0 || >=0.84.0-0 <0.84.0", + "@typespec/xml": "^0.83.0 || >=0.84.0-0 <0.84.0" }, "peerDependenciesMeta": { "@typespec/xml": { @@ -1856,9 +1905,9 @@ } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.69.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.69.1.tgz", - "integrity": "sha512-NF7fqmPwaQbywcxGhH+v9qPYtIrPRR5MncXmeml6Kf9WLeqQj0rJt76KZCsZ8zwj58ZVbTNFPKcjsTQ00yQupA==", + "version": "0.70.0-pr-4664.1492", + "resolved": "https://pkg.pr.new/@azure-tools/typespec-azure-resource-manager@4664", + "integrity": "sha512-gKmEyiGhy05TAdncCImEaQx7mpW3QEueLf4Uv+3+vW9vt3mbvmIjnBlKNcWG64nSCUJZyCmRXMr075TNs0A2/g==", "dev": true, "license": "MIT", "dependencies": { @@ -1869,27 +1918,27 @@ "node": ">=22.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.69.0", + "@azure-tools/typespec-azure-core": "^0.69.0 || >=0.70.0-0 <0.70.0", "@typespec/compiler": "^1.13.0", "@typespec/http": "^1.13.0", "@typespec/openapi": "^1.13.0", - "@typespec/rest": "^0.83.0", - "@typespec/versioning": "^0.83.0" + "@typespec/rest": "^0.83.0 || >=0.84.0-0 <0.84.0", + "@typespec/versioning": "^0.83.0 || >=0.84.0-0 <0.84.0" } }, "node_modules/@azure-tools/typespec-azure-rulesets": { - "version": "0.69.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.69.1.tgz", - "integrity": "sha512-vRvO8MoO4dwHdOKCFUB0IZkwf5AFGW92PP+48GKDYSNVFA7mwKVlbAlRa0rU6yURsUppAT6BPEurtau3FR+N0Q==", + "version": "0.70.0-pr-4664.1492", + "resolved": "https://pkg.pr.new/@azure-tools/typespec-azure-rulesets@4664", + "integrity": "sha512-S8+yK/LFuzhhw2Mtptv90rsLPfrvr0AiNv70qGP36vBOUC6EW8v1JGtT9/g7rcXHeIGgSVx5JzRh97qwk7y4xg==", "dev": true, "license": "MIT", "engines": { "node": ">=22.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.69.0", - "@azure-tools/typespec-azure-resource-manager": "^0.69.1", - "@azure-tools/typespec-client-generator-core": "^0.69.0", + "@azure-tools/typespec-azure-core": "^0.69.0 || >=0.70.0-0 <0.70.0", + "@azure-tools/typespec-azure-resource-manager": "^0.69.1 || >=0.70.0-0 <0.70.0", + "@azure-tools/typespec-client-generator-core": "^0.69.1 || >=0.70.0-0 <0.70.0", "@typespec/compiler": "^1.13.0" } }, diff --git a/package.json b/package.json index fa004214b112..2ce138f42299 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,11 @@ "@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": "next", + "@azure-tools/typespec-autorest": "https://pkg.pr.new/@azure-tools/typespec-autorest@4664", "@azure-tools/typespec-azure-core": "next", "@azure-tools/typespec-azure-portal-core": "next", - "@azure-tools/typespec-azure-resource-manager": "next", - "@azure-tools/typespec-azure-rulesets": "next", + "@azure-tools/typespec-azure-resource-manager": "https://pkg.pr.new/@azure-tools/typespec-azure-resource-manager@4664", + "@azure-tools/typespec-azure-rulesets": "https://pkg.pr.new/@azure-tools/typespec-azure-rulesets@4664", "@azure-tools/typespec-client-generator-cli": "0.27.0", "@azure-tools/typespec-client-generator-core": "next", "@azure-tools/typespec-liftr-base": "0.13.0", @@ -20,7 +20,7 @@ "@typespec/sse": "next", "@typespec/events": "next", "@typespec/openapi": "next", - "@typespec/openapi3": "next", + "@typespec/openapi3": "next", "@typespec/prettier-plugin-typespec": "next", "@typespec/rest": "next", "@typespec/streams": "next", @@ -32,12 +32,12 @@ "typescript": "~6.0.2" }, "overrides": { - "@azure-tools/typespec-autorest": "next", + "@azure-tools/typespec-autorest": "https://pkg.pr.new/@azure-tools/typespec-autorest@4664", "@azure-tools/typespec-azure-core": "next", "@azure-tools/typespec-azure-portal-core": "next", - "@azure-tools/typespec-azure-resource-manager": "next", + "@azure-tools/typespec-azure-resource-manager": "https://pkg.pr.new/@azure-tools/typespec-azure-resource-manager@4664", "@azure-tools/typespec-client-generator-core": "next", - "@azure-tools/typespec-azure-rulesets": "next", + "@azure-tools/typespec-azure-rulesets": "https://pkg.pr.new/@azure-tools/typespec-azure-rulesets@4664", "@typespec/asset-emitter": "next", "@typespec/compiler": "next", "@typespec/http": "next", diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/ApplicationSecurityGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/ApplicationSecurityGroup.tsp index 8a833931255e..b8c8f0c350fb 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/ApplicationSecurityGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/ApplicationSecurityGroup.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ApplicationSecurityGroup extends Resource { properties?: ApplicationSecurityGroupPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/BackendAddressPool.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/BackendAddressPool.tsp index 30396f6bf1df..b94f098570c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/BackendAddressPool.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/BackendAddressPool.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model BackendAddressPool extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/FlowLog.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/FlowLog.tsp index d6052cb9bbd6..8322cfe1894f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/FlowLog.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/FlowLog.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @parentResource(NetworkWatcher) @Http.Private.includeInapplicableMetadataInPayload(false) model FlowLog extends Resource { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/FrontendIPConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/FrontendIPConfiguration.tsp index 6cf766b54a62..d707549e206a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/FrontendIPConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/FrontendIPConfiguration.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model FrontendIPConfiguration extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/InboundNatRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/InboundNatRule.tsp index 8122b1d58200..e943205123ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/InboundNatRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/InboundNatRule.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model InboundNatRule extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancer.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancer.tsp index bb77ba3bc68e..cb19e1a87a77 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancer.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancer.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model LoadBalancer extends Resource { properties?: LoadBalancerPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancingRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancingRule.tsp index aaffea1c1427..fc015416b839 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancingRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/LoadBalancingRule.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model LoadBalancingRule extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NatGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NatGateway.tsp index a455596ac5bd..ddb6ecb37a78 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NatGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NatGateway.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NatGateway extends Resource { properties?: NatGatewayPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterface.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterface.tsp index a516b2a5cbec..992954c63989 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterface.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterface.tsp @@ -18,7 +18,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterface extends Resource { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: NetworkInterfacePropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceIPConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceIPConfiguration.tsp index b989669b50a8..e73c993a4cf0 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceIPConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceIPConfiguration.tsp @@ -18,7 +18,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkInterface) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkInterfaceIPConfiguration extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceTapConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceTapConfiguration.tsp index 2edec5b1ddbf..c5043826413b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceTapConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkInterfaceTapConfiguration.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkInterface) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkInterfaceTapConfiguration extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkSecurityGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkSecurityGroup.tsp index 86cce3a3b244..c6809bd32c61 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkSecurityGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkSecurityGroup.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkSecurityGroup extends Resource { properties?: NetworkSecurityGroupPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkWatcher.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkWatcher.tsp index 80b660683873..d362f38199d7 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkWatcher.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/NetworkWatcher.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkWatcher extends Resource { properties?: NetworkWatcherPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/OutboundRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/OutboundRule.tsp index ff7b14453e32..97a7c3a52940 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/OutboundRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/OutboundRule.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model OutboundRule extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpoint.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpoint.tsp index 90b5e9ae2961..41a754aaacb3 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpoint.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpoint.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateEndpoint extends Resource { properties?: PrivateEndpointProperties; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpointConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpointConnection.tsp index 83e7efc1e0ec..7397ed0b8cb8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpointConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateEndpointConnection.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(PrivateLinkService) @Http.Private.includeInapplicableMetadataInPayload(false) model PrivateEndpointConnection extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateLinkService.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateLinkService.tsp index b791ddac5959..9036787e9c8f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateLinkService.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/PrivateLinkService.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @Http.Private.includeInapplicableMetadataInPayload(false) model PrivateLinkService extends Resource { properties?: PrivateLinkServiceProperties; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/Probe.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/Probe.tsp index 7ee8a2b8baf9..73b4d8237a00 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/Probe.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/Probe.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @parentResource(LoadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) model Probe extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/PublicIPAddress.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/PublicIPAddress.tsp index 3fcf8d03ea2e..722e47608d32 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/PublicIPAddress.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/PublicIPAddress.tsp @@ -20,7 +20,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkInterface) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPAddress extends Resource { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" properties?: PublicIPAddressPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/Route.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/Route.tsp index e5d05604cf45..e763048dadad 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/Route.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/Route.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(RouteTable) @Http.Private.includeInapplicableMetadataInPayload(false) model Route extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/RouteTable.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/RouteTable.tsp index 9cfe26a3276c..ebc65ba6847f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/RouteTable.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/RouteTable.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model RouteTable extends Resource { properties?: RouteTablePropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/SecurityRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/SecurityRule.tsp index c077616154f1..5d0ce5cdfe42 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/SecurityRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/SecurityRule.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkSecurityGroup) @Http.Private.includeInapplicableMetadataInPayload(false) model SecurityRule extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicy.tsp index 53ad18cd3328..3f9d1961c8a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicy.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model ServiceEndpointPolicy extends Resource { properties?: ServiceEndpointPolicyPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicyDefinition.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicyDefinition.tsp index f243195bf4fe..1b731aecfc11 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicyDefinition.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/ServiceEndpointPolicyDefinition.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @parentResource(ServiceEndpointPolicy) @Http.Private.includeInapplicableMetadataInPayload(false) model ServiceEndpointPolicyDefinition extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/Subnet.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/Subnet.tsp index fbb222e7dc6e..423bc06f8e6f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/Subnet.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/Subnet.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(VirtualNetwork) @Http.Private.includeInapplicableMetadataInPayload(false) model Subnet extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetwork.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetwork.tsp index cb624d80035c..205275103bdc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetwork.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetwork.tsp @@ -18,7 +18,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetwork extends Resource { properties?: VirtualNetworkPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkPeering.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkPeering.tsp index a31c1e81ae5b..414b8c337dfa 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkPeering.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkPeering.tsp @@ -17,7 +17,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(VirtualNetwork) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkPeering extends SubResourceModel { diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkTap.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkTap.tsp index 832c7926e3e2..e462158b2699 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkTap.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/VirtualNetworkTap.tsp @@ -16,7 +16,7 @@ namespace Common; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkTap extends Resource { properties?: VirtualNetworkTapPropertiesFormat; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp index 6570b30212b4..60e70026575f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp @@ -889,7 +889,7 @@ model ExtendedLocation { * NetworkInterface properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfacePropertiesFormat { /** * The reference to a virtual machine. @@ -1091,7 +1091,7 @@ model SubResourceModel extends SubResource { * Properties of the subnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SubnetPropertiesFormat { /** * The address prefix for the subnet. @@ -1223,7 +1223,7 @@ model SubnetPropertiesFormat { * The service endpoint properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceEndpointPropertiesFormat { /** * The type of the endpoint service. @@ -1252,7 +1252,7 @@ model ServiceEndpointPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPConfiguration extends SubResource { /** * Properties of the IP configuration. @@ -1276,7 +1276,7 @@ model IPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPConfigurationPropertiesFormat { /** * The private IP address of the IP configuration. @@ -1312,7 +1312,7 @@ model IPConfigurationPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPAddressSku { /** * Name of a public IP address SKU. @@ -1330,7 +1330,7 @@ model PublicIPAddressSku { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPAddressPropertiesFormat { /** * The public IP address allocation method. @@ -1424,7 +1424,7 @@ model PublicIPAddressPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPAddressDnsSettings { /** * The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. @@ -1451,7 +1451,7 @@ model PublicIPAddressDnsSettings { * Contains the DDoS protection settings of the public IP. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosSettings { /** * The DDoS protection mode of the public IP @@ -1473,7 +1473,7 @@ model DdosSettings { * Contains the IpTag associated with the object. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpTag { /** * The IP tag type. Example: FirstPartyUsage. @@ -1492,7 +1492,7 @@ model IpTag { #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/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPConfigurationProfile extends SubResource { /** * Properties of the IP configuration profile. @@ -1522,7 +1522,7 @@ model IPConfigurationProfile extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPConfigurationProfilePropertiesFormat { /** * The reference to the subnet resource to create a container network interface ip configuration. @@ -1541,7 +1541,7 @@ model IPConfigurationProfilePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ResourceNavigationLink extends SubResource { /** * Resource navigation link properties format. @@ -1576,7 +1576,7 @@ model ResourceNavigationLink extends SubResource { * Properties of ResourceNavigationLink. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ResourceNavigationLinkFormat { /** * Resource type of the linked resource. @@ -1600,7 +1600,7 @@ model ResourceNavigationLinkFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceAssociationLink extends SubResource { /** * Resource navigation link properties format. @@ -1629,7 +1629,7 @@ model ServiceAssociationLink extends SubResource { * Properties of ServiceAssociationLink. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceAssociationLinkPropertiesFormat { /** * Resource type of the linked resource. @@ -1663,7 +1663,7 @@ model ServiceAssociationLinkPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model Delegation extends SubResource { /** * Properties of the subnet. @@ -1691,7 +1691,7 @@ model Delegation extends SubResource { * Properties of a service delegation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceDelegationPropertiesFormat { /** * The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). @@ -1716,7 +1716,7 @@ model ServiceDelegationPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayIPConfiguration extends SubResource { /** * Properties of the application gateway IP configuration. @@ -1746,7 +1746,7 @@ model ApplicationGatewayIPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayIPConfigurationPropertiesFormat { /** * Reference to the subnet resource. A subnet from where application gateway gets its private address. @@ -1764,7 +1764,7 @@ model ApplicationGatewayIPConfigurationPropertiesFormat { * IpamPool prefix allocation reference. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolPrefixAllocation { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" pool?: IpamPoolPrefixAllocationPool; @@ -1783,7 +1783,7 @@ model IpamPoolPrefixAllocation { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolPrefixAllocationPool { /** * Resource id of the associated Azure IpamPool resource. @@ -1839,7 +1839,7 @@ model Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidenti */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfaceIPConfigurationPropertiesFormat { /** * The reference to gateway load balancer frontend IP. @@ -1927,7 +1927,7 @@ model NetworkInterfaceIPConfigurationPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model FrontendIPConfigurationPropertiesFormat { /** * An array of references to inbound rules that use this frontend IP. @@ -2015,7 +2015,7 @@ model DdosFrontendIpConfigurationSettings { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendAddressPool extends SubResource { /** * Properties of the application gateway backend address pool. @@ -2044,7 +2044,7 @@ model ApplicationGatewayBackendAddressPool extends SubResource { * Properties of Backend Address Pool of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendAddressPoolPropertiesFormat { /** * Collection of references to IPs defined in network interfaces. @@ -2071,7 +2071,7 @@ model ApplicationGatewayBackendAddressPoolPropertiesFormat { * Backend address of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendAddress { /** * Fully qualified domain name (FQDN). @@ -2088,7 +2088,7 @@ model ApplicationGatewayBackendAddress { * Properties of the backend address pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model BackendAddressPoolPropertiesFormat { /** * The location of the backend address pool. @@ -2163,7 +2163,7 @@ model BackendAddressPoolPropertiesFormat { * Gateway load balancer tunnel interface of a load balancer backend address pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model GatewayLoadBalancerTunnelInterface { /** * Port of gateway load balancer tunnel interface. @@ -2190,7 +2190,7 @@ model GatewayLoadBalancerTunnelInterface { * Load balancer backend addresses. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerBackendAddress { /** * Properties of load balancer backend address pool. @@ -2207,7 +2207,7 @@ model LoadBalancerBackendAddress { * Properties of the load balancer backend addresses. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerBackendAddressPropertiesFormat { /** * Reference to an existing virtual network. @@ -2255,7 +2255,7 @@ model LoadBalancerBackendAddressPropertiesFormat { * Individual port mappings for inbound NAT rule created for backend pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model NatRulePortMapping { /** * Name of inbound NAT rule. @@ -2277,7 +2277,7 @@ model NatRulePortMapping { * Properties of the inbound NAT rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model InboundNatRulePropertiesFormat { /** * A reference to frontend IP addresses. @@ -2350,7 +2350,7 @@ model InboundNatRulePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties { /** * The group ID for current private link connection. @@ -2375,7 +2375,7 @@ model NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties { * DNS settings of a network interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfaceDnsSettings { /** * List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection. @@ -2522,7 +2522,7 @@ union SecurityRuleDirection { * Properties of Virtual Network Tap configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfaceTapConfigurationPropertiesFormat { /** * The reference to the Virtual Network Tap resource. @@ -2540,7 +2540,7 @@ model NetworkInterfaceTapConfigurationPropertiesFormat { * Security rule resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SecurityRulePropertiesFormat { /** * A description for this rule. Restricted to 140 chars. @@ -2628,7 +2628,7 @@ model SecurityRulePropertiesFormat { * A collection of information about the state of the connection between service consumer and provider. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceConnectionState { /** * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. @@ -2650,7 +2650,7 @@ model PrivateLinkServiceConnectionState { * Properties of the PrivateEndpointConnectProperties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateEndpointConnectionProperties { /** * The resource of private end point. @@ -2687,7 +2687,7 @@ model PrivateEndpointConnectionProperties { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceConnection extends SubResource { /** * Properties of the private link service connection. @@ -2716,7 +2716,7 @@ model PrivateLinkServiceConnection extends SubResource { * Virtual Network Tap properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkTapPropertiesFormat { /** * Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. @@ -2758,7 +2758,7 @@ model VirtualNetworkTapPropertiesFormat { * Network Security Group resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkSecurityGroupPropertiesFormat { /** * When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. @@ -2811,7 +2811,7 @@ model NetworkSecurityGroupPropertiesFormat { * Application security group properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ApplicationSecurityGroupPropertiesFormat { /** * The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. @@ -2830,7 +2830,7 @@ model ApplicationSecurityGroupPropertiesFormat { * Properties of the private endpoint. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateEndpointProperties { /** * The ID of the subnet from which the private IP will be allocated. @@ -2896,7 +2896,7 @@ model PrivateEndpointProperties { * Contains custom Dns resolution configuration from customer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model CustomDnsConfigPropertiesFormat { /** * Fqdn that resolves to private endpoint ip address. @@ -2913,7 +2913,7 @@ model CustomDnsConfigPropertiesFormat { * Properties of the private link service. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceProperties { /** * An array of references to the load balancer IP configurations. @@ -2987,14 +2987,14 @@ model PrivateLinkServiceProperties { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServicePropertiesVisibility extends ResourceSet {} /** * The base resource set for visibility and auto-approval. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ResourceSet { /** * The list of subscriptions. @@ -3008,14 +3008,14 @@ model ResourceSet { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServicePropertiesAutoApproval extends ResourceSet {} /** * Parameters that define the configuration of flow log. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model FlowLogPropertiesFormat { /** * ID of network security group to which flow log will be applied. @@ -3074,7 +3074,7 @@ model FlowLogPropertiesFormat { * Parameters that define the retention policy for flow log. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model RetentionPolicyParameters { /** * Number of days to retain flow log records. @@ -3091,7 +3091,7 @@ model RetentionPolicyParameters { * Parameters that define the flow log format. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model FlowLogFormatParameters { /** * The file type of flow log. @@ -3108,7 +3108,7 @@ model FlowLogFormatParameters { * Parameters that define the configuration of traffic analytics. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TrafficAnalyticsProperties { /** * Parameters that define the configuration of traffic analytics. @@ -3120,7 +3120,7 @@ model TrafficAnalyticsProperties { * Parameters that define the configuration of traffic analytics. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TrafficAnalyticsConfigurationProperties { /** * Flag to enable/disable traffic analytics. @@ -3152,7 +3152,7 @@ model TrafficAnalyticsConfigurationProperties { * Route Table resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model RouteTablePropertiesFormat { /** * Collection of routes contained within a route table. @@ -3192,7 +3192,7 @@ model RouteTablePropertiesFormat { * Service Endpoint Policy resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ServiceEndpointPolicyPropertiesFormat { /** * A collection of service endpoint policy definitions of the service endpoint policy. @@ -3232,7 +3232,7 @@ model ServiceEndpointPolicyPropertiesFormat { * SKU of nat gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NatGatewaySku { /** * Name of Nat Gateway SKU. @@ -3244,7 +3244,7 @@ model NatGatewaySku { * Nat Gateway properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NatGatewayPropertiesFormat { /** * The idle timeout of the nat gateway. @@ -3310,7 +3310,7 @@ model NatGatewayPropertiesFormat { * Properties of the load balancer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancingRulePropertiesFormat { /** * A reference to frontend IP addresses. @@ -3390,7 +3390,7 @@ model LoadBalancingRulePropertiesFormat { * Load balancer probe resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model ProbePropertiesFormat { /** * The load balancer rules that use this probe. @@ -3445,7 +3445,7 @@ model ProbePropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model InboundNatPool extends SubResource { /** * Properties of load balancer inbound nat pool. @@ -3474,7 +3474,7 @@ model InboundNatPool extends SubResource { * Properties of Inbound NAT pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model InboundNatPoolPropertiesFormat { /** * A reference to frontend IP addresses. @@ -3529,7 +3529,7 @@ model InboundNatPoolPropertiesFormat { * Outbound rule of the load balancer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model OutboundRulePropertiesFormat { /** * The number of outbound ports to be used for NAT. @@ -3573,7 +3573,7 @@ model OutboundRulePropertiesFormat { * Properties of the virtual network peering. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkPeeringPropertiesFormat { /** * Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. @@ -3684,7 +3684,7 @@ model VirtualNetworkPeeringPropertiesFormat { * Properties of the PrivateLinkServiceConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceConnectionProperties { /** * The provisioning state of the private link service connection resource. @@ -3717,7 +3717,7 @@ model PrivateLinkServiceConnectionProperties { * An IP Configuration of the private endpoint. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateEndpointIPConfiguration { /** * Properties of private endpoint IP configurations. @@ -3747,7 +3747,7 @@ model PrivateEndpointIPConfiguration { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateEndpointIPConfigurationProperties { /** * The ID of a group obtained from the remote resource that this private endpoint should connect to. @@ -3771,7 +3771,7 @@ model PrivateEndpointIPConfigurationProperties { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceIpConfiguration extends SubResource { /** * Properties of the private link service ip configuration. @@ -3800,7 +3800,7 @@ model PrivateLinkServiceIpConfiguration extends SubResource { * Properties of private link service IP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceIpConfigurationProperties { /** * The private IP address of the IP configuration. @@ -3841,7 +3841,7 @@ model PrivateLinkServiceIpConfigurationProperties { * Route resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model RoutePropertiesFormat { /** * The destination CIDR to which the route applies. @@ -3880,8 +3880,8 @@ model RoutePropertiesFormat { /** * The next hop definition for ECMP routes containing multiple next hop IP addresses. */ -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Brownfield service: RouteNextHopEcmp uses Legacy.feature for consistency with existing Network routing models" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Brownfield service: RouteNextHopEcmp uses featureFile for consistency with existing Network routing models" +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @added(Versions.v2025_07_01) model RouteNextHopEcmp { /** @@ -3896,7 +3896,7 @@ model RouteNextHopEcmp { * Service Endpoint policy definition resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ServiceEndpointPolicyDefinitionPropertiesFormat { /** * A description for this rule. Restricted to 140 chars. @@ -3924,7 +3924,7 @@ model ServiceEndpointPolicyDefinitionPropertiesFormat { * SKU of a load balancer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerSku { /** * Name of a load balancer SKU. @@ -3941,7 +3941,7 @@ model LoadBalancerSku { * Properties of the load balancer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerPropertiesFormat { /** * Object representing the frontend IPs to be used for the load balancer. @@ -4001,7 +4001,7 @@ model LoadBalancerPropertiesFormat { * The network watcher properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkWatcherPropertiesFormat { /** * The provisioning state of the network watcher resource. @@ -4014,7 +4014,7 @@ model NetworkWatcherPropertiesFormat { * Properties of the virtual network. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkPropertiesFormat { /** * The AddressSpace that contains an array of IP address ranges that can be used by subnets. @@ -4112,7 +4112,7 @@ model VirtualNetworkPropertiesFormat { * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AddressSpace { /** * A list of address blocks reserved for this virtual network in CIDR notation. @@ -4130,7 +4130,7 @@ model AddressSpace { * DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DhcpOptions { /** * The list of DNS servers IP addresses. @@ -4142,7 +4142,7 @@ model DhcpOptions { * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkBgpCommunities { /** * The BGP community associated with the virtual network. @@ -4160,7 +4160,7 @@ model VirtualNetworkBgpCommunities { * Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkEncryption { /** * Indicates if encryption is enabled on the virtual network. diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/AdminRuleCollection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/AdminRuleCollection.tsp index 49140c610082..d49ff459c3c6 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/AdminRuleCollection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/AdminRuleCollection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(SecurityAdminConfiguration) @Http.Private.includeInapplicableMetadataInPayload(false) model AdminRuleCollection extends ChildResource { @@ -40,7 +40,7 @@ model AdminRuleCollection extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface AdminRuleCollections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGateway.tsp index 5bc43e6416d4..41195e5a72d5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGateway.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model ApplicationGateway extends Common.Resource { properties?: ApplicationGatewayPropertiesFormat; @@ -48,7 +48,7 @@ model ApplicationGateway extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations(#{ omitTags: true }) interface ApplicationGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayAvailableSslOptions.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayAvailableSslOptions.tsp index 94cadf6f3b27..487e36c6d36c 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayAvailableSslOptions.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayAvailableSslOptions.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @singleton("default") @subscriptionResource @Http.Private.includeInapplicableMetadataInPayload(false) @@ -52,7 +52,7 @@ alias ApplicationGatewayAvailableSslOptionsOps = Azure.ResourceManager.Legacy.Ro >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface ApplicationGatewayAvailableSslOptionsOperationGroup { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayPrivateEndpointConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayPrivateEndpointConnection.tsp index 2f8cdd87ac34..afa25aa95d8d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayPrivateEndpointConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayPrivateEndpointConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @parentResource(ApplicationGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model ApplicationGatewayPrivateEndpointConnection extends SubResourceModel { @@ -39,7 +39,7 @@ model ApplicationGatewayPrivateEndpointConnection extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations interface ApplicationGatewayPrivateEndpointConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayWafDynamicManifestResult.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayWafDynamicManifestResult.tsp index 5b817f870b48..8f3da1d89800 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayWafDynamicManifestResult.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationGatewayWafDynamicManifestResult.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @Http.Private.includeInapplicableMetadataInPayload(false) @singleton("dafault") @subscriptionResource @@ -62,7 +62,7 @@ alias ApplicationGatewayWafDynamicManifestResultOps = Azure.ResourceManager.Lega >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations(#{ omitTags: true }) interface ApplicationGatewayWafDynamicManifestResults { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationSecurityGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationSecurityGroup.tsp index 97c15817a3c8..92f4769db8dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationSecurityGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ApplicationSecurityGroup.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface ApplicationSecurityGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp index 870e849b6b3d..f9c6484f371c 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) @Http.Private.includeInapplicableMetadataInPayload(false) model AzureFirewall extends Common.Resource { properties?: AzureFirewallPropertiesFormat; @@ -49,7 +49,7 @@ model AzureFirewall extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) @armResourceOperations(#{ omitTags: true }) interface AzureFirewalls { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureWebCategory.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureWebCategory.tsp index 41678ed7f173..dd340e2f31c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureWebCategory.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureWebCategory.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.azureWebCategory) +@Azure.ResourceManager.featureFile(Features.azureWebCategory) @Http.Private.includeInapplicableMetadataInPayload(false) @subscriptionResource model AzureWebCategory extends ProxyResource { @@ -39,7 +39,7 @@ model AzureWebCategory extends ProxyResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.azureWebCategory) +@Azure.ResourceManager.featureFile(Features.azureWebCategory) @armResourceOperations(#{ omitTags: true }) interface AzureWebCategories { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/BackendAddressPool.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/BackendAddressPool.tsp index be6b2ccf9fe5..8e478c98a936 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/BackendAddressPool.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/BackendAddressPool.tsp @@ -42,7 +42,7 @@ alias ListInboundNatRulePortMappingsOps = Azure.ResourceManager.Legacy.LegacyOpe >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface BackendAddressPools { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/BaseAdminRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/BaseAdminRule.tsp index f8f0893e12c5..dd28bf9a1f6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/BaseAdminRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/BaseAdminRule.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(AdminRuleCollection) @discriminator("kind") @Http.Private.includeInapplicableMetadataInPayload(false) @@ -47,7 +47,7 @@ model BaseAdminRule extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations(#{ omitTags: true }) interface BaseAdminRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/BastionHost.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/BastionHost.tsp index 1dc920938735..aa89b2a67bcd 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/BastionHost.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/BastionHost.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionHost extends Common.Resource { properties?: BastionHostPropertiesFormat; @@ -47,7 +47,7 @@ model BastionHost extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface BastionHosts { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/BgpConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/BgpConnection.tsp index af53417f2bb0..56eeefff97c5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/BgpConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/BgpConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model BgpConnection extends SubResourceModel { @@ -63,7 +63,7 @@ alias VirtualHubBgpConnectionOps = Azure.ResourceManager.Legacy.LegacyOperations >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface BgpConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp index 644092e82a31..ab815d4922de 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp @@ -22,10 +22,10 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "Using ChildResource base type with includeInapplicableMetadataInPayload for consistency with all existing Network Manager child resources (e.g., ScopeConnection, AdminRuleCollection, ConnectivityConfiguration)" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "ChildResource is the established pattern for all Network Manager child resources to maintain consistent swagger output across the service" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Inheriting from ChildResource is required to match the existing Network Manager resource model hierarchy" -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources in this TypeSpec project" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using featureFile(Features.networkManager) for consistency with all Network Manager resources in this TypeSpec project" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @added(Versions.v2025_07_01) model Commit extends ChildResource { properties?: CommitProperties; @@ -47,8 +47,8 @@ model Commit extends ChildResource { /** * Properties of commit */ -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using featureFile(Features.networkManager) for consistency with all Network Manager resources" +@Azure.ResourceManager.featureFile(Features.networkManager) @added(Versions.v2025_07_01) model CommitProperties { /** @@ -95,8 +95,8 @@ model CommitProperties { forceUpdateTag?: string; } -#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using featureFile(Features.networkManager) for consistency with all Network Manager resources" +@Azure.ResourceManager.featureFile(Features.networkManager) @added(Versions.v2025_07_01) @armResourceOperations // Note: PATCH/Update operation is intentionally omitted. This is consistent with other diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionMonitorResult.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionMonitorResult.tsp index a2f0119a974f..3167c528e0b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionMonitorResult.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionMonitorResult.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkWatcher) model ConnectionMonitorResult extends TrackedResourceWithEtag { @@ -40,7 +40,7 @@ model ConnectionMonitorResult extends TrackedResourceWithEtag { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @armResourceOperations(#{ omitTags: true }) interface ConnectionMonitorResults { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp index 7cb68cf78adf..fdbfe43e2810 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp @@ -23,7 +23,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "ConnectionPolicy uses the local Network RP ProxyResource base type consistent with all other VirtualWAN nested resources (e.g. AzureWebCategory, BgpConnection)" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Extending the local Network RP ProxyResource is the established pattern for nested resources in this RP" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model ConnectionPolicy extends ProxyResource { @@ -45,7 +45,7 @@ model ConnectionPolicy extends ProxyResource { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN interface definitions" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface ConnectionPolicies { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionSharedKeyResult.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionSharedKeyResult.tsp index 8c5549c3a8fe..dcfbc9874ee5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionSharedKeyResult.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionSharedKeyResult.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @singleton("default") @parentResource(VpnSiteLinkConnection) @Http.Private.includeInapplicableMetadataInPayload(false) @@ -72,7 +72,7 @@ alias VpnLinkConnectionSharedKeyOps = Azure.ResourceManager.Legacy.LegacyOperati >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface ConnectionSharedKeyResults { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectivityConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectivityConfiguration.tsp index 4b6a7fd33f48..2f3c391b2739 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectivityConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectivityConfiguration.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ConnectivityConfiguration extends ChildResource { properties?: ConnectivityConfigurationProperties; @@ -40,7 +40,7 @@ model ConnectivityConfiguration extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface ConnectivityConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/CustomIpPrefix.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/CustomIpPrefix.tsp index 1158a300e098..c7b4eacfe94f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/CustomIpPrefix.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/CustomIpPrefix.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model CustomIpPrefix extends Common.Resource { properties?: CustomIpPrefixPropertiesFormat; @@ -47,7 +47,7 @@ model CustomIpPrefix extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface CustomIpPrefixes { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp index 9edfd6bf395d..8a8f52d8400f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosCustomPolicy extends Common.Resource { properties?: DdosCustomPolicyPropertiesFormat; @@ -39,7 +39,7 @@ model DdosCustomPolicy extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface DdosCustomPolicies { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosProtectionPlan.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosProtectionPlan.tsp index 872c4b5c5b36..dc630a3d3357 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosProtectionPlan.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosProtectionPlan.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosProtectionPlan extends TrackedResourceWithOptionalLocation { properties?: DdosProtectionPlanPropertiesFormat; @@ -39,7 +39,7 @@ model DdosProtectionPlan extends TrackedResourceWithOptionalLocation { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface DdosProtectionPlans { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/DscpConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/DscpConfiguration.tsp index ad80064d5d8b..eb56419cf407 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/DscpConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/DscpConfiguration.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DscpConfiguration extends Common.Resource { properties?: DscpConfigurationPropertiesFormat; @@ -37,7 +37,7 @@ model DscpConfiguration extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface DscpConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp index 12326f63bf19..c00f96dad9ea 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteCircuit extends Common.Resource { properties?: ExpressRouteCircuitPropertiesFormat; @@ -46,7 +46,7 @@ model ExpressRouteCircuit extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ omitTags: true }) interface ExpressRouteCircuits { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitAuthorization.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitAuthorization.tsp index d30e34976833..61039ef0ab70 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitAuthorization.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitAuthorization.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @parentResource(ExpressRouteCircuit) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteCircuitAuthorization extends SubResourceModel { @@ -39,7 +39,7 @@ model ExpressRouteCircuitAuthorization extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ExpressRouteCircuitAuthorizations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitConnection.tsp index dd4145581ffe..9743554f037e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @parentResource(ExpressRouteCircuitPeering) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteCircuitConnection extends SubResourceModel { @@ -42,7 +42,7 @@ model ExpressRouteCircuitConnection extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ExpressRouteCircuitConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitPeering.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitPeering.tsp index 7a26ec7189bf..30f63e97e9e5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitPeering.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuitPeering.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @parentResource(ExpressRouteCircuit) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteCircuitPeering extends SubResourceModel { @@ -129,7 +129,7 @@ alias RouteTablesSummaryOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface ExpressRouteCircuitPeerings { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCrossConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCrossConnection.tsp index a46847277c1f..4c82436db566 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCrossConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCrossConnection.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteCrossConnection extends Common.Resource { properties?: ExpressRouteCrossConnectionProperties; @@ -62,7 +62,7 @@ alias ExpressRouteCrossConnectionPeeringOps = Azure.ResourceManager.Legacy.Route #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface ExpressRouteCrossConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp index 97a35daf9f76..97aad150d8d4 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteGateway extends Common.Resource { properties?: ExpressRouteGatewayProperties; @@ -86,7 +86,7 @@ alias ExpressRouteConnectionOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface ExpressRouteGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePort.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePort.tsp index 5070a87191d2..1f2cccd96803 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePort.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePort.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @summary("ExpressRoute Port") -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRoutePort extends Common.Resource { properties?: ExpressRoutePortPropertiesFormat; @@ -68,7 +68,7 @@ alias ExpressRouteLinkOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface ExpressRoutePorts { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortAuthorization.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortAuthorization.tsp index 3cda3b932449..5d08dc02ff31 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortAuthorization.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortAuthorization.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRoute Port Authorization") @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRoutePortAuthorization extends SubResourceModel { @@ -63,7 +63,7 @@ alias ExpressRoutePortAuthorizationOps = Azure.ResourceManager.Legacy.LegacyOper >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ExpressRoutePortAuthorizations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortsLocation.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortsLocation.tsp index 329eea405173..f3f5dd3d367e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortsLocation.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRoutePortsLocation.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @subscriptionResource @summary("ExpressRoutePorts Peering Location") @Http.Private.includeInapplicableMetadataInPayload(false) @@ -34,7 +34,7 @@ model ExpressRoutePortsLocation extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ExpressRoutePortsLocations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteProviderPort.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteProviderPort.tsp index ed79e8cf6e67..a1d245eec145 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteProviderPort.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteProviderPort.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model ExpressRouteProviderPort extends TrackedResourceWithOptionalLocation { properties?: ExpressRouteProviderPortProperties; @@ -38,7 +38,7 @@ model ExpressRouteProviderPort extends TrackedResourceWithOptionalLocation { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ExpressRouteProviderPorts { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicy.tsp index 6604e3712f05..1c17f39303dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicy.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @Http.Private.includeInapplicableMetadataInPayload(false) model FirewallPolicy extends Common.Resource { properties?: FirewallPolicyPropertiesFormat; @@ -43,7 +43,7 @@ model FirewallPolicy extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @armResourceOperations(#{ omitTags: true }) interface FirewallPolicies { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyDraft.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyDraft.tsp index da15bc4316c8..5c95f1b6abd1 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyDraft.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyDraft.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @singleton("default") @parentResource(FirewallPolicy) @Http.Private.includeInapplicableMetadataInPayload(false) @@ -36,7 +36,7 @@ model FirewallPolicyDraft extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @armResourceOperations(#{ omitTags: true }) interface FirewallPolicyDrafts { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroup.tsp index bf64b542785b..500948716c8b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroup.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @parentResource(FirewallPolicy) @Http.Private.includeInapplicableMetadataInPayload(false) model FirewallPolicyRuleCollectionGroup extends SubResourceModel { @@ -42,7 +42,7 @@ model FirewallPolicyRuleCollectionGroup extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @armResourceOperations interface FirewallPolicyRuleCollectionGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroupDraft.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroupDraft.tsp index 19e36a74287c..cae3ad0fbf4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroupDraft.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FirewallPolicyRuleCollectionGroupDraft.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @singleton("default") @parentResource(FirewallPolicyRuleCollectionGroup) @Http.Private.includeInapplicableMetadataInPayload(false) @@ -38,7 +38,7 @@ model FirewallPolicyRuleCollectionGroupDraft extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @armResourceOperations(#{ omitTags: true }) interface FirewallPolicyRuleCollectionGroupDrafts { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FlowLog.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FlowLog.tsp index 0ad86ffe6538..394a882c1b8e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FlowLog.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FlowLog.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @armResourceOperations interface FlowLogs { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/FrontendIPConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/FrontendIPConfiguration.tsp index 4e574f1190a4..aeb5ae1a4bed 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/FrontendIPConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/FrontendIPConfiguration.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface FrontendIPConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/HubIpConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/HubIpConfiguration.tsp index 6509740984fa..c4c7ee3299dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/HubIpConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/HubIpConfiguration.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model HubIpConfiguration extends SubResourceModel { @@ -42,7 +42,7 @@ model HubIpConfiguration extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface HubIpConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/HubRouteTable.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/HubRouteTable.tsp index 0de455f77f27..b37174334ce7 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/HubRouteTable.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/HubRouteTable.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model HubRouteTable extends SubResourceModel { @@ -42,7 +42,7 @@ model HubRouteTable extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface HubRouteTables { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundNatRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundNatRule.tsp index d7f47570eb14..097e3e5fb86b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundNatRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundNatRule.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface InboundNatRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundSecurityRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundSecurityRule.tsp index 952b32054826..b422803fd6dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundSecurityRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/InboundSecurityRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkVirtualAppliance) @Http.Private.includeInapplicableMetadataInPayload(false) model InboundSecurityRule extends SubResourceModel { @@ -43,7 +43,7 @@ model InboundSecurityRule extends SubResourceModel { #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface InboundSecurityRuleOperationGroup { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/InterconnectGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/InterconnectGroup.tsp index dccf05ad8989..6780dd322394 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/InterconnectGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/InterconnectGroup.tsp @@ -24,7 +24,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Extending Common.Resource via inheritance is the standard pattern for all Network RP resources" #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy operations and types are required for backward compatibility with the existing Network RP SDK" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @Http.Private.includeInapplicableMetadataInPayload(false) model InterconnectGroup extends Common.Resource { /** Properties of the interconnect group. */ @@ -54,7 +54,7 @@ model InterconnectGroup extends Common.Resource { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Extending Common.SubResourceModel via inheritance is the standard pattern for all Network RP child resources" #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy operations and types are required for backward compatibility with the existing Network RP SDK" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(InterconnectGroup) model Subgroup extends Common.SubResourceModel { @@ -73,7 +73,7 @@ model Subgroup extends Common.SubResourceModel { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy operations and types are required for backward compatibility with the existing Network RP SDK" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @armResourceOperations interface InterconnectGroups { /** @@ -128,7 +128,7 @@ interface InterconnectGroups { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy operations and types are required for backward compatibility with the existing Network RP SDK" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @armResourceOperations interface Subgroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpAllocation.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpAllocation.tsp index 47e928ee3ef2..01f755d51637 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpAllocation.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpAllocation.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpAllocation extends Common.Resource { properties?: IpAllocationPropertiesFormat; @@ -37,7 +37,7 @@ model IpAllocation extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface IpAllocations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpGroup.tsp index 43c6c93e071a..5ebe6e5d3ea3 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpGroup.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpGroup extends Common.Resource { properties?: IpGroupPropertiesFormat; @@ -37,7 +37,7 @@ model IpGroup extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface IpGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpamPool.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpamPool.tsp index ba75b3c35074..8be44ac77b95 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/IpamPool.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/IpamPool.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkManager) model IpamPool extends CommonTrackedResource { /** @@ -45,7 +45,7 @@ model IpamPool extends CommonTrackedResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface IpamPools { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp index 853f9baf38de..c247e2315c0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp @@ -39,7 +39,7 @@ alias LoadBalancerLoadBalancerOps = Azure.ResourceManager.Legacy.LegacyOperation >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations interface LoadBalancers { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancingRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancingRule.tsp index 1884b2a506a8..f23f49990078 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancingRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancingRule.tsp @@ -44,7 +44,7 @@ alias LoadBalancerLoadBalancingRuleOps = Azure.ResourceManager.Legacy.LegacyOper >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface LoadBalancingRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/LocalNetworkGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/LocalNetworkGateway.tsp index 8ec6a6eba07f..99f6af0c9940 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/LocalNetworkGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/LocalNetworkGateway.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model LocalNetworkGateway extends Common.Resource { properties: LocalNetworkGatewayPropertiesFormat; @@ -37,7 +37,7 @@ model LocalNetworkGateway extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @armResourceOperations interface LocalNetworkGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp index fe6fc94a3209..0d2d9107872e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface NatGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkGroup.tsp index 076b48350f8e..00e41aa981f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkGroup.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkGroup extends ChildResource { properties?: NetworkGroupProperties; @@ -47,7 +47,7 @@ alias NetworkGroupCreateOrUpdateEtagHeader = { }; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface NetworkGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterface.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterface.tsp index d7f40d935550..d7c249bd31b3 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterface.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterface.tsp @@ -46,7 +46,7 @@ alias NetworkInterfaceOps = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface NetworkInterfaces { /** @@ -89,7 +89,7 @@ alias NetworkInterfaceOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOpe >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface NetworkInterfaceOperationGroup { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceIPConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceIPConfiguration.tsp index 5abf89566530..30c079aeb486 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceIPConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceIPConfiguration.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface NetworkInterfaceIPConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceTapConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceTapConfiguration.tsp index e1bb499f4429..bfbaf1e72b9b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceTapConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkInterfaceTapConfiguration.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface NetworkInterfaceTapConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManager.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManager.tsp index 8c2b622153db..ed2d304656d0 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManager.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManager.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkManager extends Common.Resource { properties?: NetworkManagerProperties; @@ -44,7 +44,7 @@ model NetworkManager extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations(#{ omitTags: true }) interface NetworkManagers { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerConnection.tsp index 54d16fa91883..523f7d3b7cfa 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkManagerConnection extends ChildResource { properties?: NetworkManagerConnectionProperties; @@ -60,7 +60,7 @@ alias NetworkManagerConnectionOps = Azure.ResourceManager.Legacy.ExtensionOperat >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface NetworkManagerConnections { /** @@ -112,7 +112,7 @@ interface NetworkManagerConnections { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations(#{ omitTags: true }) interface ManagementGroupNetworkManagerConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerRoutingConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerRoutingConfiguration.tsp index c9ff2e354257..1bcca1995c9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerRoutingConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkManagerRoutingConfiguration.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerRoutingConfiguration extends ChildResource { properties?: NetworkManagerRoutingConfigurationPropertiesFormat; @@ -41,7 +41,7 @@ model NetworkManagerRoutingConfiguration extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface NetworkManagerRoutingConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkProfile.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkProfile.tsp index 9873e9b79b23..4da6a2ec8740 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkProfile.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkProfile.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkProfile extends Common.Resource { properties?: NetworkProfilePropertiesFormat; @@ -37,7 +37,7 @@ model NetworkProfile extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface NetworkProfiles { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityGroup.tsp index 77d9a4429e68..b3e208e53d13 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityGroup.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface NetworkSecurityGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityPerimeter.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityPerimeter.tsp index 1b4ea8180262..4d67e1801a27 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityPerimeter.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkSecurityPerimeter.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) model NetworkSecurityPerimeter extends SecurityPerimeterTrackedResource { /** @@ -41,7 +41,7 @@ model NetworkSecurityPerimeter extends SecurityPerimeterTrackedResource { @@doc(NetworkSecurityPerimeter.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations interface NetworkSecurityPerimeters { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualAppliance.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualAppliance.tsp index ef19fecfe998..f7e9da1b0518 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualAppliance.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualAppliance.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualAppliance extends Common.Resource { properties?: NetworkVirtualAppliancePropertiesFormat; @@ -67,7 +67,7 @@ alias NetworkVirtualApplianceNetworkVirtualApplianceOps = Azure.ResourceManager. >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface NetworkVirtualApplianceConnections { /** @@ -135,7 +135,7 @@ interface NetworkVirtualApplianceConnections { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface NetworkVirtualAppliances { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualApplianceSku.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualApplianceSku.tsp index e7ae931e1b39..b42c8dc8ddd0 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualApplianceSku.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualApplianceSku.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @subscriptionResource @summary("Available NetworkVirtualApplianceSkus") @Http.Private.includeInapplicableMetadataInPayload(false) @@ -39,7 +39,7 @@ model NetworkVirtualApplianceSku extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface NetworkVirtualApplianceSkus { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkWatcher.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkWatcher.tsp index a3f54c5862af..ddba81451ee7 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkWatcher.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkWatcher.tsp @@ -38,7 +38,7 @@ alias PacketCaptureOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface NetworkWatchers { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAccessRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAccessRule.tsp index 18aa65b3c064..35b5a089a3d8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAccessRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAccessRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NspProfile) model NspAccessRule extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspAccessRule extends SecurityPerimeterProxyResource { @@doc(NspAccessRule.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspAccessRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAssociation.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAssociation.tsp index bf0707571496..5de5ebf43a40 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAssociation.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspAssociation.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkSecurityPerimeter) model NspAssociation extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspAssociation extends SecurityPerimeterProxyResource { @@doc(NspAssociation.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspAssociations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLink.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLink.tsp index 0f15d7e017ea..fc66bcc58a95 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLink.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLink.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkSecurityPerimeter) model NspLink extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspLink extends SecurityPerimeterProxyResource { @@doc(NspLink.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspLinks { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLinkReference.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLinkReference.tsp index 2b3537ba1cb0..0e3d53f606d1 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLinkReference.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLinkReference.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkSecurityPerimeter) model NspLinkReference extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspLinkReference extends SecurityPerimeterProxyResource { @@doc(NspLinkReference.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspLinkReferences { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLoggingConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLoggingConfiguration.tsp index b427a8a5995b..cb53c5c6efd7 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLoggingConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspLoggingConfiguration.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkSecurityPerimeter) model NspLoggingConfiguration extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspLoggingConfiguration extends SecurityPerimeterProxyResource { @@doc(NspLoggingConfiguration.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspLoggingConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspProfile.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspProfile.tsp index f185feb1eace..e3d666db1f02 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NspProfile.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NspProfile.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(NetworkSecurityPerimeter) model NspProfile extends SecurityPerimeterProxyResource { @@ -43,7 +43,7 @@ model NspProfile extends SecurityPerimeterProxyResource { @@doc(NspProfile.name, "The name of the resource"); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NspProfiles { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/OutboundRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/OutboundRule.tsp index 64c0d111cb13..27c732c5fadb 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/OutboundRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/OutboundRule.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface OutboundRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/P2SVpnGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/P2SVpnGateway.tsp index 0966004cc623..65b8613d80cf 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/P2SVpnGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/P2SVpnGateway.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model P2SVpnGateway extends TrackedResourceWithSettableIdOptionalLocation { properties?: P2SVpnGatewayProperties; @@ -57,7 +57,7 @@ alias P2SVpnGatewayOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface P2SVpnGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PeerExpressRouteCircuitConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PeerExpressRouteCircuitConnection.tsp index 5e38d77cd0a8..7c2af74d31fa 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PeerExpressRouteCircuitConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PeerExpressRouteCircuitConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @parentResource(ExpressRouteCircuitPeering) @Http.Private.includeInapplicableMetadataInPayload(false) model PeerExpressRouteCircuitConnection extends SubResourceModel { @@ -44,7 +44,7 @@ model PeerExpressRouteCircuitConnection extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface PeerExpressRouteCircuitConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpoint.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpoint.tsp index aed315cb4b1e..d15e8e6ea56a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpoint.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpoint.tsp @@ -38,7 +38,7 @@ alias PrivateDnsZoneGroupOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface PrivateEndpoints { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpointConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpointConnection.tsp index 798d080da95f..ae40cd08f299 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpointConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateEndpointConnection.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface PrivateEndpointConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateLinkService.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateLinkService.tsp index 222b679e5f42..844535d62c51 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateLinkService.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PrivateLinkService.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface PrivateLinkServices { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/Probe.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/Probe.tsp index a4bd32c51338..22c3c7f663dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/Probe.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/Probe.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @armResourceOperations(#{ omitTags: true }) interface Probes { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPAddress.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPAddress.tsp index decd191bc3e5..a997ce844e1b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPAddress.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPAddress.tsp @@ -74,7 +74,7 @@ alias PublicIPAddressSubscriptionOps = Azure.ResourceManager.Legacy.LegacyOperat >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface PublicIPAddresses { /** @@ -120,7 +120,7 @@ alias PublicIPAddressOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOper #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface PublicIPAddressOperationGroup { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPPrefix.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPPrefix.tsp index dc9b84ccf341..ef7719a07516 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPPrefix.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/PublicIPPrefix.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPPrefix extends Common.Resource { properties?: PublicIPPrefixPropertiesFormat; @@ -57,7 +57,7 @@ model PublicIPPrefix extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface PublicIPPrefixes { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisIntent.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisIntent.tsp index fe63070b3480..f8096d9107b9 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisIntent.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisIntent.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(VerifierWorkspace) model ReachabilityAnalysisIntent extends CommonProxyResource { /** @@ -47,7 +47,7 @@ model ReachabilityAnalysisIntent extends CommonProxyResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface ReachabilityAnalysisIntents { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisRun.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisRun.tsp index 9716f5827e9d..980e6755d1a1 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisRun.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ReachabilityAnalysisRun.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @Http.Private.includeInapplicableMetadataInPayload(false) @parentResource(VerifierWorkspace) model ReachabilityAnalysisRun extends CommonProxyResource { @@ -47,7 +47,7 @@ model ReachabilityAnalysisRun extends CommonProxyResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface ReachabilityAnalysisRuns { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/Route.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/Route.tsp index 8734a26e2816..1375b761e26c 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/Route.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/Route.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface Routes { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteFilter.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteFilter.tsp index cc1c07ffd0a5..302731aefc2a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteFilter.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteFilter.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @Http.Private.includeInapplicableMetadataInPayload(false) model RouteFilter extends TrackedResourceWithSettableIdOptionalLocation { properties?: RouteFilterPropertiesFormat; @@ -61,7 +61,7 @@ alias RouteFilterRuleOps = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface RouteFilters { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteMap.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteMap.tsp index 4829cb51851e..c1952f102878 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteMap.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteMap.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model RouteMap extends ReadOnlySubResourceModel { @@ -44,7 +44,7 @@ model RouteMap extends ReadOnlySubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface RouteMaps { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteTable.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteTable.tsp index 17f682908ef0..fba5aadb5f53 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteTable.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RouteTable.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface RouteTables { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingIntent.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingIntent.tsp index cf10403a1120..7c563e1e9fa8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingIntent.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingIntent.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VirtualHub) @Http.Private.includeInapplicableMetadataInPayload(false) model RoutingIntent extends SubResourceModel { @@ -43,7 +43,7 @@ model RoutingIntent extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface RoutingIntents { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRule.tsp index 6a257fa43765..ceac076d882a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(RoutingRuleCollection) @Http.Private.includeInapplicableMetadataInPayload(false) model RoutingRule extends ChildResource { @@ -41,7 +41,7 @@ model RoutingRule extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface RoutingRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRuleCollection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRuleCollection.tsp index 20114457634e..fe5604a8f157 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRuleCollection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/RoutingRuleCollection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(NetworkManagerRoutingConfiguration) @Http.Private.includeInapplicableMetadataInPayload(false) model RoutingRuleCollection extends ChildResource { @@ -41,7 +41,7 @@ model RoutingRuleCollection extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface RoutingRuleCollections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ScopeConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ScopeConnection.tsp index f2aabff2ee49..e65961a8ab6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ScopeConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ScopeConnection.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ScopeConnection extends ChildResource { properties?: ScopeConnectionProperties; @@ -47,7 +47,7 @@ model ScopeConnection extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface ScopeConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityAdminConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityAdminConfiguration.tsp index 3c802457624f..817605615a50 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityAdminConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityAdminConfiguration.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityAdminConfiguration extends ChildResource { properties?: SecurityAdminConfigurationPropertiesFormat; @@ -40,7 +40,7 @@ model SecurityAdminConfiguration extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface SecurityAdminConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityPartnerProvider.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityPartnerProvider.tsp index 3d988b308cd6..c59e82835d05 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityPartnerProvider.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityPartnerProvider.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SecurityPartnerProvider extends Common.Resource { properties?: SecurityPartnerProviderPropertiesFormat; @@ -39,7 +39,7 @@ model SecurityPartnerProvider extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface SecurityPartnerProviders { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityRule.tsp index ad527c86039b..79ccb8a97d9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityRule.tsp @@ -37,7 +37,7 @@ alias SecurityRuleOps = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface SecurityRules { /** @@ -94,7 +94,7 @@ alias DefaultSecurityRuleOps = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface DefaultSecurityRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserConfiguration.tsp index a9599fdf09b7..f75e0c5477ea 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserConfiguration.tsp @@ -22,7 +22,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(NetworkManager) @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityUserConfiguration extends ChildResource { properties?: SecurityUserConfigurationPropertiesFormat; @@ -41,7 +41,7 @@ model SecurityUserConfiguration extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface SecurityUserConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRule.tsp index 636984f29b77..62c5d619d8d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(SecurityUserRuleCollection) @Http.Private.includeInapplicableMetadataInPayload(false) model SecurityUserRule extends ChildResource { @@ -41,7 +41,7 @@ model SecurityUserRule extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface SecurityUserRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRuleCollection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRuleCollection.tsp index 67b0ddbaf22a..a3cb83850fbd 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRuleCollection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SecurityUserRuleCollection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(SecurityUserConfiguration) @Http.Private.includeInapplicableMetadataInPayload(false) model SecurityUserRuleCollection extends ChildResource { @@ -41,7 +41,7 @@ model SecurityUserRuleCollection extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface SecurityUserRuleCollections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicy.tsp index 3148e6851301..f875a450a794 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicy.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations interface ServiceEndpointPolicies { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicyDefinition.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicyDefinition.tsp index 8eea9df9c1a3..c9ffad34c09e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicyDefinition.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceEndpointPolicyDefinition.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ omitTags: true }) interface ServiceEndpointPolicyDefinitions { @tag("serviceEndpointPolicyDefinitions") diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceGateway.tsp index 748d837d5fd9..e2323939808d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ServiceGateway.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model ServiceGateway extends SecurityPerimeterTrackedResource { properties?: ServiceGatewayPropertiesFormat; @@ -53,7 +53,7 @@ model ServiceGateway extends SecurityPerimeterTrackedResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) @armResourceOperations interface ServiceGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SignaturesOverrides.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SignaturesOverrides.tsp index b3c63abb0c52..18ed10a56de2 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SignaturesOverrides.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SignaturesOverrides.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @Http.Private.includeInapplicableMetadataInPayload(false) @singleton("default") @parentResource(FirewallPolicy) @@ -65,7 +65,7 @@ alias FirewallPolicyIdpsSignaturesOverridesListOps = Azure.ResourceManager.Legac #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface FirewallPolicyIdpsSignaturesOverrides { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticCidr.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticCidr.tsp index 0577ae16b50d..2e0c83eace4a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticCidr.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticCidr.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(IpamPool) model StaticCidr extends CommonProxyResource { /** @@ -74,7 +74,7 @@ alias StaticCidrOps = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface StaticCidrs { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticMember.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticMember.tsp index 307ac2c64a09..db58cbc70496 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticMember.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/StaticMember.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @parentResource(NetworkGroup) @Http.Private.includeInapplicableMetadataInPayload(false) model StaticMember extends ChildResource { @@ -40,7 +40,7 @@ model StaticMember extends ChildResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations interface StaticMembers { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/Subnet.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/Subnet.tsp index 16a0953e7a87..f38a7ddcf987 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/Subnet.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/Subnet.tsp @@ -15,7 +15,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface Subnets { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/SwapResource.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/SwapResource.tsp index ead7ab8db4dd..989563e86b16 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/SwapResource.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/SwapResource.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SwapResource extends ProxyResourceWithReadOnlyID { /** * Properties of the SwapResource. @@ -111,7 +111,7 @@ alias SwapResourceListOps = Legacy.ExtensionOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface SwapResources { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VerifierWorkspace.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VerifierWorkspace.tsp index 51b964369862..8094c051b48d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VerifierWorkspace.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VerifierWorkspace.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkManager) model VerifierWorkspace extends CommonTrackedResource { /** @@ -53,7 +53,7 @@ model VerifierWorkspace extends CommonTrackedResource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface VerifierWorkspaces { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualApplianceSite.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualApplianceSite.tsp index 7561e2078cf8..534c5a0676df 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualApplianceSite.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualApplianceSite.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(NetworkVirtualAppliance) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualApplianceSite extends SubResourceModel { @@ -44,7 +44,7 @@ model VirtualApplianceSite extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface VirtualApplianceSites { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualHub.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualHub.tsp index f4eb3ff8e285..084a5809c2a8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualHub.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualHub.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualHub extends TrackedResourceWithSettableIdOptionalLocation { properties?: VirtualHubProperties; @@ -94,7 +94,7 @@ alias VirtualHubRouteTableV2Ops = Azure.ResourceManager.Legacy.RoutedOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface VirtualHubs { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetwork.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetwork.tsp index b2e334fb0a4e..a2877cb621b0 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetwork.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetwork.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface VirtualNetworks { /** @@ -139,7 +139,7 @@ interface VirtualNetworks { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @armResourceOperations(#{ omitTags: true }) interface EffectiveConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkAppliance.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkAppliance.tsp index 91341a97380f..48a898ee82e8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkAppliance.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkAppliance.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetworkAppliance) +@Azure.ResourceManager.featureFile(Features.virtualNetworkAppliance) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkAppliance extends Common.Resource { properties?: VirtualNetworkAppliancePropertiesFormat; @@ -41,7 +41,7 @@ model VirtualNetworkAppliance extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetworkAppliance) +@Azure.ResourceManager.featureFile(Features.virtualNetworkAppliance) @armResourceOperations interface VirtualNetworkAppliances { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGateway.tsp index c8629d903748..c2f646cf527b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGateway.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkGateway extends Common.Resource { properties: VirtualNetworkGatewayPropertiesFormat; @@ -51,7 +51,7 @@ model VirtualNetworkGateway extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @armResourceOperations(#{ omitTags: true }) interface VirtualNetworkGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayConnection.tsp index 8b730a524416..bdf4f6aaa110 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayConnection.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkGatewayConnection extends Common.Resource { properties: VirtualNetworkGatewayConnectionPropertiesFormat; @@ -39,7 +39,7 @@ model VirtualNetworkGatewayConnection extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @armResourceOperations(#{ omitTags: true }) interface VirtualNetworkGatewayConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayNatRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayNatRule.tsp index 7c9452ce8e5b..7add1032333e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayNatRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkGatewayNatRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @parentResource(VirtualNetworkGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualNetworkGatewayNatRule extends SubResourceModel { @@ -44,7 +44,7 @@ model VirtualNetworkGatewayNatRule extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @armResourceOperations(#{ omitTags: true }) interface VirtualNetworkGatewayNatRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkPeering.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkPeering.tsp index f44cc1b61db4..7cd6217f4c20 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkPeering.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkPeering.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface VirtualNetworkPeerings { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkTap.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkTap.tsp index 161ab2339f48..ad01b512cae4 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkTap.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualNetworkTap.tsp @@ -14,7 +14,7 @@ using Common; namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) @armResourceOperations(#{ omitTags: true }) interface VirtualNetworkTaps { @tag("VirtualNetworkTap") diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouter.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouter.tsp index 345315bde977..38b20ff4daca 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouter.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouter.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualRouter extends Common.Resource { properties?: VirtualRouterPropertiesFormat; @@ -39,7 +39,7 @@ model VirtualRouter extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface VirtualRouters { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouterPeering.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouterPeering.tsp index dd3bcc363702..d695bdc67723 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouterPeering.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualRouterPeering.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @parentResource(VirtualRouter) @Http.Private.includeInapplicableMetadataInPayload(false) model VirtualRouterPeering extends SubResourceModel { @@ -44,7 +44,7 @@ model VirtualRouterPeering extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations interface VirtualRouterPeerings { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualWAN.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualWAN.tsp index 80aa2d14542a..73921dd2f01d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualWAN.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VirtualWAN.tsp @@ -21,7 +21,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" @Http.Private.includeInapplicableMetadataInPayload(false) -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualWAN extends TrackedResourceWithSettableIdOptionalLocation { properties?: VirtualWanProperties; @@ -59,7 +59,7 @@ alias VirtualWanOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VirtualWans { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGateway.tsp index 8e9afec41091..e910ebafac9e 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGateway.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnGateway extends TrackedResourceWithSettableIdOptionalLocation { properties?: VpnGatewayProperties; @@ -85,7 +85,7 @@ alias VpnConnection2Ops = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ allowStaticRoutes: true, omitTags: true }) interface VpnGateways { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGatewayNatRule.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGatewayNatRule.tsp index 3fbd91d2ce44..194c2302bc73 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGatewayNatRule.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnGatewayNatRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VpnGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnGatewayNatRule extends SubResourceModel { @@ -44,7 +44,7 @@ model VpnGatewayNatRule extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnGatewayNatRules { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfiguration.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfiguration.tsp index bf72a7531f9f..959f1437fc2c 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfiguration.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfiguration.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnServerConfiguration extends TrackedResourceWithSettableName { properties?: VpnServerConfigurationProperties; @@ -39,7 +39,7 @@ model VpnServerConfiguration extends TrackedResourceWithSettableName { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnServerConfigurations { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfigurationPolicyGroup.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfigurationPolicyGroup.tsp index ab487ea88927..be87b53dde13 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfigurationPolicyGroup.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnServerConfigurationPolicyGroup.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VpnServerConfiguration) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnServerConfigurationPolicyGroup extends SubResourceModel { @@ -44,7 +44,7 @@ model VpnServerConfigurationPolicyGroup extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnServerConfigurationPolicyGroups { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSite.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSite.tsp index 2ef1c0100d05..ae31591795f8 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSite.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSite.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnSite extends TrackedResourceWithSettableIdOptionalLocation { properties?: VpnSiteProperties; @@ -39,7 +39,7 @@ model VpnSite extends TrackedResourceWithSettableIdOptionalLocation { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnSites { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLink.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLink.tsp index 5f2993cb9bde..f18aa1d9bcbc 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLink.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLink.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VpnSite) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnSiteLink extends SubResourceModel { @@ -44,7 +44,7 @@ model VpnSiteLink extends SubResourceModel { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnSiteLinks { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLinkConnection.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLinkConnection.tsp index 774dab952fcc..f9900052fff0 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLinkConnection.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/VpnSiteLinkConnection.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @parentResource(VpnGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model VpnSiteLinkConnection extends SubResourceModel { @@ -72,7 +72,7 @@ alias VpnSiteLinkConnectionsOps = Azure.ResourceManager.Legacy.LegacyOperations< >; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) @armResourceOperations(#{ omitTags: true }) interface VpnSiteLinkConnections { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/WebApplicationFirewallPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/WebApplicationFirewallPolicy.tsp index 8c7cd6f38cbf..3c416bb4142b 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/WebApplicationFirewallPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/WebApplicationFirewallPolicy.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @Http.Private.includeInapplicableMetadataInPayload(false) model WebApplicationFirewallPolicy extends Common.Resource { properties?: WebApplicationFirewallPolicyPropertiesFormat; @@ -39,7 +39,7 @@ model WebApplicationFirewallPolicy extends Common.Resource { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations interface WebApplicationFirewallPolicies { /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp index b52ccb298ead..a37b0a0df8ec 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp @@ -148,7 +148,7 @@ using Common; /** * APIs to manage web application firewall rules. */ -@Azure.ResourceManager.Legacy.features(Features) +@Azure.ResourceManager.featureFiles(Features) @armProviderNamespace @service(#{ title: "WebApplicationFirewallManagement" }) @versioned(Versions) @@ -173,7 +173,7 @@ enum Versions { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) @armResourceOperations(#{ omitTags: true }) interface Operations extends Azure.ResourceManager.Legacy.Operations< diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp index 4a983828b713..1cf2d403015d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Network; * Name of an application gateway SKU. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySkuName { string, @@ -68,7 +68,7 @@ union ApplicationGatewaySkuName { * Tier of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayTier { string, @@ -102,7 +102,7 @@ union ApplicationGatewayTier { * Family of an application gateway SKU. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySkuFamily { string, @@ -121,7 +121,7 @@ union ApplicationGatewaySkuFamily { * Ssl protocol enums. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySslProtocol { string, @@ -150,7 +150,7 @@ union ApplicationGatewaySslProtocol { * Type of Ssl Policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySslPolicyType { string, @@ -174,7 +174,7 @@ union ApplicationGatewaySslPolicyType { * Ssl predefined policy name enums. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySslPolicyName { string, @@ -208,7 +208,7 @@ union ApplicationGatewaySslPolicyName { * Ssl cipher suites enums. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewaySslCipherSuite { string, @@ -357,7 +357,7 @@ union ApplicationGatewaySslCipherSuite { * Operational state of the application gateway resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayOperationalState { string, @@ -386,7 +386,7 @@ union ApplicationGatewayOperationalState { * Application Gateway protocol. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayProtocol { string, @@ -415,7 +415,7 @@ union ApplicationGatewayProtocol { * Cookie based affinity. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayCookieBasedAffinity { string, @@ -434,7 +434,7 @@ union ApplicationGatewayCookieBasedAffinity { * Status code of the application gateway custom error. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayCustomErrorStatusCode { string, @@ -488,7 +488,7 @@ union ApplicationGatewayCustomErrorStatusCode { * Verify client certificate revocation status. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayClientRevocationOptions { string, @@ -507,7 +507,7 @@ union ApplicationGatewayClientRevocationOptions { * Verify client Authentication mode. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayClientAuthVerificationModes { string, @@ -526,7 +526,7 @@ union ApplicationGatewayClientAuthVerificationModes { * Rule type. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayRequestRoutingRuleType { string, @@ -545,7 +545,7 @@ union ApplicationGatewayRequestRoutingRuleType { * Redirect type enum. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayRedirectType { string, @@ -574,7 +574,7 @@ union ApplicationGatewayRedirectType { * Web application firewall mode. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayFirewallMode { string, @@ -593,7 +593,7 @@ union ApplicationGatewayFirewallMode { * Load Distribution Algorithm enums. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayLoadDistributionAlgorithm { string, @@ -617,7 +617,7 @@ union ApplicationGatewayLoadDistributionAlgorithm { * Unauthorized request action. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayUnAuthorizedRequestAction { string, @@ -636,7 +636,7 @@ union ApplicationGatewayUnAuthorizedRequestAction { * Health of backend server. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayBackendHealthServerHealth { string, @@ -670,7 +670,7 @@ union ApplicationGatewayBackendHealthServerHealth { * The string representation of the web application firewall rule state. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayWafRuleStateTypes { string, @@ -689,7 +689,7 @@ union ApplicationGatewayWafRuleStateTypes { * The string representation of the web application firewall rule action. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayWafRuleActionTypes { string, @@ -723,7 +723,7 @@ union ApplicationGatewayWafRuleActionTypes { * The string representation of the web application firewall rule sensitivity. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayWafRuleSensitivityTypes { string, @@ -745,7 +745,7 @@ union ApplicationGatewayWafRuleSensitivityTypes { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayTierTypes { string, @@ -774,7 +774,7 @@ union ApplicationGatewayTierTypes { * The rule set status */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayRuleSetStatusOptions { string, @@ -3958,7 +3958,7 @@ union VpnClientProtocol { * VPN authentication types enabled for the virtual network gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnAuthenticationType { string, @@ -4249,7 +4249,7 @@ union PfsGroup { * The Vpn Policy member attribute type. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnPolicyMemberAttributeType { string, @@ -4273,7 +4273,7 @@ union VpnPolicyMemberAttributeType { * The type of NAT rule for VPN NAT. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnNatRuleType { string, @@ -4292,7 +4292,7 @@ union VpnNatRuleType { * The Source NAT direction of a VPN NAT. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnNatRuleMode { string, @@ -4372,7 +4372,7 @@ union VirtualNetworkGatewayConnectionType { * Gateway connection protocol. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VirtualNetworkGatewayConnectionProtocol { string, @@ -4457,7 +4457,7 @@ union ProcessorArchitecture { * VPN client authentication method. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union AuthenticationMethod { string, @@ -4651,7 +4651,7 @@ union FailoverTestStatusForSingleTest { * The link on which the failover test is being performed. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) union ExpressRouteFailoverLinkType { string, @@ -4671,7 +4671,7 @@ union ExpressRouteFailoverLinkType { * The type of maintenance that can occur during an ExpressRoute failover test. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) union MaintenanceTestCategory { string, @@ -4691,7 +4691,7 @@ union MaintenanceTestCategory { * The address family type for BGP status. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) union ExpressRouteFailoverBgpStatusAddressFamily { string, @@ -4711,7 +4711,7 @@ union ExpressRouteFailoverBgpStatusAddressFamily { * The BGP status of an ExpressRoute link failover. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) union ExpressRouteLinkFailoverBgpStatus { string, @@ -4765,7 +4765,7 @@ union VirtualNetworkGatewayMigrationType { * The office traffic category. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union OfficeTrafficCategory { string, @@ -4794,7 +4794,7 @@ union OfficeTrafficCategory { * The virtual wan security provider type. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VirtualWanSecurityProviderType { string, @@ -4813,7 +4813,7 @@ union VirtualWanSecurityProviderType { * VPN protocol enabled for the VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnGatewayTunnelingProtocol { string, @@ -4832,7 +4832,7 @@ union VpnGatewayTunnelingProtocol { * Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke vnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VnetLocalRouteOverrideCriteria { string, @@ -4851,7 +4851,7 @@ union VnetLocalRouteOverrideCriteria { * The current routing state of the VirtualHub. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union RoutingState { string, @@ -4880,7 +4880,7 @@ union RoutingState { * The preferred routing gateway types */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union PreferredRoutingGateway { string, @@ -4904,7 +4904,7 @@ union PreferredRoutingGateway { * The hub routing preference gateway types */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union HubRoutingPreference { string, @@ -4928,7 +4928,7 @@ union HubRoutingPreference { * Match condition to apply RouteMap rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union RouteMapMatchCondition { string, @@ -4962,7 +4962,7 @@ union RouteMapMatchCondition { * Kind of actions which can be taken on a matched route. Add, Replace, Remove refer to parameters on the route, like community or prefix */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union RouteMapActionType { string, @@ -4996,7 +4996,7 @@ union RouteMapActionType { * Supported next step behaviors after a rule is applied to a matched route */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union NextStep { string, @@ -5020,7 +5020,7 @@ union NextStep { * The current state of the vpn connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnConnectionStatus { string, @@ -5049,7 +5049,7 @@ union VpnConnectionStatus { * Vpn link connection mode. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union VpnLinkConnectionMode { string, @@ -5073,7 +5073,7 @@ union VpnLinkConnectionMode { * The current state of the VirtualHub to Peer. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) union HubBgpConnectionStatus { string, @@ -5241,7 +5241,7 @@ union WebApplicationFirewallState { * Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) union ApplicationGatewayFirewallRateLimitDuration { string, @@ -5780,7 +5780,7 @@ union SensitivityType { * The action type of a rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) union FirewallPolicyNatRuleCollectionActionType { string, @@ -5816,7 +5816,7 @@ union FirewallPolicyRuleType { * The action type of a rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) union FirewallPolicyFilterRuleCollectionActionType { string, @@ -5835,7 +5835,7 @@ union FirewallPolicyFilterRuleCollectionActionType { * The application protocol type of a Rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) union FirewallPolicyRuleApplicationProtocolType { string, @@ -5854,7 +5854,7 @@ union FirewallPolicyRuleApplicationProtocolType { * The Network protocol of a Rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) union FirewallPolicyRuleNetworkProtocol { string, @@ -6157,7 +6157,7 @@ enum PacketCaptureTargetType { * Properties of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPropertiesFormat { /** * SKU of the application gateway resource. @@ -6358,7 +6358,7 @@ model ApplicationGatewayPropertiesFormat { * SKU of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySku { /** * Name of an application gateway SKU. @@ -6385,7 +6385,7 @@ model ApplicationGatewaySku { * Managed HSM properties of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "This model is part of the existing Application Gateway resource type and must use legacy patterns for backward compatibility" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @added(Versions.v2025_07_01) model ApplicationGatewayManagedHsm { /** @@ -6403,7 +6403,7 @@ model ApplicationGatewayManagedHsm { * Application Gateway Ssl policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslPolicy { /** * Ssl protocols to be disabled on application gateway. @@ -6593,7 +6593,7 @@ model TrackedResourceWithEtag { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAuthenticationCertificate extends SubResource { /** * Properties of the application gateway authentication certificate. @@ -6622,7 +6622,7 @@ model ApplicationGatewayAuthenticationCertificate extends SubResource { * Authentication certificates properties of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAuthenticationCertificatePropertiesFormat { /** * Certificate public data. @@ -6641,7 +6641,7 @@ model ApplicationGatewayAuthenticationCertificatePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayTrustedRootCertificate extends SubResource { /** * Properties of the application gateway trusted root certificate. @@ -6670,7 +6670,7 @@ model ApplicationGatewayTrustedRootCertificate extends SubResource { * Trusted Root certificates properties of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayTrustedRootCertificatePropertiesFormat { /** * Certificate public data. @@ -6694,7 +6694,7 @@ model ApplicationGatewayTrustedRootCertificatePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayTrustedClientCertificate extends SubResource { /** * Properties of the application gateway trusted client certificate. @@ -6723,7 +6723,7 @@ model ApplicationGatewayTrustedClientCertificate extends SubResource { * Trusted client certificates properties of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayTrustedClientCertificatePropertiesFormat { /** * Certificate public data. @@ -6755,7 +6755,7 @@ model ApplicationGatewayTrustedClientCertificatePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslCertificate extends SubResource { /** * Properties of the application gateway SSL certificate. @@ -6784,7 +6784,7 @@ model ApplicationGatewaySslCertificate extends SubResource { * Properties of SSL certificates of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslCertificatePropertiesFormat { /** * Base-64 encoded pfx certificate. Only applicable in PUT Request. @@ -6826,7 +6826,7 @@ model ApplicationGatewaySslCertificatePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFrontendIPConfiguration extends SubResource { /** * Properties of the application gateway frontend IP configuration. @@ -6856,7 +6856,7 @@ model ApplicationGatewayFrontendIPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFrontendIPConfigurationPropertiesFormat { /** * PrivateIPAddress of the network interface IP Configuration. @@ -6898,7 +6898,7 @@ model ApplicationGatewayFrontendIPConfigurationPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFrontendPort extends SubResource { /** * Properties of the application gateway frontend port. @@ -6927,7 +6927,7 @@ model ApplicationGatewayFrontendPort extends SubResource { * Properties of Frontend port of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFrontendPortPropertiesFormat { /** * Frontend port. @@ -6946,7 +6946,7 @@ model ApplicationGatewayFrontendPortPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayProbe extends SubResource { /** * Properties of the application gateway probe. @@ -6975,7 +6975,7 @@ model ApplicationGatewayProbe extends SubResource { * Properties of probe of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayProbePropertiesFormat { /** * The protocol used for the probe. @@ -7050,7 +7050,7 @@ model ApplicationGatewayProbePropertiesFormat { * Application gateway probe health response match. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayProbeHealthResponseMatch { /** * Body that must be contained in the health response. Default value is empty. @@ -7068,7 +7068,7 @@ model ApplicationGatewayProbeHealthResponseMatch { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHttpSettings extends SubResource { /** * Properties of the application gateway backend HTTP settings. @@ -7097,7 +7097,7 @@ model ApplicationGatewayBackendHttpSettings extends SubResource { * Properties of Backend address pool settings of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHttpSettingsPropertiesFormat { /** * The destination port on the backend. @@ -7196,7 +7196,7 @@ model ApplicationGatewayBackendHttpSettingsPropertiesFormat { * Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayConnectionDraining { /** * Whether connection draining is enabled or not. @@ -7216,7 +7216,7 @@ model ApplicationGatewayConnectionDraining { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendSettings extends SubResource { /** * Properties of the application gateway backend settings. @@ -7245,7 +7245,7 @@ model ApplicationGatewayBackendSettings extends SubResource { * Properties of Backend address pool settings of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendSettingsPropertiesFormat { /** * The destination port on the backend. @@ -7299,7 +7299,7 @@ model ApplicationGatewayBackendSettingsPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayHttpListener extends SubResource { /** * Properties of the application gateway HTTP listener. @@ -7328,7 +7328,7 @@ model ApplicationGatewayHttpListener extends SubResource { * Properties of HTTP listener of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayHttpListenerPropertiesFormat { /** * Frontend IP configuration resource of an application gateway. @@ -7393,7 +7393,7 @@ model ApplicationGatewayHttpListenerPropertiesFormat { * Custom error of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayCustomError { /** * Status code of the application gateway custom error. @@ -7411,7 +7411,7 @@ model ApplicationGatewayCustomError { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayListener extends SubResource { /** * Properties of the application gateway listener. @@ -7440,7 +7440,7 @@ model ApplicationGatewayListener extends SubResource { * Properties of listener of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayListenerPropertiesFormat { /** * Frontend IP configuration resource of an application gateway. @@ -7485,7 +7485,7 @@ model ApplicationGatewayListenerPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslProfile extends SubResource { /** * Properties of the application gateway SSL profile. @@ -7514,7 +7514,7 @@ model ApplicationGatewaySslProfile extends SubResource { * Properties of SSL profile of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslProfilePropertiesFormat { /** * Array of references to application gateway trusted client certificates. @@ -7542,7 +7542,7 @@ model ApplicationGatewaySslProfilePropertiesFormat { * Application gateway client authentication configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayClientAuthConfiguration { /** * Verify client certificate issuer name on the application gateway. @@ -7566,7 +7566,7 @@ model ApplicationGatewayClientAuthConfiguration { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayUrlPathMap extends SubResource { /** * Properties of the application gateway URL path map. @@ -7595,7 +7595,7 @@ model ApplicationGatewayUrlPathMap extends SubResource { * Properties of UrlPathMap of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayUrlPathMapPropertiesFormat { /** * Default backend address pool resource of URL path map. @@ -7639,7 +7639,7 @@ model ApplicationGatewayUrlPathMapPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPathRule extends SubResource { /** * Properties of the application gateway path rule. @@ -7668,7 +7668,7 @@ model ApplicationGatewayPathRule extends SubResource { * Properties of path rule of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPathRulePropertiesFormat { /** * Path rules of URL path map. @@ -7717,7 +7717,7 @@ model ApplicationGatewayPathRulePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRequestRoutingRule extends SubResource { /** * Properties of the application gateway request routing rule. @@ -7746,7 +7746,7 @@ model ApplicationGatewayRequestRoutingRule extends SubResource { * Properties of request routing rule of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRequestRoutingRulePropertiesFormat { /** * Rule type. @@ -7813,7 +7813,7 @@ model ApplicationGatewayRequestRoutingRulePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRoutingRule extends SubResource { /** * Properties of the application gateway routing rule. @@ -7842,7 +7842,7 @@ model ApplicationGatewayRoutingRule extends SubResource { * Properties of routing rule of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRoutingRulePropertiesFormat { /** * Rule type. @@ -7883,7 +7883,7 @@ model ApplicationGatewayRoutingRulePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRewriteRuleSet extends SubResource { /** * Properties of the application gateway rewrite rule set. @@ -7906,7 +7906,7 @@ model ApplicationGatewayRewriteRuleSet extends SubResource { * Properties of rewrite rule set of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRewriteRuleSetPropertiesFormat { /** * Rewrite rules in the rewrite rule set. @@ -7924,7 +7924,7 @@ model ApplicationGatewayRewriteRuleSetPropertiesFormat { * Rewrite rule of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRewriteRule { /** * Name of the rewrite rule that is unique within an Application Gateway. @@ -7952,7 +7952,7 @@ model ApplicationGatewayRewriteRule { * Set of conditions in the Rewrite Rule in Application Gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRewriteRuleCondition { /** * The condition parameter of the RewriteRuleCondition. @@ -7979,7 +7979,7 @@ model ApplicationGatewayRewriteRuleCondition { * Set of actions in the Rewrite Rule in Application Gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRewriteRuleActionSet { /** * Request Header Actions in the Action Set. @@ -8003,7 +8003,7 @@ model ApplicationGatewayRewriteRuleActionSet { * Header configuration of the Actions set in Application Gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayHeaderConfiguration { /** * Header name of the header configuration. @@ -8025,7 +8025,7 @@ model ApplicationGatewayHeaderConfiguration { * An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model HeaderValueMatcher { /** * The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite. @@ -8047,7 +8047,7 @@ model HeaderValueMatcher { * Url configuration of the Actions set in Application Gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayUrlConfiguration { /** * Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null. @@ -8070,7 +8070,7 @@ model ApplicationGatewayUrlConfiguration { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRedirectConfiguration extends SubResource { /** * Properties of the application gateway redirect configuration. @@ -8099,7 +8099,7 @@ model ApplicationGatewayRedirectConfiguration extends SubResource { * Properties of redirect configuration of the application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayRedirectConfigurationPropertiesFormat { /** * HTTP redirection type. @@ -8146,7 +8146,7 @@ model ApplicationGatewayRedirectConfigurationPropertiesFormat { * Application gateway web application firewall configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayWebApplicationFirewallConfiguration { /** * Whether the web application firewall is enabled or not. @@ -8210,7 +8210,7 @@ model ApplicationGatewayWebApplicationFirewallConfiguration { * Allows to disable rules within a rule group or an entire rule group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallDisabledRuleGroup { /** * The name of the rule group that will be disabled. @@ -8227,7 +8227,7 @@ model ApplicationGatewayFirewallDisabledRuleGroup { * Allow to exclude some variable satisfy the condition for the WAF check. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallExclusion { /** * The variable to be excluded. @@ -8249,7 +8249,7 @@ model ApplicationGatewayFirewallExclusion { * Application Gateway autoscale configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAutoscaleConfiguration { /** * Lower bound on number of Application Gateway capacity. @@ -8269,7 +8269,7 @@ model ApplicationGatewayAutoscaleConfiguration { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkConfiguration extends SubResource { /** * Properties of the application gateway private link configuration. @@ -8298,7 +8298,7 @@ model ApplicationGatewayPrivateLinkConfiguration extends SubResource { * Properties of private link configuration on an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkConfigurationProperties { /** * An array of application gateway private link ip configurations. @@ -8317,7 +8317,7 @@ model ApplicationGatewayPrivateLinkConfigurationProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { /** * Properties of an application gateway private link ip configuration. @@ -8346,7 +8346,7 @@ model ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { * Properties of an application gateway private link IP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkIpConfigurationProperties { /** * The private IP address of the IP configuration. @@ -8381,7 +8381,7 @@ model ApplicationGatewayPrivateLinkIpConfigurationProperties { * Properties of Private Link Resource of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateEndpointConnectionProperties { /** * The resource of private end point. @@ -8412,7 +8412,7 @@ model ApplicationGatewayPrivateEndpointConnectionProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayLoadDistributionPolicy extends SubResource { /** * Properties of the application gateway load distribution policy. @@ -8441,7 +8441,7 @@ model ApplicationGatewayLoadDistributionPolicy extends SubResource { * Properties of Load Distribution Policy of an application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayLoadDistributionPolicyPropertiesFormat { /** * Load Distribution Targets resource of an application gateway. @@ -8465,7 +8465,7 @@ model ApplicationGatewayLoadDistributionPolicyPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayLoadDistributionTarget extends SubResource { /** * Properties of the application gateway load distribution target. @@ -8492,7 +8492,7 @@ model ApplicationGatewayLoadDistributionTarget extends SubResource { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayLoadDistributionTargetPropertiesFormat { /** * Weight per server. Range between 1 and 100. @@ -8513,7 +8513,7 @@ model ApplicationGatewayLoadDistributionTargetPropertiesFormat { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayEntraJWTValidationConfig extends SubResource { /** * Properties of the application gateway entra jwt validation configuration. @@ -8537,7 +8537,7 @@ model ApplicationGatewayEntraJWTValidationConfig extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayEntraJWTValidationConfigPropertiesFormat { /** * Unauthorized request action. @@ -8570,7 +8570,7 @@ model ApplicationGatewayEntraJWTValidationConfigPropertiesFormat { * Application Gateway global configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayGlobalConfiguration { /** * Enable request buffering. @@ -8599,7 +8599,7 @@ model TagsObject { * Response for ApplicationGatewayBackendHealth API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHealth { /** * A list of ApplicationGatewayBackendHealthPool resources. @@ -8612,7 +8612,7 @@ model ApplicationGatewayBackendHealth { * Application gateway BackendHealth pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHealthPool { /** * Reference to an ApplicationGatewayBackendAddressPool resource. @@ -8630,7 +8630,7 @@ model ApplicationGatewayBackendHealthPool { * Application gateway BackendHealthHttp settings. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHealthHttpSettings { /** * Reference to an ApplicationGatewayBackendHttpSettings resource. @@ -8648,7 +8648,7 @@ model ApplicationGatewayBackendHealthHttpSettings { * Application gateway backendhealth http settings. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHealthServer { /** * IP address or FQDN of backend server. @@ -8675,7 +8675,7 @@ model ApplicationGatewayBackendHealthServer { * Details of on demand test probe request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayOnDemandProbe { /** * The protocol used for the probe. @@ -8727,7 +8727,7 @@ model ApplicationGatewayOnDemandProbe { * Result of on demand test probe. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayBackendHealthOnDemand { /** * Reference to an ApplicationGatewayBackendAddressPool resource. @@ -8745,7 +8745,7 @@ model ApplicationGatewayBackendHealthOnDemand { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkResource extends SubResource { /** * Properties of the application gateway private link resource. @@ -8774,7 +8774,7 @@ model ApplicationGatewayPrivateLinkResource extends SubResource { * Properties of a private link resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayPrivateLinkResourceProperties { /** * Group identifier of private link resource. @@ -8850,7 +8850,7 @@ model ErrorDetails { * Response for ApplicationGatewayAvailableWafRuleSets API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAvailableWafRuleSetsResult { /** * The list of application gateway rule sets. @@ -8865,7 +8865,7 @@ model ApplicationGatewayAvailableWafRuleSetsResult { #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallRuleSet extends Common.Resource { /** * Properties of the application gateway firewall rule set. @@ -8877,7 +8877,7 @@ model ApplicationGatewayFirewallRuleSet extends Common.Resource { * Properties of the web application firewall rule set. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallRuleSetPropertiesFormat { /** * The provisioning state of the web application firewall rule set. @@ -8911,7 +8911,7 @@ model ApplicationGatewayFirewallRuleSetPropertiesFormat { * A web application firewall rule group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallRuleGroup { /** * The name of the web application firewall rule group. @@ -8934,7 +8934,7 @@ model ApplicationGatewayFirewallRuleGroup { * A web application firewall rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallRule { /** * The identifier of the web application firewall rule. @@ -8972,7 +8972,7 @@ model ApplicationGatewayFirewallRule { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAvailableSslOptionsPropertiesFormat { /** * List of available Ssl predefined policy. @@ -8999,7 +8999,7 @@ model ApplicationGatewayAvailableSslOptionsPropertiesFormat { * Response for ApplicationGatewayAvailableSslOptions API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayAvailableSslPredefinedPolicies is Azure.Core.Page; @@ -9008,7 +9008,7 @@ model ApplicationGatewayAvailableSslPredefinedPolicies */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslPredefinedPolicy extends SubResource { /** * Name of the Ssl predefined policy. @@ -9025,7 +9025,7 @@ model ApplicationGatewaySslPredefinedPolicy extends SubResource { * Properties of ApplicationGatewaySslPredefinedPolicy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewaySslPredefinedPolicyPropertiesFormat { /** * Ssl cipher suites to be enabled in the specified order for application gateway. @@ -9043,7 +9043,7 @@ model ApplicationGatewaySslPredefinedPolicyPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayWafDynamicManifestPropertiesResult { /** * The default ruleset. @@ -9061,7 +9061,7 @@ model ApplicationGatewayWafDynamicManifestPropertiesResult { * the default web application firewall rule set. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model DefaultRuleSetPropertyFormat { /** * The type of the web application firewall rule set. @@ -9078,7 +9078,7 @@ model DefaultRuleSetPropertyFormat { * Properties of the web application firewall rule set. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayFirewallManifestRuleSet { /** * The type of the web application firewall rule set. @@ -9111,7 +9111,7 @@ model ApplicationGatewayFirewallManifestRuleSet { * Response for ApplicationGatewayWafDynamicManifests API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayWafDynamicManifestResultList is Azure.Core.Page; @@ -9119,14 +9119,14 @@ model ApplicationGatewayWafDynamicManifestResultList * An array of available delegations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailableDelegationsResult is Azure.Core.Page; /** * The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailableDelegation { /** * The name of the AvailableDelegation resource. @@ -9158,14 +9158,14 @@ model AvailableDelegation { * An array of available service aliases. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailableServiceAliasesResult is Azure.Core.Page; /** * The available service alias. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailableServiceAlias { /** * The name of the service alias. @@ -9192,7 +9192,7 @@ model AvailableServiceAlias { * Properties of the Azure Firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallPropertiesFormat { /** * Collection of application rule collections used by Azure Firewall. @@ -9281,7 +9281,7 @@ model AzureFirewallPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "AfcConfiguration is a firewall-specific model and must be emitted to firewall.json" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AfcConfiguration { /** * The endpoint URL of the AFC control plane associated with this Azure Firewall. @@ -9295,7 +9295,7 @@ model AfcConfiguration { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallApplicationRuleCollection extends SubResource { /** * Properties of the azure firewall application rule collection. @@ -9318,7 +9318,7 @@ model AzureFirewallApplicationRuleCollection extends SubResource { * Properties of the application rule collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallApplicationRuleCollectionPropertiesFormat { /** * Priority of the application rule collection resource. @@ -9349,7 +9349,7 @@ model AzureFirewallApplicationRuleCollectionPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallRCAction { /** * The type of action. @@ -9361,7 +9361,7 @@ model AzureFirewallRCAction { * Properties of an application rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallApplicationRule { /** * Name of the application rule. @@ -9404,7 +9404,7 @@ model AzureFirewallApplicationRule { * Properties of the application rule protocol. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallApplicationRuleProtocol { /** * Protocol type. @@ -9424,7 +9424,7 @@ model AzureFirewallApplicationRuleProtocol { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNatRuleCollection extends SubResource { /** * Properties of the azure firewall NAT rule collection. @@ -9447,7 +9447,7 @@ model AzureFirewallNatRuleCollection extends SubResource { * Properties of the NAT rule collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNatRuleCollectionProperties { /** * Priority of the NAT rule collection resource. @@ -9478,7 +9478,7 @@ model AzureFirewallNatRuleCollectionProperties { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNatRCAction { /** * The type of action. @@ -9490,7 +9490,7 @@ model AzureFirewallNatRCAction { * Properties of a NAT rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNatRule { /** * Name of the NAT rule. @@ -9548,7 +9548,7 @@ model AzureFirewallNatRule { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNetworkRuleCollection extends SubResource { /** * Properties of the azure firewall network rule collection. @@ -9571,7 +9571,7 @@ model AzureFirewallNetworkRuleCollection extends SubResource { * Properties of the network rule collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNetworkRuleCollectionPropertiesFormat { /** * Priority of the network rule collection resource. @@ -9601,7 +9601,7 @@ model AzureFirewallNetworkRuleCollectionPropertiesFormat { * Properties of the network rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallNetworkRule { /** * Name of the network rule. @@ -9654,7 +9654,7 @@ model AzureFirewallNetworkRule { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallIPConfiguration extends SubResource { /** * Properties of the azure firewall IP configuration. @@ -9684,7 +9684,7 @@ model AzureFirewallIPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallIPConfigurationPropertiesFormat { /** * The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. @@ -9715,7 +9715,7 @@ model AzureFirewallIPConfigurationPropertiesFormat { * IP addresses associated with azure firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model HubIPAddresses { /** * Public IP addresses associated with azure firewall. @@ -9734,7 +9734,7 @@ model HubIPAddresses { * Public IP addresses associated with azure firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model HubPublicIPAddresses { /** * The list of Public IP addresses associated with azure firewall or IP addresses to be retained. @@ -9752,7 +9752,7 @@ model HubPublicIPAddresses { * Public IP Address associated with azure firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallPublicIPAddress { /** * Public IP Address value. @@ -9764,7 +9764,7 @@ model AzureFirewallPublicIPAddress { * IpGroups associated with azure firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallIpGroups { /** * Resource ID. @@ -9783,7 +9783,7 @@ model AzureFirewallIpGroups { * SKU of an Azure Firewall. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallSku { /** * Name of an Azure Firewall SKU. @@ -9800,7 +9800,7 @@ model AzureFirewallSku { * Azure Firewall Autoscale Configuration parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallAutoscaleConfiguration { /** * The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default. @@ -9822,7 +9822,7 @@ model AzureFirewallAutoscaleConfiguration { */ #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/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model IPPrefixesList { /** * IP Prefix value. @@ -9834,7 +9834,7 @@ model IPPrefixesList { * Azure Firewall Packet Capture Parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model FirewallPacketCaptureParameters { /** * Duration of packet capture in seconds. If the field is not provided, the default value is 60. @@ -9887,7 +9887,7 @@ model FirewallPacketCaptureParameters { * Properties of the AzureFirewallRCAction. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallPacketCaptureFlags { /** * Flags to capture @@ -9899,7 +9899,7 @@ model AzureFirewallPacketCaptureFlags { * Group of src/dest ips and ports to be captured. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallPacketCaptureRule { /** * List of source IP addresses/subnets to be captured. @@ -9921,7 +9921,7 @@ model AzureFirewallPacketCaptureRule { * Response of an Azure Firewall Packet Capture Operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallPacketCaptureResponse { /** * The response code of the performed packet capture operation @@ -9941,7 +9941,7 @@ model AzureFirewallPacketCaptureResponse { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallFqdnTag extends Common.Resource { /** * Properties of the azure firewall FQDN tag. @@ -9959,7 +9959,7 @@ model AzureFirewallFqdnTag extends Common.Resource { * Azure Firewall FQDN Tag Properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) model AzureFirewallFqdnTagPropertiesFormat { /** * The provisioning state of the Azure firewall FQDN tag resource. @@ -9979,7 +9979,7 @@ model AzureFirewallFqdnTagPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.azureWebCategory) +@Azure.ResourceManager.featureFile(Features.azureWebCategory) model AzureWebCategoryPropertiesFormat { /** * The name of the group that the category belongs to. @@ -9992,14 +9992,14 @@ model AzureWebCategoryPropertiesFormat { * List of Azure Web Categories for a given Subscription. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.azureWebCategory) +@Azure.ResourceManager.featureFile(Features.azureWebCategory) model AzureWebCategoryListResult is Azure.Core.Page; /** * Properties of the Bastion Host. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionHostPropertiesFormat { /** * IP configuration of the Bastion Host resource. @@ -10078,7 +10078,7 @@ model BastionHostPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionHostIPConfiguration extends SubResource { /** * Represents the ip configuration associated with the resource. @@ -10108,7 +10108,7 @@ model BastionHostIPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionHostIPConfigurationPropertiesFormat { /** * Reference of the subnet resource. @@ -10136,7 +10136,7 @@ model BastionHostIPConfigurationPropertiesFormat { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionHostPropertiesFormatNetworkAcls { /** * Sets the IP ACL rules for Developer Bastion Host. @@ -10147,7 +10147,7 @@ model BastionHostPropertiesFormatNetworkAcls { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPRule { /** * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. @@ -10159,7 +10159,7 @@ model IPRule { * The sku of this Bastion Host. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model Sku { /** * The name of the sku of this Bastion Host. @@ -10171,7 +10171,7 @@ model Sku { * Post request for Create/Delete/Get Bastion Shareable Link endpoints. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionShareableLinkListRequest { /** * List of VM references. @@ -10184,7 +10184,7 @@ model BastionShareableLinkListRequest { * Bastion Shareable Link. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionShareableLink { /** * Reference of the virtual machine resource. @@ -10218,21 +10218,21 @@ model BastionShareableLink { #suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VM extends Common.Resource {} /** * Response for all the Bastion Shareable Link endpoints. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionShareableLinkListResult is Azure.Core.Page; /** * Post request for Delete Bastion Shareable Link By Token endpoint. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionShareableLinkTokenListRequest { /** * List of Bastion Shareable Link Token. @@ -10244,14 +10244,14 @@ model BastionShareableLinkTokenListRequest { * Response for GetActiveSessions. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionActiveSessionListResult is Azure.Core.Page; /** * The session detail for a target. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionActiveSession { /** * A unique id for the session. @@ -10325,7 +10325,7 @@ model BastionActiveSession { * List of session IDs. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SessionIds { /** * List of session IDs. @@ -10338,14 +10338,14 @@ model SessionIds { * Response for DisconnectActiveSessions. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionSessionDeleteResult is Azure.Core.Page; /** * The session state detail for a target. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BastionSessionState { /** * A unique id for the session. @@ -10370,7 +10370,7 @@ model BastionSessionState { * Response for the CheckDnsNameAvailability API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DnsNameAvailabilityResult { /** * Domain availability (True/False). @@ -10383,7 +10383,7 @@ model DnsNameAvailabilityResult { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SwapResourceProperties { /** * Specifies slot info on a cloud service @@ -10395,7 +10395,7 @@ model SwapResourceProperties { * SwapResource List with single entry to represent slot type on the specified cloud service. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SwapResourceListResult { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @pageItems @@ -10406,7 +10406,7 @@ model SwapResourceListResult { * Custom IP prefix properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model CustomIpPrefixPropertiesFormat { /** * The ASN for CIDR advertising. Should be an integer as string. @@ -10493,7 +10493,7 @@ model CustomIpPrefixPropertiesFormat { * DDoS custom policy properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosCustomPolicyPropertiesFormat { /** * The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. @@ -10532,7 +10532,7 @@ model DdosCustomPolicyPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosDetectionRule extends SubResource { /** * The name of the DDoS detection rule. @@ -10567,7 +10567,7 @@ model DdosDetectionRule extends SubResource { * DDoS detection rule properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosDetectionRulePropertiesFormat { /** * The provisioning state of the DDoS detection rule. @@ -10590,7 +10590,7 @@ model DdosDetectionRulePropertiesFormat { * Ddos Custom Policy traffic detection rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model TrafficDetectionRule { /** * The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon. @@ -10607,7 +10607,7 @@ model TrafficDetectionRule { * DDoS protection plan properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DdosProtectionPlanPropertiesFormat { /** * The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. @@ -10639,7 +10639,7 @@ model DdosProtectionPlanPropertiesFormat { * Differentiated Services Code Point configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DscpConfigurationPropertiesFormat { /** * List of markings to be used in the configuration. @@ -10710,7 +10710,7 @@ model DscpConfigurationPropertiesFormat { * Qos Traffic Profiler IP Range properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model QosIpRange { /** * Start IP Address. @@ -10729,7 +10729,7 @@ model QosIpRange { * Qos Traffic Profiler Port range properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model QosPortRange { /** * Qos Port Range start. @@ -10746,7 +10746,7 @@ model QosPortRange { * Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model QosDefinition { /** * List of markings to be used in the configuration. @@ -10788,7 +10788,7 @@ model QosDefinition { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EndpointServiceResult extends SubResource { /** * Name of the endpoint service. @@ -10807,7 +10807,7 @@ model EndpointServiceResult extends SubResource { * Properties of ExpressRouteCircuitAuthorization. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model AuthorizationPropertiesFormat { /** * The authorization key. @@ -10837,7 +10837,7 @@ model AuthorizationPropertiesFormat { * Properties of the express route circuit peering. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitPeeringPropertiesFormat { /** * The peering type. @@ -10952,7 +10952,7 @@ model ExpressRouteCircuitPeeringPropertiesFormat { * Specifies the peering configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitPeeringConfig { /** * The reference to AdvertisedPublicPrefixes. @@ -10997,7 +10997,7 @@ model ExpressRouteCircuitPeeringConfig { * Prefix properties required to perform validation using openssl signature. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model AdvertisedPublicPrefixProperties { /** * Advertised Public Prefix. @@ -11025,7 +11025,7 @@ model AdvertisedPublicPrefixProperties { * Contains stats associated with the peering. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitStats { /** * The Primary BytesIn of the peering. @@ -11052,7 +11052,7 @@ model ExpressRouteCircuitStats { * Contains IPv6 peering config. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model Ipv6ExpressRouteCircuitPeeringConfig { /** * The primary address prefix. @@ -11084,7 +11084,7 @@ model Ipv6ExpressRouteCircuitPeeringConfig { * The ID of the ExpressRouteConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteConnectionId { /** * The ID of the ExpressRouteConnection. @@ -11097,7 +11097,7 @@ model ExpressRouteConnectionId { * Properties of the express route circuit connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitConnectionPropertiesFormat { /** * Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. @@ -11142,7 +11142,7 @@ model ExpressRouteCircuitConnectionPropertiesFormat { * IPv6 Circuit Connection properties for global reach. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model Ipv6CircuitConnectionConfig { /** * /125 IP address space to carve out customer addresses for global reach. @@ -11160,7 +11160,7 @@ model Ipv6CircuitConnectionConfig { * Properties of the peer express route circuit connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model PeerExpressRouteCircuitConnectionPropertiesFormat { /** * Reference to Express Route Circuit Private Peering Resource of the circuit. @@ -11204,7 +11204,7 @@ model PeerExpressRouteCircuitConnectionPropertiesFormat { * Contains SKU in an ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitSku { /** * The name of the SKU. @@ -11226,7 +11226,7 @@ model ExpressRouteCircuitSku { * Properties of ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitPropertiesFormat { /** * Allow classic operations. @@ -11323,7 +11323,7 @@ model ExpressRouteCircuitPropertiesFormat { * Contains ServiceProviderProperties in an ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitServiceProviderProperties { /** * The serviceProviderName. @@ -11345,7 +11345,7 @@ model ExpressRouteCircuitServiceProviderProperties { * Response for ListArpTable associated with the Express Route Circuits API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitsArpTableListResult is Azure.Core.Page; @@ -11353,7 +11353,7 @@ model ExpressRouteCircuitsArpTableListResult * The ARP table associated with the ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitArpTable { /** * Entry age in minutes. @@ -11380,7 +11380,7 @@ model ExpressRouteCircuitArpTable { * Response for ListRoutesTable associated with the Express Route Circuits API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitsRoutesTableListResult is Azure.Core.Page; @@ -11388,7 +11388,7 @@ model ExpressRouteCircuitsRoutesTableListResult * The routes table associated with the ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitRoutesTable { /** * IP address of a network entity. @@ -11420,7 +11420,7 @@ model ExpressRouteCircuitRoutesTable { * Response for ListRoutesTable associated with the Express Route Circuits API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitsRoutesTableSummaryListResult is Azure.Core.Page; @@ -11428,7 +11428,7 @@ model ExpressRouteCircuitsRoutesTableSummaryListResult * The routes table associated with the ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitRoutesTableSummary { /** * IP address of the neighbor. @@ -11463,7 +11463,7 @@ model ExpressRouteCircuitRoutesTableSummary { #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteServiceProvider extends Common.Resource { /** * Properties of the express route service provider. @@ -11475,7 +11475,7 @@ model ExpressRouteServiceProvider extends Common.Resource { * Properties of ExpressRouteServiceProvider. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteServiceProviderPropertiesFormat { /** * A list of peering locations. @@ -11499,7 +11499,7 @@ model ExpressRouteServiceProviderPropertiesFormat { * Contains bandwidths offered in ExpressRouteServiceProvider resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteServiceProviderBandwidthsOffered { /** * The OfferName. @@ -11516,7 +11516,7 @@ model ExpressRouteServiceProviderBandwidthsOffered { * Properties of ExpressRouteCrossConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionProperties { /** * The name of the primary port. @@ -11579,7 +11579,7 @@ model ExpressRouteCrossConnectionProperties { * Reference to an express route circuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCircuitReference { /** * Corresponding Express Route Circuit Id. @@ -11592,7 +11592,7 @@ model ExpressRouteCircuitReference { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionPeering extends SubResource { /** * Properties of the express route cross connection peering. @@ -11615,7 +11615,7 @@ model ExpressRouteCrossConnectionPeering extends SubResource { * Properties of express route cross connection peering. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionPeeringProperties { /** * The peering type. @@ -11707,7 +11707,7 @@ model ExpressRouteCrossConnectionPeeringProperties { * Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionPeeringList is Azure.Core.Page; @@ -11715,7 +11715,7 @@ model ExpressRouteCrossConnectionPeeringList * Response for ListRoutesTable associated with the Express Route Cross Connections. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionsRoutesTableSummaryListResult is Azure.Core.Page; @@visibility( @@ -11727,7 +11727,7 @@ model ExpressRouteCrossConnectionsRoutesTableSummaryListResult * Response for ListExpressRouteProviderPort API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteProviderPortListResult is Azure.Core.Page; @@visibility(ExpressRouteProviderPortListResult.nextLink, Lifecycle.Read); @@ -11736,7 +11736,7 @@ model ExpressRouteProviderPortListResult * The routes table associated with the ExpressRouteCircuit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteCrossConnectionRoutesTableSummary { /** * IP address of Neighbor router. @@ -11763,7 +11763,7 @@ model ExpressRouteCrossConnectionRoutesTableSummary { * Properties specific to ExpressRoutePorts peering location resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRoutePorts Location Properties") model ExpressRoutePortsLocationPropertiesFormat { /** @@ -11795,7 +11795,7 @@ model ExpressRoutePortsLocationPropertiesFormat { * Real-time inventory of available ExpressRoute port bandwidths. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRoutePorts Location Bandwidths") model ExpressRoutePortsLocationBandwidths { /** @@ -11815,7 +11815,7 @@ model ExpressRoutePortsLocationBandwidths { * Properties specific to ExpressRoutePort resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRoutePort Properties") model ExpressRoutePortPropertiesFormat { /** @@ -11892,7 +11892,7 @@ model ExpressRoutePortPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRouteLink") model ExpressRouteLink extends SubResource { /** @@ -11916,7 +11916,7 @@ model ExpressRouteLink extends SubResource { * Properties specific to ExpressRouteLink resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRouteLink Resource Properties") model ExpressRouteLinkPropertiesFormat { /** @@ -11976,7 +11976,7 @@ model ExpressRouteLinkPropertiesFormat { * ExpressRouteLink Mac Security Configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("Definition of ExpressRouteLink Mac Security configuration.") model ExpressRouteLinkMacSecConfig { /** @@ -12005,7 +12005,7 @@ model ExpressRouteLinkMacSecConfig { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @summary("ExpressRouteLink List Result") -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteLinkListResult is Azure.Core.Page; /** @@ -12013,7 +12013,7 @@ model ExpressRouteLinkListResult is Azure.Core.Page; */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model GenerateExpressRoutePortsLOARequest { /** * The customer name. @@ -12026,7 +12026,7 @@ model GenerateExpressRoutePortsLOARequest { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model GenerateExpressRoutePortsLOAResult { /** * The content as a base64 encoded string. @@ -12038,7 +12038,7 @@ model GenerateExpressRoutePortsLOAResult { * Properties of ExpressRoutePort Authorization. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @summary("ExpressRoute Port Authorization Properties") model ExpressRoutePortAuthorizationPropertiesFormat { /** @@ -12072,7 +12072,7 @@ model ExpressRoutePortAuthorizationPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRouteProviderPortProperties { /** * The name of the port pair. @@ -12122,7 +12122,7 @@ model ExpressRouteProviderPortProperties { * Firewall Policy definition. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyPropertiesFormat { /** * A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB) @@ -12214,7 +12214,7 @@ model FirewallPolicyPropertiesFormat { * ThreatIntel Whitelist for Firewall Policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyThreatIntelWhitelist { /** * List of IP addresses for the ThreatIntel Whitelist. @@ -12231,7 +12231,7 @@ model FirewallPolicyThreatIntelWhitelist { * Firewall Policy Insights. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyInsights { /** * A flag to indicate if the insights are enabled on the policy. @@ -12253,7 +12253,7 @@ model FirewallPolicyInsights { * Log Analytics Resources for Firewall Policy Insights. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyLogAnalyticsResources { /** * List of workspaces for Firewall Policy Insights. @@ -12271,7 +12271,7 @@ model FirewallPolicyLogAnalyticsResources { * Log Analytics Workspace for Firewall Policy Insights. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyLogAnalyticsWorkspace { /** * Region to configure the Workspace. @@ -12288,7 +12288,7 @@ model FirewallPolicyLogAnalyticsWorkspace { * The private IP addresses/IP ranges to which traffic will not be SNAT. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicySnat { /** * List of private IP addresses/IP address ranges to not be SNAT. @@ -12306,7 +12306,7 @@ model FirewallPolicySnat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicySQL { /** * A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999. @@ -12318,7 +12318,7 @@ model FirewallPolicySQL { * DNS Proxy Settings in Firewall Policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model DnsSettings { /** * List of Custom DNS Servers. @@ -12341,7 +12341,7 @@ model DnsSettings { * Explicit Proxy Settings in Firewall Policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model ExplicitProxy { /** * When set to true, explicit proxy mode is enabled. @@ -12386,7 +12386,7 @@ model ExplicitProxy { * Configuration for intrusion detection mode and rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyIntrusionDetection { /** * Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two. @@ -12408,7 +12408,7 @@ model FirewallPolicyIntrusionDetection { * The operation for configuring intrusion detection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyIntrusionDetectionConfiguration { /** * List of specific signatures states. @@ -12431,7 +12431,7 @@ model FirewallPolicyIntrusionDetectionConfiguration { * Intrusion detection signatures specification states. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyIntrusionDetectionSignatureSpecification { /** * Signature id. @@ -12448,7 +12448,7 @@ model FirewallPolicyIntrusionDetectionSignatureSpecification { * Intrusion detection bypass traffic specification. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyIntrusionDetectionBypassTrafficSpecifications { /** * Name of the bypass traffic rule. @@ -12495,7 +12495,7 @@ model FirewallPolicyIntrusionDetectionBypassTrafficSpecifications { * Configuration needed to perform TLS termination & initiation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyTransportSecurity { /** * The CA used for intermediate CA generation. @@ -12507,7 +12507,7 @@ model FirewallPolicyTransportSecurity { * Trusted Root certificates properties for tls. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyCertificateAuthority { /** * Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. @@ -12524,7 +12524,7 @@ model FirewallPolicyCertificateAuthority { * SKU of Firewall policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicySku { /** * Tier of Firewall Policy. @@ -12536,7 +12536,7 @@ model FirewallPolicySku { * Properties of the rule collection group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyRuleCollectionGroupProperties { /** * A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB) @@ -12568,7 +12568,7 @@ model FirewallPolicyRuleCollectionGroupProperties { * Properties of the rule collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @discriminator("ruleCollectionType") model FirewallPolicyRuleCollection { /** @@ -12593,7 +12593,7 @@ model FirewallPolicyRuleCollection { * Will describe the query to run against the IDPS signatures DB */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model IdpsQueryObject { /** * Contain all filters names and values @@ -12628,7 +12628,7 @@ model IdpsQueryObject { * Will contain the filter name and values to operate on */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FilterItems { /** * The name of the field we would like to filter @@ -12645,7 +12645,7 @@ model FilterItems { * Describes a column to sort */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model OrderBy { /** * Describes the actual column name to sort by @@ -12662,7 +12662,7 @@ model OrderBy { * Query result */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model QueryResults { /** * Number of total records matching the query. @@ -12678,7 +12678,7 @@ model QueryResults { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model SingleQueryResult { /** * The ID of the signature @@ -12741,7 +12741,7 @@ model SingleQueryResult { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model SignaturesOverridesProperties { /** * Dictionary of @@ -12754,7 +12754,7 @@ model SignaturesOverridesProperties { * Describes the filter values possibles for a given column */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model SignatureOverridesFilterValuesQuery { /** * Describes the name of the column which values will be returned @@ -12766,7 +12766,7 @@ model SignatureOverridesFilterValuesQuery { * Describes the list of all possible values for a specific filter value */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model SignatureOverridesFilterValuesResponse { /** * Describes the possible values @@ -12778,7 +12778,7 @@ model SignatureOverridesFilterValuesResponse { * Describes an object containing an array with a single item */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model SignaturesOverridesList { /** * Describes a list consisting exactly one item describing the policy's signature override status @@ -12790,7 +12790,7 @@ model SignaturesOverridesList { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyDraftProperties { /** * The parent firewall policy from which rules are inherited. @@ -12843,7 +12843,7 @@ model FirewallPolicyDraftProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyRuleCollectionGroupDraftProperties { /** * A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB) @@ -12869,14 +12869,14 @@ model FirewallPolicyRuleCollectionGroupDraftProperties { * List of IpamPool */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolList is Azure.Core.Page; /** * Properties of IpamPool resource properties which are specific to the Pool resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -13034,7 +13034,7 @@ model CommonErrorAdditionalInfo { * Represents the IpamPool update API request interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolUpdate { /** * Dictionary of @@ -13052,7 +13052,7 @@ model IpamPoolUpdate { * Represents the IpamPool update properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpamPoolUpdateProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -13067,7 +13067,7 @@ model IpamPoolUpdateProperties { * IpamPool usage information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PoolUsage { /** * List of IP address prefixes of the resource. @@ -13133,7 +13133,7 @@ model PoolUsage { * Representation of basic resource information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ResourceBasics { /** * ResourceId of the Azure resource. @@ -13150,14 +13150,14 @@ model ResourceBasics { * List of PoolAssociation */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PoolAssociationList is Azure.Core.Page; /** * IpamPool association information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PoolAssociation { /** * Resource id of the associated Azure resource. @@ -13217,14 +13217,14 @@ model PoolAssociation { * List of StaticCidr */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model StaticCidrList is Azure.Core.Page; /** * Properties of static CIDR resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model StaticCidrProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -13271,7 +13271,7 @@ model CommonProxyResource extends CommonResource {} */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpAllocationPropertiesFormat { /** * The Subnet that using the prefix of this IpAllocation resource. @@ -13323,7 +13323,7 @@ model IpAllocationPropertiesFormat { * The IpGroups property information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IpGroupPropertiesFormat { /** * The provisioning state of the IpGroups resource. @@ -13353,7 +13353,7 @@ model IpGroupPropertiesFormat { * The request for a VIP swap. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerVipSwapRequest { /** * A list of frontend IP configuration resources that should swap VIPs. @@ -13366,7 +13366,7 @@ model LoadBalancerVipSwapRequest { * VIP swap request's frontend IP configuration object. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerVipSwapRequestFrontendIPConfiguration { /** * The ID of frontend IP configuration resource. @@ -13384,7 +13384,7 @@ model LoadBalancerVipSwapRequestFrontendIPConfiguration { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerVipSwapRequestFrontendIPConfigurationProperties { /** * A reference to public IP address resource. @@ -13397,7 +13397,7 @@ model LoadBalancerVipSwapRequestFrontendIPConfigurationProperties { * The request for a QueryInboundNatRulePortMapping API. Either IpConfiguration or IpAddress should be set */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model QueryInboundNatRulePortMappingRequest { /** * NetworkInterfaceIPConfiguration set in load balancer backend address. @@ -13414,7 +13414,7 @@ model QueryInboundNatRulePortMappingRequest { * The response for a QueryInboundNatRulePortMapping API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model BackendAddressInboundNatRulePortMappings { /** * Collection of inbound NAT rule port mappings. @@ -13427,7 +13427,7 @@ model BackendAddressInboundNatRulePortMappings { * Individual port mappings for inbound NAT rule created for backend pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model InboundNatRulePortMapping { /** * Name of inbound NAT rule. @@ -13458,7 +13458,7 @@ model InboundNatRulePortMapping { * The response for a Health API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerHealthPerRule { /** * Number of backend instances associated to the LB rule that are considered healthy. @@ -13481,7 +13481,7 @@ model LoadBalancerHealthPerRule { * The information about health per rule per backend address. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerHealthPerRulePerBackendAddress { /** * The IP address belonging to the backend address. @@ -13509,7 +13509,7 @@ model LoadBalancerHealthPerRulePerBackendAddress { * The request for a migrateToIpBased API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model MigrateLoadBalancerToIpBasedRequest { /** * A list of pool names that should be migrated from Nic based to IP based pool @@ -13521,7 +13521,7 @@ model MigrateLoadBalancerToIpBasedRequest { * The response for a migrateToIpBased API. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model MigratedPools { /** * A list of pools migrated from Nic based to IP based pool @@ -13534,7 +13534,7 @@ model MigratedPools { * Response for list effective route API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveRouteListResult is Azure.Core.Page; @@visibility(EffectiveRouteListResult.nextLink, Lifecycle.Read); @@ -13542,7 +13542,7 @@ model EffectiveRouteListResult is Azure.Core.Page; * Effective Route. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveRoute { /** * The name of the user defined route. This is optional. @@ -13584,7 +13584,7 @@ model EffectiveRoute { * Response for list effective network security groups API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveNetworkSecurityGroupListResult is Azure.Core.Page; @@visibility(EffectiveNetworkSecurityGroupListResult.nextLink, Lifecycle.Read); @@ -13593,7 +13593,7 @@ model EffectiveNetworkSecurityGroupListResult * Effective network security group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveNetworkSecurityGroup { /** * The ID of network security group that is applied. @@ -13621,7 +13621,7 @@ model EffectiveNetworkSecurityGroup { * The effective network security group association. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveNetworkSecurityGroupAssociation { /** * The ID of the Azure network manager if assigned. @@ -13643,7 +13643,7 @@ model EffectiveNetworkSecurityGroupAssociation { * Effective network security rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EffectiveNetworkSecurityRule { /** * The name of the security rule specified by the user (if created by the user). @@ -13725,7 +13725,7 @@ model EffectiveNetworkSecurityRule { * Properties of Managed Network */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerProperties { /** * A description of the network manager. @@ -13759,7 +13759,7 @@ model NetworkManagerProperties { * Scope of Network Manager. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerPropertiesNetworkManagerScopes { /** * List of management groups. @@ -13783,7 +13783,7 @@ model NetworkManagerPropertiesNetworkManagerScopes { * Cross tenant scopes. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model CrossTenantScopes { /** * Tenant ID. @@ -13808,7 +13808,7 @@ model CrossTenantScopes { * Object for patch operations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model PatchObject { /** * Resource tags. @@ -13821,7 +13821,7 @@ model PatchObject { * Network Manager Commit. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerCommit { /** * Commit Id. @@ -13849,7 +13849,7 @@ model NetworkManagerCommit { * Network Manager Deployment Status Parameter. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerDeploymentStatusParameter { /** * List of locations. @@ -13871,7 +13871,7 @@ model NetworkManagerDeploymentStatusParameter { * A list of Network Manager Deployment Status */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerDeploymentStatusListResult { /** * Gets a page of Network Manager Deployment Status @@ -13891,7 +13891,7 @@ model NetworkManagerDeploymentStatusListResult { * Network Manager Deployment Status. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerDeploymentStatus { /** * Commit Time. @@ -13929,7 +13929,7 @@ model NetworkManagerDeploymentStatus { * Effective Virtual Networks Parameter. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveConfigurationParameter { /** * List of regions. @@ -13946,7 +13946,7 @@ model ActiveConfigurationParameter { * Result of the request to list active connectivity configurations. It contains a list of active connectivity configurations and a skiptoken to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveConnectivityConfigurationsListResult { /** * Gets a page of active connectivity configurations. @@ -13966,7 +13966,7 @@ model ActiveConnectivityConfigurationsListResult { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveConnectivityConfiguration extends EffectiveConnectivityConfiguration { /** @@ -13985,7 +13985,7 @@ model ActiveConnectivityConfiguration * The network manager effective connectivity configuration */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model EffectiveConnectivityConfiguration { /** * Connectivity configuration ID. @@ -14007,7 +14007,7 @@ model EffectiveConnectivityConfiguration { * Properties of network manager connectivity configuration */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ConnectivityConfigurationProperties { /** * A description of the connectivity configuration. @@ -14063,7 +14063,7 @@ model ConnectivityConfigurationProperties { * Hub Item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model Hub { /** * Resource Id. @@ -14080,7 +14080,7 @@ model Hub { * Collection of additional settings to enhance specific topology behaviors of the connectivity configuration resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ConnectivityConfigurationPropertiesConnectivityCapabilities { /** * Option indicating the scale of private endpoints allowed in the connected group of the connectivity configuration. @@ -14102,7 +14102,7 @@ model ConnectivityConfigurationPropertiesConnectivityCapabilities { * Connectivity group item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ConnectivityGroupItem { /** * Network group Id. @@ -14129,7 +14129,7 @@ model ConnectivityGroupItem { * The network configuration group resource */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ConfigurationGroup { /** * Network group ID. @@ -14146,7 +14146,7 @@ model ConfigurationGroup { * Properties of network group */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkGroupProperties { /** * A description of the network group. @@ -14175,7 +14175,7 @@ model NetworkGroupProperties { * Result of the request to list active security admin rules. It contains a list of active security admin rules and a skiptoken to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveSecurityAdminRulesListResult { /** * Gets a page of active security admin rules. @@ -14194,7 +14194,7 @@ model ActiveSecurityAdminRulesListResult { * Network base admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @discriminator("kind") model ActiveBaseSecurityAdminRule { /** @@ -14244,7 +14244,7 @@ model ActiveBaseSecurityAdminRule { * Network manager security group item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerSecurityGroupItem { /** * Network manager group Id. @@ -14257,7 +14257,7 @@ model NetworkManagerSecurityGroupItem { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerConnectionProperties { /** * Network Manager Id. @@ -14448,7 +14448,7 @@ model ChildResource { * Query Request Options */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model QueryRequestOptions { /** * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. @@ -14460,7 +14460,7 @@ model QueryRequestOptions { * Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerEffectiveConnectivityConfigurationListResult { /** * Gets a page of NetworkManagerEffectiveConnectivityConfiguration @@ -14479,7 +14479,7 @@ model NetworkManagerEffectiveConnectivityConfigurationListResult { * Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerEffectiveSecurityAdminRulesListResult { /** * Gets a page of NetworkManagerEffectiveSecurityAdminRules @@ -14498,7 +14498,7 @@ model NetworkManagerEffectiveSecurityAdminRulesListResult { * Network base admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) @discriminator("kind") model EffectiveBaseSecurityAdminRule { /** @@ -14537,7 +14537,7 @@ model EffectiveBaseSecurityAdminRule { * Properties of static member. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model StaticMemberProperties { /** * Resource Id. @@ -14561,7 +14561,7 @@ model StaticMemberProperties { * Defines the routing configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerRoutingConfigurationPropertiesFormat { /** * A description of the routing configuration. @@ -14590,7 +14590,7 @@ model NetworkManagerRoutingConfigurationPropertiesFormat { * Defines the routing rule collection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model RoutingRuleCollectionPropertiesFormat { /** * A description of the routing rule collection. @@ -14625,7 +14625,7 @@ model RoutingRuleCollectionPropertiesFormat { * Network manager routing group item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model NetworkManagerRoutingGroupItem { /** * Network manager group Id. @@ -14637,7 +14637,7 @@ model NetworkManagerRoutingGroupItem { * Routing rule resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model RoutingRulePropertiesFormat { /** * A description for this rule. @@ -14671,7 +14671,7 @@ model RoutingRulePropertiesFormat { * Route destination. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model RoutingRuleRouteDestination { /** * Destination type. @@ -14688,7 +14688,7 @@ model RoutingRuleRouteDestination { * Next hop. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model RoutingRuleNextHop { /** * Next hop type. @@ -14706,7 +14706,7 @@ model RoutingRuleNextHop { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ScopeConnectionProperties { /** * Tenant ID. @@ -14734,7 +14734,7 @@ model ScopeConnectionProperties { * Defines the security admin configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityAdminConfigurationPropertiesFormat { /** * A description of the security configuration. @@ -14768,7 +14768,7 @@ model SecurityAdminConfigurationPropertiesFormat { * Defines the admin rule collection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model AdminRuleCollectionPropertiesFormat { /** * A description of the admin rule collection. @@ -14798,7 +14798,7 @@ model AdminRuleCollectionPropertiesFormat { * Defines the security user configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityUserConfigurationPropertiesFormat { /** * A description of the security user configuration. @@ -14822,7 +14822,7 @@ model SecurityUserConfigurationPropertiesFormat { * Defines the security user rule collection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityUserRuleCollectionPropertiesFormat { /** * A description of the security user rule collection. @@ -14852,7 +14852,7 @@ model SecurityUserRuleCollectionPropertiesFormat { * Network manager security user group item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityUserGroupItem { /** * Network manager group Id. @@ -14864,7 +14864,7 @@ model SecurityUserGroupItem { * Security rule resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model SecurityUserRulePropertiesFormat { /** * A description for this rule. @@ -14920,7 +14920,7 @@ model SecurityUserRulePropertiesFormat { * Address prefix item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model AddressPrefixItem { /** * Address prefix. @@ -14937,7 +14937,7 @@ model AddressPrefixItem { * Network profile properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkProfilePropertiesFormat { /** * List of child container network interfaces. @@ -14968,7 +14968,7 @@ model NetworkProfilePropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterface extends SubResource { /** * Container network interface properties. @@ -14997,7 +14997,7 @@ model ContainerNetworkInterface extends SubResource { * Properties of container network interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterfacePropertiesFormat { /** * Container network interface configuration from which this container network interface is created. @@ -15028,7 +15028,7 @@ model ContainerNetworkInterfacePropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterfaceConfiguration extends SubResource { /** * Container network interface configuration properties. @@ -15057,7 +15057,7 @@ model ContainerNetworkInterfaceConfiguration extends SubResource { * Container network interface configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterfaceConfigurationPropertiesFormat { /** * A list of ip configurations of the container network interface configuration. @@ -15082,14 +15082,14 @@ model ContainerNetworkInterfaceConfigurationPropertiesFormat { #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model Container extends SubResource {} /** * The ip configuration for a container network interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterfaceIpConfiguration { /** * Properties of the container network interface IP configuration. @@ -15118,7 +15118,7 @@ model ContainerNetworkInterfaceIpConfiguration { * Properties of the container network interface IP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ContainerNetworkInterfaceIpConfigurationPropertiesFormat { /** * The provisioning state of the container network interface IP configuration resource. @@ -15131,7 +15131,7 @@ model ContainerNetworkInterfaceIpConfigurationPropertiesFormat { * Properties of network security perimeter. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NetworkSecurityPerimeterProperties { /** * The provisioning state of the scope assignment resource. @@ -15216,7 +15216,7 @@ model SecurityPerimeterSystemData { * Update tags request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model UpdateTagsRequest { /** * Network security perimeter identifier. @@ -15240,7 +15240,7 @@ model UpdateTagsRequest { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspProfileProperties { /** * Version number that increases with every update to access rules within the profile. @@ -15294,7 +15294,7 @@ model SecurityPerimeterTrackedResource extends SecurityPerimeterResource { * Properties of NSP access rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspAccessRuleProperties { /** * The provisioning state of the scope assignment resource. @@ -15350,7 +15350,7 @@ model NspAccessRuleProperties { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model SubscriptionId { /** * Subscription id in the ARM id format. @@ -15364,7 +15364,7 @@ model SubscriptionId { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model PerimeterBasedAccessRule { /** * NSP id in the ARM id format. @@ -15391,7 +15391,7 @@ model PerimeterBasedAccessRule { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspAssociationProperties { /** * The provisioning state of the resource association resource. @@ -15425,7 +15425,7 @@ model NspAssociationProperties { * Resource that is onboarded to use network security perimeter. Also referred as perimeter associable resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model PerimeterAssociableResource { /** * Properties of the perimeter associable resource. @@ -15454,7 +15454,7 @@ model PerimeterAssociableResource { * Properties of the perimeter associable resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model PerimeterAssociableResourceProperties { /** * A friendly name for the properties of perimeter associable resources. @@ -15507,7 +15507,7 @@ model PerimeterAssociableResourceProperties { * Properties of NSP Link resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspLinkProperties { /** * The provisioning state of the NSP Link resource. @@ -15579,7 +15579,7 @@ model NspLinkProperties { * Properties of NSP LinkReference resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspLinkReferenceProperties { /** * The provisioning state of the NSP LinkReference resource. @@ -15651,7 +15651,7 @@ model NspLinkReferenceProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspLoggingConfigurationProperties { /** * The log categories to enable in the NSP logging configuration. @@ -15668,14 +15668,14 @@ model NspLoggingConfigurationProperties { * Result of the request to list NSP service tags. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspServiceTagsListResult is Azure.Core.Page; /** * Resource containing list of NSP service tags. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspServiceTagsResource { /** * NSP service tags. @@ -15687,7 +15687,7 @@ model NspServiceTagsResource { * Represents the Reachability Analysis Intent properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ReachabilityAnalysisIntentProperties { /** * Provisioning states of a resource. @@ -15718,7 +15718,7 @@ model ReachabilityAnalysisIntentProperties { * IP traffic information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPTraffic { /** * List of source IP addresses of the traffic.. @@ -15748,7 +15748,7 @@ model IPTraffic { * Represents the Reachability Analysis Run properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ReachabilityAnalysisRunProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -15783,7 +15783,7 @@ model ReachabilityAnalysisRunProperties { * Intent information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IntentContent { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -15808,7 +15808,7 @@ model IntentContent { * Properties of Verifier Workspace resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VerifierWorkspaceProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -15824,7 +15824,7 @@ model VerifierWorkspaceProperties { * Represents the VerifierWorkspace update API request interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VerifierWorkspaceUpdate { /** * Dictionary of @@ -15842,7 +15842,7 @@ model VerifierWorkspaceUpdate { * Represents the VerifierWorkspace update properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VerifierWorkspaceUpdateProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" description?: string; @@ -15852,7 +15852,7 @@ model VerifierWorkspaceUpdateProperties { * Network Virtual Appliance definition. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualAppliancePropertiesFormat { /** * Network Virtual Appliance SKU. @@ -15977,7 +15977,7 @@ model NetworkVirtualAppliancePropertiesFormat { * Network Virtual Appliance Sku Properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceSkuProperties { /** * Virtual Appliance Vendor. @@ -15999,7 +15999,7 @@ model VirtualApplianceSkuProperties { * Network Virtual Appliance NIC properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceNicProperties { /** * NIC type - PublicNic, PrivateNic, or AdditionalNic; AdditionalPrivateNic and AdditionalPublicNic are only supported for NVAs deployed in VNets. @@ -16036,7 +16036,7 @@ model VirtualApplianceNicProperties { * Network Profile containing configurations for Public and Private NIC. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualAppliancePropertiesFormatNetworkProfile { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @identifiers(#[]) @@ -16047,7 +16047,7 @@ model NetworkVirtualAppliancePropertiesFormatNetworkProfile { * Represents a single NIC configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceNetworkInterfaceConfiguration { /** * NIC type. This should be either PublicNic or PrivateNic. @@ -16064,7 +16064,7 @@ model VirtualApplianceNetworkInterfaceConfiguration { * Represents a single NIC configuration properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceNetworkInterfaceConfigurationProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @identifiers(#[]) @@ -16075,7 +16075,7 @@ model VirtualApplianceNetworkInterfaceConfigurationProperties { * Represents a single IP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceIPConfiguration { /** * For hub NVAs, primary IP configs must be named 'privatenicipconfig' and 'publicnicipconfig', with non-primary configs using these prefixes; no naming restrictions apply for NVAs in VNets. Maximum 80 character are allowed. @@ -16093,7 +16093,7 @@ model VirtualApplianceIPConfiguration { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceIPConfigurationProperties { /** * Whether or not this is primary IP configuration of the NIC. @@ -16105,7 +16105,7 @@ model VirtualApplianceIPConfigurationProperties { * Network Virtual Appliance Additional NIC properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @summary("Network Virtual Appliance Additional Nic Properties") model VirtualApplianceAdditionalNicProperties { /** @@ -16123,7 +16123,7 @@ model VirtualApplianceAdditionalNicProperties { * Resource Uri of Public Ip for Standard Load Balancer Frontend End. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @summary("Internet Ingress Public Ip Properties") model InternetIngressPublicIpsProperties { /** @@ -16140,7 +16140,7 @@ model InternetIngressPublicIpsProperties { * Properties of the delegation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DelegationProperties { /** * The service name to which the NVA is delegated. @@ -16158,7 +16158,7 @@ model DelegationProperties { * Properties of the partner managed resource. Only appliable for SaaS NVA. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PartnerManagedResourceProperties { /** * The partner managed resource id. @@ -16195,7 +16195,7 @@ model PartnerManagedResourceProperties { * Specifies input parameters required NVA in VNet interface configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NvaInterfaceConfigurationsProperties { /** * A subnet resource id where the NIC will be deployed. Each subnet resource uri should be unique. @@ -16218,7 +16218,7 @@ model NvaInterfaceConfigurationsProperties { * The resource URI of the subnets where the NVA NICS will be deployed */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @summary("Subnet references where the NVA NICS will be deployed") model NvaInVnetSubnetReferenceProperties { /** @@ -16235,7 +16235,7 @@ model NvaInVnetSubnetReferenceProperties { * Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualApplianceInstanceIds { /** * The network virtual appliance instance ids. Omitting the network virtual appliance instance ids will result in the operation being performed on all virtual machines belonging to the network virtual appliance. @@ -16247,7 +16247,7 @@ model NetworkVirtualApplianceInstanceIds { * Specifies input parameters required to retrieve the boot diagnostic logs for an NVA instance */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualApplianceBootDiagnosticParameters { /** * The network virtual appliance instance id for which boot diagnostic logs is being requested @@ -16267,7 +16267,7 @@ model NetworkVirtualApplianceBootDiagnosticParameters { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualApplianceInstanceId { /** * The network virtual appliance instance id for which boot diagnostic logs is being requested @@ -16279,7 +16279,7 @@ model NetworkVirtualApplianceInstanceId { * Properties of the rule group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualApplianceSiteProperties { /** * Address Prefix. @@ -16302,7 +16302,7 @@ model VirtualApplianceSiteProperties { * Network Virtual Appliance Sku Properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model Office365PolicyProperties { /** * Office 365 breakout categories. @@ -16314,7 +16314,7 @@ model Office365PolicyProperties { * Network Virtual Appliance Sku Properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model BreakOutCategoryPolicies { /** * Flag to control breakout of o365 allow category. @@ -16337,7 +16337,7 @@ model BreakOutCategoryPolicies { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @summary("Network Virtual Appliance Sku Properties") model NetworkVirtualApplianceSkuPropertiesFormat { /** @@ -16363,7 +16363,7 @@ model NetworkVirtualApplianceSkuPropertiesFormat { * List of available Sku and instances. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @summary("Network Virtual Appliance Sku Instances") model NetworkVirtualApplianceSkuInstances { /** @@ -16383,7 +16383,7 @@ model NetworkVirtualApplianceSkuInstances { * Properties of the Inbound Security Rules resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model InboundSecurityRuleProperties { /** * Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule. @@ -16406,7 +16406,7 @@ model InboundSecurityRuleProperties { * Properties of the Inbound Security Rules resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model InboundSecurityRules { /** * Name of the rule. @@ -16445,7 +16445,7 @@ model InboundSecurityRules { * The error object. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) @error model ErrorResponse { /** @@ -16459,7 +16459,7 @@ model ErrorResponse { * Response for ListNetworkWatchers API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkWatcherListResult { /** * List of network watcher resources. @@ -16478,7 +16478,7 @@ model NetworkWatcherListResult { * Parameters that define the representation of topology. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TopologyParameters { /** * The name of the target resource group to perform topology on. @@ -16500,7 +16500,7 @@ model TopologyParameters { * Topology of the specified resource group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model Topology { /** * GUID representing the operation id. @@ -16532,7 +16532,7 @@ model Topology { * The network resource topology information for the given resource group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TopologyResource { /** * Name of the resource. @@ -16559,7 +16559,7 @@ model TopologyResource { * Resources that have an association with the parent resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TopologyAssociation { /** * The name of the resource that is associated with the parent resource. @@ -16582,7 +16582,7 @@ model TopologyAssociation { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model VerificationIPFlowParameters { /** * The ID of the target resource to perform next-hop on. @@ -16632,7 +16632,7 @@ model VerificationIPFlowParameters { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model VerificationIPFlowResult { /** * Indicates whether the traffic is allowed or denied. @@ -16649,7 +16649,7 @@ model VerificationIPFlowResult { * Parameters that define the source and destination endpoint. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NextHopParameters { /** * The resource identifier of the target resource against which the action is to be performed. @@ -16678,7 +16678,7 @@ model NextHopParameters { * The information about next hop from the specified VM. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NextHopResult { /** * Next hop type. @@ -16700,7 +16700,7 @@ model NextHopResult { * Parameters that define the VM to check security groups for. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model SecurityGroupViewParameters { /** * ID of the target VM. @@ -16712,7 +16712,7 @@ model SecurityGroupViewParameters { * The information about security rules applied to the specified VM. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model SecurityGroupViewResult { /** * List of network interfaces on the specified VM. @@ -16724,7 +16724,7 @@ model SecurityGroupViewResult { * Network interface and all its associated security rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model SecurityGroupNetworkInterface { /** * ID of the network interface. @@ -16741,7 +16741,7 @@ model SecurityGroupNetworkInterface { * All security rules associated with the network interface. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model SecurityRuleAssociations { /** * Network interface and it's custom security rules. @@ -16768,7 +16768,7 @@ model SecurityRuleAssociations { * Network interface and its custom security rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkInterfaceAssociation { /** * Network interface ID. @@ -16786,7 +16786,7 @@ model NetworkInterfaceAssociation { * Subnet and it's custom security rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model SubnetAssociation { /** * Subnet ID. @@ -16804,7 +16804,7 @@ model SubnetAssociation { * Parameters that define the create packet capture operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCapture { /** * Properties of the packet capture. @@ -16816,7 +16816,7 @@ model PacketCapture { * Parameters that define the create packet capture operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureParameters { /** * The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. @@ -16880,7 +16880,7 @@ model PacketCaptureParameters { * A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureMachineScope { /** * List of AzureVMSS instances to run packet capture on. @@ -16897,7 +16897,7 @@ model PacketCaptureMachineScope { * The storage location for a packet capture session. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureStorageLocation { /** * The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided. @@ -16924,7 +16924,7 @@ model PacketCaptureStorageLocation { * Filter that is applied to packet capture request. Multiple filters can be applied. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureFilter { /** * Protocol to be filtered on. @@ -16958,7 +16958,7 @@ model PacketCaptureFilter { * The storage location for a packet capture session. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureSettings { /** * Number of file count. Default value of count is 10 and maximum number is 10000. @@ -16986,7 +16986,7 @@ model PacketCaptureSettings { * Information about packet capture session. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureResult { /** * Name of the packet capture session. @@ -17017,7 +17017,7 @@ model PacketCaptureResult { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureResultProperties extends PacketCaptureParameters { /** * The provisioning state of the packet capture session. @@ -17030,7 +17030,7 @@ model PacketCaptureResultProperties extends PacketCaptureParameters { * Status of packet capture session. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureQueryStatusResult { /** * The name of the packet capture resource. @@ -17068,7 +17068,7 @@ model PacketCaptureQueryStatusResult { * List of packet capture sessions. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model PacketCaptureListResult { /** * Information about packet capture sessions. @@ -17087,7 +17087,7 @@ model PacketCaptureListResult { * Parameters that define the resource to troubleshoot. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TroubleshootingParameters { /** * The target resource to troubleshoot. @@ -17104,7 +17104,7 @@ model TroubleshootingParameters { * Storage location provided for troubleshoot. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TroubleshootingProperties { /** * The ID for the storage account to save the troubleshoot result. @@ -17121,7 +17121,7 @@ model TroubleshootingProperties { * Troubleshooting information gained from specified resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TroubleshootingResult { /** * The start time of the troubleshooting. @@ -17150,7 +17150,7 @@ model TroubleshootingResult { * Information gained from troubleshooting of specified resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TroubleshootingDetails { /** * The id of the get troubleshoot operation. @@ -17183,7 +17183,7 @@ model TroubleshootingDetails { * Recommended actions based on discovered issues. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model TroubleshootingRecommendedActions { /** * ID of the recommended action. @@ -17210,7 +17210,7 @@ model TroubleshootingRecommendedActions { * Parameters that define the resource to query the troubleshooting result. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model QueryTroubleshootingParameters { /** * The target resource ID to query the troubleshooting result. @@ -17222,7 +17222,7 @@ model QueryTroubleshootingParameters { * Information on the configuration of flow log and traffic analytics (optional) . */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model FlowLogInformation { /** * The ID of the resource to configure for flow log and traffic analytics (optional) . @@ -17249,7 +17249,7 @@ model FlowLogInformation { * Parameters that define the configuration of flow log. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model FlowLogProperties { /** * ID of the storage account which is used to store the flow log. @@ -17286,7 +17286,7 @@ model FlowLogProperties { * Parameters that define a resource to query flow log and traffic analytics (optional) status. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model FlowLogStatusParameters { /** * The target resource where getting the flow log and traffic analytics (optional) status. @@ -17298,7 +17298,7 @@ model FlowLogStatusParameters { * Parameters that determine how the connectivity check will be performed. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivityParameters { /** * The source of the connection. @@ -17331,7 +17331,7 @@ model ConnectivityParameters { * Parameters that define the source of the connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivitySource { /** * The ID of the resource from which a connectivity check will be initiated. @@ -17350,7 +17350,7 @@ model ConnectivitySource { * Parameters that define destination of connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivityDestination { /** * The ID of the resource to which a connection attempt will be made. @@ -17374,7 +17374,7 @@ model ConnectivityDestination { * Configuration of the protocol. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ProtocolConfiguration { /** * HTTP configuration of the connectivity check. @@ -17387,7 +17387,7 @@ model ProtocolConfiguration { * HTTP configuration of the connectivity check. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model HttpConfiguration { /** * HTTP method. @@ -17409,7 +17409,7 @@ model HttpConfiguration { * The HTTP header. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model HttpHeader { /** * The name in HTTP header. @@ -17426,7 +17426,7 @@ model HttpHeader { * Information on the connectivity status. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivityInformation { /** * List of hops between the source and the destination. @@ -17475,7 +17475,7 @@ model ConnectivityInformation { * Information about a hop between the source and the destination. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivityHop { /** * The type of the hop. @@ -17539,7 +17539,7 @@ model ConnectivityHop { * Hop link. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model HopLink { /** * The ID of the next hop. @@ -17583,7 +17583,7 @@ model HopLink { * Hop link properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model HopLinkProperties { /** * Minimum roundtrip time in milliseconds. @@ -17614,7 +17614,7 @@ model HopLinkProperties { * Information about an issue encountered in the process of checking for connectivity. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectivityIssue { /** * The origin of the issue. @@ -17646,7 +17646,7 @@ model ConnectivityIssue { * Geographic and time constraints for Azure reachability report. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AzureReachabilityReportParameters { /** * Parameters that define a geographic location. @@ -17680,7 +17680,7 @@ model AzureReachabilityReportParameters { * Parameters that define a geographic location. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AzureReachabilityReportLocation { /** * The name of the country. @@ -17702,7 +17702,7 @@ model AzureReachabilityReportLocation { * Azure reachability report details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AzureReachabilityReport { /** * The aggregation level of Azure reachability report. Can be Country, State or City. @@ -17725,7 +17725,7 @@ model AzureReachabilityReport { * Azure reachability report details for a given provider location. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AzureReachabilityReportItem { /** * The Internet service provider. @@ -17748,7 +17748,7 @@ model AzureReachabilityReportItem { * Details on latency for a time series. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AzureReachabilityReportLatencyInfo { /** * The time stamp. @@ -17768,7 +17768,7 @@ model AzureReachabilityReportLatencyInfo { * Constraints that determine the list of available Internet service providers. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AvailableProvidersListParameters { /** * A list of Azure regions. @@ -17795,7 +17795,7 @@ model AvailableProvidersListParameters { * List of available countries with details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AvailableProvidersList { /** * List of available countries. @@ -17808,7 +17808,7 @@ model AvailableProvidersList { * Country details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AvailableProvidersListCountry { /** * The country name. @@ -17831,7 +17831,7 @@ model AvailableProvidersListCountry { * State details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AvailableProvidersListState { /** * The state name. @@ -17854,7 +17854,7 @@ model AvailableProvidersListState { * City or town details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model AvailableProvidersListCity { /** * The city or town name. @@ -17871,7 +17871,7 @@ model AvailableProvidersListCity { * Parameters to get network configuration diagnostic. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkConfigurationDiagnosticParameters { /** * The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway. @@ -17894,7 +17894,7 @@ model NetworkConfigurationDiagnosticParameters { * Parameters to compare with network configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkConfigurationDiagnosticProfile { /** * The direction of the traffic. @@ -17926,7 +17926,7 @@ model NetworkConfigurationDiagnosticProfile { * Results of network configuration diagnostic on the target resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkConfigurationDiagnosticResponse { /** * List of network configuration diagnostic results. @@ -17940,7 +17940,7 @@ model NetworkConfigurationDiagnosticResponse { * Network configuration diagnostic result corresponded to provided traffic query. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkConfigurationDiagnosticResult { /** * Network configuration diagnostic profile. @@ -17957,7 +17957,7 @@ model NetworkConfigurationDiagnosticResult { * Network configuration diagnostic result corresponded provided traffic query. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkSecurityGroupResult { /** * The network traffic is allowed or denied. @@ -17976,7 +17976,7 @@ model NetworkSecurityGroupResult { * Results of network security group evaluation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model EvaluatedNetworkSecurityGroup { /** * Network security group ID. @@ -18004,7 +18004,7 @@ model EvaluatedNetworkSecurityGroup { * Matched rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model MatchedRule { /** * Name of the matched network security rule. @@ -18021,7 +18021,7 @@ model MatchedRule { * Network security rules evaluation result. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model NetworkSecurityRulesEvaluationResult { /** * Name of the network security rule. @@ -18058,7 +18058,7 @@ model NetworkSecurityRulesEvaluationResult { * Parameters that define the operation to create a connection monitor. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitor { /** * Connection monitor location. @@ -18081,7 +18081,7 @@ model ConnectionMonitor { * Parameters that define the operation to create a connection monitor. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorParameters { /** * Describes the source of connection monitor. @@ -18136,7 +18136,7 @@ model ConnectionMonitorParameters { * Describes the source of connection monitor. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorSource { /** * The ID of the resource used as the source by connection monitor. @@ -18155,7 +18155,7 @@ model ConnectionMonitorSource { * Describes the destination of connection monitor. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorDestination { /** * The ID of the resource used as the destination by connection monitor. @@ -18179,7 +18179,7 @@ model ConnectionMonitorDestination { * Describes the connection monitor endpoint. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpoint { /** * The name of the connection monitor endpoint. @@ -18231,7 +18231,7 @@ model ConnectionMonitorEndpoint { * Describes the connection monitor endpoint filter. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpointFilter { /** * The behavior of the endpoint filter. Currently only 'Include' is supported. @@ -18249,7 +18249,7 @@ model ConnectionMonitorEndpointFilter { * Describes the connection monitor endpoint filter item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpointFilterItem { /** * The type of item included in the filter. Currently only 'AgentAddress' is supported. @@ -18266,7 +18266,7 @@ model ConnectionMonitorEndpointFilterItem { * Describes the connection monitor endpoint scope. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpointScope { /** * List of items which needs to be included to the endpoint scope. @@ -18285,7 +18285,7 @@ model ConnectionMonitorEndpointScope { * Describes the connection monitor endpoint scope item. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpointScopeItem { /** * The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address. @@ -18297,7 +18297,7 @@ model ConnectionMonitorEndpointScopeItem { * Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorEndpointLocationDetails { /** * Region for connection monitor endpoint. @@ -18309,7 +18309,7 @@ model ConnectionMonitorEndpointLocationDetails { * Describes a connection monitor test configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorTestConfiguration { /** * The name of the connection monitor test configuration. @@ -18357,7 +18357,7 @@ model ConnectionMonitorTestConfiguration { * Describes the HTTP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorHttpConfiguration { /** * The port to connect to. @@ -18397,7 +18397,7 @@ model ConnectionMonitorHttpConfiguration { * Describes the TCP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorTcpConfiguration { /** * The port to connect to. @@ -18421,7 +18421,7 @@ model ConnectionMonitorTcpConfiguration { * Describes the ICMP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorIcmpConfiguration { /** * Value indicating whether path evaluation with trace route should be disabled. @@ -18433,7 +18433,7 @@ model ConnectionMonitorIcmpConfiguration { * Describes the threshold for declaring a test successful. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorSuccessThreshold { /** * The maximum percentage of failed checks permitted for a test to evaluate as successful. @@ -18450,7 +18450,7 @@ model ConnectionMonitorSuccessThreshold { * Describes the connection monitor test group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorTestGroup { /** * The name of the connection monitor test group. @@ -18482,7 +18482,7 @@ model ConnectionMonitorTestGroup { * Describes a connection monitor output destination. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorOutput { /** * Connection monitor output destination type. Currently, only "Workspace" is supported. @@ -18499,7 +18499,7 @@ model ConnectionMonitorOutput { * Describes the settings for producing output into a log analytics workspace. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorWorkspaceSettings { /** * Log analytics workspace resource ID. @@ -18512,7 +18512,7 @@ model ConnectionMonitorWorkspaceSettings { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorResultProperties extends ConnectionMonitorParameters { /** * The provisioning state of the connection monitor. @@ -18544,7 +18544,7 @@ model ConnectionMonitorResultProperties extends ConnectionMonitorParameters { * List of connection monitors. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorListResult { /** * Information about connection monitors. @@ -18563,7 +18563,7 @@ model ConnectionMonitorListResult { * Network REST API operation definition. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model Operation { /** * Operation name: {provider}/{resource}/{operation}. @@ -18590,7 +18590,7 @@ model Operation { * Display metadata associated with the operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model OperationDisplay { /** * Service provider: Microsoft Network. @@ -18614,14 +18614,14 @@ model OperationDisplay { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model OperationListResult is Azure.Core.Page; /** * Description of operation properties format. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model OperationPropertiesFormat { /** * Specification of the service. @@ -18633,7 +18633,7 @@ model OperationPropertiesFormat { * Specification of the service. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model OperationPropertiesFormatServiceSpecification { /** * Operation service specification. @@ -18650,7 +18650,7 @@ model OperationPropertiesFormatServiceSpecification { * Description of metrics specification. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model MetricSpecification { /** * The name of the metric. @@ -18728,7 +18728,7 @@ model MetricSpecification { * Availability of the metric. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model Availability { /** * The time grain of the availability. @@ -18750,7 +18750,7 @@ model Availability { * Dimension of the metric. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model Dimension { /** * The name of the dimension. @@ -18772,7 +18772,7 @@ model Dimension { * Description of logging specification. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkingOperations) +@Azure.ResourceManager.featureFile(Features.networkingOperations) model LogSpecification { /** * The name of the specification. @@ -18794,7 +18794,7 @@ model LogSpecification { * An array of available PrivateEndpoint types. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailablePrivateEndpointTypesResult is Azure.Core.Page; @@ -18802,7 +18802,7 @@ model AvailablePrivateEndpointTypesResult * The information of an AvailablePrivateEndpointType. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AvailablePrivateEndpointType { /** * The name of the service and resource. @@ -18835,7 +18835,7 @@ model AvailablePrivateEndpointType { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateDnsZoneGroup extends SubResource { /** * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -18858,7 +18858,7 @@ model PrivateDnsZoneGroup extends SubResource { * Properties of the private dns zone group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateDnsZoneGroupPropertiesFormat { /** * The provisioning state of the private dns zone group resource. @@ -18876,7 +18876,7 @@ model PrivateDnsZoneGroupPropertiesFormat { * PrivateDnsZoneConfig resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateDnsZoneConfig { /** * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -18893,7 +18893,7 @@ model PrivateDnsZoneConfig { * Properties of the private dns zone configuration resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateDnsZonePropertiesFormat { /** * The resource id of the private dns zone. @@ -18912,7 +18912,7 @@ model PrivateDnsZonePropertiesFormat { * A collective group of information about the record set information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model RecordSet { /** * Resource record type. @@ -18950,14 +18950,14 @@ model RecordSet { * Response for the ListPrivateDnsZoneGroups API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateDnsZoneGroupListResult is Azure.Core.Page; /** * Request body of the CheckPrivateLinkServiceVisibility API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model CheckPrivateLinkServiceVisibilityRequest { /** * The alias of the private link service. @@ -18969,7 +18969,7 @@ model CheckPrivateLinkServiceVisibilityRequest { * Response for the CheckPrivateLinkServiceVisibility API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrivateLinkServiceVisibility { /** * Private Link Service Visibility (True/False). @@ -18981,7 +18981,7 @@ model PrivateLinkServiceVisibility { * An array of private link service id that can be linked to a private end point with auto approved. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AutoApprovedPrivateLinkServicesResult is Azure.Core.Page; @@ -18989,7 +18989,7 @@ model AutoApprovedPrivateLinkServicesResult * The information of an AutoApprovedPrivateLinkService. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model AutoApprovedPrivateLinkService { /** * The id of the private link service resource. @@ -19001,7 +19001,7 @@ model AutoApprovedPrivateLinkService { * Response for GetPublicIpAddressDdosProtectionStatusOperation API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIpDdosProtectionStatusResult { /** * Public IP ARM resource ID @@ -19028,7 +19028,7 @@ model PublicIpDdosProtectionStatusResult { * The request for ReserveCloudServicePublicIpAddressOperation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ReserveCloudServicePublicIpAddressRequest { /** * When true, reverts from Static to Dynamic allocation (undo reservation). @@ -19040,7 +19040,7 @@ model ReserveCloudServicePublicIpAddressRequest { * The request for DisassociateCloudServicePublicIpOperation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model DisassociateCloudServicePublicIpRequest { /** * ARM ID of the Standalone Public IP to associate. This is of the form : /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName} @@ -19057,7 +19057,7 @@ model DisassociateCloudServicePublicIpRequest { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPPrefixSku { /** * Name of a public IP prefix SKU. @@ -19075,7 +19075,7 @@ model PublicIPPrefixSku { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PublicIPPrefixPropertiesFormat { /** * The public IP address version. @@ -19141,7 +19141,7 @@ model PublicIPPrefixPropertiesFormat { * Reference to a public IP address. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ReferencedPublicIpAddress { /** * The PublicIPAddress Reference. @@ -19153,7 +19153,7 @@ model ReferencedPublicIpAddress { * Route Filter Resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model RouteFilterPropertiesFormat { /** * Collection of RouteFilterRules contained within a route filter. @@ -19184,7 +19184,7 @@ model RouteFilterPropertiesFormat { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model RouteFilterRule extends SubResource { /** * Properties of the route filter rule. @@ -19212,7 +19212,7 @@ model RouteFilterRule extends SubResource { * Route Filter Rule Resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model RouteFilterRulePropertiesFormat { /** * The access type of the rule. @@ -19240,14 +19240,14 @@ model RouteFilterRulePropertiesFormat { * Response for the ListRouteFilterRules API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model RouteFilterRuleListResult is Azure.Core.Page; /** * Properties of the Security Partner Provider. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model SecurityPartnerProviderPropertiesFormat { /** * The provisioning state of the Security Partner Provider resource. @@ -19279,7 +19279,7 @@ model SecurityPartnerProviderPropertiesFormat { #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model BgpServiceCommunity extends Common.Resource { /** * Properties of the BGP service community. @@ -19291,7 +19291,7 @@ model BgpServiceCommunity extends Common.Resource { * Properties of Service Community. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model BgpServiceCommunityPropertiesFormat { /** * The name of the bgp community. e.g. Skype. @@ -19310,7 +19310,7 @@ model BgpServiceCommunityPropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model BGPCommunity { /** * The region which the service support. e.g. For O365, region is Global. @@ -19347,7 +19347,7 @@ model BGPCommunity { * Response for the ListServiceTags API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceTagsListResult { /** * The name of the cloud. @@ -19396,7 +19396,7 @@ model ServiceTagsListResult { * The service tag information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceTagInformation { /** * Properties of the service tag information. @@ -19427,7 +19427,7 @@ model ServiceTagInformation { * Properties of the service tag information. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceTagInformationPropertiesFormat { /** * The iteration number of service tag. @@ -19464,21 +19464,21 @@ model ServiceTagInformationPropertiesFormat { * Response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceTagInformationListResult is Azure.Core.Page; /** * The list usages operation response. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model UsagesListResult is Azure.Core.Page; /** * The network resource usage. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model Usage { /** * Resource identifier. @@ -19511,7 +19511,7 @@ model Usage { * The usage names. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model UsageName { /** * A string describing the resource name. @@ -19528,7 +19528,7 @@ model UsageName { * Details of PrepareNetworkPolicies for Subnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model PrepareNetworkPoliciesRequest { /** * The name of the service for which subnet is being prepared for. @@ -19546,7 +19546,7 @@ model PrepareNetworkPoliciesRequest { * Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkIntentPolicyConfiguration { /** * The name of the Network Intent Policy for storing in target subscription. @@ -19566,7 +19566,7 @@ model NetworkIntentPolicyConfiguration { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkIntentPolicy extends Common.Resource { /** * A unique read-only string that changes whenever the resource is updated. @@ -19579,7 +19579,7 @@ model NetworkIntentPolicy extends Common.Resource { * Details of UnprepareNetworkPolicies for Subnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model UnprepareNetworkPoliciesRequest { /** * The name of the service for which subnet is being unprepared for. @@ -19592,7 +19592,7 @@ model UnprepareNetworkPoliciesRequest { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model IPAddressAvailabilityResult { /** * Private IP address availability. @@ -19615,14 +19615,14 @@ model IPAddressAvailabilityResult { * Response for the virtual networks GetUsage API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkListUsageResult is Azure.Core.Page; /** * Usage details for subnet. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkUsage { /** * Indicates number of IPs used from the Subnet. @@ -19659,7 +19659,7 @@ model VirtualNetworkUsage { * Usage strings container. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkUsageName { /** * Localized subnet size and usage string. @@ -19678,7 +19678,7 @@ model VirtualNetworkUsageName { * Response for GetVirtualNetworkDdosProtectionStatusOperation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualNetworkDdosProtectionStatusResult is Azure.Core.Page; @@ -19686,7 +19686,7 @@ model VirtualNetworkDdosProtectionStatusResult * VirtualNetworkGateway properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayPropertiesFormat { /** * Autoscale configuration for virutal network gateway @@ -19837,7 +19837,7 @@ model VirtualNetworkGatewayPropertiesFormat { * Virtual Network Gateway Autoscale Configuration details */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayAutoScaleConfiguration { /** * The bounds of the autoscale configuration @@ -19847,7 +19847,7 @@ model VirtualNetworkGatewayAutoScaleConfiguration { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayAutoScaleBounds { /** * Minimum scale Units for Autoscale configuration @@ -19865,7 +19865,7 @@ model VirtualNetworkGatewayAutoScaleBounds { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayIPConfiguration extends SubResource { /** * Properties of the virtual network gateway ip configuration. @@ -19889,7 +19889,7 @@ model VirtualNetworkGatewayIPConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayIPConfigurationPropertiesFormat { /** * The private IP address allocation method. @@ -19926,7 +19926,7 @@ model VirtualNetworkGatewayIPConfigurationPropertiesFormat { * Migration status for the Virtual Network Gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayMigrationStatus { /** * Represent the current state of gateway migration. @@ -19948,7 +19948,7 @@ model VirtualNetworkGatewayMigrationStatus { * VirtualNetworkGatewaySku details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewaySku { /** * Gateway SKU name. @@ -19971,7 +19971,7 @@ model VirtualNetworkGatewaySku { * VpnClientConfiguration for P2S client. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientConfiguration { /** * The reference to the address space resource which represents Address space for P2S VpnClient. @@ -20047,7 +20047,7 @@ model VpnClientConfiguration { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientRootCertificate extends SubResource { /** * Properties of the vpn client root certificate. @@ -20070,7 +20070,7 @@ model VpnClientRootCertificate extends SubResource { * Properties of SSL certificates of application gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientRootCertificatePropertiesFormat { /** * The certificate public data. @@ -20089,7 +20089,7 @@ model VpnClientRootCertificatePropertiesFormat { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientRevokedCertificate extends SubResource { /** * Properties of the vpn client revoked certificate. @@ -20112,7 +20112,7 @@ model VpnClientRevokedCertificate extends SubResource { * Properties of the revoked VPN client certificate of virtual network gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientRevokedCertificatePropertiesFormat { /** * The revoked VPN client certificate thumbprint. @@ -20130,7 +20130,7 @@ model VpnClientRevokedCertificatePropertiesFormat { * An IPSec Policy configuration for a virtual network gateway connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model IpsecPolicy { /** * The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel. @@ -20178,8 +20178,8 @@ model IpsecPolicy { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model RadiusServer { /** * The address of this radius server. @@ -20203,7 +20203,7 @@ model RadiusServer { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VngClientConnectionConfiguration extends SubResource { /** * Properties of the vpn client root certificate. @@ -20226,7 +20226,7 @@ model VngClientConnectionConfiguration extends SubResource { * Properties of VngClientConnectionConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VngClientConnectionConfigurationProperties { /** * The reference to the address space resource which represents Address space for P2S VpnClient. @@ -20250,7 +20250,7 @@ model VngClientConnectionConfigurationProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayPolicyGroup extends SubResource { /** * Properties of tVirtualNetworkGatewayPolicyGroup. @@ -20273,7 +20273,7 @@ model VirtualNetworkGatewayPolicyGroup extends SubResource { * Properties of VirtualNetworkGatewayPolicyGroup. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayPolicyGroupProperties { /** * Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not. @@ -20308,7 +20308,7 @@ model VirtualNetworkGatewayPolicyGroupProperties { * Vpn Client Connection configuration PolicyGroup member */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayPolicyGroupMember { /** * Name of the VirtualNetworkGatewayPolicyGroupMember. @@ -20330,7 +20330,7 @@ model VirtualNetworkGatewayPolicyGroupMember { * BGP settings details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model BgpSettings { /** * The BGP speaker's ASN. @@ -20361,7 +20361,7 @@ model BgpSettings { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model IPConfigurationBgpPeeringAddress { /** * The ID of IP configuration which belongs to gateway. @@ -20390,7 +20390,7 @@ model IPConfigurationBgpPeeringAddress { * Parameters for VirtualNetworkGatewayNatRule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayNatRuleProperties { /** * The provisioning state of the NAT Rule resource. @@ -20431,7 +20431,7 @@ model VirtualNetworkGatewayNatRuleProperties { * Vpn NatRule mapping. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnNatRuleMapping { /** * Address space for Vpn NatRule mapping. @@ -20448,7 +20448,7 @@ model VpnNatRuleMapping { * Response for the VirtualNetworkGatewayListConnections API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayListConnectionsResult is Azure.Core.Page; @@ -20459,7 +20459,7 @@ model VirtualNetworkGatewayListConnectionsResult #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayConnectionListEntity extends Common.Resource { /** * Properties of the virtual network gateway connection. @@ -20477,7 +20477,7 @@ model VirtualNetworkGatewayConnectionListEntity extends Common.Resource { * VirtualNetworkGatewayConnection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayConnectionListEntityPropertiesFormat { /** * The authorizationKey. @@ -20618,8 +20618,8 @@ model VirtualNetworkGatewayConnectionListEntityPropertiesFormat { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkConnectionGatewayReference { /** * The ID of VirtualNetworkGateway or LocalNetworkGateway resource. @@ -20631,7 +20631,7 @@ model VirtualNetworkConnectionGatewayReference { * VirtualNetworkGatewayConnection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model TunnelConnectionHealth { /** * Tunnel name. @@ -20668,7 +20668,7 @@ model TunnelConnectionHealth { * GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayCustomBgpIpAddressIpConfiguration { /** * The IpconfigurationId of ipconfiguration which belongs to gateway. @@ -20686,8 +20686,8 @@ model GatewayCustomBgpIpAddressIpConfiguration { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model TrafficSelectorPolicy { /** * A collection of local address spaces in CIDR format. @@ -20704,7 +20704,7 @@ model TrafficSelectorPolicy { * Vpn Client Parameters for package generation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientParameters { /** * VPN client Processor Architecture. @@ -20731,7 +20731,7 @@ model VpnClientParameters { * Response for list BGP peer status API service call. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model BgpPeerStatusListResult { /** * List of BGP peers. @@ -20745,7 +20745,7 @@ model BgpPeerStatusListResult { * BGP peer status details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model BgpPeerStatus { /** * The virtual network gateway's local address. @@ -20802,14 +20802,14 @@ model BgpPeerStatus { * List of Radius servers with respective radius secrets. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model RadiusAuthServerListResult is Azure.Core.Page; /** * Gateway or VpnServerConfiguration Radius server with radius secret details */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model RadiusAuthServer { /** * Radius server IPAddress @@ -20827,7 +20827,7 @@ model RadiusAuthServer { * List of virtual network gateway routes. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayRouteListResult { /** * List of gateway routes. @@ -20841,7 +20841,7 @@ model GatewayRouteListResult { * Gateway routing details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayRoute { /** * The gateway's local address. @@ -20891,8 +20891,8 @@ model GatewayRoute { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayResiliencyInformation { /** * Current Resiliency Score for the gateway @@ -20937,8 +20937,8 @@ model GatewayResiliencyInformation { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ResiliencyRecommendationComponents { /** * Name of the Resiliency based Recommendation Component @@ -20967,8 +20967,8 @@ model ResiliencyRecommendationComponents { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayResiliencyRecommendation { /** * Recommendation Title @@ -21006,8 +21006,8 @@ model GatewayResiliencyRecommendation { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayRouteSetsInformation { /** * Timestamp denoting the last time when the route sets were computed for the gateway @@ -21040,7 +21040,7 @@ model GatewayRouteSetsInformation { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model GatewayRouteSet { /** * Route Set name @@ -21061,7 +21061,7 @@ model GatewayRouteSet { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model RouteSourceDetails { /** * Express Route Circuit identifier @@ -21081,7 +21081,7 @@ model RouteSourceDetails { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model CircuitMetadataMap { /** * Express Route Circuit Name @@ -21104,7 +21104,7 @@ model CircuitMetadataMap { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientIPsecParameters { /** * The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client. @@ -21151,7 +21151,7 @@ model VpnClientIPsecParameters { * Vpn device configuration script generation parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnDeviceScriptParameters { /** * The vendor for the vpn device. @@ -21173,7 +21173,7 @@ model VpnDeviceScriptParameters { * Start packet capture parameters on virtual network gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnPacketCaptureStartParameters { /** * Start Packet capture parameters. @@ -21185,7 +21185,7 @@ model VpnPacketCaptureStartParameters { * Stop packet capture parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnPacketCaptureStopParameters { /** * SAS url for packet capture on virtual network gateway. @@ -21197,7 +21197,7 @@ model VpnPacketCaptureStopParameters { * ExpressRoute failover test details */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverTestDetails { /** * Peering location of the test @@ -21247,7 +21247,7 @@ model ExpressRouteFailoverTestDetails { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverCircuitResourceDetails { /** * NRP Resource URI of the circuit @@ -21267,7 +21267,7 @@ model ExpressRouteFailoverCircuitResourceDetails { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverConnectionResourceDetails { /** * NRP Resource URI of the connection @@ -21294,7 +21294,7 @@ model ExpressRouteFailoverConnectionResourceDetails { * ExpressRoute failover single test details */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverSingleTestDetails { /** * Peering location of the test @@ -21341,7 +21341,7 @@ model ExpressRouteFailoverSingleTestDetails { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverRedundantRoute { /** * A list of all the peering locations for the redundant routes @@ -21356,7 +21356,7 @@ model ExpressRouteFailoverRedundantRoute { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model FailoverConnectionDetails { /** * Name of the failover connection @@ -21379,8 +21379,8 @@ model FailoverConnectionDetails { */ #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ExpressRouteFailoverStopApiParameters { /** * Peering location of the test @@ -21403,7 +21403,7 @@ model ExpressRouteFailoverStopApiParameters { * Represents a failover route for an ExpressRoute link. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverRoute { /** @@ -21433,7 +21433,7 @@ model ExpressRouteLinkFailoverRoute { * Represents a list of failover routes for an ExpressRoute link. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverRouteList { /** @@ -21453,7 +21453,7 @@ model ExpressRouteLinkFailoverRouteList { * Represents the BGP status of an ExpressRoute link failover test. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverTestBgpStatus { /** @@ -21481,7 +21481,7 @@ model ExpressRouteLinkFailoverTestBgpStatus { * ExpressRoute circuit link failover test details for all tests. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverAllTestsDetails { /** @@ -21540,7 +21540,7 @@ model ExpressRouteLinkFailoverAllTestsDetails { * ExpressRoute circuit link failover single test details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverSingleTestDetails { /** @@ -21599,7 +21599,7 @@ model ExpressRouteLinkFailoverSingleTestDetails { * Parameters for stopping an ExpressRoute circuit link failover test. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @added(Versions.v2025_07_01) model ExpressRouteLinkFailoverStopApiParameters { /** @@ -21627,7 +21627,7 @@ model ExpressRouteLinkFailoverStopApiParameters { * VirtualNetworkGatewayConnection properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayConnectionPropertiesFormat { /** * The authorizationKey. @@ -21803,7 +21803,7 @@ model VirtualNetworkGatewayConnectionPropertiesFormat { * LocalNetworkGateway properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model LocalNetworkGatewayPropertiesFormat { /** * Local network site address space. @@ -21840,7 +21840,7 @@ model LocalNetworkGatewayPropertiesFormat { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayConnectionTunnelProperties { /** * Tunnel remote IP address @@ -21857,7 +21857,7 @@ model VirtualNetworkGatewayConnectionTunnelProperties { * Certificate Authentication information for a certificate based authentication connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model CertificateAuthentication { /** * Keyvault secret ID for outbound authentication certificate. @@ -21880,7 +21880,7 @@ model CertificateAuthentication { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ConnectionSharedKey extends SubResource { /** * The virtual network connection shared key value. @@ -21892,7 +21892,7 @@ model ConnectionSharedKey extends SubResource { * The virtual network connection reset shared key. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ConnectionResetSharedKey { /** * The virtual network connection reset shared key length, should between 1 and 128. @@ -21906,7 +21906,7 @@ model ConnectionResetSharedKey { * List of virtual network gateway vpn client connection health. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientConnectionHealthDetailListResult { /** * List of vpn client connection health. @@ -21920,7 +21920,7 @@ model VpnClientConnectionHealthDetailListResult { * VPN client connection health detail. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VpnClientConnectionHealthDetail { /** * The vpn client Id. @@ -22000,7 +22000,7 @@ model VpnClientConnectionHealthDetail { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SVpnConnectionRequest { /** * List of p2s vpn connection Ids. @@ -22012,7 +22012,7 @@ model P2SVpnConnectionRequest { * Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model ListVirtualNetworkGatewayNatRulesResult is Azure.Core.Page; @@ -22020,7 +22020,7 @@ model ListVirtualNetworkGatewayNatRulesResult * Virtual network gateway migration parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkGateway) +@Azure.ResourceManager.featureFile(Features.networkGateway) model VirtualNetworkGatewayMigrationParameters { /** * MigrationType for the virtual network gateway. @@ -22037,7 +22037,7 @@ model VirtualNetworkGatewayMigrationParameters { * Virtual Router definition. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualRouterPropertiesFormat { /** * VirtualRouter ASN. @@ -22078,7 +22078,7 @@ model VirtualRouterPropertiesFormat { * Properties of the rule group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model VirtualRouterPeeringProperties { /** * Peer ASN. @@ -22103,7 +22103,7 @@ model VirtualRouterPeeringProperties { * Parameters for VirtualWAN. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualWanProperties { /** * Vpn encryption to be disabled or not. @@ -22156,14 +22156,14 @@ model VirtualWanProperties { */ #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/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVirtualWANsResult is Azure.Core.Page; /** * Parameters for VpnSite. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnSiteProperties { /** * The VirtualWAN to which the vpnSite belongs. @@ -22222,7 +22222,7 @@ model VpnSiteProperties { * List of properties of the device. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model DeviceProperties { /** * Name of the device Vendor. @@ -22244,7 +22244,7 @@ model DeviceProperties { * Parameters for VpnSite. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnSiteLinkProperties { /** * The link provider properties. @@ -22277,7 +22277,7 @@ model VpnSiteLinkProperties { * List of properties of a link provider. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnLinkProviderProperties { /** * Name of the link provider. @@ -22294,7 +22294,7 @@ model VpnLinkProviderProperties { * BGP settings details for a link. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnLinkBgpSettings { /** * The BGP speaker's ASN. @@ -22311,7 +22311,7 @@ model VpnLinkBgpSettings { * The Office365 breakout policy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model O365PolicyProperties { /** * Office365 breakout categories. @@ -22323,7 +22323,7 @@ model O365PolicyProperties { * Office365 breakout categories. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model O365BreakOutCategoryPolicies { /** * Flag to control allow category. @@ -22345,21 +22345,21 @@ model O365BreakOutCategoryPolicies { * Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnSitesResult is Azure.Core.Page; /** * Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnSiteLinksResult is Azure.Core.Page; /** * List of Vpn-Sites. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model GetVpnSitesConfigurationRequest { /** * List of resource-ids of the vpn-sites for which config is to be downloaded. @@ -22376,7 +22376,7 @@ model GetVpnSitesConfigurationRequest { * Collection of SecurityProviders. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualWanSecurityProviders { /** * List of VirtualWAN security providers. @@ -22388,7 +22388,7 @@ model VirtualWanSecurityProviders { * Collection of SecurityProviders. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualWanSecurityProvider { /** * Name of the security provider. @@ -22411,7 +22411,7 @@ model VirtualWanSecurityProvider { * Parameters for VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigurationProperties { /** * The name of the VpnServerConfiguration that is unique within a resource group. @@ -22508,7 +22508,7 @@ model VpnServerConfigurationProperties { * Properties of VPN client root certificate of VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigVpnClientRootCertificate { /** * The certificate name. @@ -22525,7 +22525,7 @@ model VpnServerConfigVpnClientRootCertificate { * Properties of the revoked VPN client certificate of VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigVpnClientRevokedCertificate { /** * The certificate name. @@ -22542,7 +22542,7 @@ model VpnServerConfigVpnClientRevokedCertificate { * Properties of Radius Server root certificate of VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigRadiusServerRootCertificate { /** * The certificate name. @@ -22559,7 +22559,7 @@ model VpnServerConfigRadiusServerRootCertificate { * Properties of the Radius client root certificate of VpnServerConfiguration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigRadiusClientRootCertificate { /** * The certificate name. @@ -22576,7 +22576,7 @@ model VpnServerConfigRadiusClientRootCertificate { * AAD Vpn authentication type related parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model AadAuthenticationParameters { /** * AAD Vpn authentication parameter AAD tenant. @@ -22599,7 +22599,7 @@ model AadAuthenticationParameters { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SVpnGatewayProperties { /** * The VirtualHub to which the gateway belongs. @@ -22651,7 +22651,7 @@ model P2SVpnGatewayProperties { #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SConnectionConfiguration extends SubResource { /** * Properties of the P2S connection configuration. @@ -22675,7 +22675,7 @@ model P2SConnectionConfiguration extends SubResource { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SConnectionConfigurationProperties { /** * The reference to the address space resource which represents Address space for P2S VpnClient. @@ -22714,7 +22714,7 @@ model P2SConnectionConfigurationProperties { * Routing Configuration indicating the associated and propagated route tables for this connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model RoutingConfiguration { /** * The resource id RouteTable associated with this RoutingConfiguration. @@ -22746,7 +22746,7 @@ model RoutingConfiguration { * The list of RouteTables to advertise the routes to. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model PropagatedRouteTable { /** * The list of labels. @@ -22763,7 +22763,7 @@ model PropagatedRouteTable { * List of routes that control routing from VirtualHub into a virtual network connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VnetRoute { /** * Configuration for static routes on this HubVnetConnection. @@ -22786,7 +22786,7 @@ model VnetRoute { * Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model StaticRoutesConfig { /** * Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to. @@ -22803,7 +22803,7 @@ model StaticRoutesConfig { * List of all Static Routes. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model StaticRoute { /** * The name of the StaticRoute that is unique within a VnetRoute. @@ -22825,7 +22825,7 @@ model StaticRoute { * Parameters for VpnServerConfigurationPolicyGroup. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigurationPolicyGroupProperties { /** * Shows if this is a Default VpnServerConfigurationPolicyGroup or not. @@ -22861,7 +22861,7 @@ model VpnServerConfigurationPolicyGroupProperties { * VpnServerConfiguration PolicyGroup member */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigurationPolicyGroupMember { /** * Name of the VpnServerConfigurationPolicyGroupMember. @@ -22883,7 +22883,7 @@ model VpnServerConfigurationPolicyGroupMember { * VpnClientConnectionHealth properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnClientConnectionHealth { /** * Total of the Ingress Bytes Transferred in this P2S Vpn connection. @@ -22912,7 +22912,7 @@ model VpnClientConnectionHealth { * Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnServerConfigurationsResult is Azure.Core.Page; @@ -22920,7 +22920,7 @@ model ListVpnServerConfigurationsResult * Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnServerConfigurationPolicyGroupsResult is Azure.Core.Page; @@ -22928,7 +22928,7 @@ model ListVpnServerConfigurationPolicyGroupsResult * Parameters for VirtualHub. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubProperties { /** * The VirtualWAN to which the VirtualHub belongs. @@ -23053,7 +23053,7 @@ model VirtualHubProperties { * VirtualHub route table. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubRouteTable { /** * List of all routes. @@ -23066,7 +23066,7 @@ model VirtualHubRouteTable { * VirtualHub route. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubRoute { /** * List of all addressPrefixes. @@ -23084,7 +23084,7 @@ model VirtualHubRoute { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubRouteTableV2 extends SubResource { /** * Properties of the virtual hub route table v2. @@ -23107,7 +23107,7 @@ model VirtualHubRouteTableV2 extends SubResource { * Parameters for VirtualHubRouteTableV2. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubRouteTableV2Properties { /** * List of all routes. @@ -23131,7 +23131,7 @@ model VirtualHubRouteTableV2Properties { * VirtualHubRouteTableV2 route. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubRouteV2 { /** * The type of destinations. @@ -23158,7 +23158,7 @@ model VirtualHubRouteV2 { * The VirtualHub Router autoscale configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualRouterAutoScaleConfiguration { /** * The minimum number of scale units for VirtualHub Router. @@ -23171,14 +23171,14 @@ model VirtualRouterAutoScaleConfiguration { * Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVirtualHubsResult is Azure.Core.Page; /** * Properties of RouteMap resource */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model RouteMapProperties { /** * List of connections which have this RoutMap associated for inbound traffic. @@ -23207,7 +23207,7 @@ model RouteMapProperties { * A RouteMap Rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model RouteMapRule { /** * The unique name for the rule. @@ -23236,7 +23236,7 @@ model RouteMapRule { * A matching criteria which matches routes based on route prefix, community, and AS path. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model Criterion { /** * List of route prefixes which this criteria matches. @@ -23263,7 +23263,7 @@ model Criterion { * Action to be taken on a route matching a RouteMap criterion. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model Action { /** * Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.' @@ -23281,7 +23281,7 @@ model Action { * Parameters for an Action. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model Parameter { /** * List of route prefixes. @@ -23303,7 +23303,7 @@ model Parameter { * List of RouteMaps and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListRouteMapsResult is Azure.Core.Page; /** @@ -23311,7 +23311,7 @@ model ListRouteMapsResult is Azure.Core.Page; */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model HubVirtualNetworkConnection extends SubResource { /** * Properties of the hub virtual network connection. @@ -23334,7 +23334,7 @@ model HubVirtualNetworkConnection extends SubResource { * Parameters for HubVirtualNetworkConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model HubVirtualNetworkConnectionProperties { /** * Reference to the remote virtual network. @@ -23378,7 +23378,7 @@ model HubVirtualNetworkConnectionProperties { * List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListHubVirtualNetworkConnectionsResult is Azure.Core.Page; @@ -23386,7 +23386,7 @@ model ListHubVirtualNetworkConnectionsResult * Parameters for VpnGateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnGatewayProperties { /** * The VirtualHub to which the gateway belongs. @@ -23441,7 +23441,7 @@ model VpnGatewayProperties { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnConnection extends SubResource { /** * Properties of the VPN connection. @@ -23464,7 +23464,7 @@ model VpnConnection extends SubResource { * Parameters for VpnConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnConnectionProperties { /** * Id of the connected vpn site. @@ -23573,7 +23573,7 @@ model VpnConnectionProperties { * Parameters for VpnConnection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnSiteLinkConnectionProperties { /** * Id of the connected vpn site link. @@ -23682,7 +23682,7 @@ model VpnSiteLinkConnectionProperties { * IP Configuration of a VPN Gateway Resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnGatewayIpConfiguration { /** * The identifier of the IP configuration for a VPN Gateway. @@ -23704,7 +23704,7 @@ model VpnGatewayIpConfiguration { * Parameters for VpnGatewayNatRule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnGatewayNatRuleProperties { /** * The provisioning state of the NAT Rule resource. @@ -23757,7 +23757,7 @@ model VpnGatewayNatRuleProperties { * Start packet capture parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnGatewayPacketCaptureStartParameters { /** * Start Packet capture parameters on vpn gateway. @@ -23769,7 +23769,7 @@ model VpnGatewayPacketCaptureStartParameters { * Stop packet capture parameters. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnGatewayPacketCaptureStopParameters { /** * SAS url for packet capture on vpn gateway. @@ -23781,7 +23781,7 @@ model VpnGatewayPacketCaptureStopParameters { * The list of shared keys for the vpn link connection. It should only contain one shared key for each vpn link connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ConnectionSharedKeyResultList is Azure.Core.Page; @@ -23789,7 +23789,7 @@ model ConnectionSharedKeyResultList * Parameters for SharedKey. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model SharedKeyProperties { /** * The value of the shared key for the vpn link connection. @@ -23815,14 +23815,14 @@ model SharedKeyProperties { * Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnGatewaysResult is Azure.Core.Page; /** * Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnConnectionPacketCaptureStartParameters { /** * Start Packet capture parameters on vpn connection. @@ -23839,7 +23839,7 @@ model VpnConnectionPacketCaptureStartParameters { * Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnConnectionPacketCaptureStopParameters { /** * SAS url for packet capture on vpn connection. @@ -23856,14 +23856,14 @@ model VpnConnectionPacketCaptureStopParameters { * Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnConnectionsResult is Azure.Core.Page; /** * Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnSiteLinkConnectionsResult is Azure.Core.Page; @@ -23871,7 +23871,7 @@ model ListVpnSiteLinkConnectionsResult * Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVpnGatewayNatRulesResult is Azure.Core.Page; /** @@ -23879,7 +23879,7 @@ model ListVpnGatewayNatRulesResult is Azure.Core.Page; */ #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/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListP2SVpnGatewaysResult is Azure.Core.Page; /** @@ -23887,7 +23887,7 @@ model ListP2SVpnGatewaysResult is Azure.Core.Page; */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SVpnProfileParameters { /** * VPN client authentication method. @@ -23899,7 +23899,7 @@ model P2SVpnProfileParameters { * Vpn Profile Response for package generation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnProfileResponse { /** * URL to the VPN profile. @@ -23912,7 +23912,7 @@ model VpnProfileResponse { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SVpnConnectionHealthRequest { /** * The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for. @@ -23930,7 +23930,7 @@ model P2SVpnConnectionHealthRequest { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model P2SVpnConnectionHealth { /** * Returned sas url of the blob to which the p2s vpn connection detailed health will be written. @@ -23942,7 +23942,7 @@ model P2SVpnConnectionHealth { * VpnServerConfigurations list associated with VirtualWan Response. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnServerConfigurationsResponse { /** * List of VpnServerConfigurations associated with VirtualWan. @@ -23954,7 +23954,7 @@ model VpnServerConfigurationsResponse { * Virtual Wan Vpn profile parameters Vpn profile generation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualWanVpnProfileParameters { /** * VpnServerConfiguration partial resource uri with which VirtualWan is associated to. @@ -23972,7 +23972,7 @@ model VirtualWanVpnProfileParameters { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVirtualHubRouteTableV2sResult is Azure.Core.Page; @@ -23980,7 +23980,7 @@ model ListVirtualHubRouteTableV2sResult * List of ExpressRoute gateways. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteGatewayList { /** * List of ExpressRoute gateways. @@ -23993,7 +23993,7 @@ model ExpressRouteGatewayList { * ExpressRoute gateway resource properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteGatewayProperties { /** * Configuration for auto scaling. @@ -24026,7 +24026,7 @@ model ExpressRouteGatewayProperties { * Configuration for auto scaling. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteGatewayPropertiesAutoScaleConfiguration { /** * Minimum and maximum number of scale units to deploy. @@ -24038,7 +24038,7 @@ model ExpressRouteGatewayPropertiesAutoScaleConfiguration { * Minimum and maximum number of scale units to deploy. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds { /** * Minimum number of scale units deployed for ExpressRoute gateway. @@ -24056,7 +24056,7 @@ model ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteConnection extends SubResource { /** * Properties of the express route connection. @@ -24073,7 +24073,7 @@ model ExpressRouteConnection extends SubResource { * Properties of the ExpressRouteConnection subresource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteConnectionProperties { /** * The provisioning state of the express route connection resource. @@ -24122,7 +24122,7 @@ model ExpressRouteConnectionProperties { * ExpressRoute circuit peering identifier. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteCircuitPeeringId { /** * The ID of the ExpressRoute circuit peering. @@ -24134,7 +24134,7 @@ model ExpressRouteCircuitPeeringId { * Virtual Hub identifier. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubId { /** * The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription. @@ -24146,7 +24146,7 @@ model VirtualHubId { * ExpressRouteConnection list. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ExpressRouteConnectionList { /** * The list of ExpressRoute connections. @@ -24160,7 +24160,7 @@ model ExpressRouteConnectionList { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model NetworkVirtualApplianceConnection extends SubResource { /** * Properties of the express route connection. @@ -24177,7 +24177,7 @@ model NetworkVirtualApplianceConnection extends SubResource { * Properties of the NetworkVirtualApplianceConnection subresource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model NetworkVirtualApplianceConnectionProperties { /** * The name of the resource. @@ -24224,7 +24224,7 @@ model NetworkVirtualApplianceConnectionProperties { * NetworkVirtualApplianceConnection list. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model NetworkVirtualApplianceConnectionList is Azure.Core.Page; @@ -24232,7 +24232,7 @@ model NetworkVirtualApplianceConnectionList * Properties of the bgp connection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model BgpConnectionProperties { /** * Peer ASN. @@ -24274,14 +24274,14 @@ model BgpConnectionProperties { * VirtualHubBgpConnections list. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVirtualHubBgpConnectionResults is Azure.Core.Page; /** * Peer routing details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model PeerRoute { /** * The peer's local address. @@ -24336,7 +24336,7 @@ alias PeerRouteList = Record; */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model HubIPConfigurationPropertiesFormat { /** * The private IP address of the IP configuration. @@ -24372,7 +24372,7 @@ model HubIPConfigurationPropertiesFormat { * VirtualHubIpConfigurations list. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListVirtualHubIpConfigurationResults is Azure.Core.Page; @@ -24380,7 +24380,7 @@ model ListVirtualHubIpConfigurationResults * Parameters for RouteTable. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model HubRouteTableProperties { /** * List of all routes. @@ -24415,7 +24415,7 @@ model HubRouteTableProperties { * RouteTable route. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model HubRoute { /** * The name of the Route that is unique within a RouteTable. This name can be used to access this route. @@ -24447,14 +24447,14 @@ model HubRoute { * List of RouteTables and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListHubRouteTablesResult is Azure.Core.Page; /** * The parameters specifying the resource whose effective routes are being requested. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model EffectiveRoutesParameters { /** * The resource whose effective routes are being requested. @@ -24471,7 +24471,7 @@ model EffectiveRoutesParameters { * EffectiveRoutes List. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubEffectiveRouteList { /** * The list of effective routes configured on the virtual hub or the specified resource. @@ -24485,7 +24485,7 @@ model VirtualHubEffectiveRouteList { * The effective route configured on the virtual hub or specified resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VirtualHubEffectiveRoute { /** * The list of address prefixes. @@ -24517,7 +24517,7 @@ model VirtualHubEffectiveRoute { * The parameters specifying the connection resource whose inbound routes are being requested. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model GetInboundRoutesParameters { /** * The connection resource whose inbound routes are being requested. @@ -24534,7 +24534,7 @@ model GetInboundRoutesParameters { * EffectiveRouteMapRoute List. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model EffectiveRouteMapRouteList { /** * The list of Effective RouteMap Routes configured on the connection resource. @@ -24548,7 +24548,7 @@ model EffectiveRouteMapRouteList { * The effective RouteMap route configured on the connection resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model EffectiveRouteMapRoute { /** * The address prefix of the route. @@ -24570,7 +24570,7 @@ model EffectiveRouteMapRoute { * The parameters specifying the connection resource whose outbound routes are being requested. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model GetOutboundRoutesParameters { /** * The connection resource whose outbound routes are being requested. @@ -24587,7 +24587,7 @@ model GetOutboundRoutesParameters { * The properties of a RoutingIntent resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model RoutingIntentProperties { /** * List of routing policies. @@ -24605,7 +24605,7 @@ model RoutingIntentProperties { * The routing policy object used in a RoutingIntent resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model RoutingPolicy { /** * The unique name for the routing policy. @@ -24627,7 +24627,7 @@ model RoutingPolicy { * List of the routing intent result and a URL nextLink to get the next set of results. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListRoutingIntentResult is Azure.Core.Page; /** @@ -24635,7 +24635,7 @@ model ListRoutingIntentResult is Azure.Core.Page; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN model definitions" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ConnectionPolicyProperties { /** * Enable internet security. @@ -24665,14 +24665,14 @@ model ConnectionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN list result model definitions" @added(Versions.v2025_07_01) -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model ListConnectionPoliciesResult is Azure.Core.Page; /** * Defines web application firewall policy properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model WebApplicationFirewallPolicyPropertiesFormat { /** * The PolicySettings for policy. @@ -24731,7 +24731,7 @@ model WebApplicationFirewallPolicyPropertiesFormat { * Defines contents of a web application firewall global configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model PolicySettings { /** * The state of the policy. @@ -24822,7 +24822,7 @@ model PolicySettings { * To scrub sensitive log fields */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model PolicySettingsLogScrubbing { /** * State of the log scrubbing config. Default value is Enabled. @@ -24840,7 +24840,7 @@ model PolicySettingsLogScrubbing { * Allow certain variables to be scrubbed on WAF logs */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model WebApplicationFirewallScrubbingRules { /** * The variable to be scrubbed from the logs. @@ -24867,7 +24867,7 @@ model WebApplicationFirewallScrubbingRules { * Defines contents of a web application rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model WebApplicationFirewallCustomRule { /** * The name of the resource that is unique within a policy. This name can be used to access the resource. @@ -24928,7 +24928,7 @@ model WebApplicationFirewallCustomRule { * Define match conditions. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model MatchCondition { /** * List of match variables. @@ -24961,7 +24961,7 @@ model MatchCondition { * Define match variables. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model MatchVariable { /** * Match Variable. @@ -24978,7 +24978,7 @@ model MatchVariable { * Define user session identifier group by clauses. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model GroupByUserSession { /** * List of group by clause variables. @@ -24991,7 +24991,7 @@ model GroupByUserSession { * Define user session group by clause variables. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model GroupByVariable { /** * User Session clause variable. @@ -25003,7 +25003,7 @@ model GroupByVariable { * Allow to exclude some variable satisfy the condition for the WAF check. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ManagedRulesDefinition { /** * The exceptions that are applied on the policy. @@ -25028,7 +25028,7 @@ model ManagedRulesDefinition { * Adds exception to allow a request when the condition is satisfied. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ExceptionEntry { /** * The variable on which we evaluate the exception condition @@ -25066,7 +25066,7 @@ model ExceptionEntry { * Defines a managed rule set for Exclusions. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ExclusionManagedRuleSet { /** * Defines the rule set type to use. @@ -25089,7 +25089,7 @@ model ExclusionManagedRuleSet { * Defines a managed rule group to use for exclusion. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ExclusionManagedRuleGroup { /** * The managed rule group for exclusion. @@ -25107,7 +25107,7 @@ model ExclusionManagedRuleGroup { * Defines a managed rule to use for exclusion. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ExclusionManagedRule { /** * Identifier for the managed rule. @@ -25119,7 +25119,7 @@ model ExclusionManagedRule { * Allow to exclude some variable satisfy the condition for the WAF check. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model OwaspCrsExclusionEntry { /** * The variable to be excluded. @@ -25147,7 +25147,7 @@ model OwaspCrsExclusionEntry { * Defines a managed rule set. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ManagedRuleSet { /** * Defines the rule set type to use. @@ -25177,7 +25177,7 @@ model ManagedRuleSet { * Defines a managed rule group override setting. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ManagedRuleGroupOverride { /** * The managed rule group to override. @@ -25195,7 +25195,7 @@ model ManagedRuleGroupOverride { * Defines a managed rule group override setting. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ManagedRuleOverride { /** * Identifier for the managed rule. @@ -25222,7 +25222,7 @@ model ManagedRuleOverride { * Defines a managed rule set rule group */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ManagedRuleSetRuleGroup { /** * Name of the rule group @@ -25239,7 +25239,7 @@ model ManagedRuleSetRuleGroup { * Defines an application gateway for containers reference. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model ApplicationGatewayForContainersReferenceDefinition { /** * Resource Id of the application gateway for containers. @@ -25255,7 +25255,7 @@ model ApplicationGatewayForContainersReferenceDefinition { * Firewall Policy NAT Rule Collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyNatRuleCollection extends FirewallPolicyRuleCollection { /** * The action type of a Nat rule collection. @@ -25278,7 +25278,7 @@ model FirewallPolicyNatRuleCollection extends FirewallPolicyRuleCollection { * Properties of the FirewallPolicyNatRuleCollectionAction. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyNatRuleCollectionAction { /** * The type of action. @@ -25290,7 +25290,7 @@ model FirewallPolicyNatRuleCollectionAction { * Properties of a rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) @discriminator("ruleType") model FirewallPolicyRule { /** @@ -25313,7 +25313,7 @@ model FirewallPolicyRule { * Firewall Policy Filter Rule Collection. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyFilterRuleCollection extends FirewallPolicyRuleCollection { /** * The action type of a Filter rule collection. @@ -25336,7 +25336,7 @@ model FirewallPolicyFilterRuleCollection extends FirewallPolicyRuleCollection { * Properties of the FirewallPolicyFilterRuleCollectionAction. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyFilterRuleCollectionAction { /** * The type of action. @@ -25348,7 +25348,7 @@ model FirewallPolicyFilterRuleCollectionAction { * Rule of type application. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model ApplicationRule extends FirewallPolicyRule { /** * List of source IP addresses for this rule. @@ -25413,7 +25413,7 @@ model ApplicationRule extends FirewallPolicyRule { * Properties of the application rule protocol. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyRuleApplicationProtocol { /** * Protocol type. @@ -25432,7 +25432,7 @@ model FirewallPolicyRuleApplicationProtocol { * name and value of HTTP/S header to insert */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model FirewallPolicyHttpHeaderToInsert { /** * Contains the name of the header @@ -25449,7 +25449,7 @@ model FirewallPolicyHttpHeaderToInsert { * Rule of type nat. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model NatRule extends FirewallPolicyRule { /** * Array of FirewallPolicyRuleNetworkProtocols. @@ -25501,7 +25501,7 @@ model NatRule extends FirewallPolicyRule { * Rule of type network. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.firewallPolicy) +@Azure.ResourceManager.featureFile(Features.firewallPolicy) model NetworkRule extends FirewallPolicyRule { /** * Array of FirewallPolicyRuleNetworkProtocols. @@ -25563,7 +25563,7 @@ model AzureAsyncOperationResult { * Network admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule { /** * Indicates the properties of the security admin rule @@ -25580,7 +25580,7 @@ model ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule { * Security admin rule resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model AdminPropertiesFormat { /** * A description for this rule. Restricted to 140 chars. @@ -25648,7 +25648,7 @@ model AdminPropertiesFormat { * Network default admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRule { /** * Indicates the properties of the default security admin rule @@ -25665,7 +25665,7 @@ model ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRule { * Security default admin rule resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model DefaultAdminPropertiesFormat { /** * A description for this rule. Restricted to 140 chars. @@ -25745,7 +25745,7 @@ model DefaultAdminPropertiesFormat { * Network admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRule { /** * Indicates the properties of the security admin rule @@ -25762,7 +25762,7 @@ model EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRule { * Network default admin rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRule { /** * Indicates the properties of the default security admin rule @@ -25780,7 +25780,7 @@ model EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRule { */ #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-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model AdminRule extends BaseAdminRule { /** * Indicates the properties of the security admin rule @@ -25798,7 +25798,7 @@ model AdminRule extends BaseAdminRule { */ #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-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model DefaultAdminRule extends BaseAdminRule { /** * Indicates the properties of the security admin rule @@ -25815,7 +25815,7 @@ model DefaultAdminRule extends BaseAdminRule { * Connection state snapshot. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionStateSnapshot { /** * The connection state. @@ -25880,7 +25880,7 @@ model ConnectionStateSnapshot { * List of connection states snapshots. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkWatcher) +@Azure.ResourceManager.featureFile(Features.networkWatcher) model ConnectionMonitorQueryResult { /** * Status of connection monitor source. @@ -25899,7 +25899,7 @@ model ConnectionMonitorQueryResult { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model PatchRouteFilterRule extends SubResource { /** * Properties of the route filter rule. @@ -25924,7 +25924,7 @@ model PatchRouteFilterRule extends SubResource { */ #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/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model PatchRouteFilter extends SubResource { /** * Properties of the route filter. @@ -25960,7 +25960,7 @@ model PatchRouteFilter extends SubResource { * VpnSite Resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@Azure.ResourceManager.featureFile(Features.virtualWAN) model VpnSiteId { /** * The resource-uri of the vpn-site for which config is to be fetched. @@ -26005,12 +26005,12 @@ alias ExpressRouteLinkFailoverAllTestsDetailsList = ExpressRouteLinkFailoverAllT alias ExpressRouteLinkFailoverSingleTestDetailsList = ExpressRouteLinkFailoverSingleTestDetails[]; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model PerimeterAssociableResourcesListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model EndpointServicesListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -26022,82 +26022,82 @@ enum SingletonResource { scalar stringApplicationJson extends string; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model AuthorizationListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerBackendAddressPoolListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerFrontendIPConfigurationListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerOutboundRuleListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerProbeListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) model LoadBalancerLoadBalancingRuleListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkInterfaceLoadBalancerListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@Azure.ResourceManager.featureFile(Features.networkManager) model AdminRuleListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) model NspAssociationsListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model NetworkVirtualApplianceSiteListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ResourceNavigationLinksListResult is Azure.Core.Page; @@visibility(ResourceNavigationLinksListResult.nextLink, Lifecycle.Read); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) model ServiceAssociationLinksListResult is Azure.Core.Page; @@visibility(ServiceAssociationLinksListResult.nextLink, Lifecycle.Read); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) model WebApplicationFirewallPolicyListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @summary("ExpressRoute Port List Result") -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRoutePortListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @summary("ExpressRoute Port Authorization List Result") -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRoutePortAuthorizationListResult is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @summary("ExpressRoutePorts Location List Result") -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) model ExpressRoutePortsLocationListResult is Azure.Core.Page; @@ -26115,7 +26115,7 @@ model BastionHostListResult is Azure.Core.Page; * Properties of the service gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayPropertiesFormat { /** * Reference to an existing virtual network. @@ -26149,7 +26149,7 @@ model ServiceGatewayPropertiesFormat { * Properties of route target address */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model RouteTargetAddressPropertiesFormat { /** * The reference to the subnet resource. @@ -26173,7 +26173,7 @@ model RouteTargetAddressPropertiesFormat { * SKU of a service gateway. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewaySku { /** * Name of a service gateway SKU. @@ -26190,7 +26190,7 @@ model ServiceGatewaySku { * Properties of the service gateway update address locations request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayUpdateAddressLocationsRequest { /** * Specifies the type of update operation to perform on address locations within the service gateway. @@ -26211,7 +26211,7 @@ model ServiceGatewayUpdateAddressLocationsRequest { * Properties of the service gateway address location. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayAddressLocation { /** * Location to update @@ -26237,7 +26237,7 @@ model ServiceGatewayAddressLocation { * Properties of the service gateway address. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayAddress { /** * Address to update @@ -26254,7 +26254,7 @@ model ServiceGatewayAddress { * Properties of the service gateway update services request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayUpdateServicesRequest { /** * Specifies the type of update operation to perform on services within the service gateway. @@ -26275,7 +26275,7 @@ model ServiceGatewayUpdateServicesRequest { * Properties of the service gateway services request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayServiceRequest { /** * Set to true to mark the service for deletion. @@ -26292,7 +26292,7 @@ model ServiceGatewayServiceRequest { * Properties of the service gateway service. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayService { /** * Name of the service @@ -26309,7 +26309,7 @@ model ServiceGatewayService { * Properties of the service gateway service. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayServicePropertiesFormat { /** * Name of the service. @@ -26336,7 +26336,7 @@ model ServiceGatewayServicePropertiesFormat { * Response for get service gateway address locations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model GetServiceGatewayAddressLocationsResult is Azure.Core.Page; @@ -26344,7 +26344,7 @@ model GetServiceGatewayAddressLocationsResult * Properties of the service gateway address location. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model ServiceGatewayAddressLocationResponse { /** * Location to update @@ -26362,14 +26362,14 @@ model ServiceGatewayAddressLocationResponse { * Response for get service gateway services. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.serviceGateway) +@Azure.ResourceManager.featureFile(Features.serviceGateway) model GetServiceGatewayServicesResult is Azure.Core.Page; /** * VirtualNetworkAppliance properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetworkAppliance) +@Azure.ResourceManager.featureFile(Features.virtualNetworkAppliance) model VirtualNetworkAppliancePropertiesFormat { /** * Bandwidth of the VirtualNetworkAppliance resource in Gbps. @@ -26427,7 +26427,7 @@ union VirtualNetworkApplianceIpVersionType { */ #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/composition-over-inheritance" "For backward compatibility" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetworkAppliance) +@Azure.ResourceManager.featureFile(Features.virtualNetworkAppliance) model VirtualNetworkApplianceIpConfiguration extends SubResource { /** * Properties of the virtual network appliance ip configuration. @@ -26456,7 +26456,7 @@ model VirtualNetworkApplianceIpConfiguration extends SubResource { * Properties of virtual network appliance IP configuration. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetworkAppliance) +@Azure.ResourceManager.featureFile(Features.virtualNetworkAppliance) model VirtualNetworkApplianceIpConfigurationProperties { /** * The private IP address of the IP configuration. @@ -26499,7 +26499,7 @@ model VirtualNetworkApplianceIpConfigurationProperties { * Scope of an interconnect group resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) union InterconnectGroupScope { string, @@ -26515,7 +26515,7 @@ union InterconnectGroupScope { * Scope of the subgroup profile. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) union SubgroupProfileScope { string, @@ -26531,7 +26531,7 @@ union SubgroupProfileScope { * Subgroup profile of the interconnect group resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) model SubgroupProfile { /** VM size of the subgroup profile. */ @@ -26549,7 +26549,7 @@ model SubgroupProfile { * Interconnect group properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) model InterconnectGroupPropertiesFormat { /** Scope of interconnect group resource. */ @@ -26575,7 +26575,7 @@ model InterconnectGroupPropertiesFormat { * Properties of subgroup. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) model SubgroupProperties { /** The unique identifier of the subgroup. */ @@ -26599,7 +26599,7 @@ model SubgroupProperties { * Represents node availability information for subgroups within an interconnect group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) model InterconnectGroupNodeAvailability { /** The list of subgroup node availability entries. */ @@ -26610,7 +26610,7 @@ model InterconnectGroupNodeAvailability { * Represents the node availability information for a single subgroup. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy types are required for backward compatibility with the existing Network RP SDK" -@Azure.ResourceManager.Legacy.feature(Features.interconnectGroup) +@Azure.ResourceManager.featureFile(Features.interconnectGroup) @added(Versions.v2025_07_01) model SubgroupNodeAvailabilityEntry { /** The subgroup name. */ diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/routes.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/routes.tsp index 373fb19ced7a..ea42e141ae56 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/routes.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/routes.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Network; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@Azure.ResourceManager.featureFile(Features.applicationGateway) @armResourceOperations(#{ omitTags: true }) interface ApplicationGatewaysOperationGroup { /** @@ -75,7 +75,7 @@ interface ApplicationGatewaysOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface AvailableDelegationsOperationGroup { /** * Gets all of the available subnet delegations for this subscription in this region. @@ -94,7 +94,7 @@ interface AvailableDelegationsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface AvailableResourceGroupDelegationsOperationGroup { /** * Gets all of the available subnet delegations for this resource group in this region. @@ -113,7 +113,7 @@ interface AvailableResourceGroupDelegationsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface AvailableServiceAliasesOperationGroup { /** * Gets all available service aliases for this subscription in this region. @@ -146,7 +146,7 @@ interface AvailableServiceAliasesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.firewall) +@Azure.ResourceManager.featureFile(Features.firewall) @armResourceOperations(#{ omitTags: true }) interface AzureFirewallFqdnTagsOperationGroup { /** @@ -166,7 +166,7 @@ interface AzureFirewallFqdnTagsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface CheckDnsNameAvailability { /** * Checks whether a domain name in the cloudapp.azure.com zone is available for use. @@ -247,7 +247,7 @@ alias CloudServicesOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface NetworkInterfacesOperationGroup { /** @@ -266,7 +266,7 @@ interface NetworkInterfacesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface PublicIPAddressesOperationGroup { /** * Gets information about all public IP addresses on a cloud service level. @@ -283,7 +283,7 @@ interface PublicIPAddressesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface AvailableEndpointServicesOperationGroup { /** * List what values of endpoint services are available for use. @@ -302,7 +302,7 @@ interface AvailableEndpointServicesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ omitTags: true }) interface ExpressRouteServiceProvidersOperationGroup { /** @@ -323,7 +323,7 @@ interface ExpressRouteServiceProvidersOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.loadBalancer) +@Azure.ResourceManager.featureFile(Features.loadBalancer) @Http.Private.includeInapplicableMetadataInPayload(false) @armResourceOperations(#{ omitTags: true }) interface LoadBalancersOperationGroup { @@ -345,7 +345,7 @@ interface LoadBalancersOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NetworkSecurityPerimeterAssociableResourceTypesOperationGroup { /** @@ -366,7 +366,7 @@ interface NetworkSecurityPerimeterAssociableResourceTypesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NetworkSecurityPerimeterOperationStatusesOperationGroup { /** @@ -392,7 +392,7 @@ interface NetworkSecurityPerimeterOperationStatusesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) +@Azure.ResourceManager.featureFile(Features.networkSecurityPerimeter) @armResourceOperations(#{ omitTags: true }) interface NetworkSecurityPerimeterServiceTagsOperationGroup { /** @@ -413,7 +413,7 @@ interface NetworkSecurityPerimeterServiceTagsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface AvailablePrivateEndpointTypesOperationGroup { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. @@ -445,7 +445,7 @@ interface AvailablePrivateEndpointTypesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface PrivateLinkServicesOperationGroup { /** @@ -505,7 +505,7 @@ interface PrivateLinkServicesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@Azure.ResourceManager.featureFile(Features.expressRoute) @armResourceOperations(#{ omitTags: true }) interface BgpServiceCommunitiesOperationGroup { /** @@ -525,7 +525,7 @@ interface BgpServiceCommunitiesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface ServiceTagsOperationGroup { /** * Gets a list of service tag information resources. @@ -543,7 +543,7 @@ interface ServiceTagsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) interface ServiceTagInformationOperationGroup { /** * Gets a list of service tag information resources with pagination. @@ -576,7 +576,7 @@ interface ServiceTagInformationOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" -@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@Azure.ResourceManager.featureFile(Features.virtualNetwork) @armResourceOperations(#{ omitTags: true }) interface UsagesOperationGroup { /** diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/Advisor.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/Advisor.tsp index 113b9d8f13b9..be082cf26100 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/Advisor.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/Advisor.tsp @@ -69,7 +69,7 @@ alias AdvisorOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseAdvisors) +@Azure.ResourceManager.featureFile(Features.DatabaseAdvisors) interface Advisors { /** * Gets a database advisor. @@ -125,7 +125,7 @@ alias ServerAdvisorOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerAdvisors) +@Azure.ResourceManager.featureFile(Features.ServerAdvisors) interface ServerAdvisors { /** * Gets a server advisor. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/BackupShortTermRetentionPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/BackupShortTermRetentionPolicy.tsp index 8a5946f21bf0..8b4c16436736 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/BackupShortTermRetentionPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/BackupShortTermRetentionPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.BackupShortTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.BackupShortTermRetentionPolicies) model BackupShortTermRetentionPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model BackupShortTermRetentionPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.BackupShortTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.BackupShortTermRetentionPolicies) interface BackupShortTermRetentionPolicies { /** * Gets a database's short term retention policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DataMaskingPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DataMaskingPolicy.tsp index 08646d2a96b1..961879ea99b4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DataMaskingPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DataMaskingPolicy.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingPolicies) +@Azure.ResourceManager.featureFile(Features.DataMaskingPolicies) model DataMaskingPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -99,7 +99,7 @@ interface DataMaskingPolicies { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DataMaskingPolicies") - @Azure.ResourceManager.Legacy.feature(Features.DataMaskingPolicies) + @Azure.ResourceManager.featureFile(Features.DataMaskingPolicies) get is ArmResourceRead; /** @@ -107,7 +107,7 @@ interface DataMaskingPolicies { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DataMaskingPolicies") - @Azure.ResourceManager.Legacy.feature(Features.DataMaskingPolicies) + @Azure.ResourceManager.featureFile(Features.DataMaskingPolicies) createOrUpdate is ArmResourceCreateOrReplaceSync; /** @@ -118,7 +118,7 @@ interface DataMaskingPolicies { @list @get @action("rules") - @Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) + @Azure.ResourceManager.featureFile(Features.DataMaskingRules) listByDatabase is ArmResourceActionSync< DataMaskingPolicy, void, @@ -140,7 +140,7 @@ interface DataMaskingPolicies { @tag("DataMaskingRules") @put @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}") - @Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) + @Azure.ResourceManager.featureFile(Features.DataMaskingRules) dataMaskingRulesCreateOrUpdate is DataMaskingPoliciesOps.ActionSync< DataMaskingPolicy, DataMaskingRule, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DataWarehouseUserActivities.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DataWarehouseUserActivities.tsp index e58c6c56c1b9..eb19cfe1f084 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DataWarehouseUserActivities.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DataWarehouseUserActivities.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.DataWarehouseUserActivities) +@Azure.ResourceManager.featureFile(Features.DataWarehouseUserActivities) model DataWarehouseUserActivities is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model DataWarehouseUserActivities #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DataWarehouseUserActivities) +@Azure.ResourceManager.featureFile(Features.DataWarehouseUserActivities) interface DataWarehouseUserActivitiesOperationGroup { /** * Gets the user activities of a data warehouse which includes running and suspended queries diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/Database.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/Database.tsp index e784a47998a4..2146745e6351 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/Database.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/Database.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model Database is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< Resource = Database, @@ -72,7 +72,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) get is ArmResourceRead< Database, Parameters = { @@ -97,7 +97,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.Core.useFinalStateVia("azure-async-operation") @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) createOrUpdate is ArmResourceCreateOrReplaceAsync< Database, Response = @@ -115,7 +115,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) update is ArmCustomPatchAsync; /** @@ -124,7 +124,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) delete is ArmResourceDeleteWithoutOkAsync< Database, Response = @@ -138,7 +138,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) listByServer is ArmResourceListByParent< Database, Parameters = { @@ -185,7 +185,7 @@ interface Databases { @list @get @action("columns") - @Azure.ResourceManager.Legacy.feature(Features.DatabaseColumns) + @Azure.ResourceManager.featureFile(Features.DatabaseColumns) listByDatabase is ArmResourceActionSync< Database, void, @@ -224,7 +224,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DatabaseEncryptionProtectorRevalidate") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.DatabaseEncryptionProtectorRevalidate ) revalidate is ArmResourceActionAsyncBase< @@ -246,7 +246,7 @@ interface Databases { * Reverts an existing encryption protector for a particular database. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.DatabaseEncryptionProtectorRevert ) @tag("DatabaseEncryptionProtectorRevert") @@ -273,7 +273,7 @@ interface Databases { @list @get @action("operations") - @Azure.ResourceManager.Legacy.feature(Features.DatabaseOperations) + @Azure.ResourceManager.featureFile(Features.DatabaseOperations) databaseOperationsListByDatabase is ArmResourceActionSync< Database, void, @@ -285,7 +285,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DatabaseOperations") - @Azure.ResourceManager.Legacy.feature(Features.DatabaseOperations) + @Azure.ResourceManager.featureFile(Features.DatabaseOperations) cancel is ArmResourceActionSync< Database, void, @@ -306,7 +306,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) export is ArmResourceActionAsync< Database, ExportDatabaseDefinition, @@ -318,7 +318,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) failover is ArmResourceActionAsyncBase< Database, void, @@ -339,7 +339,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @action("import") @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) importDatabase is ArmResourceActionAsync< Database, ImportExistingDatabaseDefinition, @@ -352,7 +352,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @action("move") @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) rename is ArmResourceActionSync; /** @@ -360,7 +360,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) pause is ArmResourceActionAsync; /** @@ -368,7 +368,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) resume is ArmResourceActionAsync; /** @@ -376,7 +376,7 @@ interface Databases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) upgradeDataWarehouse is ArmResourceActionAsyncBase< Database, void, @@ -392,7 +392,7 @@ interface Databases { @list @get @action("usages") - @Azure.ResourceManager.Legacy.feature(Features.DatabaseUsages) + @Azure.ResourceManager.featureFile(Features.DatabaseUsages) databaseUsagesListByDatabase is ArmResourceActionSync< Database, void, @@ -406,7 +406,7 @@ interface Databases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("RestorePoints") @action("restorePoints") - @Azure.ResourceManager.Legacy.feature(Features.RestorePoints) + @Azure.ResourceManager.featureFile(Features.RestorePoints) create is ArmResourceActionAsyncBase< Database, Request = CreateDatabaseRestorePointDefinition, @@ -428,7 +428,7 @@ interface Databases { @list @get @action("currentSensitivityLabels") - @Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) + @Azure.ResourceManager.featureFile(Features.SensitivityLabels) listCurrentByDatabase is ArmResourceActionSync< Database, void, @@ -459,7 +459,7 @@ interface Databases { @tag("SensitivityLabels") @patch @action("currentSensitivityLabels") - @Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) + @Azure.ResourceManager.featureFile(Features.SensitivityLabels) sensitivityLabelsUpdate is ArmResourceActionSync< Database, SensitivityLabelUpdateList, @@ -474,7 +474,7 @@ interface Databases { @list @get @action("recommendedSensitivityLabels") - @Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) + @Azure.ResourceManager.featureFile(Features.SensitivityLabels) listRecommendedByDatabase is ArmResourceActionSync< Database, void, @@ -507,7 +507,7 @@ interface Databases { @tag("SensitivityLabels") @patch @action("recommendedSensitivityLabels") - @Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) + @Azure.ResourceManager.featureFile(Features.SensitivityLabels) recommendedSensitivityLabelsUpdate is ArmResourceActionSync< Database, RecommendedSensitivityLabelUpdateList, @@ -522,7 +522,7 @@ interface Databases { @list @get @action("sensitivityLabels") - @Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) + @Azure.ResourceManager.featureFile(Features.SensitivityLabels) sensitivityLabelsListByDatabase is ArmResourceActionSync< Database, void, @@ -544,7 +544,7 @@ interface Databases { @list @get @action("linkWorkspaces") - @Azure.ResourceManager.Legacy.feature(Features.SynapseLinkWorkspaces) + @Azure.ResourceManager.featureFile(Features.SynapseLinkWorkspaces) synapseLinkWorkspacesListByDatabase is ArmResourceActionSync< Database, void, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAdvancedThreatProtection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAdvancedThreatProtection.tsp index 4b9ac41d47c2..57c4fe99f94a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAdvancedThreatProtection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAdvancedThreatProtection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseAdvancedThreatProtectionSettings ) model DatabaseAdvancedThreatProtection @@ -33,7 +33,7 @@ model DatabaseAdvancedThreatProtection #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseAdvancedThreatProtectionSettings ) interface DatabaseAdvancedThreatProtections { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAutomaticTuning.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAutomaticTuning.tsp index 24772d0d06b6..15e47ddd4b1b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAutomaticTuning.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseAutomaticTuning.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @singleton("current") @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.DatabaseAutomaticTuning) model DatabaseAutomaticTuning is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model DatabaseAutomaticTuning #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.DatabaseAutomaticTuning) interface DatabaseAutomaticTunings { /** * Gets a database's automatic tuning. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseBlobAuditingPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseBlobAuditingPolicy.tsp index 7fe47073bd7b..d844179baea0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseBlobAuditingPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseBlobAuditingPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model DatabaseBlobAuditingPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -58,7 +58,7 @@ alias DatabaseBlobAuditingPoliciesOps = Azure.ResourceManager.Legacy.LegacyOpera #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) interface DatabaseBlobAuditingPolicies { /** * Gets a database's blob auditing policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseColumn.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseColumn.tsp index 1038efc14e6e..4a2697853c05 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseColumn.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseColumn.tsp @@ -68,7 +68,7 @@ alias DatabaseColumnOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DatabaseColumns) +@Azure.ResourceManager.featureFile(Features.DatabaseColumns) interface DatabaseColumns { /** * Get database column @@ -132,7 +132,7 @@ alias ManagedDatabaseColumnOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseColumns) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseColumns) interface ManagedDatabaseColumns { /** * Get managed database column diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSchema.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSchema.tsp index 5ba847936c08..95f085954455 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSchema.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSchema.tsp @@ -56,7 +56,7 @@ alias DatabaseSchemaOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DatabaseSchemas) +@Azure.ResourceManager.featureFile(Features.DatabaseSchemas) interface DatabaseSchemas { /** * Get database schema @@ -108,7 +108,7 @@ alias ManagedDatabaseSchemaOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSchemas) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSchemas) interface ManagedDatabaseSchemas { /** * Get managed database schema diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSecurityAlertPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSecurityAlertPolicy.tsp index 530f723efecc..e5a7ef572508 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSecurityAlertPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSecurityAlertPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.DatabaseSecurityAlertPolicies) model DatabaseSecurityAlertPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model DatabaseSecurityAlertPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DatabaseSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.DatabaseSecurityAlertPolicies) interface DatabaseSecurityAlertPolicies { /** * Gets a database's security alert policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentBaselineSet.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentBaselineSet.tsp index 5a2467d668e7..5346c6b8319c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentBaselineSet.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentBaselineSet.tsp @@ -63,7 +63,7 @@ alias DatabaseSqlVulnerabilityAssessmentBaselineSetOps = Azure.ResourceManager.L #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentBaselines ) interface DatabaseSqlVulnerabilityAssessmentBaselineSets { @@ -121,7 +121,7 @@ alias SqlVulnerabilityAssessmentBaselineOps = Azure.ResourceManager.Legacy.Legac #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentBaseline ) interface SqlVulnerabilityAssessmentBaseline { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentRuleBaseline.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentRuleBaseline.tsp index 1efaf3c0f2c6..4134532d2e56 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentRuleBaseline.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseSqlVulnerabilityAssessmentRuleBaseline.tsp @@ -68,7 +68,7 @@ alias DatabaseSqlVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager. #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentRuleBaselines ) interface DatabaseSqlVulnerabilityAssessmentRuleBaselines { @@ -134,7 +134,7 @@ alias SqlVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager.Legacy.L #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentRuleBaseline ) interface SqlVulnerabilityAssessmentRuleBaseline { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseTable.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseTable.tsp index 72b689bdc111..dd709a2d33bf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseTable.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseTable.tsp @@ -62,7 +62,7 @@ alias DatabaseTableOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DatabaseTables) +@Azure.ResourceManager.featureFile(Features.DatabaseTables) interface DatabaseTables { /** * Get database table @@ -120,7 +120,7 @@ alias ManagedDatabaseTableOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseTables) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseTables) interface ManagedDatabaseTables { /** * Get managed database table diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessment.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessment.tsp index 6392ed641053..0436ed474d87 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessment.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessment.tsp @@ -57,7 +57,7 @@ alias DatabaseVulnerabilityAssessmentOps = Azure.ResourceManager.Legacy.LegacyOp #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DatabaseVulnerabilityAssessments) +@Azure.ResourceManager.featureFile(Features.DatabaseVulnerabilityAssessments) interface DatabaseVulnerabilityAssessments { /** * Gets the database's vulnerability assessment. @@ -114,7 +114,7 @@ alias ManagedDatabaseVulnerabilityAssessmentOps = Azure.ResourceManager.Legacy.L #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseVulnerabilityAssessments ) interface ManagedDatabaseVulnerabilityAssessments { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessmentRuleBaseline.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessmentRuleBaseline.tsp index 219e27c2457e..73732bb3f6b9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessmentRuleBaseline.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DatabaseVulnerabilityAssessmentRuleBaseline.tsp @@ -68,7 +68,7 @@ alias DatabaseVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager.Leg #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseVulnerabilityAssessmentRuleBaselines ) interface DatabaseVulnerabilityAssessmentRuleBaselines { @@ -138,7 +138,7 @@ alias ManagedDatabaseVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceMana #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseVulnerabilityAssessmentRuleBaselines ) interface ManagedDatabaseVulnerabilityAssessmentRuleBaselines { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DeletedServer.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DeletedServer.tsp index a38d39894a6a..efa12f1aeb31 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DeletedServer.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DeletedServer.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.DeletedServers) +@Azure.ResourceManager.featureFile(Features.DeletedServers) model DeletedServer is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -49,7 +49,7 @@ alias DeletedServersOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DeletedServers) +@Azure.ResourceManager.featureFile(Features.DeletedServers) interface DeletedServers { /** * Gets a deleted server. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/DistributedAvailabilityGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/DistributedAvailabilityGroup.tsp index 5624bae12279..7709df3cf238 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/DistributedAvailabilityGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/DistributedAvailabilityGroup.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model DistributedAvailabilityGroup #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) interface DistributedAvailabilityGroups { /** * Gets a distributed availability group info. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ElasticPool.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ElasticPool.tsp index 45de74af1545..30f7824fbf8a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ElasticPool.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ElasticPool.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ElasticPools) +@Azure.ResourceManager.featureFile(Features.ElasticPools) model ElasticPool is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -54,7 +54,7 @@ interface ElasticPools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) get is ArmResourceRead; /** @@ -64,7 +64,7 @@ interface ElasticPools { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.Core.useFinalStateVia("azure-async-operation") @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) createOrUpdate is ArmResourceCreateOrReplaceAsync< ElasticPool, Response = @@ -82,7 +82,7 @@ interface ElasticPools { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) update is ArmCustomPatchAsync; /** @@ -91,7 +91,7 @@ interface ElasticPools { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) delete is ArmResourceDeleteWithoutOkAsync< ElasticPool, Response = @@ -105,7 +105,7 @@ interface ElasticPools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) listByServer is ArmResourceListByParent< ElasticPool, Parameters = { @@ -125,7 +125,7 @@ interface ElasticPools { @list @get @action("databases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) listByElasticPool is ArmResourceActionSync< ElasticPool, void, @@ -140,7 +140,7 @@ interface ElasticPools { @list @get @action("operations") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPoolOperations) + @Azure.ResourceManager.featureFile(Features.ElasticPoolOperations) elasticPoolOperationsListByElasticPool is ArmResourceActionSync< ElasticPool, void, @@ -152,7 +152,7 @@ interface ElasticPools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ElasticPoolOperations") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPoolOperations) + @Azure.ResourceManager.featureFile(Features.ElasticPoolOperations) cancel is ArmResourceActionSync< ElasticPool, void, @@ -173,7 +173,7 @@ interface ElasticPools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ElasticPools") - @Azure.ResourceManager.Legacy.feature(Features.ElasticPools) + @Azure.ResourceManager.featureFile(Features.ElasticPools) failover is ArmResourceActionAsyncBase< ElasticPool, void, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/EncryptionProtector.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/EncryptionProtector.tsp index fc7b558057aa..658276fc5404 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/EncryptionProtector.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/EncryptionProtector.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.EncryptionProtectors) +@Azure.ResourceManager.featureFile(Features.EncryptionProtectors) model EncryptionProtector is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ model EncryptionProtector #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.EncryptionProtectors) +@Azure.ResourceManager.featureFile(Features.EncryptionProtectors) interface EncryptionProtectors { /** * Gets a server encryption protector. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/EndpointCertificate.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/EndpointCertificate.tsp index 1e144d8d2db9..70b1b90904fe 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/EndpointCertificate.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/EndpointCertificate.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.EndpointCertificates) +@Azure.ResourceManager.featureFile(Features.EndpointCertificates) model EndpointCertificate is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model EndpointCertificate #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.EndpointCertificates) +@Azure.ResourceManager.featureFile(Features.EndpointCertificates) interface EndpointCertificates { /** * Gets a certificate used on the endpoint with the given id. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedDatabaseBlobAuditingPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedDatabaseBlobAuditingPolicy.tsp index 5ee1a9547818..879c56fe67a7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedDatabaseBlobAuditingPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedDatabaseBlobAuditingPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ExtendedDatabaseBlobAuditingPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -51,7 +51,7 @@ alias ExtendedDatabaseBlobAuditingPoliciesOps = Azure.ResourceManager.Legacy.Leg #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) interface ExtendedDatabaseBlobAuditingPolicies { /** * Gets an extended database's blob auditing policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedServerBlobAuditingPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedServerBlobAuditingPolicy.tsp index 019fd81df9cb..c5488105a082 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedServerBlobAuditingPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ExtendedServerBlobAuditingPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ExtendedServerBlobAuditingPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ alias ExtendedServerBlobAuditingPolicyOps = Azure.ResourceManager.Legacy.LegacyO #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) interface ExtendedServerBlobAuditingPolicies { /** * Gets an extended server's blob auditing policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/FailoverGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/FailoverGroup.tsp index a7ed19584557..f4e6efb9714f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/FailoverGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/FailoverGroup.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -44,7 +44,7 @@ model FailoverGroup #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) interface FailoverGroups { /** * Gets a failover group. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/FirewallRule.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/FirewallRule.tsp index 8576988fe31d..392cb29d1307 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/FirewallRule.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/FirewallRule.tsp @@ -19,7 +19,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "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" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.FirewallRules) +@Azure.ResourceManager.featureFile(Features.FirewallRules) model FirewallRule extends ProxyResourceWithWritableName { /** * Resource properties. @@ -29,7 +29,7 @@ model FirewallRule extends ProxyResourceWithWritableName { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.FirewallRules) +@Azure.ResourceManager.featureFile(Features.FirewallRules) interface FirewallRules { /** * Gets a firewall rule. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/GeoBackupPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/GeoBackupPolicy.tsp index e87fa8b44dc4..ed9feae71294 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/GeoBackupPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/GeoBackupPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.GeoBackupPolicies) +@Azure.ResourceManager.featureFile(Features.GeoBackupPolicies) model GeoBackupPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ model GeoBackupPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.GeoBackupPolicies) +@Azure.ResourceManager.featureFile(Features.GeoBackupPolicies) interface GeoBackupPolicies { /** * Gets a Geo backup policy for the given database resource. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/IPv6FirewallRule.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/IPv6FirewallRule.tsp index f24d0f9b6b6c..c21fe913690b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/IPv6FirewallRule.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/IPv6FirewallRule.tsp @@ -20,7 +20,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "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" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.IPv6FirewallRules) +@Azure.ResourceManager.featureFile(Features.IPv6FirewallRules) model IPv6FirewallRule extends ProxyResourceWithWritableName { /** * The properties of the IPv6 firewall rule. @@ -31,7 +31,7 @@ model IPv6FirewallRule extends ProxyResourceWithWritableName { #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.IPv6FirewallRules) +@Azure.ResourceManager.featureFile(Features.IPv6FirewallRules) interface IPv6FirewallRules { /** * Gets an IPv6 firewall rule. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ImportExportExtensionsOperationResult.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ImportExportExtensionsOperationResult.tsp index 59a99bbc1132..f234a90a05ff 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ImportExportExtensionsOperationResult.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ImportExportExtensionsOperationResult.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) model ImportExportExtensionsOperationResult is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model ImportExportExtensionsOperationResult #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) interface ImportExportExtensionsOperationResults { /** * Gets a database extension. This will return resource not found as it is not supported. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstanceFailoverGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstanceFailoverGroup.tsp index ebdd2d894f35..4ffccd986e26 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstanceFailoverGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstanceFailoverGroup.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ResourceGroupLocationResource) -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model InstanceFailoverGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -50,7 +50,7 @@ alias InstanceFailoverGroupsOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) interface InstanceFailoverGroups { /** * Gets a failover group. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePool.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePool.tsp index 9056d4869165..ce71341b6706 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePool.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePool.tsp @@ -14,7 +14,7 @@ namespace Microsoft.Sql; * An Azure SQL instance pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstancePools) +@Azure.ResourceManager.featureFile(Features.InstancePools) model InstancePool is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -38,7 +38,7 @@ interface InstancePools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) get is ArmResourceRead; /** @@ -47,7 +47,7 @@ interface InstancePools { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "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" @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) createOrUpdate is ArmResourceCreateOrReplaceAsync< InstancePool, Response = @@ -66,7 +66,7 @@ interface InstancePools { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) update is ArmCustomPatchAsync; /** @@ -75,7 +75,7 @@ interface InstancePools { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) delete is ArmResourceDeleteWithoutOkAsync< InstancePool, Response = @@ -89,7 +89,7 @@ interface InstancePools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) listByResourceGroup is ArmResourceListByParent; /** @@ -97,7 +97,7 @@ interface InstancePools { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("InstancePools") - @Azure.ResourceManager.Legacy.feature(Features.InstancePools) + @Azure.ResourceManager.featureFile(Features.InstancePools) list is ArmListBySubscription; /** @@ -108,7 +108,7 @@ interface InstancePools { @list @get @action("managedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) listByInstancePool is ArmResourceActionSync< InstancePool, void, @@ -130,7 +130,7 @@ interface InstancePools { @list @get @action("usages") - @Azure.ResourceManager.Legacy.feature(Features.Usages) + @Azure.ResourceManager.featureFile(Features.Usages) usagesListByInstancePool is ArmResourceActionSync< InstancePool, void, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePoolOperation.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePoolOperation.tsp index 27ccae398f85..49997bb7afb4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePoolOperation.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/InstancePoolOperation.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(InstancePool) -@Azure.ResourceManager.Legacy.feature(Features.InstancePoolOperations) +@Azure.ResourceManager.featureFile(Features.InstancePoolOperations) model InstancePoolOperation is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model InstancePoolOperation #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.InstancePoolOperations) +@Azure.ResourceManager.featureFile(Features.InstancePoolOperations) interface InstancePoolOperations { /** * Gets a management operation on a instance pool. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/Job.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/Job.tsp index 92b824d750e8..81a70d7a0cd6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/Job.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/Job.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(JobAgent) -@Azure.ResourceManager.Legacy.feature(Features.Jobs) +@Azure.ResourceManager.featureFile(Features.Jobs) model Job is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = Job, @@ -33,7 +33,7 @@ interface Jobs { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Jobs") - @Azure.ResourceManager.Legacy.feature(Features.Jobs) + @Azure.ResourceManager.featureFile(Features.Jobs) get is ArmResourceRead; /** @@ -41,7 +41,7 @@ interface Jobs { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Jobs") - @Azure.ResourceManager.Legacy.feature(Features.Jobs) + @Azure.ResourceManager.featureFile(Features.Jobs) createOrUpdate is ArmResourceCreateOrReplaceSync; /** @@ -49,7 +49,7 @@ interface Jobs { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Jobs") - @Azure.ResourceManager.Legacy.feature(Features.Jobs) + @Azure.ResourceManager.featureFile(Features.Jobs) delete is ArmResourceDeleteSync; /** @@ -57,7 +57,7 @@ interface Jobs { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Jobs") - @Azure.ResourceManager.Legacy.feature(Features.Jobs) + @Azure.ResourceManager.featureFile(Features.Jobs) listByAgent is ArmResourceListByParent; /** @@ -66,7 +66,7 @@ interface Jobs { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("JobExecutions") @action("start") - @Azure.ResourceManager.Legacy.feature(Features.JobExecutions) + @Azure.ResourceManager.featureFile(Features.JobExecutions) create is ArmResourceActionAsync; } diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobAgent.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobAgent.tsp index 672366e51366..4c52dcc7b79e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobAgent.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobAgent.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.JobAgents) +@Azure.ResourceManager.featureFile(Features.JobAgents) model JobAgent is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< Resource = JobAgent, @@ -45,7 +45,7 @@ interface JobAgents { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("JobAgents") - @Azure.ResourceManager.Legacy.feature(Features.JobAgents) + @Azure.ResourceManager.featureFile(Features.JobAgents) get is ArmResourceRead; /** @@ -54,7 +54,7 @@ interface JobAgents { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "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" @tag("JobAgents") - @Azure.ResourceManager.Legacy.feature(Features.JobAgents) + @Azure.ResourceManager.featureFile(Features.JobAgents) createOrUpdate is ArmResourceCreateOrReplaceAsync< JobAgent, Response = @@ -73,7 +73,7 @@ interface JobAgents { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("JobAgents") - @Azure.ResourceManager.Legacy.feature(Features.JobAgents) + @Azure.ResourceManager.featureFile(Features.JobAgents) update is ArmCustomPatchAsync; /** @@ -82,7 +82,7 @@ interface JobAgents { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("JobAgents") - @Azure.ResourceManager.Legacy.feature(Features.JobAgents) + @Azure.ResourceManager.featureFile(Features.JobAgents) delete is ArmResourceDeleteWithoutOkAsync< JobAgent, Response = @@ -96,7 +96,7 @@ interface JobAgents { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("JobAgents") - @Azure.ResourceManager.Legacy.feature(Features.JobAgents) + @Azure.ResourceManager.featureFile(Features.JobAgents) listByServer is ArmResourceListByParent; /** @@ -107,7 +107,7 @@ interface JobAgents { @list @get @action("executions") - @Azure.ResourceManager.Legacy.feature(Features.JobExecutions) + @Azure.ResourceManager.featureFile(Features.JobExecutions) listByAgent is ArmResourceActionSync< JobAgent, void, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobCredential.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobCredential.tsp index 28a9454948e0..8e0e2ae24019 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobCredential.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobCredential.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(JobAgent) -@Azure.ResourceManager.Legacy.feature(Features.JobCredentials) +@Azure.ResourceManager.featureFile(Features.JobCredentials) model JobCredential is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model JobCredential #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobCredentials) +@Azure.ResourceManager.featureFile(Features.JobCredentials) interface JobCredentials { /** * Gets a jobs credential. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobExecution.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobExecution.tsp index e625bf693f5f..8aa08442011d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobExecution.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobExecution.tsp @@ -62,7 +62,7 @@ alias JobExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobExecutions) +@Azure.ResourceManager.featureFile(Features.JobExecutions) interface JobExecutions { /** * Gets a job execution. @@ -189,7 +189,7 @@ alias JobStepExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobStepExecutions) +@Azure.ResourceManager.featureFile(Features.JobStepExecutions) interface JobStepExecutions { /** * Gets a step execution of a job execution. @@ -297,7 +297,7 @@ alias JobTargetExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobTargetExecutions) +@Azure.ResourceManager.featureFile(Features.JobTargetExecutions) interface JobTargetExecutions { /** * Gets a target execution. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobPrivateEndpoint.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobPrivateEndpoint.tsp index e6860cf21c86..a3583781e009 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobPrivateEndpoint.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobPrivateEndpoint.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(JobAgent) -@Azure.ResourceManager.Legacy.feature(Features.JobPrivateEndpoints) +@Azure.ResourceManager.featureFile(Features.JobPrivateEndpoints) model JobPrivateEndpoint is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model JobPrivateEndpoint #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobPrivateEndpoints) +@Azure.ResourceManager.featureFile(Features.JobPrivateEndpoints) interface JobPrivateEndpoints { /** * Gets a private endpoint. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobStep.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobStep.tsp index b9b4763f0702..36b7c5c2cbce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobStep.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobStep.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Job) -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) model JobStep is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = JobStep, @@ -63,7 +63,7 @@ alias JobStepOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) interface JobSteps { /** * Gets a job step in a job's current version. @@ -133,7 +133,7 @@ alias JobStepOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) interface JobStepOperationGroup { /** * Gets the specified version of a job step. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobTargetGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobTargetGroup.tsp index 14c14ac5ffd1..2c641596a1fb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobTargetGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobTargetGroup.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(JobAgent) -@Azure.ResourceManager.Legacy.feature(Features.JobTargetGroups) +@Azure.ResourceManager.featureFile(Features.JobTargetGroups) model JobTargetGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model JobTargetGroup #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobTargetGroups) +@Azure.ResourceManager.featureFile(Features.JobTargetGroups) interface JobTargetGroups { /** * Gets a target group. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobVersion.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobVersion.tsp index 88f7c7922e8f..2f6c99f4e389 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/JobVersion.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/JobVersion.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Job) -@Azure.ResourceManager.Legacy.feature(Features.JobVersions) +@Azure.ResourceManager.featureFile(Features.JobVersions) model JobVersion is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = JobVersion, @@ -64,7 +64,7 @@ alias JobVersionOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.JobVersions) +@Azure.ResourceManager.featureFile(Features.JobVersions) interface JobVersions { /** * Gets a job version. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/LedgerDigestUploads.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/LedgerDigestUploads.tsp index 81330a984966..25314c9abc0d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/LedgerDigestUploads.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/LedgerDigestUploads.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.LedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.LedgerDigestUploads) model LedgerDigestUploads is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model LedgerDigestUploads #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.LedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.LedgerDigestUploads) interface LedgerDigestUploadsOperationGroup { /** * Gets the current ledger digest upload configuration for a database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/LogicalDatabaseTransparentDataEncryption.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/LogicalDatabaseTransparentDataEncryption.tsp index c73d41699294..895905ff4995 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/LogicalDatabaseTransparentDataEncryption.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/LogicalDatabaseTransparentDataEncryption.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.TransparentDataEncryptions) +@Azure.ResourceManager.featureFile(Features.TransparentDataEncryptions) model LogicalDatabaseTransparentDataEncryption is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model LogicalDatabaseTransparentDataEncryption #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.TransparentDataEncryptions) +@Azure.ResourceManager.featureFile(Features.TransparentDataEncryptions) interface LogicalDatabaseTransparentDataEncryptions { /** * Gets a logical database's transparent data encryption. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionBackup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionBackup.tsp index 4900652c27f7..ce8ed515e24e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionBackup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionBackup.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model LongTermRetentionBackup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -67,7 +67,7 @@ alias LongTermRetentionBackupOps = Azure.ResourceManager.Legacy.LegacyOperations #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) interface LongTermRetentionBackups { /** * Gets a long term retention backup. @@ -225,7 +225,7 @@ alias LongTermRetentionBackupOperationGroupOps = Azure.ResourceManager.Legacy.Le #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) interface LongTermRetentionBackupOperationGroup { /** * Gets a long term retention backup. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionPolicy.tsp index a1a7c4ab117d..0d78fc90df24 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/LongTermRetentionPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionPolicies) model LongTermRetentionPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model LongTermRetentionPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionPolicies) interface LongTermRetentionPolicies { /** * Gets a database's long term retention policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindowOptions.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindowOptions.tsp index 34934e1590da..eae16158d949 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindowOptions.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindowOptions.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @singleton("current") @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindowOptions) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindowOptions) model MaintenanceWindowOptions is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model MaintenanceWindowOptions #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindowOptions) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindowOptions) interface MaintenanceWindowOptionsOperationGroup { /** * Gets a list of available maintenance windows. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindows.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindows.tsp index 6f8f246fe297..266fd86555c4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindows.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/MaintenanceWindows.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @singleton("current") @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindows) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindows) model MaintenanceWindows is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model MaintenanceWindows #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindows) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindows) interface MaintenanceWindowsOperationGroup { /** * Gets maintenance windows settings for a database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedBackupShortTermRetentionPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedBackupShortTermRetentionPolicy.tsp index 9e1ce4839353..4540ecd18d3f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedBackupShortTermRetentionPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedBackupShortTermRetentionPolicy.tsp @@ -57,7 +57,7 @@ alias ManagedBackupShortTermRetentionPolicyOps = Azure.ResourceManager.Legacy.Le #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedBackupShortTermRetentionPolicies ) interface ManagedBackupShortTermRetentionPolicies { @@ -124,7 +124,7 @@ alias ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicyOps = Azure. #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies ) interface ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabase.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabase.tsp index c13e9482deaa..d7079372119a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabase.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabase.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabase is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -34,7 +34,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) get is ArmResourceRead; /** @@ -43,7 +43,7 @@ interface ManagedDatabases { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "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" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) createOrUpdate is ArmResourceCreateOrReplaceAsync< ManagedDatabase, Response = @@ -62,7 +62,7 @@ interface ManagedDatabases { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) update is ArmCustomPatchAsync< ManagedDatabase, PatchModel = ManagedDatabaseUpdate @@ -74,7 +74,7 @@ interface ManagedDatabases { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) delete is ArmResourceDeleteWithoutOkAsync< ManagedDatabase, Response = @@ -88,7 +88,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) listByInstance is ArmResourceListByParent; /** @@ -99,7 +99,7 @@ interface ManagedDatabases { @list @get @action("columns") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseColumns) + @Azure.ResourceManager.featureFile(Features.ManagedDatabaseColumns) listByDatabase is ArmResourceActionSync< ManagedDatabase, void, @@ -138,7 +138,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) cancelMove is ArmResourceActionAsyncBase< ManagedDatabase, ManagedDatabaseMoveDefinition, @@ -151,7 +151,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) completeMove is ArmResourceActionAsyncBase< ManagedDatabase, ManagedDatabaseMoveDefinition, @@ -164,7 +164,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) completeRestore is ArmResourceActionAsyncBase< ManagedDatabase, CompleteDatabaseRestoreDefinition, @@ -177,7 +177,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) reevaluateInaccessibleDatabaseState is ArmResourceActionAsync< ManagedDatabase, void, @@ -189,7 +189,7 @@ interface ManagedDatabases { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) startMove is ArmResourceActionAsyncBase< ManagedDatabase, ManagedDatabaseStartMoveDefinition, @@ -205,7 +205,7 @@ interface ManagedDatabases { @list @get @action("securityEvents") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) + @Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) managedDatabaseSecurityEventsListByDatabase is ArmResourceActionSync< ManagedDatabase, void, @@ -245,7 +245,7 @@ interface ManagedDatabases { @list @get @action("currentSensitivityLabels") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.ManagedDatabaseSensitivityLabels ) listCurrentByDatabase is ArmResourceActionSync< @@ -278,7 +278,7 @@ interface ManagedDatabases { @tag("ManagedDatabaseSensitivityLabels") @patch @action("currentSensitivityLabels") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.ManagedDatabaseSensitivityLabels ) managedDatabaseSensitivityLabelsUpdate is ArmResourceActionSync< @@ -295,7 +295,7 @@ interface ManagedDatabases { @list @get @action("recommendedSensitivityLabels") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.ManagedDatabaseSensitivityLabels ) listRecommendedByDatabase is ArmResourceActionSync< @@ -330,7 +330,7 @@ interface ManagedDatabases { @tag("ManagedDatabaseSensitivityLabels") @patch @action("recommendedSensitivityLabels") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.ManagedDatabaseSensitivityLabels ) managedDatabaseRecommendedSensitivityLabelsUpdate is ArmResourceActionSync< @@ -347,7 +347,7 @@ interface ManagedDatabases { @list @get @action("sensitivityLabels") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.ManagedDatabaseSensitivityLabels ) managedDatabaseSensitivityLabelsListByDatabase is ArmResourceActionSync< diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseAdvancedThreatProtection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseAdvancedThreatProtection.tsp index 02db77b89d00..f9530521cc1a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseAdvancedThreatProtection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseAdvancedThreatProtection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseAdvancedThreatProtectionSettings ) model ManagedDatabaseAdvancedThreatProtection @@ -33,7 +33,7 @@ model ManagedDatabaseAdvancedThreatProtection #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseAdvancedThreatProtectionSettings ) interface ManagedDatabaseAdvancedThreatProtections { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseMoveOperationResult.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseMoveOperationResult.tsp index aeea9eb20faf..61a8f8a25cf0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseMoveOperationResult.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseMoveOperationResult.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ResourceGroupLocationResource) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseMoveOperations) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseMoveOperations) model ManagedDatabaseMoveOperationResult is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -50,7 +50,7 @@ alias ManagedDatabaseMoveOperationResultsOps = Azure.ResourceManager.Legacy.Lega #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseMoveOperations) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseMoveOperations) interface ManagedDatabaseMoveOperationResults { /** * Gets a managed database move operation. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseRestoreDetailsResult.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseRestoreDetailsResult.tsp index d3b777bbd86f..41362e02c98c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseRestoreDetailsResult.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseRestoreDetailsResult.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseRestoreDetails) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseRestoreDetails) model ManagedDatabaseRestoreDetailsResult is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model ManagedDatabaseRestoreDetailsResult #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseRestoreDetails) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseRestoreDetails) interface ManagedDatabaseRestoreDetailsResults { /** * Gets managed database restore details. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseSecurityAlertPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseSecurityAlertPolicy.tsp index 940890e06cc4..a3b718e128f8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseSecurityAlertPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedDatabaseSecurityAlertPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseSecurityAlertPolicies ) model ManagedDatabaseSecurityAlertPolicy @@ -33,7 +33,7 @@ model ManagedDatabaseSecurityAlertPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseSecurityAlertPolicies ) interface ManagedDatabaseSecurityAlertPolicies { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstance.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstance.tsp index 4209881f9c30..0287af333563 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstance.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstance.tsp @@ -14,7 +14,7 @@ namespace Microsoft.Sql; * An Azure SQL managed instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstance is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) get is ArmResourceRead< ManagedInstance, Parameters = { @@ -63,7 +63,7 @@ interface ManagedInstances { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "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" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) createOrUpdate is ArmResourceCreateOrReplaceAsync< ManagedInstance, Response = @@ -82,7 +82,7 @@ interface ManagedInstances { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) update is ArmCustomPatchAsync< ManagedInstance, PatchModel = ManagedInstanceUpdate @@ -94,7 +94,7 @@ interface ManagedInstances { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) delete is ArmResourceDeleteWithoutOkAsync< ManagedInstance, Response = @@ -108,7 +108,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) listByResourceGroup is ArmResourceListByParent< ManagedInstance, Parameters = { @@ -125,7 +125,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) list is ArmListBySubscription< ManagedInstance, Parameters = { @@ -145,7 +145,7 @@ interface ManagedInstances { @list @get @action("inaccessibleManagedDatabases") - @Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) + @Azure.ResourceManager.featureFile(Features.ManagedDatabases) listInaccessibleByInstance is ArmResourceActionSync< ManagedInstance, void, @@ -157,7 +157,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) failover is ArmResourceActionAsyncBase< ManagedInstance, void, @@ -180,7 +180,7 @@ interface ManagedInstances { @get @action("outboundNetworkDependenciesEndpoints") @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) listOutboundNetworkDependenciesByManagedInstance is ArmResourceActionSync< ManagedInstance, void, @@ -192,7 +192,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) reevaluateInaccessibleDatabaseState is ArmResourceActionAsyncBase< ManagedInstance, void, @@ -206,7 +206,7 @@ interface ManagedInstances { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") @action("refreshExternalGovernanceStatus") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) refreshStatus is ArmResourceActionAsync< ManagedInstance, void, @@ -218,7 +218,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) start is ArmResourceActionAsync< ManagedInstance, void, @@ -230,7 +230,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) stop is ArmResourceActionAsync< ManagedInstance, void, @@ -245,7 +245,7 @@ interface ManagedInstances { @get @action("topqueries") @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) listByManagedInstance is ArmResourceActionSync< ManagedInstance, void, @@ -300,7 +300,7 @@ interface ManagedInstances { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstances") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) + @Azure.ResourceManager.featureFile(Features.ManagedInstances) validateAzureKeyVaultEncryptionKey is ArmResourceActionAsyncBase< ManagedInstance, ManagedInstanceValidateAzureKeyVaultEncryptionKeyRequest, @@ -314,7 +314,7 @@ interface ManagedInstances { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("ManagedInstanceTdeCertificates") @action("tdeCertificates") - @Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceTdeCertificates) + @Azure.ResourceManager.featureFile(Features.ManagedInstanceTdeCertificates) create is ArmResourceActionAsyncBase< ManagedInstance, TdeCertificate, @@ -330,7 +330,7 @@ interface ManagedInstances { @list @get @action("serverTrustGroups") - @Azure.ResourceManager.Legacy.feature(Features.ServerTrustGroups) + @Azure.ResourceManager.featureFile(Features.ServerTrustGroups) listByInstance is ArmResourceActionSync< ManagedInstance, void, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdministrator.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdministrator.tsp index 3bd60cc581ae..0c3fae46c534 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdministrator.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdministrator.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceAdministrators) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceAdministrators) model ManagedInstanceAdministrator is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model ManagedInstanceAdministrator #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceAdministrators) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceAdministrators) interface ManagedInstanceAdministrators { /** * Gets a managed instance administrator. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdvancedThreatProtection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdvancedThreatProtection.tsp index 0f90042c02d9..558b57b9f9cc 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdvancedThreatProtection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAdvancedThreatProtection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAdvancedThreatProtectionSettings ) model ManagedInstanceAdvancedThreatProtection @@ -33,7 +33,7 @@ model ManagedInstanceAdvancedThreatProtection #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAdvancedThreatProtectionSettings ) interface ManagedInstanceAdvancedThreatProtections { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAzureADOnlyAuthentication.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAzureADOnlyAuthentication.tsp index 956f8497527d..9d1f17336e5c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAzureADOnlyAuthentication.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceAzureADOnlyAuthentication.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAzureADOnlyAuthentications ) model ManagedInstanceAzureADOnlyAuthentication @@ -34,7 +34,7 @@ model ManagedInstanceAzureADOnlyAuthentication #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAzureADOnlyAuthentications ) interface ManagedInstanceAzureADOnlyAuthentications { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceDtc.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceDtc.tsp index 76482aa21f38..c4a27a4c7b1c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceDtc.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceDtc.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceDtcs) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceDtcs) model ManagedInstanceDtc is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model ManagedInstanceDtc #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceDtcs) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceDtcs) interface ManagedInstanceDtcs { /** * Gets managed instance DTC settings. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceEncryptionProtector.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceEncryptionProtector.tsp index 9e7b6e6b9f07..9e5043fcb830 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceEncryptionProtector.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceEncryptionProtector.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceEncryptionProtectors ) model ManagedInstanceEncryptionProtector @@ -40,7 +40,7 @@ model ManagedInstanceEncryptionProtector #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceEncryptionProtectors ) interface ManagedInstanceEncryptionProtectors { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceKey.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceKey.tsp index 3a3b9bddbdb9..30777524c4a5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceKey.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceKey.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceKeys) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceKeys) model ManagedInstanceKey is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -36,7 +36,7 @@ model ManagedInstanceKey #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceKeys) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceKeys) interface ManagedInstanceKeys { /** * Gets a managed instance key. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionBackup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionBackup.tsp index c3d0bd32db9f..aaee402d6b1c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionBackup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionBackup.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @subscriptionResource -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.LongTermRetentionManagedInstanceBackups ) model ManagedInstanceLongTermRetentionBackup @@ -69,7 +69,7 @@ alias ManagedInstanceLongTermRetentionBackupOps = Azure.ResourceManager.Legacy.L #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.LongTermRetentionManagedInstanceBackups ) interface ManagedInstanceLongTermRetentionBackups { @@ -147,7 +147,7 @@ alias LongTermRetentionManagedInstanceBackupOps = Azure.ResourceManager.Legacy.L #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.LongTermRetentionManagedInstanceBackups ) interface LongTermRetentionManagedInstanceBackups { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionPolicy.tsp index e7d62afda6cc..b22bd3ac95bb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceLongTermRetentionPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceLongTermRetentionPolicies ) model ManagedInstanceLongTermRetentionPolicy @@ -32,7 +32,7 @@ model ManagedInstanceLongTermRetentionPolicy #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceLongTermRetentionPolicies ) interface ManagedInstanceLongTermRetentionPolicies { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceOperation.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceOperation.tsp index e8886c445c41..f361ce0afc10 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceOperation.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceOperation.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model ManagedInstanceOperation is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model ManagedInstanceOperation #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) interface ManagedInstanceOperations { /** * Gets a management operation on a managed instance. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateEndpointConnection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateEndpointConnection.tsp index f9a7d4a41d84..97a04e193296 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateEndpointConnection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateEndpointConnection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstancePrivateEndpointConnections ) model ManagedInstancePrivateEndpointConnection @@ -31,7 +31,7 @@ model ManagedInstancePrivateEndpointConnection #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstancePrivateEndpointConnections ) interface ManagedInstancePrivateEndpointConnections { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateLink.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateLink.tsp index 90c2daa7ed6b..8a8cc101ab36 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateLink.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstancePrivateLink.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstancePrivateLinkResources ) model ManagedInstancePrivateLink @@ -31,7 +31,7 @@ model ManagedInstancePrivateLink #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstancePrivateLinkResources ) interface ManagedInstancePrivateLinks { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceQuery.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceQuery.tsp index a5a65f828b22..3a3ad6076b34 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceQuery.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceQuery.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseQueries) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseQueries) model ManagedInstanceQuery is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model ManagedInstanceQuery #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseQueries) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseQueries) interface ManagedInstanceQueries { /** * Get query by query id. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceVulnerabilityAssessment.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceVulnerabilityAssessment.tsp index 08f4803aa74d..d8d174b5b059 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceVulnerabilityAssessment.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedInstanceVulnerabilityAssessment.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceVulnerabilityAssessments ) model ManagedInstanceVulnerabilityAssessment @@ -32,7 +32,7 @@ model ManagedInstanceVulnerabilityAssessment #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceVulnerabilityAssessments ) interface ManagedInstanceVulnerabilityAssessments { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedLedgerDigestUploads.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedLedgerDigestUploads.tsp index f03a71935d91..35c9bcae8b52 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedLedgerDigestUploads.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedLedgerDigestUploads.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature(Features.ManagedLedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.ManagedLedgerDigestUploads) model ManagedLedgerDigestUploads is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model ManagedLedgerDigestUploads #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ManagedLedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.ManagedLedgerDigestUploads) interface ManagedLedgerDigestUploadsOperationGroup { /** * Gets the current ledger digest upload configuration for a database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerDnsAlias.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerDnsAlias.tsp index 85cc63dd55c1..b1ab0fc9543a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerDnsAlias.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerDnsAlias.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ManagedServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ManagedServerDnsAliases) model ManagedServerDnsAlias is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model ManagedServerDnsAlias #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ManagedServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ManagedServerDnsAliases) interface ManagedServerDnsAliases { /** * Gets a server DNS alias. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerSecurityAlertPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerSecurityAlertPolicy.tsp index 261555c8cb6a..356b86df746d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerSecurityAlertPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedServerSecurityAlertPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedServerSecurityAlertPolicies ) model ManagedServerSecurityAlertPolicy @@ -33,7 +33,7 @@ model ManagedServerSecurityAlertPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedServerSecurityAlertPolicies ) interface ManagedServerSecurityAlertPolicies { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedTransparentDataEncryption.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedTransparentDataEncryption.tsp index 029d2f341780..d6b200383553 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedTransparentDataEncryption.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ManagedTransparentDataEncryption.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedDatabase) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseTransparentDataEncryption ) model ManagedTransparentDataEncryption @@ -33,7 +33,7 @@ model ManagedTransparentDataEncryption #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseTransparentDataEncryption ) interface ManagedTransparentDataEncryptions { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/NetworkSecurityPerimeterConfiguration.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/NetworkSecurityPerimeterConfiguration.tsp index cf58fd76f926..01ac3e4bd48d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/NetworkSecurityPerimeterConfiguration.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/NetworkSecurityPerimeterConfiguration.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NetworkSecurityPerimeterConfiguration @@ -31,7 +31,7 @@ model NetworkSecurityPerimeterConfiguration #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) interface NetworkSecurityPerimeterConfigurations { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/OutboundFirewallRule.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/OutboundFirewallRule.tsp index fd913f2d12fd..199b31535fbb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/OutboundFirewallRule.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/OutboundFirewallRule.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.OutboundFirewallRules) +@Azure.ResourceManager.featureFile(Features.OutboundFirewallRules) model OutboundFirewallRule is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model OutboundFirewallRule #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.OutboundFirewallRules) +@Azure.ResourceManager.featureFile(Features.OutboundFirewallRules) interface OutboundFirewallRules { /** * Gets an outbound firewall rule. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateEndpointConnection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateEndpointConnection.tsp index 88e3f4e30af7..03cff735124e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateEndpointConnection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateEndpointConnection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.PrivateEndpointConnections) +@Azure.ResourceManager.featureFile(Features.PrivateEndpointConnections) model PrivateEndpointConnection is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model PrivateEndpointConnection #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.PrivateEndpointConnections) +@Azure.ResourceManager.featureFile(Features.PrivateEndpointConnections) interface PrivateEndpointConnections { /** * Gets a private endpoint connection. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateLinkResource.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateLinkResource.tsp index 6117b6e39d2d..0cb73baa246f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateLinkResource.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/PrivateLinkResource.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.PrivateLinkResources) +@Azure.ResourceManager.featureFile(Features.PrivateLinkResources) model PrivateLinkResource is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model PrivateLinkResource #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.PrivateLinkResources) +@Azure.ResourceManager.featureFile(Features.PrivateLinkResources) interface PrivateLinkResources { /** * Gets a private link resource for SQL server. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecommendedAction.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecommendedAction.tsp index 2129ecdeb464..c5d4a35c77df 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecommendedAction.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecommendedAction.tsp @@ -41,7 +41,7 @@ model RecommendedAction #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DatabaseRecommendedActions) +@Azure.ResourceManager.featureFile(Features.DatabaseRecommendedActions) interface RecommendedActions { /** * Gets a database recommended action. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableDatabase.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableDatabase.tsp index f2be4adfce1a..b6d783cebd42 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableDatabase.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableDatabase.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.RecoverableDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableDatabases) model RecoverableDatabase is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model RecoverableDatabase #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.RecoverableDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableDatabases) interface RecoverableDatabases { /** * Gets a recoverable database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableManagedDatabase.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableManagedDatabase.tsp index ff487cd3d3ea..01a234102b3f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableManagedDatabase.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RecoverableManagedDatabase.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.RecoverableManagedDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableManagedDatabases) model RecoverableManagedDatabase is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model RecoverableManagedDatabase #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.RecoverableManagedDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableManagedDatabases) interface RecoverableManagedDatabases { /** * Gets a recoverable managed database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ReplicationLink.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ReplicationLink.tsp index 43f612ad901a..78f56c6deab7 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ReplicationLink.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ReplicationLink.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) +@Azure.ResourceManager.featureFile(Features.ReplicationLinks) model ReplicationLink is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model ReplicationLink #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) +@Azure.ResourceManager.featureFile(Features.ReplicationLinks) interface ReplicationLinks { /** * Gets a replication link. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedDatabase.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedDatabase.tsp index 670eba368ec1..98c9642aaeaf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedDatabase.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedDatabase.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.RestorableDroppedDatabases) +@Azure.ResourceManager.featureFile(Features.RestorableDroppedDatabases) model RestorableDroppedDatabase is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ model RestorableDroppedDatabase #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.RestorableDroppedDatabases) +@Azure.ResourceManager.featureFile(Features.RestorableDroppedDatabases) interface RestorableDroppedDatabases { /** * Gets a restorable dropped database. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedManagedDatabase.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedManagedDatabase.tsp index 57b24855c122..d413d207afb8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedManagedDatabase.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorableDroppedManagedDatabase.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.RestorableDroppedManagedDatabases ) model RestorableDroppedManagedDatabase @@ -31,7 +31,7 @@ model RestorableDroppedManagedDatabase #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.RestorableDroppedManagedDatabases ) interface RestorableDroppedManagedDatabases { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorePoint.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorePoint.tsp index 33aec180682a..0ae582e8e83a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorePoint.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/RestorePoint.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.RestorePoints) +@Azure.ResourceManager.featureFile(Features.RestorePoints) model RestorePoint is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -36,7 +36,7 @@ model RestorePoint #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.RestorePoints) +@Azure.ResourceManager.featureFile(Features.RestorePoints) interface RestorePoints { /** * Gets a restore point. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SensitivityLabel.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SensitivityLabel.tsp index 0ef79567ab45..58df5097396b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SensitivityLabel.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SensitivityLabel.tsp @@ -75,7 +75,7 @@ alias SensitivityLabelOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSensitivityLabels) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSensitivityLabels) interface SensitivityLabels { /** * Gets the sensitivity label of a given column @@ -179,7 +179,7 @@ alias SensitivityLabelOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOpe #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.SensitivityLabels) +@Azure.ResourceManager.featureFile(Features.SensitivityLabels) interface SensitivityLabelOperationGroup { /** * Gets the sensitivity label of a given column diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/Server.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/Server.tsp index b4433e4526c8..09a7f6581e0b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/Server.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/Server.tsp @@ -14,7 +14,7 @@ namespace Microsoft.Sql; * An Azure SQL Database server. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model Server is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< Resource = Server, @@ -44,7 +44,7 @@ interface Servers { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) get is ArmResourceRead< Server, Parameters = { @@ -62,7 +62,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "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" @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) createOrUpdate is ArmResourceCreateOrReplaceAsync< Server, Response = @@ -81,7 +81,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) update is ArmCustomPatchAsync; /** @@ -90,7 +90,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "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" @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) delete is ArmResourceDeleteWithoutOkAsync< Server, Response = @@ -104,7 +104,7 @@ interface Servers { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) listByResourceGroup is ArmResourceListByParent< Server, Parameters = { @@ -121,7 +121,7 @@ interface Servers { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Servers") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) list is ArmListBySubscription< Server, Parameters = { @@ -141,7 +141,7 @@ interface Servers { @list @get @action("inaccessibleDatabases") - @Azure.ResourceManager.Legacy.feature(Features.Databases) + @Azure.ResourceManager.featureFile(Features.Databases) listInaccessibleByServer is ArmResourceActionSync< Server, void, @@ -157,7 +157,7 @@ interface Servers { @tag("FirewallRules") @put @action("firewallRules") - @Azure.ResourceManager.Legacy.feature(Features.FirewallRules) + @Azure.ResourceManager.featureFile(Features.FirewallRules) replace is ArmResourceActionSync< Server, FirewallRuleList, @@ -172,7 +172,7 @@ interface Servers { @list @get @action("replicationLinks") - @Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) + @Azure.ResourceManager.featureFile(Features.ReplicationLinks) listByServer is ArmResourceActionSync< Server, void, @@ -187,7 +187,7 @@ interface Servers { @list @get @action("operations") - @Azure.ResourceManager.Legacy.feature(Features.ServerOperations) + @Azure.ResourceManager.featureFile(Features.ServerOperations) serverOperationsListByServer is ArmResourceActionSync< Server, void, @@ -200,7 +200,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Servers") @action("import") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) importDatabase is ArmResourceActionAsync< Server, ImportNewDatabaseDefinition, @@ -213,7 +213,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("Servers") @action("refreshExternalGovernanceStatus") - @Azure.ResourceManager.Legacy.feature(Features.Servers) + @Azure.ResourceManager.featureFile(Features.Servers) refreshStatus is ArmResourceActionAsync< Server, void, @@ -228,7 +228,7 @@ interface Servers { @list @get @action("usages") - @Azure.ResourceManager.Legacy.feature(Features.ServerUsages) + @Azure.ResourceManager.featureFile(Features.ServerUsages) serverUsagesListByServer is ArmResourceActionSync< Server, void, @@ -241,7 +241,7 @@ interface Servers { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("TdeCertificates") @action("tdeCertificates") - @Azure.ResourceManager.Legacy.feature(Features.TdeCertificates) + @Azure.ResourceManager.featureFile(Features.TdeCertificates) create is ArmResourceActionAsyncBase< Server, TdeCertificate, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAdvancedThreatProtection.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAdvancedThreatProtection.tsp index 9a3139dc7186..8c495049e1c6 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAdvancedThreatProtection.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAdvancedThreatProtection.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ServerAdvancedThreatProtectionSettings ) model ServerAdvancedThreatProtection @@ -33,7 +33,7 @@ model ServerAdvancedThreatProtection #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ServerAdvancedThreatProtectionSettings ) interface ServerAdvancedThreatProtections { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAutomaticTuning.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAutomaticTuning.tsp index 72ad3d1c79e6..f32804f2208f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAutomaticTuning.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAutomaticTuning.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @singleton("current") @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.ServerAutomaticTuning) model ServerAutomaticTuning is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model ServerAutomaticTuning #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ServerAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.ServerAutomaticTuning) interface ServerAutomaticTunings { /** * Retrieves server automatic tuning options. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADAdministrator.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADAdministrator.tsp index de352c50b121..b33a282e0db1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADAdministrator.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADAdministrator.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADAdministrators) +@Azure.ResourceManager.featureFile(Features.ServerAzureADAdministrators) model ServerAzureADAdministrator is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -32,7 +32,7 @@ model ServerAzureADAdministrator #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADAdministrators) +@Azure.ResourceManager.featureFile(Features.ServerAzureADAdministrators) interface ServerAzureADAdministrators { /** * Gets a Azure Active Directory administrator. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADOnlyAuthentication.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADOnlyAuthentication.tsp index 1cc52a7fa098..20c392347fc9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADOnlyAuthentication.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerAzureADOnlyAuthentication.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADOnlyAuthentications) +@Azure.ResourceManager.featureFile(Features.ServerAzureADOnlyAuthentications) model ServerAzureADOnlyAuthentication is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -32,7 +32,7 @@ model ServerAzureADOnlyAuthentication #suppress "@azure-tools/typespec-azure-core/casing-style" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADOnlyAuthentications) +@Azure.ResourceManager.featureFile(Features.ServerAzureADOnlyAuthentications) interface ServerAzureADOnlyAuthentications { /** * Gets a specific Azure Active Directory only authentication property. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerBlobAuditingPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerBlobAuditingPolicy.tsp index a27ee1120737..7d2d398f3e97 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerBlobAuditingPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerBlobAuditingPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ServerBlobAuditingPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -46,7 +46,7 @@ alias ServerBlobAuditingPoliciesOps = Azure.ResourceManager.Legacy.LegacyOperati #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) interface ServerBlobAuditingPolicies { /** * Gets a server's blob auditing policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConfigurationOption.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConfigurationOption.tsp index ef8dda61ac6a..2893cf6aeac9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConfigurationOption.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConfigurationOption.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ServerConfigurationOptions) +@Azure.ResourceManager.featureFile(Features.ServerConfigurationOptions) model ServerConfigurationOption is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model ServerConfigurationOption #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerConfigurationOptions) +@Azure.ResourceManager.featureFile(Features.ServerConfigurationOptions) interface ServerConfigurationOptions { /** * Gets managed instance server configuration option. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConnectionPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConnectionPolicy.tsp index ea296655e534..20a08f06ea64 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConnectionPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerConnectionPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerConnectionPolicies) +@Azure.ResourceManager.featureFile(Features.ServerConnectionPolicies) model ServerConnectionPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -45,7 +45,7 @@ model ServerConnectionPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerConnectionPolicies) +@Azure.ResourceManager.featureFile(Features.ServerConnectionPolicies) interface ServerConnectionPolicies { /** * Gets a server connection policy diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDevOpsAuditingSettings.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDevOpsAuditingSettings.tsp index ec9b915a75b6..e18c3b09cb37 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDevOpsAuditingSettings.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDevOpsAuditingSettings.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerDevOpsAudit) +@Azure.ResourceManager.featureFile(Features.ServerDevOpsAudit) model ServerDevOpsAuditingSettings is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model ServerDevOpsAuditingSettings #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.ServerDevOpsAudit) +@Azure.ResourceManager.featureFile(Features.ServerDevOpsAudit) interface ServerDevOpsAuditSettings { /** * Gets a server's DevOps audit settings. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDnsAlias.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDnsAlias.tsp index c05eb56e8640..e0a4dadf10f5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDnsAlias.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerDnsAlias.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ServerDnsAliases) model ServerDnsAlias is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model ServerDnsAlias #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ServerDnsAliases) interface ServerDnsAliases { /** * Gets a server DNS alias. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerKey.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerKey.tsp index a95cb6968d5d..7d22a0acba75 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerKey.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerKey.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerKeys) +@Azure.ResourceManager.featureFile(Features.ServerKeys) model ServerKey is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = ServerKey, @@ -42,7 +42,7 @@ model ServerKey is Azure.ResourceManager.ProxyResource { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerKeys) +@Azure.ResourceManager.featureFile(Features.ServerKeys) interface ServerKeys { /** * Gets a server key. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerSecurityAlertPolicy.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerSecurityAlertPolicy.tsp index 241acb086b8b..a33281ca173a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerSecurityAlertPolicy.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerSecurityAlertPolicy.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.ServerSecurityAlertPolicies) model ServerSecurityAlertPolicy is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model ServerSecurityAlertPolicy #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.ServerSecurityAlertPolicies) interface ServerSecurityAlertPolicies { /** * Get a server's security alert policy. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustCertificate.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustCertificate.tsp index 1f2fa515df75..decfc1d6bd2d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustCertificate.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustCertificate.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustCertificates) +@Azure.ResourceManager.featureFile(Features.ServerTrustCertificates) model ServerTrustCertificate is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -46,7 +46,7 @@ alias ServerTrustCertificatesOps = Azure.ResourceManager.Legacy.LegacyOperations #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustCertificates) +@Azure.ResourceManager.featureFile(Features.ServerTrustCertificates) interface ServerTrustCertificates { /** * Gets a server trust certificate that was uploaded from SQL Server to SQL Managed Instance. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustGroup.tsp index 2bf348ed9472..08557ffa99d8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerTrustGroup.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ResourceGroupLocationResource) -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustGroups) +@Azure.ResourceManager.featureFile(Features.ServerTrustGroups) model ServerTrustGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -50,7 +50,7 @@ alias ServerTrustGroupsOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustGroups) +@Azure.ResourceManager.featureFile(Features.ServerTrustGroups) interface ServerTrustGroups { /** * Gets a server trust group. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerVulnerabilityAssessment.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerVulnerabilityAssessment.tsp index 44d7aa51a871..3e31657c7948 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerVulnerabilityAssessment.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/ServerVulnerabilityAssessment.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.ServerVulnerabilityAssessments) +@Azure.ResourceManager.featureFile(Features.ServerVulnerabilityAssessments) model ServerVulnerabilityAssessment is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -30,7 +30,7 @@ model ServerVulnerabilityAssessment #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.ServerVulnerabilityAssessments) +@Azure.ResourceManager.featureFile(Features.ServerVulnerabilityAssessments) interface ServerVulnerabilityAssessments { /** * Gets the server's vulnerability assessment. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlAgentConfiguration.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlAgentConfiguration.tsp index 35fa5d088ad2..0aedf6829ef3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlAgentConfiguration.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlAgentConfiguration.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @singleton("current") @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature(Features.SqlAgent) +@Azure.ResourceManager.featureFile(Features.SqlAgent) model SqlAgentConfiguration is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -31,7 +31,7 @@ model SqlAgentConfiguration #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.SqlAgent) +@Azure.ResourceManager.featureFile(Features.SqlAgent) interface SqlAgentConfigurations { /** * Gets current instance sql agent configuration. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessment.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessment.tsp index 589ddc747dd6..3203938ed98d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessment.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessment.tsp @@ -55,7 +55,7 @@ interface SqlVulnerabilityAssessments { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DatabaseSqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentsSettings ) get is SqlVulnerabilityAssessmentOps.Read< @@ -74,7 +74,7 @@ interface SqlVulnerabilityAssessments { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DatabaseSqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentsSettings ) listByDatabase is SqlVulnerabilityAssessmentOps.List; @@ -85,7 +85,7 @@ interface SqlVulnerabilityAssessments { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("DatabaseSqlVulnerabilityAssessmentExecuteScan") @action("initiateScan") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentExecuteScan ) execute is SqlVulnerabilityAssessmentOps.ActionAsync< @@ -127,7 +127,7 @@ interface SqlVulnerabilityAssessmentsSettings { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("SqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentsSettings ) get is SqlVulnerabilityAssessmentsSettingOps.Read< @@ -147,7 +147,7 @@ interface SqlVulnerabilityAssessmentsSettings { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("SqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentsSettings ) createOrUpdate is SqlVulnerabilityAssessmentsSettingOps.CreateOrUpdateSync< @@ -167,7 +167,7 @@ interface SqlVulnerabilityAssessmentsSettings { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("SqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentsSettings ) delete is SqlVulnerabilityAssessmentsSettingOps.DeleteSync< @@ -187,7 +187,7 @@ interface SqlVulnerabilityAssessmentsSettings { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("SqlVulnerabilityAssessmentsSettings") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentsSettings ) listByServer is SqlVulnerabilityAssessmentsSettingOps.List; @@ -198,7 +198,7 @@ interface SqlVulnerabilityAssessmentsSettings { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @tag("SqlVulnerabilityAssessmentExecuteScan") @action("initiateScan") - @Azure.ResourceManager.Legacy.feature( + @Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentExecuteScan ) execute is SqlVulnerabilityAssessmentsSettingOps.ActionAsync< diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanRecord.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanRecord.tsp index 964d3c5d8a08..0af194689b0e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanRecord.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanRecord.tsp @@ -62,7 +62,7 @@ alias SqlVulnerabilityAssessmentScanRecordOps = Azure.ResourceManager.Legacy.Leg #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentScans ) interface SqlVulnerabilityAssessmentScanRecords { @@ -115,7 +115,7 @@ model SqlVulnerabilityAssessmentScanRecordListResult #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.SqlVulnerabilityAssessmentScans) +@Azure.ResourceManager.featureFile(Features.SqlVulnerabilityAssessmentScans) interface SqlVulnerabilityAssessmentScans { /** * Get a system database vulnerability assessment scan record. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanResults.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanResults.tsp index 9100e2b723cf..24824f5346ca 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanResults.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SqlVulnerabilityAssessmentScanResults.tsp @@ -66,7 +66,7 @@ alias DatabaseSqlVulnerabilityAssessmentScanResultOps = Azure.ResourceManager.Le #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseSqlVulnerabilityAssessmentScanResult ) interface DatabaseSqlVulnerabilityAssessmentScanResult { @@ -120,7 +120,7 @@ alias SqlVulnerabilityAssessmentScanResultOps = Azure.ResourceManager.Legacy.Leg #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.SqlVulnerabilityAssessmentScanResult ) interface SqlVulnerabilityAssessmentScanResult { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/StartStopManagedInstanceSchedule.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/StartStopManagedInstanceSchedule.tsp index 307847ce0564..361e1fe8e25c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/StartStopManagedInstanceSchedule.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/StartStopManagedInstanceSchedule.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(ManagedInstance) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.StartStopManagedInstanceSchedules ) model StartStopManagedInstanceSchedule @@ -32,7 +32,7 @@ model StartStopManagedInstanceSchedule #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.StartStopManagedInstanceSchedules ) interface StartStopManagedInstanceSchedules { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SubscriptionUsage.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SubscriptionUsage.tsp index 69c5a7f94494..702f1cd85e1e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SubscriptionUsage.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SubscriptionUsage.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.SubscriptionUsages) +@Azure.ResourceManager.featureFile(Features.SubscriptionUsages) model SubscriptionUsage is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -49,7 +49,7 @@ alias SubscriptionUsagesOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.SubscriptionUsages) +@Azure.ResourceManager.featureFile(Features.SubscriptionUsages) interface SubscriptionUsages { /** * Gets a subscription usage metric. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncAgent.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncAgent.tsp index 080dcd28c295..45840e19f651 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncAgent.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncAgent.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) model SyncAgent is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = SyncAgent, @@ -28,7 +28,7 @@ model SyncAgent is Azure.ResourceManager.ProxyResource { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) interface SyncAgents { /** * Gets a sync agent. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncGroup.tsp index acaa158005ec..945c174db0f4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncGroup.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = SyncGroup, @@ -42,7 +42,7 @@ model SyncGroup is Azure.ResourceManager.ProxyResource { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) interface SyncGroups { /** * Gets a sync group. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncMember.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncMember.tsp index cc40058d2bbd..03a6229fb70c 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncMember.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/SyncMember.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(SyncGroup) -@Azure.ResourceManager.Legacy.feature(Features.SyncMembers) +@Azure.ResourceManager.featureFile(Features.SyncMembers) model SyncMember is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = SyncMember, @@ -36,7 +36,7 @@ model SyncMember is Azure.ResourceManager.ProxyResource { #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.SyncMembers) +@Azure.ResourceManager.featureFile(Features.SyncMembers) interface SyncMembers { /** * Gets a sync member. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/TimeZone.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/TimeZone.tsp index 9ebe9d8d332a..e0ed480eac89 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/TimeZone.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/TimeZone.tsp @@ -15,7 +15,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @subscriptionResource -@Azure.ResourceManager.Legacy.feature(Features.TimeZones) +@Azure.ResourceManager.featureFile(Features.TimeZones) model TimeZone is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = TimeZone, @@ -48,7 +48,7 @@ alias TimeZonesOps = Azure.ResourceManager.Legacy.LegacyOperations< #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.TimeZones) +@Azure.ResourceManager.featureFile(Features.TimeZones) interface TimeZones { /** * Gets a managed instance time zone. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualCluster.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualCluster.tsp index ab6494db39cb..943d9e603732 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualCluster.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualCluster.tsp @@ -14,7 +14,7 @@ namespace Microsoft.Sql; * An Azure SQL virtual cluster. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) model VirtualCluster is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -27,7 +27,7 @@ model VirtualCluster #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) interface VirtualClusters { /** * Gets a virtual cluster. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualNetworkRule.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualNetworkRule.tsp index b55819fa1e6c..545f957bed54 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualNetworkRule.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/VirtualNetworkRule.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Server) -@Azure.ResourceManager.Legacy.feature(Features.VirtualNetworkRules) +@Azure.ResourceManager.featureFile(Features.VirtualNetworkRules) model VirtualNetworkRule is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model VirtualNetworkRule #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.VirtualNetworkRules) +@Azure.ResourceManager.featureFile(Features.VirtualNetworkRules) interface VirtualNetworkRules { /** * Gets a virtual network rule. diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/VulnerabilityAssessmentScanRecord.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/VulnerabilityAssessmentScanRecord.tsp index 028432e59c25..55e17133f833 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/VulnerabilityAssessmentScanRecord.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/VulnerabilityAssessmentScanRecord.tsp @@ -62,7 +62,7 @@ alias VulnerabilityAssessmentScanRecordOps = Azure.ResourceManager.Legacy.Legacy #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.DatabaseVulnerabilityAssessmentScans ) interface VulnerabilityAssessmentScanRecords { @@ -137,7 +137,7 @@ alias ManagedDatabaseVulnerabilityAssessmentScanOps = Azure.ResourceManager.Lega #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseVulnerabilityAssessmentScans ) interface ManagedDatabaseVulnerabilityAssessmentScans { diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadClassifier.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadClassifier.tsp index 2ea0f78a1cc5..5dd406fc51e5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadClassifier.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadClassifier.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(WorkloadGroup) -@Azure.ResourceManager.Legacy.feature(Features.WorkloadClassifiers) +@Azure.ResourceManager.featureFile(Features.WorkloadClassifiers) model WorkloadClassifier is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model WorkloadClassifier #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.WorkloadClassifiers) +@Azure.ResourceManager.featureFile(Features.WorkloadClassifiers) interface WorkloadClassifiers { /** * Gets a workload classifier diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadGroup.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadGroup.tsp index b96ab77fb526..dc7e013df861 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadGroup.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/WorkloadGroup.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @parentResource(Database) -@Azure.ResourceManager.Legacy.feature(Features.WorkloadGroups) +@Azure.ResourceManager.featureFile(Features.WorkloadGroups) model WorkloadGroup is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -29,7 +29,7 @@ model WorkloadGroup #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armResourceOperations -@Azure.ResourceManager.Legacy.feature(Features.WorkloadGroups) +@Azure.ResourceManager.featureFile(Features.WorkloadGroups) interface WorkloadGroups { /** * Gets a workload group diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/main.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/main.tsp index 32204f9b9718..0c6f9fda1b63 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/main.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/main.tsp @@ -1,4 +1,4 @@ -/** +/** * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS * Generated by package: @autorest/openapi-to-typespec * Parameters used: @@ -136,7 +136,7 @@ using TypeSpec.Versioning; /** * The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities. */ -@Azure.ResourceManager.Legacy.features(Features) +@Azure.ResourceManager.featureFiles(Features) @armProviderNamespace @service(#{ title: "SqlManagementClient" }) @versioned(Versions) @@ -445,7 +445,7 @@ enum Versions { } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Operations) +@Azure.ResourceManager.featureFile(Features.Operations) interface Operations extends Azure.ResourceManager.Legacy.Operations< ArmResponse, diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/models.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/models.tsp index bd5bcb784dd9..7b644f30aba3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/models.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/models.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; * The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.BackupShortTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.BackupShortTermRetentionPolicies) union DiffBackupIntervalInHours { int32, @@ -184,7 +184,7 @@ union RecommendedActionCurrentState { * The column data type. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseColumns) +@Azure.ResourceManager.featureFile(Features.DatabaseColumns) union ColumnDataType { string, @@ -363,7 +363,7 @@ union ColumnDataType { * The table temporal type. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseColumns) +@Azure.ResourceManager.featureFile(Features.DatabaseColumns) union TableTemporalType { string, @@ -3241,7 +3241,7 @@ enum LegacyDataMaskingFunction { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @added(Versions.v2025_02_01_preview) -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) +@Azure.ResourceManager.featureFile(Features.DataMaskingRules) union DataMaskingFunction { string, @@ -3492,7 +3492,7 @@ enum LegacyDataMaskingRuleState { */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @added(Versions.v2025_02_01_preview) -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) +@Azure.ResourceManager.featureFile(Features.DataMaskingRules) union DataMaskingRuleState { string, @@ -4209,7 +4209,7 @@ enum CheckNameAvailabilityReason { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.BackupShortTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.BackupShortTermRetentionPolicies) model BackupShortTermRetentionPolicyProperties { /** * The backup retention period in days. This is how many days Point-in-Time Restore will be supported. @@ -4227,7 +4227,7 @@ model BackupShortTermRetentionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ServerBlobAuditingPolicyProperties { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. @@ -4380,7 +4380,7 @@ model ServerBlobAuditingPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model DatabaseBlobAuditingPolicyProperties { /** * Specifies the number of days to keep in the audit logs in the storage account. @@ -4518,7 +4518,7 @@ model DatabaseBlobAuditingPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ExtendedDatabaseBlobAuditingPolicyProperties { /** * Specifies condition of where clause when creating an audit. @@ -4661,7 +4661,7 @@ model ExtendedDatabaseBlobAuditingPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.BlobAuditing) +@Azure.ResourceManager.featureFile(Features.BlobAuditing) model ExtendedServerBlobAuditingPolicyProperties { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. @@ -5160,7 +5160,7 @@ model RecommendedActionMetricInfo { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.DatabaseAutomaticTuning) model DatabaseAutomaticTuningProperties { /** * Automatic tuning desired state. @@ -5184,7 +5184,7 @@ model DatabaseAutomaticTuningProperties { * Automatic tuning properties for individual advisors. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.DatabaseAutomaticTuning) model AutomaticTuningOptions { /** * Automatic tuning option desired state. @@ -5241,7 +5241,7 @@ model DatabaseColumnProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) model ImportExportExtensionsOperationResultProperties { /** * Request Id. @@ -5334,7 +5334,7 @@ model PrivateEndpointConnectionRequestStatus { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) model DatabaseExtensions extends CommonTypes.ProxyResource { /** * Resource properties. @@ -5346,7 +5346,7 @@ model DatabaseExtensions extends CommonTypes.ProxyResource { * Contains the database information after a successful Import, Export, or PolybaseImport */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) model DatabaseExtensionsProperties { /** * Operation mode of the operation: Import, Export, or PolybaseImport. @@ -5438,7 +5438,7 @@ model NetworkIsolationSettings { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseOperations) +@Azure.ResourceManager.featureFile(Features.DatabaseOperations) model DatabaseOperation extends CommonTypes.ProxyResource { /** * Resource properties. @@ -5450,7 +5450,7 @@ model DatabaseOperation extends CommonTypes.ProxyResource { * The properties of a database operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseOperations) +@Azure.ResourceManager.featureFile(Features.DatabaseOperations) model DatabaseOperationProperties { /** * The name of the database the operation is being performed on. @@ -5549,7 +5549,7 @@ model DatabaseOperationProperties { * The phase details properties of a database operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseOperations) +@Azure.ResourceManager.featureFile(Features.DatabaseOperations) model PhaseDetails { /** * The operation phase. @@ -5599,7 +5599,7 @@ model Sku { * Azure Active Directory identity configuration for a resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model DatabaseIdentity { /** * The identity type @@ -5624,7 +5624,7 @@ model DatabaseIdentity { * Azure Active Directory identity configuration for a resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model DatabaseUserIdentity { /** * The Azure Active Directory principal id. @@ -5646,7 +5646,7 @@ model DatabaseUserIdentity { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model DatabaseProperties { /** * Specifies the mode of database creation. @@ -6025,7 +6025,7 @@ model DatabaseKey { */ #suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "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" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model DatabaseUpdate { /** * The name and tier of the SKU. @@ -6053,7 +6053,7 @@ model DatabaseUpdate { * A database update properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model DatabaseUpdateProperties { /** * Specifies the mode of database creation. @@ -6372,7 +6372,7 @@ model DatabaseUpdateProperties { * Contains the information necessary to perform export database operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model ExportDatabaseDefinition { /** * Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity. @@ -6500,7 +6500,7 @@ model ImportExportOperationResultProperties { * Contains the information necessary to perform import operation for existing database. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model ImportExistingDatabaseDefinition { /** * Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity. @@ -6550,7 +6550,7 @@ model ImportExistingDatabaseDefinition { * Contains the information necessary to perform a resource move (rename). */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Databases) +@Azure.ResourceManager.featureFile(Features.Databases) model ResourceMoveDefinition { /** * The target ID for the resource @@ -7081,7 +7081,7 @@ model DatabaseTableProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseUsages) +@Azure.ResourceManager.featureFile(Features.DatabaseUsages) model DatabaseUsage extends CommonTypes.ProxyResource { /** * Resource properties. @@ -7093,7 +7093,7 @@ model DatabaseUsage extends CommonTypes.ProxyResource { * Properties of a database usage. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseUsages) +@Azure.ResourceManager.featureFile(Features.DatabaseUsages) model DatabaseUsageProperties { /** * User-readable name of the metric. @@ -7295,7 +7295,7 @@ model DatabaseVulnerabilityAssessmentScanExportProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingPolicies) +@Azure.ResourceManager.featureFile(Features.DataMaskingPolicies) model DataMaskingPolicyProperties { /** * The state of the data masking policy. @@ -7325,7 +7325,7 @@ model DataMaskingPolicyProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) +@Azure.ResourceManager.featureFile(Features.DataMaskingRules) model DataMaskingRule extends CommonTypes.ProxyResource { /** * The location of the data masking rule. @@ -7349,7 +7349,7 @@ model DataMaskingRule extends CommonTypes.ProxyResource { * The properties of a database data masking rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DataMaskingRules) +@Azure.ResourceManager.featureFile(Features.DataMaskingRules) model DataMaskingRuleProperties { /** * The rule Id. @@ -7434,7 +7434,7 @@ model DataMaskingRuleProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DataWarehouseUserActivities) +@Azure.ResourceManager.featureFile(Features.DataWarehouseUserActivities) model DataWarehouseUserActivitiesProperties { /** * Count of running and suspended queries. @@ -7448,7 +7448,7 @@ model DataWarehouseUserActivitiesProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DeletedServers) +@Azure.ResourceManager.featureFile(Features.DeletedServers) model DeletedServerProperties { /** * The version of the deleted server. @@ -7481,7 +7481,7 @@ model DeletedServerProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroupProperties { /** * Name of the distributed availability group @@ -7548,7 +7548,7 @@ model DistributedAvailabilityGroupProperties { * Database specific information */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroupDatabase { /** * The name of the database in link @@ -7687,7 +7687,7 @@ model DistributedAvailabilityGroupDatabase { * Certificate information */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model CertificateInfo { /** * The certificate name @@ -7707,7 +7707,7 @@ model CertificateInfo { * Distributed availability group failover. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroupsFailoverRequest { /** * The failover type, can be ForcedAllowDataLoss or Planned. @@ -7720,7 +7720,7 @@ model DistributedAvailabilityGroupsFailoverRequest { * Distributed availability group failover request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroupSetRole { /** * New role of managed instance in a distributed availability group, can be Primary or Secondary. @@ -7740,7 +7740,7 @@ model DistributedAvailabilityGroupSetRole { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPoolOperations) +@Azure.ResourceManager.featureFile(Features.ElasticPoolOperations) model ElasticPoolOperation extends CommonTypes.ProxyResource { /** * Resource properties. @@ -7752,7 +7752,7 @@ model ElasticPoolOperation extends CommonTypes.ProxyResource { * The properties of a elastic pool operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPoolOperations) +@Azure.ResourceManager.featureFile(Features.ElasticPoolOperations) model ElasticPoolOperationProperties { /** * The name of the elastic pool the operation is being performed on. @@ -7846,7 +7846,7 @@ model ElasticPoolOperationProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPools) +@Azure.ResourceManager.featureFile(Features.ElasticPools) model ElasticPoolProperties { /** * The state of the elastic pool. @@ -7923,7 +7923,7 @@ model ElasticPoolProperties { * Per database settings of an elastic pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPools) +@Azure.ResourceManager.featureFile(Features.ElasticPools) model ElasticPoolPerDatabaseSettings { /** * The minimum capacity all databases are guaranteed. @@ -7945,7 +7945,7 @@ model ElasticPoolPerDatabaseSettings { * An elastic pool update. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPools) +@Azure.ResourceManager.featureFile(Features.ElasticPools) model ElasticPoolUpdate { /** * An ARM Resource SKU. @@ -7968,7 +7968,7 @@ model ElasticPoolUpdate { * Properties of an elastic pool */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ElasticPools) +@Azure.ResourceManager.featureFile(Features.ElasticPools) model ElasticPoolUpdateProperties { /** * The storage limit for the database elastic pool in bytes. @@ -8033,7 +8033,7 @@ model ElasticPoolUpdateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.EncryptionProtectors) +@Azure.ResourceManager.featureFile(Features.EncryptionProtectors) model EncryptionProtectorProperties { /** * Subregion of the encryption protector. @@ -8080,7 +8080,7 @@ model EncryptionProtectorProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.EndpointCertificates) +@Azure.ResourceManager.featureFile(Features.EndpointCertificates) model EndpointCertificateProperties { /** * The certificate public blob @@ -8093,7 +8093,7 @@ model EndpointCertificateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroupProperties { /** * Read-write endpoint of the failover group instance. @@ -8142,7 +8142,7 @@ model FailoverGroupProperties { * Read-write endpoint of the failover group instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroupReadWriteEndpoint { /** * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. @@ -8159,7 +8159,7 @@ model FailoverGroupReadWriteEndpoint { * Read-only endpoint of the failover group instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroupReadOnlyEndpoint { /** * Failover policy of the read-only endpoint for the failover group. @@ -8180,7 +8180,7 @@ model FailoverGroupReadOnlyEndpoint { * Partner server information for the failover group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model PartnerInfo { /** * Resource identifier of the partner server. @@ -8208,7 +8208,7 @@ model PartnerInfo { * A failover group update request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroupUpdate { /** * Resource properties. @@ -8226,7 +8226,7 @@ model FailoverGroupUpdate { * Properties of a failover group update. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FailoverGroups) +@Azure.ResourceManager.featureFile(Features.FailoverGroups) model FailoverGroupUpdateProperties { /** * Read-write endpoint of the failover group instance. @@ -8264,7 +8264,7 @@ model FailoverGroupUpdateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.FirewallRules) +@Azure.ResourceManager.featureFile(Features.FirewallRules) model ServerFirewallRuleProperties { /** * The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. @@ -8318,7 +8318,7 @@ model ResourceWithWritableName { * A list of server firewall rules. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.FirewallRules) +@Azure.ResourceManager.featureFile(Features.FirewallRules) model FirewallRuleList { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" values?: FirewallRule[]; @@ -8329,7 +8329,7 @@ model FirewallRuleList { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.GeoBackupPolicies) +@Azure.ResourceManager.featureFile(Features.GeoBackupPolicies) model GeoBackupPolicyProperties { /** * The state of the geo backup policy. @@ -8348,7 +8348,7 @@ model GeoBackupPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model InstanceFailoverGroupProperties { /** * Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only. @@ -8395,7 +8395,7 @@ model InstanceFailoverGroupProperties { * Read-write endpoint of the failover group instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model InstanceFailoverGroupReadWriteEndpoint { /** * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. @@ -8412,7 +8412,7 @@ model InstanceFailoverGroupReadWriteEndpoint { * Read-only endpoint of the failover group instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model InstanceFailoverGroupReadOnlyEndpoint { /** * Failover policy of the read-only endpoint for the failover group. @@ -8424,7 +8424,7 @@ model InstanceFailoverGroupReadOnlyEndpoint { * Partner region information for the failover group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model PartnerRegionInfo { /** * Geo location of the partner managed instances. @@ -8442,7 +8442,7 @@ model PartnerRegionInfo { * Pairs of Managed Instances in the failover group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstanceFailoverGroups) +@Azure.ResourceManager.featureFile(Features.InstanceFailoverGroups) model ManagedInstancePairInfo { /** * Id of Primary Managed Instance in pair. @@ -8460,7 +8460,7 @@ model ManagedInstancePairInfo { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.InstancePoolOperations) +@Azure.ResourceManager.featureFile(Features.InstancePoolOperations) model InstancePoolOperationProperties { /** * The name of the instance pool the operation is being performed on. @@ -8548,7 +8548,7 @@ model InstancePoolOperationProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.InstancePools) +@Azure.ResourceManager.featureFile(Features.InstancePools) model InstancePoolProperties { /** * Resource ID of the subnet to place this instance pool in. @@ -8586,7 +8586,7 @@ model InstancePoolProperties { * An update to an Instance pool. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.InstancePools) +@Azure.ResourceManager.featureFile(Features.InstancePools) model InstancePoolUpdate { /** * The name and tier of the SKU. @@ -8611,7 +8611,7 @@ model InstancePoolUpdate { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.IPv6FirewallRules) +@Azure.ResourceManager.featureFile(Features.IPv6FirewallRules) model IPv6ServerFirewallRuleProperties { /** * The start IP address of the firewall rule. Must be IPv6 format. @@ -8630,7 +8630,7 @@ model IPv6ServerFirewallRuleProperties { * Azure Active Directory identity configuration for a resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobAgents) +@Azure.ResourceManager.featureFile(Features.JobAgents) model JobAgentIdentity { /** * The job agent identity tenant id @@ -8654,7 +8654,7 @@ model JobAgentIdentity { * Azure Active Directory identity configuration for a resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobAgents) +@Azure.ResourceManager.featureFile(Features.JobAgents) model JobAgentUserAssignedIdentity { /** * The Azure Active Directory principal id. @@ -8676,7 +8676,7 @@ model JobAgentUserAssignedIdentity { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.JobAgents) +@Azure.ResourceManager.featureFile(Features.JobAgents) model JobAgentProperties { /** * Resource ID of the database to store job metadata in. @@ -8695,7 +8695,7 @@ model JobAgentProperties { * An update to an Azure SQL job agent. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobAgents) +@Azure.ResourceManager.featureFile(Features.JobAgents) model JobAgentUpdate { /** * Managed identity assigned to job agent @@ -8719,7 +8719,7 @@ model JobAgentUpdate { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.JobCredentials) +@Azure.ResourceManager.featureFile(Features.JobCredentials) model JobCredentialProperties { /** * The credential user name. @@ -8849,7 +8849,7 @@ model JobExecutionTarget { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.JobPrivateEndpoints) +@Azure.ResourceManager.featureFile(Features.JobPrivateEndpoints) model JobPrivateEndpointProperties { /** * ARM resource id of the server the private endpoint will target. @@ -8872,7 +8872,7 @@ model JobPrivateEndpointProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.Jobs) +@Azure.ResourceManager.featureFile(Features.Jobs) model JobProperties { /** * User-defined description of the job. @@ -8895,7 +8895,7 @@ model JobProperties { * Scheduling properties of a job. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Jobs) +@Azure.ResourceManager.featureFile(Features.Jobs) model JobSchedule { /** * Schedule start time. @@ -8948,7 +8948,7 @@ model JobSchedule { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) model JobStepProperties { /** * The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. @@ -8986,7 +8986,7 @@ model JobStepProperties { * The action to be executed by a job step. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) model JobStepAction { /** * Type of action being executed by the job step. @@ -9008,7 +9008,7 @@ model JobStepAction { * The output configuration of a job step. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) model JobStepOutput { /** * The output destination type. @@ -9057,7 +9057,7 @@ model JobStepOutput { * The execution options of a job step. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobSteps) +@Azure.ResourceManager.featureFile(Features.JobSteps) model JobStepExecutionOptions { /** * Execution timeout for the job step. @@ -9090,7 +9090,7 @@ model JobStepExecutionOptions { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.JobTargetGroups) +@Azure.ResourceManager.featureFile(Features.JobTargetGroups) model JobTargetGroupProperties { /** * Members of the target group. @@ -9103,7 +9103,7 @@ model JobTargetGroupProperties { * A job target, for example a specific database or a container of databases that is evaluated during job execution. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.JobTargetGroups) +@Azure.ResourceManager.featureFile(Features.JobTargetGroups) model JobTarget { /** * Whether the target is included or excluded from the group. @@ -9147,7 +9147,7 @@ model JobTarget { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.LedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.LedgerDigestUploads) model LedgerDigestUploadsProperties { /** * The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. @@ -9165,7 +9165,7 @@ model LedgerDigestUploadsProperties { * The location capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model LocationCapabilities { /** * The location name. @@ -9214,7 +9214,7 @@ model LocationCapabilities { * The server capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ServerVersionCapability { /** * The server version name. @@ -9250,7 +9250,7 @@ model ServerVersionCapability { * The edition capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model EditionCapability { /** * The database edition name. @@ -9305,7 +9305,7 @@ model EditionCapability { * The service objectives capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ServiceObjectiveCapability { /** * The unique ID of the service objective. @@ -9418,7 +9418,7 @@ model ServiceObjectiveCapability { * The maximum size range capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model MaxSizeRangeCapability { /** * Minimum value. @@ -9460,7 +9460,7 @@ model MaxSizeRangeCapability { * The maximum size capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model MaxSizeCapability { /** * The maximum size limit (see 'unit' for the units). @@ -9479,7 +9479,7 @@ model MaxSizeCapability { * The log size capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model LogSizeCapability { /** * The log size limit (see 'unit' for the units). @@ -9498,7 +9498,7 @@ model LogSizeCapability { * The performance level capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model PerformanceLevelCapability { /** * Performance level value. @@ -9517,7 +9517,7 @@ model PerformanceLevelCapability { * The license type capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model LicenseTypeCapability { /** * License type identifier. @@ -9541,7 +9541,7 @@ model LicenseTypeCapability { * Supported auto pause delay time range */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model AutoPauseDelayTimeRange { /** * Minimum value @@ -9584,7 +9584,7 @@ model AutoPauseDelayTimeRange { * The min capacity capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model MinCapacityCapability { /** * Min capacity value @@ -9608,7 +9608,7 @@ model MinCapacityCapability { * The maintenance configuration capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model MaintenanceConfigurationCapability { /** * Maintenance configuration name @@ -9638,7 +9638,7 @@ model MaintenanceConfigurationCapability { * The zone pinning capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ZonePinningCapability { /** * Name of the availability zone @@ -9662,7 +9662,7 @@ model ZonePinningCapability { * Supported free limit exhaustion behavior options */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model FreeLimitExhaustionBehaviorCapability { /** * Free limit exhaustion behavior type @@ -9681,7 +9681,7 @@ model FreeLimitExhaustionBehaviorCapability { * The read scale capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ReadScaleCapability { /** * The maximum number of read scale replicas. @@ -9705,7 +9705,7 @@ model ReadScaleCapability { * The storage account type capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model StorageCapability { /** * The storage account type for the database's backups. @@ -9729,7 +9729,7 @@ model StorageCapability { * The elastic pool edition capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ElasticPoolEditionCapability { /** * The elastic pool edition name. @@ -9772,7 +9772,7 @@ model ElasticPoolEditionCapability { * The Elastic Pool performance level capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ElasticPoolPerformanceLevelCapability { /** * The performance level for the pool. @@ -9879,7 +9879,7 @@ model ElasticPoolPerformanceLevelCapability { * The max per-database performance level capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ElasticPoolPerDatabaseMaxPerformanceLevelCapability { /** * The maximum performance level per database. @@ -9916,7 +9916,7 @@ model ElasticPoolPerDatabaseMaxPerformanceLevelCapability { * The minimum per-database performance level capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ElasticPoolPerDatabaseMinPerformanceLevelCapability { /** * The minimum performance level per database. @@ -9946,7 +9946,7 @@ model ElasticPoolPerDatabaseMinPerformanceLevelCapability { * Supported auto pause delay time range */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model PerDatabaseAutoPauseDelayTimeRange { /** * Minimum value @@ -9989,7 +9989,7 @@ model PerDatabaseAutoPauseDelayTimeRange { * The managed instance capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ManagedInstanceVersionCapability { /** * The server version name. @@ -10025,7 +10025,7 @@ model ManagedInstanceVersionCapability { * The managed server capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ManagedInstanceEditionCapability { /** * The managed server version name. @@ -10068,7 +10068,7 @@ model ManagedInstanceEditionCapability { * The managed server family capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ManagedInstanceFamilyCapability { /** * Family name. @@ -10116,7 +10116,7 @@ model ManagedInstanceFamilyCapability { * The managed instance virtual cores capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ManagedInstanceVcoresCapability { /** * The virtual cores identifier. @@ -10247,7 +10247,7 @@ model ManagedInstanceVcoresCapability { * The maximum limit range capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model MaxLimitRangeCapability { /** * Minimum value. @@ -10283,7 +10283,7 @@ model MaxLimitRangeCapability { * The maintenance configuration capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model ManagedInstanceMaintenanceConfigurationCapability { /** * Maintenance configuration name @@ -10307,7 +10307,7 @@ model ManagedInstanceMaintenanceConfigurationCapability { * The instance pool capability */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model InstancePoolEditionCapability { /** * The instance pool version name. @@ -10337,7 +10337,7 @@ model InstancePoolEditionCapability { * The instance pool family capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model InstancePoolFamilyCapability { /** * Family name. @@ -10373,7 +10373,7 @@ model InstancePoolFamilyCapability { * The managed instance virtual cores capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model InstancePoolVcoresCapability { /** * The virtual cores identifier. @@ -10409,7 +10409,7 @@ model InstancePoolVcoresCapability { * The job agent version capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model JobAgentVersionCapability { /** * The job agent version name. @@ -10440,7 +10440,7 @@ model JobAgentVersionCapability { * The job agent edition capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model JobAgentEditionCapability { /** * The job agent edition name. @@ -10471,7 +10471,7 @@ model JobAgentEditionCapability { * The job agent service level objective capability. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) model JobAgentServiceLevelObjectiveCapability { /** * The service objective name. @@ -10502,7 +10502,7 @@ model JobAgentServiceLevelObjectiveCapability { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model LongTermRetentionBackupProperties { /** * The server name that the backup database belong to. @@ -10587,7 +10587,7 @@ model LongTermRetentionBackupProperties { * Contains the information necessary to change long term retention backup access tier and related operation mode. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model ChangeLongTermRetentionBackupAccessTierParameters { /** * The long term retention backup storage access tier @@ -10604,7 +10604,7 @@ model ChangeLongTermRetentionBackupAccessTierParameters { * Contains the information necessary to perform long term retention backup copy operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model CopyLongTermRetentionBackupParameters { /** * Resource properties. @@ -10616,7 +10616,7 @@ model CopyLongTermRetentionBackupParameters { * Contains the properties to perform long term retention backup copy operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model CopyLongTermRetentionBackupParametersProperties { /** * The subscription that owns the target server @@ -10660,7 +10660,7 @@ model CopyLongTermRetentionBackupParametersProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model LongTermRetentionBackupOperationResult extends CommonTypes.ProxyResource { /** * Resource properties. @@ -10672,7 +10672,7 @@ model LongTermRetentionBackupOperationResult extends CommonTypes.ProxyResource { * Contains the operation result properties for long term retention backup operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model LongTermRetentionOperationResultProperties { /** * Request Id. @@ -10722,7 +10722,7 @@ model LongTermRetentionOperationResultProperties { * Contains the information necessary to perform long term retention backup update operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model UpdateLongTermRetentionBackupParameters { /** * Resource properties. @@ -10734,7 +10734,7 @@ model UpdateLongTermRetentionBackupParameters { * Contains the properties to perform long term retention backup copy operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model UpdateLongTermRetentionBackupParametersProperties { /** * The storage redundancy type of the copied backup @@ -10748,7 +10748,7 @@ model UpdateLongTermRetentionBackupParametersProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.LongTermRetentionManagedInstanceBackups ) model ManagedInstanceLongTermRetentionBackupProperties { @@ -10810,7 +10810,7 @@ model ManagedInstanceLongTermRetentionBackupProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionPolicies) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionPolicies) model LongTermRetentionPolicyProperties { /** * The setting for whether to enable time-based immutability for future backups. When set, future backups will have TimeBasedImmutability enabled. @@ -10848,7 +10848,7 @@ model LongTermRetentionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindowOptions) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindowOptions) model MaintenanceWindowOptionsProperties { /** * Whether maintenance windows are enabled for the database. @@ -10912,7 +10912,7 @@ model MaintenanceWindowTimeRange { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.MaintenanceWindows) +@Azure.ResourceManager.featureFile(Features.MaintenanceWindows) model MaintenanceWindowsProperties { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -10935,7 +10935,7 @@ model ManagedBackupShortTermRetentionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseMoveOperations) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseMoveOperations) model ManagedDatabaseMoveOperationResultProperties { /** * The name of operation. @@ -11040,7 +11040,7 @@ model ManagedDatabaseMoveOperationResultProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseQueries) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseQueries) model QueryProperties { /** * Query text. @@ -11052,13 +11052,13 @@ model QueryProperties { * Execution statistics for one particular query */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseQueries) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseQueries) model ManagedInstanceQueryStatistics is Azure.Core.Page; #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseQueries) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseQueries) model QueryStatistics extends CommonTypes.ProxyResource { /** * Resource properties. @@ -11194,7 +11194,7 @@ model QueryMetricProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseRestoreDetails) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseRestoreDetails) model ManagedDatabaseRestoreDetailsProperties { /** * Restore type. @@ -11341,7 +11341,7 @@ model ManagedDatabaseRestoreDetailsProperties { * The managed database's restore details backup set properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseRestoreDetails) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseRestoreDetails) model ManagedDatabaseRestoreDetailsBackupSetProperties { /** * Backup set status. @@ -11387,7 +11387,7 @@ model ManagedDatabaseRestoreDetailsBackupSetProperties { * The managed database's restore details unrestorable file properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseRestoreDetails) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseRestoreDetails) model ManagedDatabaseRestoreDetailsUnrestorableFileProperties { /** * File name. @@ -11401,7 +11401,7 @@ model ManagedDatabaseRestoreDetailsUnrestorableFileProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabaseProperties { /** * Collation of the managed database. @@ -11550,7 +11550,7 @@ model ManagedDatabaseProperties { * Managed Database Extended Accessibility Information */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabaseExtendedAccessibilityInfo { /** * SQL Server error code connected to the inaccessibility root cause. @@ -11581,7 +11581,7 @@ model ManagedDatabaseExtendedAccessibilityInfo { * An managed database update. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabaseUpdate { /** * Resource properties. @@ -11599,7 +11599,7 @@ model ManagedDatabaseUpdate { * Contains the information necessary to perform a managed database move. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabaseMoveDefinition { /** * The destination managed database ID @@ -11611,7 +11611,7 @@ model ManagedDatabaseMoveDefinition { * Contains the information necessary to perform a complete database restore operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model CompleteDatabaseRestoreDefinition { /** * The last backup name to apply @@ -11623,7 +11623,7 @@ model CompleteDatabaseRestoreDefinition { * Contains the information necessary to start a managed database move. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabases) +@Azure.ResourceManager.featureFile(Features.ManagedDatabases) model ManagedDatabaseStartMoveDefinition { /** * The destination managed database ID @@ -11641,7 +11641,7 @@ model ManagedDatabaseStartMoveDefinition { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseSecurityAlertPolicies ) model SecurityAlertPolicyProperties { @@ -11693,7 +11693,7 @@ model SecurityAlertPolicyProperties { * A list of security events. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) model SecurityEventCollection is Azure.Core.Page; /** @@ -11701,7 +11701,7 @@ model SecurityEventCollection is Azure.Core.Page; */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) model SecurityEvent extends CommonTypes.ProxyResource { /** * Resource properties. @@ -11713,7 +11713,7 @@ model SecurityEvent extends CommonTypes.ProxyResource { * The properties of a security event. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) model SecurityEventProperties { /** * The time when the security event occurred. @@ -11775,7 +11775,7 @@ model SecurityEventProperties { * The properties of a security event sql injection additional properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) model SecurityEventSqlInjectionAdditionalProperties { /** * The threat ID. @@ -11969,7 +11969,7 @@ model RecommendedSensitivityLabelUpdateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedDatabaseTransparentDataEncryption ) model ManagedTransparentDataEncryptionProperties { @@ -11984,7 +11984,7 @@ model ManagedTransparentDataEncryptionProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceAdministrators) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceAdministrators) model ManagedInstanceAdministratorProperties { /** * Type of the managed instance administrator. @@ -12015,7 +12015,7 @@ model ManagedInstanceAdministratorProperties { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAzureADOnlyAuthentications ) model ManagedInstanceAzureADOnlyAuthProperties { @@ -12030,7 +12030,7 @@ model ManagedInstanceAzureADOnlyAuthProperties { * The properties of managed instance DTC. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceDtcs) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceDtcs) model ManagedInstanceDtcProperties { /** * Active status of managed instance DTC. @@ -12070,7 +12070,7 @@ model ManagedInstanceDtcProperties { * The Security Settings of managed instance DTC. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceDtcs) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceDtcs) model ManagedInstanceDtcSecuritySettings { /** * Transaction Manager communication settings of managed instance DTC. @@ -12102,7 +12102,7 @@ model ManagedInstanceDtcSecuritySettings { * The Transaction Manager Communication Settings of managed instance DTC. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceDtcs) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceDtcs) model ManagedInstanceDtcTransactionManagerCommunicationSettings { /** * Allow Inbound traffic to managed instance DTC. @@ -12125,7 +12125,7 @@ model ManagedInstanceDtcTransactionManagerCommunicationSettings { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceEncryptionProtectors ) model ManagedInstanceEncryptionProtectorProperties { @@ -12162,7 +12162,7 @@ model ManagedInstanceEncryptionProtectorProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceKeys) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceKeys) model ManagedInstanceKeyProperties { /** * The key type like 'ServiceManaged', 'AzureKeyVault'. @@ -12201,7 +12201,7 @@ model ManagedInstanceKeyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceLongTermRetentionPolicies ) model ManagedInstanceLongTermRetentionPolicyProperties { @@ -12236,7 +12236,7 @@ model ManagedInstanceLongTermRetentionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model ManagedInstanceOperationProperties { /** * The name of the managed instance the operation is being performed on. @@ -12335,7 +12335,7 @@ model ManagedInstanceOperationProperties { * The parameters of a managed instance operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model ManagedInstanceOperationParametersPair { /** * The current parameters. @@ -12352,7 +12352,7 @@ model ManagedInstanceOperationParametersPair { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model UpsertManagedServerOperationParameters { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" family?: string; @@ -12369,7 +12369,7 @@ model UpsertManagedServerOperationParameters { * The steps of a managed instance operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model ManagedInstanceOperationSteps { /** * The total number of operation steps. @@ -12392,7 +12392,7 @@ model ManagedInstanceOperationSteps { #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstanceOperations) +@Azure.ResourceManager.featureFile(Features.ManagedInstanceOperations) model UpsertManagedServerOperationStepWithEstimatesAndDuration { // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -12466,7 +12466,7 @@ model ManagedInstancePrivateLinkServiceConnectionStateProperty { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstancePrivateLinkResources ) model ManagedInstancePrivateLinkProperties { @@ -12542,7 +12542,7 @@ model UserIdentity { * The properties of a managed instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstanceProperties { /** * Provisioning state of managed instance. @@ -12803,7 +12803,7 @@ model ManagedInstanceProperties { * A private endpoint connection under a managed instance */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstancePecProperty { /** * Resource ID. @@ -12822,7 +12822,7 @@ model ManagedInstancePecProperty { * Properties of a active directory administrator. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstanceExternalAdministrator { /** * Type of the sever administrator. @@ -12862,7 +12862,7 @@ model ManagedInstanceExternalAdministrator { * The managed instance's service principal configuration for a resource. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ServicePrincipal { /** * The Azure Active Directory application object id. @@ -12892,7 +12892,7 @@ model ServicePrincipal { * An update request for an Azure SQL Database managed instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstanceUpdate { /** * Managed instance sku @@ -12920,7 +12920,7 @@ model ManagedInstanceUpdate { * A collection of endpoints that the managed instance service requires outbound network access to. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model OutboundEnvironmentEndpointCollection is Azure.Core.Page; @@ -12928,7 +12928,7 @@ model OutboundEnvironmentEndpointCollection * An endpoint that the managed instance service requires outbound network access to. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model OutboundEnvironmentEndpoint { /** * The type of service accessed by the managed instance service, e.g., Azure Storage, Azure Active Directory, etc. @@ -12948,7 +12948,7 @@ model OutboundEnvironmentEndpoint { * A domain name that the managed instance service needs to communicate with, along with additional details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model EndpointDependency { /** * The domain name of the dependency. @@ -12968,7 +12968,7 @@ model EndpointDependency { * A domain name that the managed instance service needs to communicate with, along with additional details. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model EndpointDetail { /** * The port an endpoint is connected to. @@ -12983,7 +12983,7 @@ model EndpointDetail { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model RefreshExternalGovernanceStatusOperationResultMI extends CommonTypes.ProxyResource { /** @@ -12997,7 +12997,7 @@ model RefreshExternalGovernanceStatusOperationResultMI */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model RefreshExternalGovernanceStatusOperationResultPropertiesMI { /** * Request Id. @@ -13041,12 +13041,12 @@ model RefreshExternalGovernanceStatusOperationResultPropertiesMI { * A list of top resource consuming queries on managed instance */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model TopQueriesListResult is Azure.Core.Page; #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" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model TopQueries { /** * Requested number of top queries. @@ -13095,7 +13095,7 @@ model TopQueries { * Validate azure key vault encryption key. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedInstances) +@Azure.ResourceManager.featureFile(Features.ManagedInstances) model ManagedInstanceValidateAzureKeyVaultEncryptionKeyRequest { /** * The URI of the key. @@ -13137,7 +13137,7 @@ model TdeCertificateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceVulnerabilityAssessments ) model ManagedInstanceVulnerabilityAssessmentProperties { @@ -13172,7 +13172,7 @@ model ManagedInstanceVulnerabilityAssessmentProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedLedgerDigestUploads) +@Azure.ResourceManager.featureFile(Features.ManagedLedgerDigestUploads) model ManagedLedgerDigestUploadsProperties { /** * The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. @@ -13191,7 +13191,7 @@ model ManagedLedgerDigestUploadsProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ManagedServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ManagedServerDnsAliases) model ManagedServerDnsAliasProperties { /** * The fully qualified DNS record for managed server alias @@ -13210,7 +13210,7 @@ model ManagedServerDnsAliasProperties { * A managed server dns alias creation request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ManagedServerDnsAliases) model ManagedServerDnsAliasCreation { /** * Whether or not DNS record should be created for this alias. @@ -13222,7 +13222,7 @@ model ManagedServerDnsAliasCreation { * A managed server DNS alias acquisition request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ManagedServerDnsAliases) model ManagedServerDnsAliasAcquisition { /** * The resource ID of the managed server DNS alias that will be acquired to point to this managed server instead. @@ -13234,7 +13234,7 @@ model ManagedServerDnsAliasAcquisition { * The properties of an NSP config. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NetworkSecurityPerimeterConfigurationProperties { @@ -13258,7 +13258,7 @@ model NetworkSecurityPerimeterConfigurationProperties { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigPerimeter { @@ -13273,7 +13273,7 @@ model NSPConfigPerimeter { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigAssociation { @@ -13286,7 +13286,7 @@ model NSPConfigAssociation { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigProfile { @@ -13303,7 +13303,7 @@ model NSPConfigProfile { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigAccessRule { @@ -13316,7 +13316,7 @@ model NSPConfigAccessRule { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigAccessRuleProperties { @@ -13337,7 +13337,7 @@ model NSPConfigAccessRuleProperties { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPConfigNetworkSecurityPerimeterRule { @@ -13352,7 +13352,7 @@ model NSPConfigNetworkSecurityPerimeterRule { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPProvisioningIssue { @@ -13365,7 +13365,7 @@ model NSPProvisioningIssue { #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/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.NetworkSecurityPerimeterConfigurations ) model NSPProvisioningIssueProperties { @@ -13385,7 +13385,7 @@ model NSPProvisioningIssueProperties { * SQL REST API operation definition. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Operations) +@Azure.ResourceManager.featureFile(Features.Operations) model Operation { /** * The name of the operation being performed on this particular object. @@ -13417,7 +13417,7 @@ model Operation { * Display metadata associated with the operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Operations) +@Azure.ResourceManager.featureFile(Features.Operations) model OperationDisplay { /** * The localized friendly form of the resource provider name. @@ -13448,7 +13448,7 @@ model OperationDisplay { * The properties of an outbound firewall rule. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.OutboundFirewallRules) +@Azure.ResourceManager.featureFile(Features.OutboundFirewallRules) model OutboundFirewallRuleProperties { /** * The state of the outbound rule. @@ -13517,7 +13517,7 @@ model PrivateLinkServiceConnectionStateProperty { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.PrivateLinkResources) +@Azure.ResourceManager.featureFile(Features.PrivateLinkResources) model PrivateLinkResourceProperties { /** * The private link resource group id. @@ -13543,7 +13543,7 @@ model PrivateLinkResourceProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.RecoverableDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableDatabases) model RecoverableDatabaseProperties { /** * The edition of the database. @@ -13582,7 +13582,7 @@ model RecoverableDatabaseProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.RecoverableManagedDatabases) +@Azure.ResourceManager.featureFile(Features.RecoverableManagedDatabases) model RecoverableManagedDatabaseProperties { /** * The last available backup date. @@ -13596,7 +13596,7 @@ model RecoverableManagedDatabaseProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) +@Azure.ResourceManager.featureFile(Features.ReplicationLinks) model ReplicationLinkProperties { /** * Resource partner server. @@ -13676,7 +13676,7 @@ model ReplicationLinkProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) +@Azure.ResourceManager.featureFile(Features.ReplicationLinks) model ReplicationLinkUpdate extends CommonTypes.ProxyResource { /** * Resource properties. @@ -13688,7 +13688,7 @@ model ReplicationLinkUpdate extends CommonTypes.ProxyResource { * Properties of a replication link update. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ReplicationLinks) +@Azure.ResourceManager.featureFile(Features.ReplicationLinks) model ReplicationLinkUpdateProperties { /** * Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. @@ -13701,7 +13701,7 @@ model ReplicationLinkUpdateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.RestorableDroppedDatabases) +@Azure.ResourceManager.featureFile(Features.RestorableDroppedDatabases) model RestorableDroppedDatabaseProperties { /** * The name of the database. @@ -13754,7 +13754,7 @@ model RestorableDroppedDatabaseProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.RestorableDroppedManagedDatabases ) model RestorableDroppedManagedDatabaseProperties { @@ -13791,7 +13791,7 @@ model RestorableDroppedManagedDatabaseProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.RestorePoints) +@Azure.ResourceManager.featureFile(Features.RestorePoints) model RestorePointProperties { /** * The type of restore point @@ -13824,7 +13824,7 @@ model RestorePointProperties { * Contains the information necessary to perform a create database restore point operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.RestorePoints) +@Azure.ResourceManager.featureFile(Features.RestorePoints) model CreateDatabaseRestorePointDefinition { /** * The restore point label to apply @@ -13837,7 +13837,7 @@ model CreateDatabaseRestorePointDefinition { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.ServerAutomaticTuning) model AutomaticTuningServerProperties { /** * Automatic tuning desired state. @@ -13861,7 +13861,7 @@ model AutomaticTuningServerProperties { * Automatic tuning properties for individual advisors. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerAutomaticTuning) +@Azure.ResourceManager.featureFile(Features.ServerAutomaticTuning) model AutomaticTuningServerOptions { /** * Automatic tuning option desired state. @@ -13892,7 +13892,7 @@ model AutomaticTuningServerOptions { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADAdministrators) +@Azure.ResourceManager.featureFile(Features.ServerAzureADAdministrators) model AdministratorProperties { /** * Type of the sever administrator. @@ -13930,7 +13930,7 @@ model AdministratorProperties { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADOnlyAuthentications) +@Azure.ResourceManager.featureFile(Features.ServerAzureADOnlyAuthentications) model AzureADOnlyAuthProperties { /** * Azure Active Directory only Authentication enabled. @@ -13943,7 +13943,7 @@ model AzureADOnlyAuthProperties { * The properties of server configuration option. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerConfigurationOptions) +@Azure.ResourceManager.featureFile(Features.ServerConfigurationOptions) model ServerConfigurationOptionProperties { /** * Value of the server configuration option. @@ -13963,7 +13963,7 @@ model ServerConfigurationOptionProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerConnectionPolicies) +@Azure.ResourceManager.featureFile(Features.ServerConnectionPolicies) model ServerConnectionPolicyProperties { /** * The server connection type. @@ -13976,7 +13976,7 @@ model ServerConnectionPolicyProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerDevOpsAudit) +@Azure.ResourceManager.featureFile(Features.ServerDevOpsAudit) model ServerDevOpsAuditSettingsProperties { /** * Specifies whether DevOps audit events are sent to Azure Monitor. @@ -14032,7 +14032,7 @@ model ServerDevOpsAuditSettingsProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ServerDnsAliases) model ServerDnsAliasProperties { /** * The fully qualified DNS record for alias @@ -14045,7 +14045,7 @@ model ServerDnsAliasProperties { * A server dns alias acquisition request. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerDnsAliases) +@Azure.ResourceManager.featureFile(Features.ServerDnsAliases) model ServerDnsAliasAcquisition { /** * The id of the server alias that will be acquired to point to this server instead. @@ -14058,7 +14058,7 @@ model ServerDnsAliasAcquisition { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerKeys) +@Azure.ResourceManager.featureFile(Features.ServerKeys) model ServerKeyProperties { /** * Subregion of the server key. @@ -14109,7 +14109,7 @@ model ServerKeyProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerOperations) +@Azure.ResourceManager.featureFile(Features.ServerOperations) model ServerOperation extends CommonTypes.ProxyResource { /** * Resource properties. @@ -14121,7 +14121,7 @@ model ServerOperation extends CommonTypes.ProxyResource { * The properties of a server operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerOperations) +@Azure.ResourceManager.featureFile(Features.ServerOperations) model ServerOperationProperties { /** * The name of operation. @@ -14208,7 +14208,7 @@ model ServerOperationProperties { * A request to check whether the specified name for a resource is available. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model CheckNameAvailabilityRequest { #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" name: string; @@ -14220,7 +14220,7 @@ model CheckNameAvailabilityRequest { * The result of a name availability check. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model CheckNameAvailabilityResponse { /** * The name whose availability was checked. @@ -14252,7 +14252,7 @@ model CheckNameAvailabilityResponse { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model ServerProperties { /** * Administrator username for the server. Once created it cannot be changed. @@ -14361,7 +14361,7 @@ model ServerProperties { * A private endpoint connection under a server */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model ServerPrivateEndpointConnection { /** * Resource ID. @@ -14380,7 +14380,7 @@ model ServerPrivateEndpointConnection { * Properties of a active directory administrator. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model ServerExternalAdministrator { /** * Type of the sever administrator. @@ -14420,7 +14420,7 @@ model ServerExternalAdministrator { * An update request for an Azure SQL Database server. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model ServerUpdate { /** * Server identity @@ -14443,7 +14443,7 @@ model ServerUpdate { * Contains the information necessary to perform import operation for new database. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model ImportNewDatabaseDefinition { /** * Name of the import database. @@ -14518,7 +14518,7 @@ model ImportNewDatabaseDefinition { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model RefreshExternalGovernanceStatusOperationResult extends CommonTypes.ProxyResource { /** @@ -14531,7 +14531,7 @@ model RefreshExternalGovernanceStatusOperationResult * Contains the operation result properties for refresh external governance status operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) model RefreshExternalGovernanceStatusOperationResultProperties { /** * Request Id. @@ -14576,7 +14576,7 @@ model RefreshExternalGovernanceStatusOperationResultProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustCertificates) +@Azure.ResourceManager.featureFile(Features.ServerTrustCertificates) model ServerTrustCertificateProperties { /** * The certificate public blob @@ -14601,7 +14601,7 @@ model ServerTrustCertificateProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustGroups) +@Azure.ResourceManager.featureFile(Features.ServerTrustGroups) model ServerTrustGroupProperties { /** * Group members information for the server trust group. @@ -14619,7 +14619,7 @@ model ServerTrustGroupProperties { * Server info for the server trust group. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustGroups) +@Azure.ResourceManager.featureFile(Features.ServerTrustGroups) model ServerInfo { /** * Server Id. @@ -14632,7 +14632,7 @@ model ServerInfo { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerUsages) +@Azure.ResourceManager.featureFile(Features.ServerUsages) model ServerUsage extends CommonTypes.ProxyResource { /** * Resource properties. @@ -14644,7 +14644,7 @@ model ServerUsage extends CommonTypes.ProxyResource { * Properties of a server usage. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerUsages) +@Azure.ResourceManager.featureFile(Features.ServerUsages) model ServerUsageProperties { /** * User-readable name of the metric. @@ -14688,7 +14688,7 @@ model ServerUsageProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerVulnerabilityAssessments) +@Azure.ResourceManager.featureFile(Features.ServerVulnerabilityAssessments) model ServerVulnerabilityAssessmentProperties { /** * A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). @@ -14721,7 +14721,7 @@ model ServerVulnerabilityAssessmentProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.SqlAgent) +@Azure.ResourceManager.featureFile(Features.SqlAgent) model SqlAgentConfigurationProperties { /** * The state of Sql Agent. @@ -14734,7 +14734,7 @@ model SqlAgentConfigurationProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.StartStopManagedInstanceSchedules ) model StartStopManagedInstanceScheduleProperties { @@ -14771,7 +14771,7 @@ model StartStopManagedInstanceScheduleProperties { * Schedule info describing when the server should be started or stopped. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.StartStopManagedInstanceSchedules ) model ScheduleItem { @@ -14801,7 +14801,7 @@ model ScheduleItem { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.SubscriptionUsages) +@Azure.ResourceManager.featureFile(Features.SubscriptionUsages) model SubscriptionUsageProperties { /** * User-readable name of the metric. @@ -14833,7 +14833,7 @@ model SubscriptionUsageProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.SynapseLinkWorkspaces) +@Azure.ResourceManager.featureFile(Features.SynapseLinkWorkspaces) model SynapseLinkWorkspace extends CommonTypes.ProxyResource { /** * Resource properties. @@ -14845,7 +14845,7 @@ model SynapseLinkWorkspace extends CommonTypes.ProxyResource { * Properties of a Synapse link workspaces */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SynapseLinkWorkspaces) +@Azure.ResourceManager.featureFile(Features.SynapseLinkWorkspaces) model SynapseLinkWorkspaceProperties { /** * List of all synapselink workspaces @@ -14858,7 +14858,7 @@ model SynapseLinkWorkspaceProperties { * Properties of a Synapse link workspaces */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SynapseLinkWorkspaces) +@Azure.ResourceManager.featureFile(Features.SynapseLinkWorkspaces) model SynapseLinkWorkspaceInfoProperties { /** * Synapse link workspace id. @@ -14876,7 +14876,7 @@ model SynapseLinkWorkspaceInfoProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) model SyncAgentProperties { /** * Name of the sync agent. @@ -14927,7 +14927,7 @@ model SyncAgentProperties { * Properties of an Azure SQL Database sync agent key. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) model SyncAgentKeyProperties { /** * Key of sync agent. @@ -14942,7 +14942,7 @@ model SyncAgentKeyProperties { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) model SyncAgentLinkedDatabase extends CommonTypes.ProxyResource { /** * Resource properties. @@ -14954,7 +14954,7 @@ model SyncAgentLinkedDatabase extends CommonTypes.ProxyResource { * Properties of an Azure SQL Database sync agent linked database. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncAgents) +@Azure.ResourceManager.featureFile(Features.SyncAgents) model SyncAgentLinkedDatabaseProperties { /** * Type of the sync agent linked database. @@ -14997,14 +14997,14 @@ model SyncAgentLinkedDatabaseProperties { * A list of sync database ID properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncDatabaseIdListResult is Azure.Core.Page; /** * Properties of the sync database id. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncDatabaseIdProperties { /** * ARM resource id of sync database. @@ -15018,7 +15018,7 @@ model SyncDatabaseIdProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupProperties { /** * Sync interval of the sync group. @@ -15091,7 +15091,7 @@ model SyncGroupProperties { * Properties of sync group schema. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupSchema { /** * List of tables in sync group schema. @@ -15109,7 +15109,7 @@ model SyncGroupSchema { * Properties of table in sync group schema. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupSchemaTable { /** * List of columns in sync group schema. @@ -15127,7 +15127,7 @@ model SyncGroupSchemaTable { * Properties of column in sync group table. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupSchemaTableColumn { /** * Quoted name of sync group table column. @@ -15255,14 +15255,14 @@ model SyncFullSchemaTableColumn { * A list of sync group log properties. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupLogListResult is Azure.Core.Page; /** * Properties of an Azure SQL Database sync group log. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) model SyncGroupLogProperties { /** * Timestamp of the sync group log. @@ -15308,7 +15308,7 @@ model SyncGroupLogProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.SyncMembers) +@Azure.ResourceManager.featureFile(Features.SyncMembers) model SyncMemberProperties { /** * Database type of the sync member. @@ -15381,7 +15381,7 @@ model SyncMemberProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.TimeZones) +@Azure.ResourceManager.featureFile(Features.TimeZones) model TimeZoneProperties { /** * The time zone id @@ -15401,7 +15401,7 @@ model TimeZoneProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.TransparentDataEncryptions) +@Azure.ResourceManager.featureFile(Features.TransparentDataEncryptions) model TransparentDataEncryptionProperties { /** * Specifies the state of the transparent data encryption. @@ -15418,14 +15418,14 @@ model TransparentDataEncryptionProperties { * A list of usages. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Usages) +@Azure.ResourceManager.featureFile(Features.Usages) model UsageListResult is Azure.Core.Page; /** * ARM usage. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Usages) +@Azure.ResourceManager.featureFile(Features.Usages) model Usage { /** * Resource ID. @@ -15474,7 +15474,7 @@ model Usage { * ARM Usage Name */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Usages) +@Azure.ResourceManager.featureFile(Features.Usages) model Name { /** * Usage name value @@ -15492,7 +15492,7 @@ model Name { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) model VirtualClusterProperties { /** * Subnet resource ID for the virtual cluster. @@ -15516,7 +15516,7 @@ model VirtualClusterProperties { * An update request for virtual cluster. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) model VirtualClusterUpdate { /** * Resource properties. @@ -15535,7 +15535,7 @@ model VirtualClusterUpdate { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) model UpdateVirtualClusterDnsServersOperation extends CommonTypes.ProxyResource { /** @@ -15548,7 +15548,7 @@ model UpdateVirtualClusterDnsServersOperation * The properties of dns servers on virtual cluster. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.VirtualClusters) +@Azure.ResourceManager.featureFile(Features.VirtualClusters) model VirtualClusterDnsServersProperties { /** * The status of the DNS refresh operation. @@ -15562,7 +15562,7 @@ model VirtualClusterDnsServersProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.VirtualNetworkRules) +@Azure.ResourceManager.featureFile(Features.VirtualNetworkRules) model VirtualNetworkRuleProperties { /** * The ARM resource id of the virtual network subnet. @@ -15586,7 +15586,7 @@ model VirtualNetworkRuleProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.WorkloadClassifiers) +@Azure.ResourceManager.featureFile(Features.WorkloadClassifiers) model WorkloadClassifierProperties { /** * The workload classifier member name. @@ -15624,7 +15624,7 @@ model WorkloadClassifierProperties { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "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" -@Azure.ResourceManager.Legacy.feature(Features.WorkloadGroups) +@Azure.ResourceManager.featureFile(Features.WorkloadGroups) model WorkloadGroupProperties { /** * The workload group minimum percentage resource. @@ -15661,7 +15661,7 @@ model WorkloadGroupProperties { * The properties that are supported in the $filter operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseSecurityEvents) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseSecurityEvents) model SecurityEventsFilterParameters { /** * Filter on the event time. @@ -15679,7 +15679,7 @@ model SecurityEventsFilterParameters { * A list of long term retention backups. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) model LongTermRetentionBackupListResult { /** * Array of results. @@ -15700,7 +15700,7 @@ model LongTermRetentionBackupListResult { * List of managed database move operations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ManagedDatabaseMoveOperations) +@Azure.ResourceManager.featureFile(Features.ManagedDatabaseMoveOperations) model ManagedDatabaseMoveOperationListResult { /** * Array of results. @@ -15722,7 +15722,7 @@ model ManagedDatabaseMoveOperationListResult { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ManagedInstanceAzureADOnlyAuthentications ) model ManagedInstanceAzureADOnlyAuthListResult { @@ -15745,7 +15745,7 @@ model ManagedInstanceAzureADOnlyAuthListResult { * A list of distributed availability groups in instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DistributedAvailabilityGroups) +@Azure.ResourceManager.featureFile(Features.DistributedAvailabilityGroups) model DistributedAvailabilityGroupsListResult { /** * Array of results. @@ -15766,7 +15766,7 @@ model DistributedAvailabilityGroupsListResult { * A list of server trust certificates in instance. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerTrustCertificates) +@Azure.ResourceManager.featureFile(Features.ServerTrustCertificates) model ServerTrustCertificatesListResult { /** * Array of results. @@ -15787,7 +15787,7 @@ model ServerTrustCertificatesListResult { * A list of active directory administrators. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADAdministrators) +@Azure.ResourceManager.featureFile(Features.ServerAzureADAdministrators) model AdministratorListResult { /** * Array of results. @@ -15808,7 +15808,7 @@ model AdministratorListResult { * A list of the server's Advanced Threat Protection configurations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.ServerAdvancedThreatProtectionSettings ) model LogicalServerAdvancedThreatProtectionListResult { @@ -15832,7 +15832,7 @@ model LogicalServerAdvancedThreatProtectionListResult { */ #suppress "@azure-tools/typespec-azure-core/casing-style" "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" -@Azure.ResourceManager.Legacy.feature(Features.ServerAzureADOnlyAuthentications) +@Azure.ResourceManager.featureFile(Features.ServerAzureADOnlyAuthentications) model AzureADOnlyAuthListResult { /** * Array of results. @@ -15853,7 +15853,7 @@ model AzureADOnlyAuthListResult { * Import export operation extensions list. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseExtensions) +@Azure.ResourceManager.featureFile(Features.DatabaseExtensions) model ImportExportExtensionsOperationListResult { /** * Array of results. @@ -15874,7 +15874,7 @@ model ImportExportExtensionsOperationListResult { * A list of the database's security alert policies. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.DatabaseSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.DatabaseSecurityAlertPolicies) model DatabaseSecurityAlertListResult { /** * Array of results. @@ -15915,7 +15915,7 @@ model SQLVulnerabilityAssessmentScanListResult { * A list of server DevOps audit settings. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerDevOpsAudit) +@Azure.ResourceManager.featureFile(Features.ServerDevOpsAudit) model ServerDevOpsAuditSettingsListResult { /** * Array of results. @@ -15936,7 +15936,7 @@ model ServerDevOpsAuditSettingsListResult { * A list of the server's security alert policies. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.ServerSecurityAlertPolicies) +@Azure.ResourceManager.featureFile(Features.ServerSecurityAlertPolicies) model LogicalServerSecurityAlertPolicyListResult { /** * Array of results. @@ -15957,7 +15957,7 @@ model LogicalServerSecurityAlertPolicyListResult { * Result of the request to list SQL operations. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Operations) +@Azure.ResourceManager.featureFile(Features.Operations) model OperationListResult { /** * Array of results. @@ -15979,7 +15979,7 @@ model OperationListResult { */ #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "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" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) @added(Versions.v2025_02_01_preview) model ServerImportExportOperationResult extends CommonTypes.ProxyResource { /** @@ -15992,7 +15992,7 @@ model ServerImportExportOperationResult extends CommonTypes.ProxyResource { * Contains the operation result properties for import/export operation. */ #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) @added(Versions.v2025_02_01_preview) model ServerImportExportOperationResultProperties { /** diff --git a/specification/sql/resource-manager/Microsoft.Sql/SQL/routes.tsp b/specification/sql/resource-manager/Microsoft.Sql/SQL/routes.tsp index d2e509500fe7..60935c451f67 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/SQL/routes.tsp +++ b/specification/sql/resource-manager/Microsoft.Sql/SQL/routes.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Sql; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.DeletedServers) +@Azure.ResourceManager.featureFile(Features.DeletedServers) interface DeletedServersOperationGroup { /** * Gets a list of all deleted servers in a subscription. @@ -35,7 +35,7 @@ interface DeletedServersOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.LocationCapabilities) +@Azure.ResourceManager.featureFile(Features.LocationCapabilities) interface CapabilitiesOperationGroup { /** * Gets the subscription capabilities available for the specified location. @@ -67,7 +67,7 @@ interface CapabilitiesOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.LongTermRetentionBackups) +@Azure.ResourceManager.featureFile(Features.LongTermRetentionBackups) interface LongTermRetentionBackupsOperationGroup { /** * Lists the long term retention backups for a given location. @@ -216,7 +216,7 @@ interface LongTermRetentionBackupsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature( +@Azure.ResourceManager.featureFile( Features.LongTermRetentionManagedInstanceBackups ) interface LongTermRetentionManagedInstanceBackupsOperationGroup { @@ -403,7 +403,7 @@ interface LongTermRetentionManagedInstanceBackupsOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.Servers) +@Azure.ResourceManager.featureFile(Features.Servers) interface ServersOperationGroup { /** * Determines whether a resource can be created with the specified name. @@ -420,7 +420,7 @@ interface ServersOperationGroup { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "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" @armResourceOperations(#{ omitTags: true }) -@Azure.ResourceManager.Legacy.feature(Features.SyncGroups) +@Azure.ResourceManager.featureFile(Features.SyncGroups) interface SyncGroupsOperationGroup { /** * Gets a collection of sync database ids.