@齋藤 加奈さん
"言語ランタイムのサポート ポリシー"の提供終了フェーズの記載に従います。
言語の有効期限が切れた後も、提供が終了した言語バージョンを使用する関数アプリを作成およびデプロイでき、プラットフォームで引き続き実行できます。 ただし、それらのアプリは、サポートされている言語バージョンにアップグレードするまで新機能、セキュリティ パッチ、パフォーマンスの最適化の対象になりません。
https://learn.microsoft.com/azure/azure-functions/language-support-policy#retirement-phase
In general, you have to follow description in "Retirement phase" section of the document "Language runtime support policy".
After the language end-of-life date, function apps that use retired language versions can still be created and deployed, and they continue to run on the platform. However your apps aren't eligible for new features, security patches, and performance optimizations until you upgrade them to a supported language version. https://learn.microsoft.com/azure/azure-functions/language-support-policy#retirement-phase