Microsoft.Common.ArmApiControl 试图在 createuidef 中使用它

问题描述

我试图在 createuidef 中使用 armapicontrol 调用 api 并捕获数据并解析它并使用它作为另一个元素。

例如:

"name": "providersApi1","type": "Microsoft.solutions.ArmApiControl","request": {
    "method": "GET","path": "/subscriptions/73f3d94e-xxx-xxxx-a1de-bxxxxxe10e/resourceGroups/Azure123/providers/Microsoft.Network/virtualHubs/westcoasthub?api-version=2020-05-01" << this is static path but need to build dynamic path by using cutomer's sub and resource 
}

        },{
            "name": "infoBox1","type": "Microsoft.Common.InfoBox","visible": true,"options": {
                "icon": "None","text": "[basics('providersApi1').value]".  << Trying to see what value i get from that. 
             
            }
        }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)