gpt4 book ai didi

Azure 可用性测试 - 需要一个指向现有 AI 组件的 'hidden-link' 标记。没有找到

转载 作者:行者123 更新时间:2023-12-03 06:44:45 25 4
gpt4 key购买 nike

我正在尝试通过 azure cli 为 azure 中托管的应用服务创建 url ping 测试

az monitor app-insights web-test create 
--location "Australia East"
--tags 'hidden-link:/subscriptions/{subid}/resourceGroups/{rg}/providers/microsoft.insights/components/{appinsightname}'
--description "Ping web test alert for mytestwebapp"
--enabled true --frequency 900
--web-test-kind "standard"
--locations Id="emea-au-syd-edge"
--defined-web-test-name "my-webtest-my-component"
--http-verb "GET"
--request-url "https://myurl.net/"
--retry-enabled true
--synthetic-monitor-id "my-webtest-my-component"
--timeout 120
--ssl-lifetime-check 100
--ssl-check true
--resource-group "{rgname}"
--name "my-webtest-my-component"

我收到“(BadRequest) 需要一个指向现有 AI 组件的“隐藏链接”标记。没有找到。”我不确定如何格式化隐藏链接带有应用程序洞察的资源 ID。没有找到太多与此相关的文档,任何帮助将不胜感激

最佳答案

稍后找到隐藏链接属性的格式,它应该位于标签下

--tags hidden-link:/subscriptions/{subscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.insights/components/{appInsightName}=Resource

关于Azure 可用性测试 - 需要一个指向现有 AI 组件的 'hidden-link' 标记。没有找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74206100/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com