你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithSystemAssignedIdentityBasedAccess<FluentT>.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole) |
指定 (本地) 标识分配的 Web 应用的系统应具有给定访问权限 (由 Web 应用所在的资源组上的角色) 描述。 在 Web 应用上运行的应用程序将具有与资源组) 相同的权限 (角色。 |
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String) |
指定 (本地) 标识分配的 Web 应用的系统应具有 web 应用所在资源组上的角色定义) 描述的访问权限 (。 在 Web 应用上运行的应用程序将具有与资源组) 相同的权限 (角色。 |
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)
指定 (本地) 标识分配的 Web 应用的系统应具有给定访问权限 (由 Web 应用所在的资源组上的角色) 描述。 在 Web 应用上运行的应用程序将具有与资源组) 相同的权限 (角色。
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<FluentT> WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<'FluentT>
Public Function WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (role As BuiltInRole) As IUpdate(Of FluentT)
参数
- role
- BuiltInRole
要分配给 Web 应用的本地标识的访问角色。
返回
适用于
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)
指定 (本地) 标识分配的 Web 应用的系统应具有 web 应用所在资源组上的角色定义) 描述的访问权限 (。 在 Web 应用上运行的应用程序将具有与资源组) 相同的权限 (角色。
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<FluentT> WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (string roleDefinitionId);
abstract member WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup : string -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<'FluentT>
Public Function WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (roleDefinitionId As String) As IUpdate(Of FluentT)
参数
- roleDefinitionId
- String
要分配给 Web 应用的本地标识的访问角色定义。
返回
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈