Condividi tramite


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>
public class RoleManagementPolicyExpirationRule : Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRule
type RoleManagementPolicyExpirationRule = class
    inherit RoleManagementPolicyRule
    interface IJsonModel<RoleManagementPolicyExpirationRule>
    interface IPersistableModel<RoleManagementPolicyExpirationRule>
type RoleManagementPolicyExpirationRule = class
    inherit RoleManagementPolicyRule
Public Class RoleManagementPolicyExpirationRule
Inherits RoleManagementPolicyRule
Implements IJsonModel(Of RoleManagementPolicyExpirationRule), IPersistableModel(Of RoleManagementPolicyExpirationRule)
Public Class RoleManagementPolicyExpirationRule
Inherits RoleManagementPolicyRule
Inheritance
RoleManagementPolicyExpirationRule
Implements

Constructors

RoleManagementPolicyExpirationRule()

Initializes a new instance of RoleManagementPolicyExpirationRule.

Properties

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)

Explicit Interface Implementations

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