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

ArmDevCenterModelFactory.DevCenterUserRoleAssignments Method

Definition

Mapping of user object ID to role assignments.

public static Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments DevCenterUserRoleAssignments(System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> roles = default);
static member DevCenterUserRoleAssignments : System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole> -> Azure.ResourceManager.DevCenter.Models.DevCenterUserRoleAssignments
Public Shared Function DevCenterUserRoleAssignments (Optional roles As IDictionary(Of String, DevCenterEnvironmentRole) = Nothing) As DevCenterUserRoleAssignments

Parameters

roles
IDictionary<String,DevCenterEnvironmentRole>

A map of roles to assign to the parent user.

Returns

A new DevCenterUserRoleAssignments instance for mocking.

Applies to