通过策略访问访问命名值属性,并动态生成属性引用 [英] Access Named values properties from policies with property reference generated dynamically
问题描述
After reading and coding how to access named values properties I couldn't get how to access this property when the property reference is generated dynamically. The article I read was the following one:
如何在Azure API管理策略中使用命名值
How to use Named Values in Azure API Management policies
在本文中,您可以使用以下语句引用命名值属性:{{NamedValuePropertyReference}}
In this article explains you can reference named values properties with the sentence: {{NamedValuePropertyReference}}
但是,我需要这样的东西:
But, I need something like this:
{{$"dinamcallyyCreatedPropertyReference"}}}
{{$"dinamcallyyCreatedPropertyReference"}}
我需要动态生成密钥.
谢谢.
推荐答案
不幸的是,不支持此功能.
Unfortunately, this is not supported.
您可以在上为其打开功能请求 UserVoice 提及您的特定用例.
You can open a feature request for it on UserVoice mentioning your specific use case.
这篇关于通过策略访问访问命名值属性,并动态生成属性引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!