Share via


RoleManagementPolicyApprovalRule Class

Definition

The role management policy rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyApprovalRuleTypeConverter))]
public class RoleManagementPolicyApprovalRule : Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyApprovalRule, Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyApprovalRuleTypeConverter))>]
type RoleManagementPolicyApprovalRule = class
    interface IRoleManagementPolicyApprovalRule
    interface IJsonSerializable
    interface IRoleManagementPolicyRule
    interface IValidates
Public Class RoleManagementPolicyApprovalRule
Implements IRoleManagementPolicyApprovalRule, IValidates
Inheritance
RoleManagementPolicyApprovalRule
Attributes
Implements

Constructors

RoleManagementPolicyApprovalRule()

Creates an new RoleManagementPolicyApprovalRule instance.

Properties

Id

The id of the rule.

RuleType

The type of rule

SettingApprovalMode

The type of rule

SettingApprovalStage

The approval stages of the request.

SettingIsApprovalRequired

Determine whether approval is required or not.

SettingIsApprovalRequiredForExtension

Determine whether approval is required for assignment extension.

SettingIsRequestorJustificationRequired

Determine whether requestor justification required.

Target

The target of the current rule.

TargetCaller

The caller of the setting.

TargetEnforcedSetting

The list of enforced settings.

TargetInheritableSetting

The list of inheritable settings.

TargetLevel

The assignment level to which it is applied.

TargetObject

The list of target objects.

TargetOperation

The type of operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleManagementPolicyApprovalRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicyApprovalRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyApprovalRule.

FromJsonString(String)

Creates a new instance of RoleManagementPolicyApprovalRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicyApprovalRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to