Sdílet prostřednictvím


JitAuthorizationPolicies(Guid, String) Constructor

Definition

Initializes a new instance of JitAuthorizationPolicies.

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

Parameters

principalId
Guid

The the principal id that will be granted JIT access.

roleDefinitionId
String

The role definition id that will be granted to the Principal.

Exceptions

roleDefinitionId is null.

Applies to