我正在尝试创建一个可以从不同地区访问的私有链接服务。我从one link suggesting "global reach"和another link limiting that的Azure文档中得到了相互冲突的信息
实际上,我在westus有一个private-resource-vnet,在eastus有一个vnet。根据private- resource -vnet中的文档创建负载均衡器后,我添加了一个指向该vnet和资源的私有链接,并尝试将其链接到私有端点。下面的示例显示了在eastus (私有链路所在的位置)和westus (到达链路的vnet所在的位置)中添加端点
PS Azure:\> az network private-endpoint create --name privateEndpoint --resource-group MyResourceGroup --vnet-name clientVNet --subnet clientSubnet --private-connection-resource-id "/subscription/link/to/private/resource/in/eastus" --connection-name myPLS --location westus
This command is in preview. It may be changed/removed in a future release.
InvalidResourceReference - Resource /subscriptions/[...]/CLIENTVNET referenced by resource /subscriptions/[...]/privateEndpoint was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.
PS Azure:\> az network private-endpoint create --name privateEndpoint --resource-group MyResourceGroup --vnet-name clientVNet --subnet clientSubnet --private-connection-resource-id "/subscription/link/to/private/resource/in/eastus" --connection-name myPLS --location eastus
This command is in preview. It may be changed/removed in a future release.
Deployment failed. Correlation ID: [...]. Resource /subscriptions/[...]/myPLS not found.我非常感谢一些关于我在这里遗漏的东西的见解!
发布于 2019-10-10 02:19:55
跨区域使用私有链接背后的Azure服务(SQL、存储)。客户自有服务仅限于同一区域。未来将支持跨地域。
https://stackoverflow.com/questions/58272851
复制相似问题