CreateLdapIdmapDetails¶
-
class
oci.file_storage.models.CreateLdapIdmapDetails(**kwargs)¶ Bases:
objectMount target details about the LDAP ID mapping configuration.
Attributes
SCHEMA_TYPE_RFC2307A constant which can be used with the schema_type property of a CreateLdapIdmapDetails. SCHEMA_TYPE_RFC2307_BISA constant which can be used with the schema_type property of a CreateLdapIdmapDetails. cache_lifetime_secondsGets the cache_lifetime_seconds of this CreateLdapIdmapDetails. cache_refresh_interval_secondsGets the cache_refresh_interval_seconds of this CreateLdapIdmapDetails. group_search_baseGets the group_search_base of this CreateLdapIdmapDetails. negative_cache_lifetime_secondsGets the negative_cache_lifetime_seconds of this CreateLdapIdmapDetails. outbound_connector1_idGets the outbound_connector1_id of this CreateLdapIdmapDetails. outbound_connector2_idGets the outbound_connector2_id of this CreateLdapIdmapDetails. schema_typeGets the schema_type of this CreateLdapIdmapDetails. user_search_baseGets the user_search_base of this CreateLdapIdmapDetails. Methods
__init__(**kwargs)Initializes a new CreateLdapIdmapDetails object with values from keyword arguments. -
SCHEMA_TYPE_RFC2307= 'RFC2307'¶ A constant which can be used with the schema_type property of a CreateLdapIdmapDetails. 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 CreateLdapIdmapDetails. This constant has a value of “RFC2307BIS”
-
__init__(**kwargs)¶ Initializes a new CreateLdapIdmapDetails 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 CreateLdapIdmapDetails. 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 CreateLdapIdmapDetails.
- cache_lifetime_seconds (int) – The value to assign to the cache_lifetime_seconds property of this CreateLdapIdmapDetails.
- negative_cache_lifetime_seconds (int) – The value to assign to the negative_cache_lifetime_seconds property of this CreateLdapIdmapDetails.
- user_search_base (str) – The value to assign to the user_search_base property of this CreateLdapIdmapDetails.
- group_search_base (str) – The value to assign to the group_search_base property of this CreateLdapIdmapDetails.
- outbound_connector1_id (str) – The value to assign to the outbound_connector1_id property of this CreateLdapIdmapDetails.
- outbound_connector2_id (str) – The value to assign to the outbound_connector2_id property of this CreateLdapIdmapDetails.
-
cache_lifetime_seconds¶ Gets the cache_lifetime_seconds of this CreateLdapIdmapDetails. The maximum amount of time the mount target is allowed to use a cached entry.
Returns: The cache_lifetime_seconds of this CreateLdapIdmapDetails. Return type: int
-
cache_refresh_interval_seconds¶ Gets the cache_refresh_interval_seconds of this CreateLdapIdmapDetails. 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 CreateLdapIdmapDetails. Return type: int
-
group_search_base¶ Gets the group_search_base of this CreateLdapIdmapDetails. All LDAP searches are recursive starting at this group.
Example: CN=Group,DC=domain,DC=com
Returns: The group_search_base of this CreateLdapIdmapDetails. Return type: str
-
negative_cache_lifetime_seconds¶ Gets the negative_cache_lifetime_seconds of this CreateLdapIdmapDetails. 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 CreateLdapIdmapDetails. Return type: int
-
outbound_connector1_id¶ Gets the outbound_connector1_id of this CreateLdapIdmapDetails. The OCID of the first connector to use to communicate with the LDAP server.
Returns: The outbound_connector1_id of this CreateLdapIdmapDetails. Return type: str
-
outbound_connector2_id¶ Gets the outbound_connector2_id of this CreateLdapIdmapDetails. The OCID of the second connector to use to communicate with the LDAP server.
Returns: The outbound_connector2_id of this CreateLdapIdmapDetails. Return type: str
-
schema_type¶ Gets the schema_type of this CreateLdapIdmapDetails. Schema type of the LDAP account.
Allowed values for this property are: “RFC2307”, “RFC2307BIS”
Returns: The schema_type of this CreateLdapIdmapDetails. Return type: str
-
user_search_base¶ Gets the user_search_base of this CreateLdapIdmapDetails. All LDAP searches are recursive starting at this user.
Example: CN=User,DC=domain,DC=com
Returns: The user_search_base of this CreateLdapIdmapDetails. Return type: str
-