Sdílet prostřednictvím


ManagedServicesAuthorization(Guid, String) Constructor

Definition

Initializes a new instance of ManagedServicesAuthorization.

public ManagedServicesAuthorization (Guid principalId, string roleDefinitionId);
new Azure.ResourceManager.ManagedServices.Models.ManagedServicesAuthorization : Guid * string -> Azure.ResourceManager.ManagedServices.Models.ManagedServicesAuthorization
Public Sub New (principalId As Guid, roleDefinitionId As String)

Parameters

principalId
Guid

The identifier of the Azure Active Directory principal.

roleDefinitionId
String

The identifier of the Azure built-in role that defines the permissions that the Azure Active Directory principal will have on the projected scope.

Exceptions

roleDefinitionId is null.

Applies to