使用创建 Azure 容器实例azure-cli
,我可以指定托管标识的资源 id 作为参数--assigned-identity
Managed Service Identity Arguments
--assign-identity : Space-separated list of assigned identities. Assigned
identities are either user assigned identities (resource IDs)
and / or the system assigned identity ('[system]'). See
examples for more info.
我尝试对 .Net Fluent Management SDK 做同样的事情,但我看不到这样做的方法。
谢谢!