RoleManagementPolicyRule Class

Definition

The role management policy rule. Please note this is the abstract base class. The derived classes available for instantiation are: RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule, RoleManagementPolicyNotificationRule, and RoleManagementPolicyPimOnlyModeRule.

[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>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Authorization.Models.UnknownRoleManagementPolicyRule))>]
type RoleManagementPolicyRule = class
    interface IJsonModel<RoleManagementPolicyRule>
    interface IPersistableModel<RoleManagementPolicyRule>
Public MustInherit Class RoleManagementPolicyRule
Implements IJsonModel(Of RoleManagementPolicyRule), IPersistableModel(Of RoleManagementPolicyRule)
Inheritance
RoleManagementPolicyRule
Derived
Attributes
Implements

Properties

Name Description
Id

The id of the rule.

Target

The target of the current rule.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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