Authorization 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
Authorization() |
Initializes a new instance of the Authorization class. |
Authorization(String, String) |
Initializes a new instance of the Authorization class. |
Authorization()
Initializes a new instance of the Authorization class.
public Authorization ();
Public Sub New ()
Applies to
Authorization(String, String)
Initializes a new instance of the Authorization class.
public Authorization (string principalId, string roleDefinitionId);
new Microsoft.Azure.Management.ManagedServices.Models.Authorization : string * string -> Microsoft.Azure.Management.ManagedServices.Models.Authorization
Public Sub New (principalId As String, roleDefinitionId As String)
Parameters
- principalId
- String
Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription
- roleDefinitionId
- String
The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role.
Applies to
Azure SDK for .NET