LdapBindAccount¶
- class oci.file_storage.models.LdapBindAccount(**kwargs)¶
Bases:
OutboundConnectorAccount details for the LDAP bind account used by the outbound connector.
Attributes:
A constant which can be used with the connector_type property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
A constant which can be used with the lifecycle_state property of a OutboundConnector.
Gets the availability_domain of this OutboundConnector.
[Required] Gets the bind_distinguished_name of this LdapBindAccount.
[Required] Gets the compartment_id of this OutboundConnector.
[Required] Gets the connector_type of this OutboundConnector.
Gets the defined_tags of this OutboundConnector.
[Required] Gets the display_name of this OutboundConnector.
[Required] Gets the endpoints of this LdapBindAccount.
Gets the freeform_tags of this OutboundConnector. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: {"Department": "Finance"}.
[Required] Gets the id of this OutboundConnector.
[Required] Gets the lifecycle_state of this OutboundConnector.
Gets the locks of this OutboundConnector.
Gets the password_secret_id of this LdapBindAccount.
Gets the password_secret_version of this LdapBindAccount.
Gets the system_tags of this OutboundConnector.
[Required] Gets the time_created of this OutboundConnector.
Gets the trusted_certificate_secret_id of this LdapBindAccount.
Gets the trusted_certificate_secret_version of this LdapBindAccount.
Methods:
__init__(**kwargs)Initializes a new LdapBindAccount object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- CONNECTOR_TYPE_LDAPBIND = 'LDAPBIND'¶
A constant which can be used with the connector_type property of a OutboundConnector. This constant has a value of “LDAPBIND”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a OutboundConnector. This constant has a value of “DELETING”
- __init__(**kwargs)¶
Initializes a new LdapBindAccount object with values from keyword arguments. The default value of the
connector_typeattribute of this class isLDAPBINDand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
availability_domain (str) – The value to assign to the availability_domain property of this LdapBindAccount.
compartment_id (str) – The value to assign to the compartment_id property of this LdapBindAccount.
id (str) – The value to assign to the id property of this LdapBindAccount.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this LdapBindAccount. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”
display_name (str) – The value to assign to the display_name property of this LdapBindAccount.
time_created (datetime) – The value to assign to the time_created property of this LdapBindAccount.
connector_type (str) – The value to assign to the connector_type property of this LdapBindAccount. Allowed values for this property are: “LDAPBIND”
locks (list[oci.file_storage.models.ResourceLock]) – The value to assign to the locks property of this LdapBindAccount.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LdapBindAccount.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LdapBindAccount.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this LdapBindAccount.
endpoints (list[oci.file_storage.models.Endpoint]) – The value to assign to the endpoints property of this LdapBindAccount.
bind_distinguished_name (str) – The value to assign to the bind_distinguished_name property of this LdapBindAccount.
password_secret_id (str) – The value to assign to the password_secret_id property of this LdapBindAccount.
password_secret_version (int) – The value to assign to the password_secret_version property of this LdapBindAccount.
trusted_certificate_secret_id (str) – The value to assign to the trusted_certificate_secret_id property of this LdapBindAccount.
trusted_certificate_secret_version (int) – The value to assign to the trusted_certificate_secret_version property of this LdapBindAccount.
- property availability_domain¶
Gets the availability_domain of this OutboundConnector. The availability domain the outbound connector is in. May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1
- Returns
The availability_domain of this OutboundConnector.
- Return type
str
- property bind_distinguished_name¶
[Required] Gets the bind_distinguished_name of this LdapBindAccount. The LDAP Distinguished Name of the account.
- Returns
The bind_distinguished_name of this LdapBindAccount.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this OutboundConnector. The `OCID`__ of the compartment that contains the outbound connector.
- Returns
The compartment_id of this OutboundConnector.
- Return type
str
- property connector_type¶
[Required] Gets the connector_type of this OutboundConnector. The account type of this outbound connector.
Allowed values for this property are: “LDAPBIND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The connector_type of this OutboundConnector.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this OutboundConnector. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this OutboundConnector.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this OutboundConnector. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My outbound connector
- Returns
The display_name of this OutboundConnector.
- Return type
str
- property endpoints¶
[Required] Gets the endpoints of this LdapBindAccount. Array of server endpoints to use when connecting with the LDAP bind account.
- Returns
The endpoints of this LdapBindAccount.
- Return type
- property freeform_tags¶
Gets the freeform_tags of this OutboundConnector. Free-form tags for this resource. Each tag is a simple key-value pair
with no predefined name, type, or namespace.
For more information, see `Resource Tags`__. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this OutboundConnector.
- Return type
dict(str, str)
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property id¶
[Required] Gets the id of this OutboundConnector. The `OCID`__ of the outbound connector.
- Returns
The id of this OutboundConnector.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this OutboundConnector. The current state of this outbound connector.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this OutboundConnector.
- Return type
str
- property locks¶
Gets the locks of this OutboundConnector. Locks associated with this resource.
- Returns
The locks of this OutboundConnector.
- Return type
- property password_secret_id¶
Gets the password_secret_id of this LdapBindAccount. The `OCID`__ of the password for the LDAP bind account in the Vault.
- Returns
The password_secret_id of this LdapBindAccount.
- Return type
str
- property password_secret_version¶
Gets the password_secret_version of this LdapBindAccount. Version of the password secret in the Vault to use.
- Returns
The password_secret_version of this LdapBindAccount.
- Return type
int
- property system_tags¶
Gets the system_tags of this OutboundConnector. System tags for this resource. System tags are applied to resources by internal OCI services.
- Returns
The system_tags of this OutboundConnector.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this OutboundConnector. The date and time the outbound connector was created in `RFC 3339`__ timestamp format.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this OutboundConnector.
- Return type
datetime
- property trusted_certificate_secret_id¶
Gets the trusted_certificate_secret_id of this LdapBindAccount. The `OCID`__ of the trusted certificate for the LDAP server in the Vault .
- Returns
The trusted_certificate_secret_id of this LdapBindAccount.
- Return type
str
- property trusted_certificate_secret_version¶
Gets the trusted_certificate_secret_version of this LdapBindAccount. Version of the trusted certificate secret in the Vault to use.
- Returns
The trusted_certificate_secret_version of this LdapBindAccount.
- Return type
int