Azure:在多个资源组之间共享资源 [英] Azure: share resource across multiple resource group

查看:64
本文介绍了Azure:在多个资源组之间共享资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在多个资源组之间共享特定资源(在我的情况下为redis缓存)?

解决方案

可以在您编写的任何代码中使用redis缓存,无论是在云中,本地还是在给定适当的uri +访问键的任何地方.

只要您具有访问键/密码/等.对于您的资源,无论它们位于哪个资源组中,您都可以使用您的资源.这包括ssh密钥,vm用户名/密码,redis缓存密钥,存储密钥,cos db密钥,sql数据库登录等.

唯一具有资源组访问权限的事物被授予用户权限.也就是说:如果将某人添加为资源组A的贡献者,而不是资源组B的贡献者,则他们将无法通过门户或任何管理API来操纵资源组B中的设置.尽管如此,假设他们具有登录详细信息/密钥/等,他们仍然可以使用资源组B中的所有资源.

Is it possible to share a particular resource (redis cache in my case) across multiple resource group?

解决方案

Your redis cache could be used from any code you write, whether in the cloud, on-premises, or wherever, given proper uri + access key.

As long as you have access keys/passwords/etc. to your resources, you can use your resources no matter what resource group they're in. This includes ssh keys, vm usernames/passwords, redis cache keys, storage keys, cosmos db keys, sql database logins, etc.

The only thing access-specific, with resource groups, is granted user permissions. That is: if you add someone as a contributor to resource group A, and not to resource group B, they won't be able to manipulate the settings in resource group B via the portal or any of the Management APIs. Still, they'd be able to work with all of the resources in resource group B, assuming they had the login details / keys / etc.

这篇关于Azure:在多个资源组之间共享资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆