Get Bastion Shareable Link REST api 结果出错

Get Bastion Shareable Link REST api results into an error

我们已经配置了几个 Azure VM,并且还在与 VM 相同的 Azure VNET(在其自己的专用子网内)内配置了 Azure Bastion 资源,整个设置似乎工作正常,因为我们可以建立 RDP和使用 bastion 的 SSH 会话,但是 REST endpoint 获取 bastion 可共享链接似乎不起作用并且总是返回以下错误

No HTTP resource was found that matches the request URI 'https://{bastionregion}.network.azure.com:30018/xxxxxxx-ca3c-xxxx-ae7c-xxxxxxxxxx/132229390607747023/subscriptions/{subscription-id}/resourceGroups/{bastion-rg}/providers/Microsoft.Network/bastionHosts/{bastion-host-name}/getShareableLinks?api-version=2019-11-01'

似乎 documentation 的 'Try It' 也会导致相同的错误。 有没有其他人尝试过或曾经设法让它工作?

根据您共享的文档,调用应该是管理端点 - https://management.azure.com.

此外,由于没有 public 相关文档,我认为此功能仍在开发中。无论如何,让我与各自的后端团队确认一下,并会就此向您更新。

更新: 这仍然只是私人预览,而不是 GA.We 正在努力向所有人开放 API。但是,我们目前不会为此提供官方支持。我们将在以后重新评估提供的支持。