Partager via


RoleManagementPolicyEnablementRule Class

Definition

The role management policy rule.

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

Constructors

RoleManagementPolicyEnablementRule()

Creates an new RoleManagementPolicyEnablementRule instance.

Properties

EnabledRule

The list of enabled rules.

Id

The id of the rule.

RuleType

The type of rule

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 RoleManagementPolicyEnablementRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicyEnablementRule.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicyEnablementRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to