ArmAuthorizationModelFactory.RoleManagementPrincipal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RoleManagementPrincipal.
public static Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal RoleManagementPrincipal (string id = default, string displayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType? principalType = default, string email = default);
static member RoleManagementPrincipal : string * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * string -> Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal
Public Shared Function RoleManagementPrincipal (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional principalType As Nullable(Of RoleManagementPrincipalType) = Nothing, Optional email As String = Nothing) As RoleManagementPrincipal
Parameters
- id
- String
The id of the principal made changes.
- displayName
- String
The name of the principal made changes.
- principalType
- Nullable<RoleManagementPrincipalType>
Type of the principal.
- String
Email of principal.
Returns
A new RoleManagementPrincipal instance for mocking.