Language

ArmAuthorizationModelFactory.RoleManagementPolicyApprovalRule Method

Definition

public static Azure.ResourceManager.Authorization.Models.RoleManagementPolicyApprovalRule RoleManagementPolicyApprovalRule(string id = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget target = default, Azure.ResourceManager.Authorization.Models.RoleManagementApprovalSettings settings = default);
static member RoleManagementPolicyApprovalRule : string * Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget * Azure.ResourceManager.Authorization.Models.RoleManagementApprovalSettings -> Azure.ResourceManager.Authorization.Models.RoleManagementPolicyApprovalRule
Public Shared Function RoleManagementPolicyApprovalRule (Optional id As String = Nothing, Optional target As RoleManagementPolicyRuleTarget = Nothing, Optional settings As RoleManagementApprovalSettings = Nothing) As RoleManagementPolicyApprovalRule

Parameters

id
String

The id of the rule.

target
RoleManagementPolicyRuleTarget

The target of the current rule.

settings
RoleManagementApprovalSettings

The approval setting.

Returns

A new RoleManagementPolicyApprovalRule instance for mocking.

Applies to