RoleManagementPolicyExpirationRule Class

Definition

The role management policy expiration rule.

public class RoleManagementPolicyExpirationRule : Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyExpirationRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyExpirationRule>
type RoleManagementPolicyExpirationRule = class
    inherit RoleManagementPolicyRule
    interface IJsonModel<RoleManagementPolicyExpirationRule>
    interface IPersistableModel<RoleManagementPolicyExpirationRule>
Public Class RoleManagementPolicyExpirationRule
Inherits RoleManagementPolicyRule
Implements IJsonModel(Of RoleManagementPolicyExpirationRule), IPersistableModel(Of RoleManagementPolicyExpirationRule)
Inheritance
RoleManagementPolicyExpirationRule
Implements

Constructors

Name Description
RoleManagementPolicyExpirationRule()

Initializes a new instance of RoleManagementPolicyExpirationRule.

Properties

Name Description
ExceptionMembers

The members not restricted by expiration rule.

Id

The id of the rule.

(Inherited from RoleManagementPolicyRule)
IsExpirationRequired

The value indicating whether expiration is required.

MaximumDuration

The maximum duration of expiration in timespan.

Target

The target of the current rule.

(Inherited from RoleManagementPolicyRule)

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<RoleManagementPolicyExpirationRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoleManagementPolicyExpirationRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RoleManagementPolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RoleManagementPolicyRule)
IJsonModel<RoleManagementPolicyRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RoleManagementPolicyRule)
IPersistableModel<RoleManagementPolicyExpirationRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleManagementPolicyExpirationRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoleManagementPolicyExpirationRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RoleManagementPolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RoleManagementPolicyRule)
IPersistableModel<RoleManagementPolicyRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RoleManagementPolicyRule)
IPersistableModel<RoleManagementPolicyRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RoleManagementPolicyRule)

Applies to