UpdateLdapIdmapDetails¶
- class oci.file_storage.models.UpdateLdapIdmapDetails(**kwargs)¶
Bases:
objectMount target details about the LDAP ID mapping configuration.
Attributes:
A constant which can be used with the schema_type property of a UpdateLdapIdmapDetails.
A constant which can be used with the schema_type property of a UpdateLdapIdmapDetails.
Gets the cache_lifetime_seconds of this UpdateLdapIdmapDetails.
Gets the cache_refresh_interval_seconds of this UpdateLdapIdmapDetails.
Gets the group_search_base of this UpdateLdapIdmapDetails.
Gets the negative_cache_lifetime_seconds of this UpdateLdapIdmapDetails.
Gets the outbound_connector1_id of this UpdateLdapIdmapDetails.
Gets the outbound_connector2_id of this UpdateLdapIdmapDetails.
Gets the schema_type of this UpdateLdapIdmapDetails.
Gets the user_search_base of this UpdateLdapIdmapDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateLdapIdmapDetails object with values from keyword arguments.
- SCHEMA_TYPE_RFC2307 = 'RFC2307'¶
A constant which can be used with the schema_type property of a UpdateLdapIdmapDetails. This constant has a value of “RFC2307”
- SCHEMA_TYPE_RFC2307_BIS = 'RFC2307BIS'¶
A constant which can be used with the schema_type property of a UpdateLdapIdmapDetails. This constant has a value of “RFC2307BIS”
- __init__(**kwargs)¶
Initializes a new UpdateLdapIdmapDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
schema_type (str) – The value to assign to the schema_type property of this UpdateLdapIdmapDetails. Allowed values for this property are: “RFC2307”, “RFC2307BIS”
cache_refresh_interval_seconds (int) – The value to assign to the cache_refresh_interval_seconds property of this UpdateLdapIdmapDetails.
cache_lifetime_seconds (int) – The value to assign to the cache_lifetime_seconds property of this UpdateLdapIdmapDetails.
negative_cache_lifetime_seconds (int) – The value to assign to the negative_cache_lifetime_seconds property of this UpdateLdapIdmapDetails.
user_search_base (str) – The value to assign to the user_search_base property of this UpdateLdapIdmapDetails.
group_search_base (str) – The value to assign to the group_search_base property of this UpdateLdapIdmapDetails.
outbound_connector1_id (str) – The value to assign to the outbound_connector1_id property of this UpdateLdapIdmapDetails.
outbound_connector2_id (str) – The value to assign to the outbound_connector2_id property of this UpdateLdapIdmapDetails.
- property cache_lifetime_seconds¶
Gets the cache_lifetime_seconds of this UpdateLdapIdmapDetails. The maximum amount of time the mount target is allowed to use a cached entry.
- Returns
The cache_lifetime_seconds of this UpdateLdapIdmapDetails.
- Return type
int
- property cache_refresh_interval_seconds¶
Gets the cache_refresh_interval_seconds of this UpdateLdapIdmapDetails. The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- Returns
The cache_refresh_interval_seconds of this UpdateLdapIdmapDetails.
- Return type
int
- property group_search_base¶
Gets the group_search_base of this UpdateLdapIdmapDetails. All LDAP searches are recursive starting at this group.
Example: CN=Group,DC=domain,DC=com
- Returns
The group_search_base of this UpdateLdapIdmapDetails.
- Return type
str
- property negative_cache_lifetime_seconds¶
Gets the negative_cache_lifetime_seconds of this UpdateLdapIdmapDetails. The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- Returns
The negative_cache_lifetime_seconds of this UpdateLdapIdmapDetails.
- Return type
int
- property outbound_connector1_id¶
Gets the outbound_connector1_id of this UpdateLdapIdmapDetails. The OCID of the first connector to use to communicate with the LDAP server.
- Returns
The outbound_connector1_id of this UpdateLdapIdmapDetails.
- Return type
str
- property outbound_connector2_id¶
Gets the outbound_connector2_id of this UpdateLdapIdmapDetails. The OCID of the second connector to use to communicate with the LDAP server.
- Returns
The outbound_connector2_id of this UpdateLdapIdmapDetails.
- Return type
str
- property schema_type¶
Gets the schema_type of this UpdateLdapIdmapDetails. Schema type of the LDAP account.
Allowed values for this property are: “RFC2307”, “RFC2307BIS”
- Returns
The schema_type of this UpdateLdapIdmapDetails.
- Return type
str
- property user_search_base¶
Gets the user_search_base of this UpdateLdapIdmapDetails. All LDAP searches are recursive starting at this user.
Example: CN=User,DC=domain,DC=com
- Returns
The user_search_base of this UpdateLdapIdmapDetails.
- Return type
str