RoleManagementPolicyRule Class

Definition

The role management policy rule. Please note RoleManagementPolicyRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule and RoleManagementPolicyNotificationRule.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Authorization.Models.UnknownRoleManagementPolicyRule))]
public abstract class RoleManagementPolicyRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule>
public abstract class RoleManagementPolicyRule
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Authorization.Models.UnknownRoleManagementPolicyRule))>]
type RoleManagementPolicyRule = class
    interface IJsonModel<RoleManagementPolicyRule>
    interface IPersistableModel<RoleManagementPolicyRule>
type RoleManagementPolicyRule = class
Public MustInherit Class RoleManagementPolicyRule
Implements IJsonModel(Of RoleManagementPolicyRule), IPersistableModel(Of RoleManagementPolicyRule)
Public MustInherit Class RoleManagementPolicyRule
Inheritance
RoleManagementPolicyRule
Derived
Attributes
Implements

Constructors

RoleManagementPolicyRule()

Initializes a new instance of RoleManagementPolicyRule.

Properties

Id

The id of the rule.

Target

The target of the current rule.

Explicit Interface Implementations

IJsonModel<RoleManagementPolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RoleManagementPolicyRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleManagementPolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleManagementPolicyRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RoleManagementPolicyRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to