ArmAuthorizationModelFactory.RoleManagementPolicyRule 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.RoleManagementPolicyRule RoleManagementPolicyRule(string id = default, string ruleType = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget target = default);
static member RoleManagementPolicyRule : string * string * Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget -> Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule
Public Shared Function RoleManagementPolicyRule (Optional id As String = Nothing, Optional ruleType As String = Nothing, Optional target As RoleManagementPolicyRuleTarget = Nothing) As RoleManagementPolicyRule
Parameters
- id
- String
The id of the rule.
- ruleType
- String
The type of rule.
The target of the current rule.
Returns
A new RoleManagementPolicyRule instance for mocking.