Partager via


RoleManagementPolicyExpirationRule Class

Definition

The role management policy rule.

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

Constructors

RoleManagementPolicyExpirationRule()

Creates an new RoleManagementPolicyExpirationRule instance.

Properties

Id

The id of the rule.

IsExpirationRequired

The value indicating whether expiration is required.

MaximumDuration

The maximum duration of expiration in timespan.

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicyExpirationRule.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicyExpirationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to