ArmAuthorizationModelFactory.RoleManagementPolicyApprovalRule Method
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.
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.
The target of the current rule.
- settings
- RoleManagementApprovalSettings
The approval setting.
Returns
A new RoleManagementPolicyApprovalRule instance for mocking.