RoleAssignment Constructors
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.
Overloads
RoleAssignment() |
Initializes a new instance of the RoleAssignment class. |
RoleAssignment(String, String, String, String, String) |
Initializes a new instance of the RoleAssignment class. |
RoleAssignment()
Initializes a new instance of the RoleAssignment class.
public RoleAssignment ();
Public Sub New ()
Applies to
RoleAssignment(String, String, String, String, String)
Initializes a new instance of the RoleAssignment class.
public RoleAssignment (string id = default, string name = default, string scope = default, string principalId = default, string roleDefinitionId = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RoleAssignment : string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.RoleAssignment
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional scope As String = Nothing, Optional principalId As String = Nothing, Optional roleDefinitionId As String = Nothing)
Parameters
- id
- String
The ARM Id of the role assignment.
- name
- String
The name of the role assignment.
- scope
- String
Role assignment scope.
- principalId
- String
Principal Id.
- roleDefinitionId
- String
Role definition id.