RoleManagementPolicyRule Class

Definition

The role management policy rule.

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

Constructors

RoleManagementPolicyRule()

Creates an new RoleManagementPolicyRule instance.

Properties

Id

The id of the rule.

RuleType

The type of 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 RoleManagementPolicyRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicyRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule. Note: the Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicyRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to