ArmAuthorizationModelFactory.RoleManagementExpandedProperties Method

Definition

Initializes a new instance of RoleManagementExpandedProperties.

public static Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties RoleManagementExpandedProperties (Guid? principalId = default, string principalDisplayName = default, string email = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType? principalType = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, string roleDefinitionDisplayName = default, Azure.ResourceManager.Authorization.Models.AuthorizationRoleType? roleType = default, Azure.Core.ResourceIdentifier scopeId = default, string scopeDisplayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementScopeType? scopeType = default);
static member RoleManagementExpandedProperties : Nullable<Guid> * string * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.AuthorizationRoleType> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScopeType> -> Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties
Public Shared Function RoleManagementExpandedProperties (Optional principalId As Nullable(Of Guid) = Nothing, Optional principalDisplayName As String = Nothing, Optional email As String = Nothing, Optional principalType As Nullable(Of RoleManagementPrincipalType) = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional roleDefinitionDisplayName As String = Nothing, Optional roleType As Nullable(Of AuthorizationRoleType) = Nothing, Optional scopeId As ResourceIdentifier = Nothing, Optional scopeDisplayName As String = Nothing, Optional scopeType As Nullable(Of RoleManagementScopeType) = Nothing) As RoleManagementExpandedProperties

Parameters

principalId
Nullable<Guid>

Id of the principal.

principalDisplayName
String

Display name of the principal.

email
String

Email id of the principal.

principalType
Nullable<RoleManagementPrincipalType>

Type of the principal.

roleDefinitionId
ResourceIdentifier

Id of the role definition.

roleDefinitionDisplayName
String

Display name of the role definition.

roleType
Nullable<AuthorizationRoleType>

The role type.

scopeId
ResourceIdentifier

Scope id of the resource.

scopeDisplayName
String

Display name of the resource.

scopeType
Nullable<RoleManagementScopeType>

Type of the scope.

Returns

A new RoleManagementExpandedProperties instance for mocking.

Applies to