【发布时间】:2021-02-19 13:28:20
【问题描述】:
我在资源组“rgDev”中创建了一个名为“cdn-profile”的 CDN。在 CDN 中,创建的端点是“webqa.azureedge.net”。在其中,我创建了一个自定义域“qa.example.com”。我想清除 CDN 缓存。下面是我运行的命令。
$ResourceGroupName='rgDev'
$EndpointName='qa.example.com'
$ProfileName='cdn-profile'
$CDNEndPointName='webqa.azureedge.net'
az cdn endpoint purge -g $ResourceGroupName -n $EndpointName --profile-name $ProfileName --content-paths '/*' --name $CDNEndPointName
这给了我以下错误: 未找到端点。请验证资源、组或其父资源是否存在。
我在这里错过了什么?
【问题讨论】: