Sprog

ArmAuthorizationModelFactory.RoleManagementPolicyAuthenticationContextRule Method

Definition

public static Azure.ResourceManager.Authorization.Models.RoleManagementPolicyAuthenticationContextRule RoleManagementPolicyAuthenticationContextRule(string id = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget target = default, bool? isEnabled = default, string claimValue = default);
static member RoleManagementPolicyAuthenticationContextRule : string * Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget * Nullable<bool> * string -> Azure.ResourceManager.Authorization.Models.RoleManagementPolicyAuthenticationContextRule
Public Shared Function RoleManagementPolicyAuthenticationContextRule (Optional id As String = Nothing, Optional target As RoleManagementPolicyRuleTarget = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional claimValue As String = Nothing) As RoleManagementPolicyAuthenticationContextRule

Parameters

id
String

The id of the rule.

target
RoleManagementPolicyRuleTarget

The target of the current rule.

isEnabled
Nullable<Boolean>

The value indicating if rule is enabled.

claimValue
String

The claim value.

Returns

A new RoleManagementPolicyAuthenticationContextRule instance for mocking.

Applies to