你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetMsiHelper 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于 (虚拟机规模集的 MSI) 和 MSI 相关资源设置托管服务标识的实用工具类。
public class VirtualMachineScaleSetMsiHelper : Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper
type VirtualMachineScaleSetMsiHelper = class
inherit RoleAssignmentHelper
Public Class VirtualMachineScaleSetMsiHelper
Inherits RoleAssignmentHelper
- 继承
属性
HasPendingRoleAssignments |
如果存在待提交的角色分配,则为 True。 (继承自 RoleAssignmentHelper) |
方法
CommitsRoleAssignmentsPendingActionAsync(CancellationToken) |
提交挂起的 RBAC 角色分配创建和删除。 (继承自 RoleAssignmentHelper) |
WithAccessTo(String, BuiltInRole) |
指定使用此标识在 Azure 服务上运行的应用程序需要访问角色,其访问范围仅限于 ARM 资源。 (继承自 RoleAssignmentHelper) |
WithAccessTo(String, String) |
指定使用此标识在 Azure 服务上运行的应用程序需要给定角色定义中所述的访问权限,其访问范围仅限于 ARM 资源。 (继承自 RoleAssignmentHelper) |
WithAccessToCurrentResourceGroup(BuiltInRole) |
指定在具有此标识的 Azure 服务上运行的应用程序需要给定的访问角色,其访问范围仅限于标识所在的当前资源组。 (继承自 RoleAssignmentHelper) |
WithAccessToCurrentResourceGroup(String) |
指定在具有此标识的 Azure 服务上运行的应用程序需要给定的访问角色,其访问范围仅限于标识所在的当前资源组。 (继承自 RoleAssignmentHelper) |
WithoutAccessTo(IRoleAssignment) |
指定应删除分配给标识的访问角色。 (继承自 RoleAssignmentHelper) |
WithoutAccessTo(String, BuiltInRole) |
指定应删除分配给标识的访问角色。 (继承自 RoleAssignmentHelper) |