你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithSystemAssignedIdentityBasedAccess<FluentT>.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup 方法

定义

重载

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 应用的本地标识的访问角色定义。

返回

适用于